Hi all,
On Thu, Dec 16, 2010 at 9:18 AM, Manjula Rathnayake <[email protected]>wrote:
> Hi all,
>
> I am getting following stack trace when trying to browse registry.
>
> ERROR {org.wso2.carbon.registry.resource.ui.clients.ResourceServiceClient}
> - Failed to get resource tree entry for resource /.
> com.ctc.wstx.exc.WstxUnexpectedCharException: Unexpected character '-' (code
> 45) in prolog; expected '<'
> at [row,col {unknown-source}]: [1,1]
> org.apache.axis2.AxisFault: com.ctc.wstx.exc.WstxUnexpectedCharException:
> Unexpected character '-' (code 45) in prolog; expected '<'
> at [row,col {unknown-source}]: [1,1]
>
This was fixed by disabling MTOM.
Index:
org.wso2.carbon.registry.resource/src/main/resources/META-INF/services.xml
===================================================================
---
org.wso2.carbon.registry.resource/src/main/resources/META-INF/services.xml
(revision 84828)
+++
org.wso2.carbon.registry.resource/src/main/resources/META-INF/services.xml
(working copy)
@@ -46,7 +46,7 @@
</parameter>
</service>
- <parameter name="enableMTOM" locked="true">true</parameter>
+ <parameter name="enableMTOM" locked="true">false</parameter>
<parameter name="adminService" locked="true">true</parameter>
<parameter name="hiddenService" locked="true">true</parameter>
<parameter name="AuthorizationAction"
locked="false">/permission/admin/manage/resources/browse</parameter>
I guess there are some patch need to be applied in trunk, as this is working
in 3.1.0 branch.
Thank you.
>
> So any help regarding this would be useful.
>
> Thank you.
>
> On Thu, Dec 16, 2010 at 12:57 AM, Kasun Weranga <[email protected]> wrote:
>
>> Hi Shammi,
>>
>> It seems like you don't have build the latest
>> "components/registry/org.wso2.carbon.registry.common".
>> Take svn up in component/pom.xml, component/registry/pom.xml, and
>> components/registry/org.wso2.carbon.registry.common directory.
>> Then build it, then it should be ok.
>>
>> Thanks,
>> KasunW
>>
>>
>> On Wed, Dec 15, 2010 at 10:18 PM, shammi jayasinghe <[email protected]>wrote:
>>
>>> Hi ,
>>> I m getting the following error when building CEP distribution. (Trunk)
>>> I have already successfully built , registry component and the feature.
>>>
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [ERROR] BUILD ERROR
>>> [INFO]
>>> ------------------------------------------------------------------------
>>> [INFO] Failed to resolve artifact.
>>>
>>> Missing:
>>> ----------
>>> 1) org.apache.juddi:uddi-ws:jar:${juddi.version}
>>>
>>> Try downloading the file manually from the project website.
>>>
>>> Then, install it using the command:
>>> mvn install:install-file -DgroupId=org.apache.juddi
>>> -DartifactId=uddi-ws -Dversion=${juddi.version} -Dpackaging=jar
>>> -Dfile=/path/to/file
>>>
>>> Alternatively, if you host your own repository you can deploy the file
>>> there:
>>> mvn deploy:deploy-file -DgroupId=org.apache.juddi
>>> -DartifactId=uddi-ws -Dversion=${juddi.version} -Dpackaging=jar
>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>
>>> Path to dependency:
>>> 1) org.wso2.cep:wso2cep:pom:1.0.0-SNAPSHOT
>>> 2)
>>> org.wso2.carbon:org.wso2.carbon.registry.common:jar:3.1.0-SNAPSHOT
>>> 3) org.apache.juddi:uddi-ws:jar:${juddi.version}
>>>
>>> 2) org.apache.juddi:juddi-core:jar:${juddi.version}
>>>
>>> Try downloading the file manually from the project website.
>>>
>>> Then, install it using the command:
>>> mvn install:install-file -DgroupId=org.apache.juddi
>>> -DartifactId=juddi-core -Dversion=${juddi.version} -Dpackaging=jar
>>> -Dfile=/path/to/file
>>>
>>> Alternatively, if you host your own repository you can deploy the file
>>> there:
>>> mvn deploy:deploy-file -DgroupId=org.apache.juddi
>>> -DartifactId=juddi-core -Dversion=${juddi.version} -Dpackaging=jar
>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>
>>> Path to dependency:
>>> 1) org.wso2.cep:wso2cep:pom:1.0.0-SNAPSHOT
>>> 2)
>>> org.wso2.carbon:org.wso2.carbon.registry.common:jar:3.1.0-SNAPSHOT
>>> 3) org.apache.juddi:juddi-core:jar:${juddi.version}
>>>
>>> 3) org.apache.juddi:juddi-client:jar:${juddi.version}
>>>
>>> Try downloading the file manually from the project website.
>>>
>>> Then, install it using the command:
>>> mvn install:install-file -DgroupId=org.apache.juddi
>>> -DartifactId=juddi-client -Dversion=${juddi.version} -Dpackaging=jar
>>> -Dfile=/path/to/file
>>>
>>> Alternatively, if you host your own repository you can deploy the file
>>> there:
>>> mvn deploy:deploy-file -DgroupId=org.apache.juddi
>>> -DartifactId=juddi-client -Dversion=${juddi.version} -Dpackaging=jar
>>> -Dfile=/path/to/file -Durl=[url] -DrepositoryId=[id]
>>>
>>> Path to dependency:
>>> 1) org.wso2.cep:wso2cep:pom:1.0.0-SNAPSHOT
>>> 2)
>>> org.wso2.carbon:org.wso2.carbon.registry.common:jar:3.1.0-SNAPSHOT
>>> 3) org.apache.juddi:juddi-client:jar:${juddi.version}
>>>
>>> ----------
>>> 3 required artifacts are missing.
>>>
>>> for artifact:
>>> org.wso2.cep:wso2cep:pom:1.0.0-SNAPSHOT
>>>
>>> from the specified remote repositories:
>>> central (http://repo1.maven.org/maven2),
>>> wso2-maven2-repository (http://dist.wso2.org/maven2),
>>> wso2-maven2-repository-snapshot (http://dist.wso2.org/snapshots/maven2
>>> )
>>>
>>>
>>> --
>>> Best Regards,*
>>>
>>> Shammi Jayasinghe*
>>> Senior Software Engineer; WSO2, Inc.; http://wso2.com,
>>> mobile: +94 71 4493085
>>>
>>>
>>>
>>> _______________________________________________
>>> Carbon-dev mailing list
>>> [email protected]
>>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>>
>>>
>>
>>
>> --
>> *Kasun Weranga*
>> Software Engineer
>> **
>> *WSO2, Inc.
>> *lean.enterprise.middleware.
>> mobile : +94 772314602
>> <http://sanjeewamalalgoda.blogspot.com/>blog
>> :<http://sanjeewamalalgoda.blogspot.com/>
>> http://kasunweranga.blogspot.com/
>>
>> _______________________________________________
>> Carbon-dev mailing list
>> [email protected]
>> https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev
>>
>>
>
>
> --
> Manjula Rathnayaka
> Software Engineer
> WSO2, Inc.
> Mobile:+94 77 743 1987
>
--
Manjula Rathnayaka
Software Engineer
WSO2, Inc.
Mobile:+94 77 743 1987
_______________________________________________
Carbon-dev mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/carbon-dev