synapse-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Asankha C. Perera (JIRA)" <j...@apache.org>
Subject [jira] Updated: (SYNAPSE-324) Unable to assign policies for Proxy services that are defined in the Integrated registry
Date Mon, 26 May 2008 08:39:55 GMT

     [ https://issues.apache.org/jira/browse/SYNAPSE-324?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Asankha C. Perera updated SYNAPSE-324:
--------------------------------------

    Fix Version/s: 1.2

> Unable to assign policies for Proxy services that are defined in the Integrated registry
> ----------------------------------------------------------------------------------------
>
>                 Key: SYNAPSE-324
>                 URL: https://issues.apache.org/jira/browse/SYNAPSE-324
>             Project: Synapse
>          Issue Type: Bug
>          Components: Proxy Services
>    Affects Versions: 1.1.1
>         Environment: Ubuntu7.10, JDK1.5.0_14
>            Reporter: Evanthika Amarasiri
>            Priority: Blocker
>             Fix For: 1.2
>
>
> Created a Proxy Service with a reference to a policy which is defined in the integrated
registry.  
> The configuration that I tried was,
> ********************************************************************************************
> <definitions xmlns="http://ws.apache.org/ns/synapse">
>     <registry provider="org.apache.synapse.registry.url.SimpleURLRegistry">
>         <parameter name="root">file:./repository/conf/sample/resources/</parameter>
>         <parameter name="cachableDuration">150000</parameter>
>     </registry>
>     <proxy name="securityProxy" startOnLoad="true">
>         <target>
>             <inSequence>
>                 <send>
>                     <endpoint>
>                         <address uri="http://localhost:9001/soap/SecureStockQuoteService">
>                             <enableAddressing/>
>                             <enableSec/>
>                         </address>
>                     </endpoint>
>                 </send>
>             </inSequence>
>             <outSequence>
>                 <header xmlns:wsse="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd"
name="wsse:Security" action="remove"/>
>                 <send/>
>             </outSequence>
>         </target>
> 	<policy key="policy/policy_3.xml"/>
>     </proxy>
> </definitions>
> ********************************************************************************************
> When trying to start the Synapse server with the particular configuration the following
exception was thrown.
> 2008-05-22 14:20:56,957 [127.0.1.1-evanthika-laptop] [main] FATAL ServerManager Synaps
startup failed...
> org.apache.synapse.SynapseException: Cannot convert null to a StreamSource
>         at org.apache.synapse.config.SynapseConfigUtils.handleException(SynapseConfigUtils.java:315)
>         at org.apache.synapse.config.SynapseConfigUtils.getStreamSource(SynapseConfigUtils.java:53)
>         at org.apache.synapse.core.axis2.ProxyService.getPolicyFromKey(ProxyService.java:527)
>         at org.apache.synapse.core.axis2.ProxyService.buildAxisService(ProxyService.java:417)
>         at org.apache.synapse.core.axis2.SynapseInitializationModule.init(SynapseInitializationModule.java:142)
>         at org.apache.axis2.context.ConfigurationContextFactory.initModules(ConfigurationContextFactory.java:226)
>         at org.apache.axis2.context.ConfigurationContextFactory.init(ConfigurationContextFactory.java:204)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContext(ConfigurationContextFactory.java:80)
>         at org.apache.axis2.context.ConfigurationContextFactory.createConfigurationContextFromFileSystem(ConfigurationContextFactory.java:184)
>         at org.apache.synapse.ServerManager.start(ServerManager.java:106)
>         at org.apache.synapse.SynapseServer.main(SynapseServer.java:72)

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@synapse.apache.org
For additional commands, e-mail: dev-help@synapse.apache.org


Mime
View raw message