Hi Jorge,

On Fri, May 18, 2012 at 3:59 AM, Jorge Infante Osorio <[email protected]>wrote:

> Hi Anjana,****
>
>
>
> My Mediator Project use this plugin in pom.xml:****
>
> ** **
>
>         <groupId>org.wso2.maven</groupId>****
>
>         <artifactId>maven-synapse-mediator-plugin</artifactId>****
>
> ** **
>
> I have to do the same?
>

I haven't actually used that specific plugin, I've directly used the bundle
plugin to wrap it up. I'm attaching a sample pom.xml here for your
reference.

Cheers,
Anjana.


>
> Cheers,
> Anjana.
>  ****
>
>
> [2012-05-13 01:51:14,900] ERROR - MediatorFactoryFinder Unknown mediator
> referenced by configuration element :
> {http://ws.apache.org/ns/synapse}LdapEnriquecimiento
> [2012-05-13 01:51:14,903]  WARN - SynapseXMLConfigurationFactory Proxy****
>
> Service configuration: MediadorLDAP cannot be built - Continue in fail-safe
> ****
>
> mode org.apache.synapse.SynapseException: Unknown mediator referenced by**
> **
>
> configuration element : {
> http://ws.apache.org/ns/synapse}LdapEnriquecimiento
> at
>
> org.apache.synapse.config.xml.MediatorFactoryFinder.getMediator(MediatorFact
> oryFinder.java:185)
>  at
>
> org.apache.synapse.config.xml.AbstractListMediatorFactory.addChildren(Abstra
> ctListMediatorFactory.java:41)****
>
> If a put the jar again and restart the server it work.****
>
>
>
> 2. I have to change the way I access the OMElement that represent my
> mediator xml. Just like in http://wso2.org/library/2936 I´m doing in the
> wrong way.
>
> Thanks a lot.
>
> Saludos,
> Ing. Jorge Infante Osorio.
> J´Dpto Soluciones SOA.
> CDAE.
> Fac. 5.
> UCI.
>
>
> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
> INFORMATICAS...
> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>
> http://www.uci.cu
> http://www.facebook.com/universidad.uci
> http://www.flickr.com/photos/universidad_uci
>
>
>
> --
>
> Thanks & regards,
> Nirmal
>
> Software Engineer- Platform Technologies Team, WSO2 Inc.
> Mobile: +94715779733
> Blog: http://nirmalfdo.blogspot.com/
>
>
> 10mo. ANIVERSARIO DE LA CREACION DE LA UNIVERSIDAD DE LAS CIENCIAS
> INFORMATICAS...
> CONECTADOS AL FUTURO, CONECTADOS A LA REVOLUCION
>
> http://www.uci.cu
> http://www.facebook.com/universidad.uci
> http://www.flickr.com/photos/universidad_uci****
>
> _______________________________________________
> User mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/user****
>
>
>
>
> --
> *Anjana Fernando*
> Associate Technical Lead****
>
> WSO2 Inc. | http://wso2.com****
>
> lean . enterprise . middleware****
>
>   <http://www.uci.cu/>
>
>


-- 
*Anjana Fernando*
Associate Technical Lead
WSO2 Inc. | http://wso2.com
lean . enterprise . middleware
<project xmlns="http://maven.apache.org/POM/4.0.0"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
	xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd";>

	<modelVersion>4.0.0</modelVersion>
	<groupId>com.groupid</groupId>
	<artifactId>my.mediator</artifactId>
	<version>1.0.0</version>
	<packaging>bundle</packaging>
	<name>mediator.name</name>
	<url>http://www.test.com</url>

	<repositories>
		<repository>
			<id>wso2-maven2-repository</id>
			<url>http://dist.wso2.org/maven2</url>
		</repository>
		<repository>
			<id>apache-Incubating-repo</id>
			<name>Maven Incubating Repository</name>
			<url>http://people.apache.org/repo/m2-incubating-repository</url>
		</repository>
		<repository>
			<id>apache-maven2-repo</id>
			<name>Apache Maven2 Repository</name>
			<url>http://repo1.maven.org/maven2/</url>
		</repository>
		<!-- -->
		<repository>
			<id>jboss-public-repository-group</id>
			<name>JBoss Public  Repository Group</name>
			<url>http://repository.jboss.org/nexus/content/groups/public/</url>
			<layout>default</layout>
			<releases>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</releases>
			<snapshots>
				<enabled>true</enabled>
				<updatePolicy>never</updatePolicy>
			</snapshots>
		</repository>
		<repository>
			<id>codehaus.m2.snapshots</id>
			<url>https://nexus.codehaus.org/content/repositories/snapshots/</url>
			<releases>
				<enabled>false</enabled>
			</releases>
		</repository>
		
	</repositories>

	<build>
		<plugins>
			<plugin>
				<groupId>org.apache.maven.plugins</groupId>
				<artifactId>maven-compiler-plugin</artifactId>
				<version>2.0</version>
				<configuration>
					<source>1.5</source>
					<target>1.5</target>
				</configuration>
			</plugin>
			<plugin>
				<groupId>org.apache.felix</groupId>
				<artifactId>maven-bundle-plugin</artifactId>
				<version>1.4.0</version>
				<extensions>true</extensions>
				<configuration>
					<instructions>
						<Bundle-SymbolicName>com.groupid</Bundle-SymbolicName>
						<Bundle-Name>com.groupid</Bundle-Name>
						<Export-Package>my.package.*</Export-Package>
						<Import-Package>
							!javax.xml.namespace,
							javax.xml.namespace;
							version=0.0.0,
							org.apache.commons.logging,
							org.osgi.framework,
							*;
							resolution:=optional
                        </Import-Package>
						<DynamicImport-Package>*</DynamicImport-Package>
						<Fragment-Host>synapse-core</Fragment-Host>
					</instructions>
				</configuration>
			</plugin>
		</plugins>
	</build>


	<dependencies>
		<dependency>
			<groupId>org.apache.synapse</groupId>
			<artifactId>synapse-core</artifactId>
			<version>2.1.0-wso2v2</version>
		</dependency>
	</dependencies>
</project>
_______________________________________________
User mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/user

Reply via email to