Re: [Dev] Connector uploading error in ESB!

2014-06-20 Thread Asanki Fernando
Thanks for the responses. I fixed it, but didn't change anything. This
error occured after I added the 'fourSq_venues' folder to the structure.
There was only one method(getVenues.xml) with the component.xml file. So I
removed that, and add that again step by step by checking with the ESB.
Then it worked. There was nothing wrong with the code either.

Thanks again.
Asanki


On Fri, Jun 20, 2014 at 10:06 AM, Gayan Gunarathne gay...@wso2.com wrote:


 Seems like some of the dependencies refer in the connector are missing.
 Please check whether you have include all the dependencies to the lib
 folder of the connector zip file.

 Thanks,
 Gayan


 On Fri, Jun 20, 2014 at 9:44 AM, Asanki Fernando 
 iasankiferna...@gmail.com wrote:

 Hi All,

 I'm writing an ESB connector to foursquare, and most of the times when I
 try to upload the connector to the ESB, it gives me the following error. I
 checked all the possible syntax errors that could be made. Is this coz of a
 syntax error? Please let me know a way to solve this.

 [2014-06-20 09:38:00,431] ERROR - LibraryArtifactDeployer Artifact
 representing the filename
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
 is not deployed on Synapse
 [2014-06-20 09:38:00,431]  INFO - DeploymentEngine
 org.apache.axis2.deployment.DeploymentException: Artifact representing the
 filename
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
 is not deployed on Synapse
 [2014-06-20 09:38:00,598] ERROR - LibDeployerUtils artifact.xml is
 invalid. Error occurred while resolving Synapse Library :
 {org.wso2.carbon.connectors}foursquare
 [2014-06-20 09:38:00,598]  WARN - LibDeployerUtils Could not build lib
 artifact for path :
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/tmp/libs/1403237280432foursquare.zip/fourSq_venues
 Synapse Library :{org.wso2.carbon.connectors}foursquare. Continue searching
 for other lib artifacts
 [2014-06-20 09:38:00,605] ERROR - LibraryArtifactDeployer Deployment of
 synapse artifact failed for synapse libray at :
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
 : Error when resolving Dependencies for lib :
 {org.wso2.carbon.connectors}foursquare
 org.apache.synapse.deployers.SynapseArtifactDeploymentException: Error
 when resolving Dependencies for lib : {org.wso2.carbon.connectors}foursquare
 at
 org.apache.synapse.libraries.util.LibDeployerUtils.searchAndResolveDependencies(LibDeployerUtils.java:244)
  at
 org.apache.synapse.libraries.util.LibDeployerUtils.createSynapseLibrary(LibDeployerUtils.java:80)
 at
 org.apache.synapse.deployers.LibraryArtifactDeployer.deploy(LibraryArtifactDeployer.java:60)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:744)


 Thank you.
 Best Regards,
 Asanki Fernando.



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




 --
 Best Regards,

 Gayan Gunarathne
 Technical Lead
 WSO2 Inc. (http://wso2.com)
 email  : gay...@wso2.com  | mobile : +94 766819985





-- 
Don't go through life, grow through life!!!

IAN Fernando
SLIIT
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


[Dev] Connector uploading error in ESB!

2014-06-19 Thread Asanki Fernando
Hi All,

I'm writing an ESB connector to foursquare, and most of the times when I
try to upload the connector to the ESB, it gives me the following error. I
checked all the possible syntax errors that could be made. Is this coz of a
syntax error? Please let me know a way to solve this.

[2014-06-20 09:38:00,431] ERROR - LibraryArtifactDeployer Artifact
representing the filename
/home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
is not deployed on Synapse
[2014-06-20 09:38:00,431]  INFO - DeploymentEngine
org.apache.axis2.deployment.DeploymentException: Artifact representing the
filename
/home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
is not deployed on Synapse
[2014-06-20 09:38:00,598] ERROR - LibDeployerUtils artifact.xml is invalid.
Error occurred while resolving Synapse Library :
{org.wso2.carbon.connectors}foursquare
[2014-06-20 09:38:00,598]  WARN - LibDeployerUtils Could not build lib
artifact for path :
/home/ian/Documents/Software/ESB2/wso2esb-4.8.1/tmp/libs/1403237280432foursquare.zip/fourSq_venues
Synapse Library :{org.wso2.carbon.connectors}foursquare. Continue searching
for other lib artifacts
[2014-06-20 09:38:00,605] ERROR - LibraryArtifactDeployer Deployment of
synapse artifact failed for synapse libray at :
/home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
: Error when resolving Dependencies for lib :
{org.wso2.carbon.connectors}foursquare
org.apache.synapse.deployers.SynapseArtifactDeploymentException: Error when
resolving Dependencies for lib : {org.wso2.carbon.connectors}foursquare
at
org.apache.synapse.libraries.util.LibDeployerUtils.searchAndResolveDependencies(LibDeployerUtils.java:244)
at
org.apache.synapse.libraries.util.LibDeployerUtils.createSynapseLibrary(LibDeployerUtils.java:80)
at
org.apache.synapse.deployers.LibraryArtifactDeployer.deploy(LibraryArtifactDeployer.java:60)
at
org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
at
org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
at
org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
at
org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
at
org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
at
org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
at
org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)
at
org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
at
java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
at java.lang.Thread.run(Thread.java:744)


