Hello,
I have just copy the jar files which is in
servicemix-shared-3.2.2-installer.zip to lib folder and run "servicemix
1.xml" again. The problem before has been solved, but there is a new problem
:
----------
Caught:org.springframework.beans.factory.BeanDefinitionStoreException:Unexcepted
exception parsing XML document from file [c:\servicemix3.2\book\1.xml];
nested exception is java .lang.IllegalStateEXception:Unable to invoke
parseNestedCustomElement method
Caused by java.lang.IllegalStateException:Unable to invoke
ParasenestedCustomElement method at...........
-------------
what is wrong ?
my configurantion file:1.xml is followed:
-----------
<?xml version="1.0" encoding="utf-8"?>
<beans xmlns="http://xbean.org/schemas/spring/1.0"
xmlns:spring="http://xbeans.org/schemas/spring/1.0"
xmlns:sm="http://servicemix.apache.org/config/1.0"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0"
xmlns:http="http://servicemix.apache.org/http/1.0"
xmlns:hello="hello"
xsi:schemaLocation="http://xbean.org/schemas/spring/1.0../../conf/spring-xbeans.xsd
http://servicemix.org.config/1.0../../conf/servicemix/xsd"
xmlns:foo="htpp://servicemix.org/demo">
<bean id="jndi"
class="org.apache.xbean.spring.jndi.SpringInitialContextFactory"
factory-method="makeInitialContext" singleton="true"/>
<sm:container id="jbi" useMBeanServer="true" createMBeanServer="true">
<sm:activationSpecs>
<sm:activationSpec>
<sm:component>
<http:component>
<http:endpoints>
<http:endpoint service="hello:hello" endpoint="helloHttpPort"
role="comsumer" locationURI="http://localhost:8192/hello"
defaltMep="http://www.w3.org/2004/wsdl/in-out"
soap="true" soapAction="getHello">
</http:endpoint>
</http:endpoints>
</http:component>
</sm:component>
</sm:activationSpec>
<sm:activationSpec>
<sm:component>
<jsr181:component>
<jsr181:endpoints>
<jsr181:endpoint pojoClass="server.HelloService"
wsdlResource ="classpath:hello_xfire.wsdl"
style="document"
serviceInterface="service.Hello"
annotation="none">
</jsr181:endpoint>
</jsr181:endpoints>
</jsr181:component>
</sm:component>
</sm:activationSpec>
</sm:activationSpecs>
</sm:container>
</beans>
-----------------------------
nfndx wrote:
>
> Hi
>
> You shoul have a file called servicemix-shared-3.2.2-installer.zip in you
> hotdeploy directory.
> This zip file contains a series of jar files, one of which contains this
> class. So it should be picked up automatically
>
>
> Ivanhoe
>
>
> On Wed, Jul 23, 2008 at 10:05 AM, klinsmann
> <[EMAIL PROTECTED]>
> wrote:
>
>>
>> Hi,
>> Please please help me!!When i run my configuration of servicemix, I meet
>> a
>> problem:
>> --------------------
>> loading Apache ServiceMix from file: c:\servicemix3.2\book\1.xml
>>
>> Caught:org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Class that bean class
>> [org.apache.servicemix.http.HttpComponent]depends on not found
>> Offending resource: file[c:\servicemix3.2\book\1.xml
>> ] Bean ''; nested exception is
>>
>> java.lang.NoclassDefFoundError:org/apache.servicemix/common/DefaultComponent
>> Caught
>>
>> by:java.lang.NoClassDefFoundError:org/apache/servicemix/common/defaultComponent
>> at..........
>>
>> ----------------
>>
>> Is org/apache/servicemix/common/defaultComponent missing?Where can I find
>> it
>> ? and copy it to the lib folder?
>>
>> Thank you very much!!!!!!
>>
>> --
>> View this message in context:
>> http://www.nabble.com/Meeting-a-problem-when-using-%22servicemix-1.xml%22-tp18605855p18605855.html
>> Sent from the ServiceMix - User mailing list archive at Nabble.com.
>>
>>
>
>
--
View this message in context:
http://www.nabble.com/Meeting-a-problem-when-using-%22servicemix-1.xml%22-tp18605855p18606554.html
Sent from the ServiceMix - User mailing list archive at Nabble.com.