[
https://wso2.org/jira/browse/ESBJAVA-506?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
indika kumara resolved ESBJAVA-506.
-----------------------------------
Fix Version/s: 1.7
Resolution: Fixed
Now, ESB ship with wso2 registry. As default ,we use Embedded registry from
wso2-registry. Registry configuration is in the server.xml.
<Registry>
<importRoot>file:registry</importRoot>
<type>local</type>
<configuration>
<Location>webapp/WEB-INF/classes/conf/registry.xml</Location>
<!--<url>http://localhost:8081/wso2registry</url>-->
<!--<username>admin</username>-->
<!--<password>admin</password>-->
</configuration>
</Registry>
importRoot - Root directory to imports resources from file system. Only uses
when starting up registry(one time).
type : type of registry
local - Embedded registry
remote - external wso2-registry server
esb_1.6 - The regisrty which was shipped with early ESB release.
Embedded registry can be only configured by registry.xml. Currenlty, it is not
included 'remote' registry. Therefore , we have to configure it through
server.xml
For embedded registry , server.xml will be looked like
<Registry>
<importRoot>file:registry</importRoot>
<type>local</type>
<configuration>
<Location>webapp/WEB-INF/classes/conf/registry.xml</Location>
</configuration>
</Registry>
For remote registry
<Registry>
<importRoot>file:registry</importRoot>
<type>remote</type>
<configuration>
<url>http://localhost:8081/wso2registry</url>
<username>admin</username>
<password>admin</password>
</configuration>
</Registry>
If you want to use ESB registry which was shipped with early ESB release.
<Registry>
<type>esb_1.6</type>
</Registry>
When you are using any registry , you have to specify it in synapse.xml.
<registry provider="org.wso2.esb.registry.WSO2Registry">
</registry>
Regrading your issue. The default registry is Embedded registry, which is not a
file based registry. You have to manually add resources through integrated
registry GUI. Only startup time, it picks resources from a given path through
'importRoot'. You also can used wso2regisrty as a external server and add
resources to that and configure ESB to use it (Please check 'remote' registry
configuration). Your issue will not be occurred if you used type
"esb_16"(Registry in the 1.6 ESB release). It is file based registry.
Your issue is related to incorrect usage of our new registry implementation.
Thanks
Indika
> files in registry cannot be picked up from the ui
> -------------------------------------------------
>
> Key: ESBJAVA-506
> URL: https://wso2.org/jira/browse/ESBJAVA-506
> Project: WSO2 ESB
> Issue Type: Bug
> Components: Registry
> Affects Versions: 1.7
> Environment: Windows XP SP2, JDK 1.5
> Reporter: Jens Goldhammer
> Assignee: indika kumara
> Priority: Blocker
> Fix For: 1.7
>
>
> After creating a proxy service, I want to publish the wsdl, picked up from
> the registry. But the copied wsdl file cannot be seen in the pick-up-dialog!
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://wso2.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
_______________________________________________
Esb-java-dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/esb-java-dev