Thank you.
Best Regards,
Asanki Fernando.
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev


Re: [Dev] Connector uploading error in ESB!

2014-06-19 Thread Gayan Gunarathne
Seems like some of the dependencies refer in the connector are missing.
Please check whether you have include all the dependencies to the lib
folder of the connector zip file.

Thanks,
Gayan


On Fri, Jun 20, 2014 at 9:44 AM, Asanki Fernando iasankiferna...@gmail.com
wrote:

 Hi All,

 I'm writing an ESB connector to foursquare, and most of the times when I
 try to upload the connector to the ESB, it gives me the following error. I
 checked all the possible syntax errors that could be made. Is this coz of a
 syntax error? Please let me know a way to solve this.

 [2014-06-20 09:38:00,431] ERROR - LibraryArtifactDeployer Artifact
 representing the filename
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
 is not deployed on Synapse
 [2014-06-20 09:38:00,431]  INFO - DeploymentEngine
 org.apache.axis2.deployment.DeploymentException: Artifact representing the
 filename
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
 is not deployed on Synapse
 [2014-06-20 09:38:00,598] ERROR - LibDeployerUtils artifact.xml is
 invalid. Error occurred while resolving Synapse Library :
 {org.wso2.carbon.connectors}foursquare
 [2014-06-20 09:38:00,598]  WARN - LibDeployerUtils Could not build lib
 artifact for path :
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/tmp/libs/1403237280432foursquare.zip/fourSq_venues
 Synapse Library :{org.wso2.carbon.connectors}foursquare. Continue searching
 for other lib artifacts
 [2014-06-20 09:38:00,605] ERROR - LibraryArtifactDeployer Deployment of
 synapse artifact failed for synapse libray at :
 /home/ian/Documents/Software/ESB2/wso2esb-4.8.1/repository/deployment/server/synapse-libs/foursquare.zip
 : Error when resolving Dependencies for lib :
 {org.wso2.carbon.connectors}foursquare
 org.apache.synapse.deployers.SynapseArtifactDeploymentException: Error
 when resolving Dependencies for lib : {org.wso2.carbon.connectors}foursquare
 at
 org.apache.synapse.libraries.util.LibDeployerUtils.searchAndResolveDependencies(LibDeployerUtils.java:244)
  at
 org.apache.synapse.libraries.util.LibDeployerUtils.createSynapseLibrary(LibDeployerUtils.java:80)
 at
 org.apache.synapse.deployers.LibraryArtifactDeployer.deploy(LibraryArtifactDeployer.java:60)
  at
 org.apache.axis2.deployment.repository.util.DeploymentFileData.deploy(DeploymentFileData.java:136)
 at
 org.apache.axis2.deployment.DeploymentEngine.doDeploy(DeploymentEngine.java:807)
  at
 org.apache.axis2.deployment.repository.util.WSInfoList.update(WSInfoList.java:144)
 at
 org.apache.axis2.deployment.RepositoryListener.update(RepositoryListener.java:377)
  at
 org.apache.axis2.deployment.RepositoryListener.checkServices(RepositoryListener.java:254)
 at
 org.apache.axis2.deployment.RepositoryListener.startListener(RepositoryListener.java:371)
  at
 org.apache.axis2.deployment.scheduler.SchedulerTask.checkRepository(SchedulerTask.java:59)
 at
 org.apache.axis2.deployment.scheduler.SchedulerTask.run(SchedulerTask.java:67)
  at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.runAxisDeployment(CarbonDeploymentSchedulerTask.java:79)
 at
 org.wso2.carbon.core.deployment.CarbonDeploymentSchedulerTask.run(CarbonDeploymentSchedulerTask.java:124)
  at
 java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
 at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:304)
  at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:178)
 at
 java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:293)
  at
 java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
 at
 java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
  at java.lang.Thread.run(Thread.java:744)


 Thank you.
 Best Regards,
 Asanki Fernando.



 ___
 Dev mailing list
 Dev@wso2.org
 http://wso2.org/cgi-bin/mailman/listinfo/dev




-- 
Best Regards,

Gayan Gunarathne
Technical Lead
WSO2 Inc. (http://wso2.com)
email  : gay...@wso2.com  | mobile : +94 766819985
___
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev