Thanks for the suggestion. After removing dependency element, the error went away. 
However, we did not have an interface defined for the server. 
 
We created a dummy interface which doesn't really do anything and 
configured it as a service in phoenix
 
So it gave an error. After adding interface, following is the error:
 
There is no coresponding Block or Listener for configuration data in element
"MyComponent-server".

--- Stack Trace ---
org.apache.avalon.phoenix.interfaces.DeploymentException: There is no
coresponding Block or Listener for configuration data in element
"MyComponent-server".

Does empty interface is an error or does it require a block definition instead of 
implementation class?
 
Please advise.

Stephen McConnell <[EMAIL PROTECTED]> wrote:


Milind Tendulkar wrote:

>Thanks for the reply. Here's the .xinfo :
> 
>
>
> 
> 1.0.0
> 
> 
> 
> 
> 
> 
> 
> 
>
>
>Here the MyComponent is a .class that is part of a jar. What could go wrong here?
>

As far as I can see - the element looks fine. However - I 
would remove the element completely because it contains 
an invalid element. My guess is that there is a bug in 
Phoenix on the exception report that is referencing service instead of 
dependency.

Steve.

> 
>
>Stephen McConnell wrote:
>
>
>Milind Tendulkar wrote:
>
> 
>
>>Hi,
>>
>>Here's the error received. Can anyone help?
>>
>>Failed to create BlockInfo for Block named "MyComponent" from resource 
>>"com/mycompany/runmode/MyComponent.xinfo" (Reason: No attribute named "name" 
>>is associated with the configuration element "service" at -).
>>
>> 
>>
>
>Sounds like the descriptor is not right. A service export 
>declaration seems to be missing the name attribitue. Here is an example 
>of a typical descriptor:
>
>
>
>
>1.0
>http://relaxng.org/ns/structure/1.0
>
>
>
>name="org.apache.avalon.cornerstone.services.threads.ThreadManager"/>
>
>
>
>
>Stephen.
>
>
> 
>
>>Thanks in advance.
>>
>>
>>
>>
>>---------------------------------
>>Do you Yahoo!?
>>Exclusive Video Premiere - Britney Spears
>>
>>
>> 
>>
>
> 
>

-- 

Stephen J. McConnell
mailto:[EMAIL PROTECTED]




---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]


---------------------------------
Do you Yahoo!?
Protect your identity with Yahoo! Mail AddressGuard

Reply via email to