deployment,path,wsdl,mule , Mule - Exported project - Error

Mule - Exported project - Error


Tag: deployment,path,wsdl,mule

I have exported my mule project which contains a WSDL file in src.main.resources/wsdl-request.

The type of export is AnyPoint Studio Project to AnyPoint Deployable Archive.

The problem is that when I execute the deployable archive in the server it return this error:

Caused by: javax.wsdl.WSDLException: WSDLException: faultCode=PARSER_ERROR: Problem parsing 'file:/C:/Users/usrAdmin/AnypointStudio/workspace/mule-project-test/src/main/resources/wsdl-test/Request.wsdl'. (The system cannot find the path specified)
    at Source)
    at Source)
    at Source)
    at org.apache.cxf.wsdl11.WSDLManagerImpl.loadDefinition(
    at org.apache.cxf.wsdl11.WSDLManagerImpl.getDefinition(
    at org.apache.cxf.wsdl11.WSDLServiceFactory.<init>(
    ... 54 more
Caused by: C:\Users\usrAdmin\AnypointStudio\workspace\mule-project-test\src\main\resources\wsdl-test\Request.wsdl (The system cannot find the path specified)
    at Method)
    at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
    at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
    at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
    at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
    at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
    ... 60 more

The path that the error said is where I had the project before the export.

How can I add the file into the project to avoid that error?. I think that I need to use classpath or something like that but I don't know hot it works.


This is my actual wsdlLocation:

wsdlLocation = "file:/C:/Users/tstSrvr/AnypointStudio/workspace/test-project/src/main/resources/wsdl-test/Request.wsdl"


It seems you have hardcoded this path C:\Users\usrAdmin\AnypointStudio\workspace\mule-project-test\src\main\resources\wsdl-test\Request.wsdl in your configuration.

Use wsdl-test/Request.wsdl instead so that way the file can be found both in Studio and when the application is packaged, as it will be loaded from the classpath (as a resource) instead of being loaded as file (via an absolute path).


Deployment Project - custom action update

Situation: I have a Deployment Project in visual studio 2010 setup to install a console application. This console application has some custom actions written into it for the Deployment project. EDIT: To clarify, these custom actions are using the System.Configuration.Install.Installer class in .NET. I use the Committed, BeforeUninstall, AfterUninstall events...

Capistrano Rails deploy with new migration files

I want to deploy from a new branch I have created. On this branch, the db/migrate content has changed, I removed some migration files and regenerated a new one. The problem is, when I cap staging deploy from this branch, it fails when running migrations PG::DuplicateTable: ERROR: relation "partners" already...

Recursively expand and search pattern of specific subdirectories

I'm looking for an option to search specific subdirectories in python. For instance a directory structure like this: some_files/ common/ 2009/ 2010/ 2011/ ... I only want to search for in the subdirectories that start with a 2, so that it must be something like 'some_files/2*'. I think it must...

Center Aligning an SVG element?

I don't know how to really explain this but how can I center align this logo I have tried the following but it didnt seem to work as intended. .center-logo { display: block; margin: auto; } ...

Python how to join cross platform paths

If I have a json directory structure that lists paths in mac format ()i.e. "/0000_test/video.mp4" and I want to join it with c:\\ the mac format, is there a way to do this? So on windows the path would be returned as c:\\0000_test\video.mp4" I have tried os.path.join to no avail...

Laravel 5 on shared hosting getting internal server error

I am trying to get my Laravel 5 project running on my shared hosting through FTP. I have uploaded all my project files from my local XAMP-folder to the server root directory and put the files in the 'public' folder in the public_html folder. When I go to I...

How do I create a deploy git branch for my Yeoman project?

I created a new project using Yeoman. Using Grunt I've created the dist directory. My whole project is on Github,, and I've created a prod branch. My question is how do I get my prod branch to have only the contents of dist instead of having the dist directory...

How Path.GetDirectoryName Works?

When i use OpenFileDialog to Open file, of course i need to get the file directory and its name to load the file.(to load xml, to access the file i need full path.) opd is OpenFileDialog if (opd.ShowDialog() == true) { var names = opd.FileNames; foreach (string name in names)...

Spring boot war file deploy on Tomcat

I use Spring Boot 1.2.4.RELEASE with gs-rest-service source file. I got: - - [18/Jun/2015:09:59:25 +0300] "GET /gs-rest-service-0.1.0/ HTTP/1.1" 404 1021 There are no other exceptions in Tomcat logs. I have read related questions, but my test doesn't run. Spring Boot War deployed to Tomcat I have read howto-create-a-deployable-war and...

Run tomcat application from any subdomain, subfolder or ROOT

I'm new to java web development so bear with me. I have created a application which runs on localhost:8080. The application uses a simpel MVC setup (controller servlet forwards request to jsp page). If I deploy my application to a remote server in a subfolder ( the application does not...

Rake not exporting PATH

I would like a Rake task to export the path to my command line tool to $PATH, and so I have the following line in my Rakefile: task :make_path do sh 'export PATH=$HOME/Desktop/folder:$PATH' end When putting that line export PATH=$HOME/Desktop/folder:$PATH into the terminal directly, the path is prepended to my...

Deployment of Python API

I'm trying to understand the simplest way to deploy a Django application in production. Many recommend nginx or Apache along with uwsgi or gunicorn. I think that is more than my situation requires, and I would like know if my thinking is correct. This application is nothing more than an...

RegEx for selecting the first element of a path

My question is pretty simple, I would like to write a RegEx that does this: / -> / /foo -> /foo /foo/bar -> /foo /foo/bar/baz -> /foo I've tried this: replace(/(\/[^\/]*)\/[^\/]*/, '$1') But it returns the path, unmodified. Does anyone know how to do?...

Unable to deploy through capistrano after ubuntu upgrade

I recently upgraded my development machine to Ubuntu 15.04 (was 14.04LTS) and ran into a problem when trying to deploy changes to my server. The interesting bit is, that I can ssh into my server without any issues (hence, the key file is setup correct), but when I try to...

How to automate deployment of source & compiled code (excluding git history) to third-party developers?

I'm going to setup some tools/techiques/environments so that when I need to provide the source code for third-party developers, I do it without git history with some sensitive code already compiled and stripped. So I want to automate this process, so that I always provide the latest version of it...

User path with username

To show User's profile I used their id. In controller: @user = User.find(params[:id]) In routes: get ':id' => 'users#show' But now I try new way with username: get ':username' => 'users#show' #route @user = User.find_by(username: params[:username]) #controller And when I go to user's profile with /username I see error: undefined...

JOptionPane Message with File Path

Is there a way to put a filepath into a JOptionPane? E.g. I have a folder in my project directory and would like to get the path to that folder and show it into the message....

set css image from current folder using jquery script page

I have an external Javascript page located under ../Scripts/CBox/ folder from parent. There is an image located in the same folder. I want to set background-image for a control using Jquery from there. When I use this code, It sets the background-image path as localhost:7905/ddl_arrow.png where localhost:7905 is my

A way to include paths dynamically in php?

I have structured a server with this file and folders: index.php |lib -> lib.php |framework -> fw.php |folderA -> index2.php In lib.php there is functionA() with a require_once inside that calls "fw.php" correctly from index2.php: functionA(){ require_once "../framework/fw.php"; //other stuff... } if it's called from index.php, the path must be...

Running custom program located in /bin

I have created a folder ~/bin. This is my own bin to store my own custom programs. As a test, I wrote a simple hello world program. I export using PATH=~/bin:$PATH so that Linux looks in that directory. If I save hello (my test program name) I can successfully run...

Azure deployment from source without TFS?,azure,deployment
Does anyone knows if the deployment from source feature of Azure is intended to work with .NET projects ? I mean, if I put source code in the local git repository of Azure and then trigger a deploy, is my source code going to be compiled and then deployed or...

Issues with relative paths in PHP includes

Before going on, I'd just like to say that I've tried pretty much everything, and I read a lot of questions here at Stackoverflow, but none of the solutions worked. So here is the deal, I have a file ("empresaConf.php") that contains this code: <?php include 'navigator2.php'; ?> <div class="contTudo">...

How to write a Scala parser for paths?

I am a beginner in scala writing a scala parser in which I need to parse a path like this (suppose x is an integer): /hfds:// I tried the following not sure if I am on the right track: def pathIdent: Parser[String] = ("/hdfs""+"""(\d+~\.\d*)"""+ ~("""(u[a-zA-Z0-9])*+"""+"\.[\\'"jpg]"").r I know it has errors!...

can't get to bash_profile file to edit the path on mac

I can't access my .bash_profile file to edit my environment path. I was editing it in nano, saved and exited, making it so I only have one file path that is useless and can no longer do anything such as sudo or ls. I've tried nano, vi, open, grep search,...

How to implement Flask Application Dispatching by Path with WSGI?

I would like to use a single domain as a Staging Environment for multiple flask applications that will eventually run on their own domains. Something like: where: acts same as acts same as acts same as or: acts same as...

set the OpenSSL_HOME variable

I am trying to configuring HTTPS based on this tutorial: Configuring HTTPS for your Elastic Beanstalk Environment I am stuck at the following section: To set the OpenSSL_HOME variable Enter the path to the OpenSSL installation: c:\ set OpenSSL_HOME=path_to_your_OpenSSL_installation My openSSL is installed in c:\OpenSSL, so would I write set...

Android: When I save a file in the phone's internal memory will store Where's that file? How can I access it path?

we have 2 memories for store files: 1- phone memory 2- sd card memory now : I can access to files and roots in sdcard memory with Environment.getExternalStorageDirectory ... and return : /storage/sdcard0 this is ok. but : When i store files and media (music,pic, ...) in phone memory, how...

Using Ruby Pathname to access relative directory

Given I have a relative path pointing to a directory how can I use it with Ruby's Pathname or File library to get the directory itself? p ='dir/') p.dirname => . => false I have tried './dir/', 'dir/', 'dir'. What I want is p.dirname to return 'dir'. I...

Change the “about this” window on mac app

On Macs, there's a default menu at the top for basic application handling functions: I've made an application using Java for my Grade 10 final project, (and I'm quite convinced that it's better than Microsoft Paint) and I decided to package it. Using Eclipse, I exported it as a Mac...

Slow wpf startup due to publish policy… maybe

I have deployed my .NET assemblies with x-copy for years, without any issue. From last week, we have a small team that wich has the task of build a setup that includes .NET assemblies and exe and c++ legacy exe and dll (more tha 200 files). After the first installation,...

Finding deployment data to a SQL Database

In an effort to maintain versions of the databases we have in our CMDB, I have to obtain the versions of some databases deployed to our servers by a third party company. Is there a system table, view or procedure that allows me to view information regarding recent deployments (code...

IllegalStateException: Iterator already obtained [duplicate]

This question already has an answer here: java.lang.IllegalStateException: Iterator already obtained 1 answer so I wrote a little Java program to test a little stack language I made vie various test file, but for some reason it won't work. Here is the code: import; import; import java.nio.file.*;...

Give absolute url adress

i'm trying to understand absolute and relative Url adresses; however, when i attempted an exercise, i couldn't solve it. Here is the exercise: Given the following URL address , the document index.html contains 3 relatives URL addresses: <img src="../logo.png" alt="Logo de l’entreprise"/> //Line 1 <img src="/images/logo.png" alt="Logo de l’entreprise"/>...

python to guess specific path?

I am working on a script to get information from the Skype database. I got the following code: con = sqlite3.connect('C:\\Users\\joey\\AppData\\Roaming\\Skype\\jre93\\main.db') But the skype ID (jre93) and the USER (joey) of the computer are always different. Is there a way python can recognize those path automatic with out user input?...

Find the path of every running process in Python

I want to find the path of every running process in windows. I tried to use the psutil module but it doesn't show me all the paths. It can't find many processes' paths because of the error: "psutil.AccessDenied" c = wmi.WMI() for process in c.Win32_Process(): p = psutil.Process(int(process.ProcessId)) try: path...

running node.js sails app on openshift

I'm trying to deploy my node.js sails app on openshift. I followed procedure outlined in but still doesn't work. also try this: Node.js app on openshift no matter what i'm getting "Service Temporarily Unavailable" The server is temporarily unable to service your request due to maintenance downtime or capacity...

Rails less url path change

Developing a Rails application with the less-rails gem I found something unusual : // app/assets/common/css/desktop/typo.less @font-face{ font-family:'SomeFont'; src:url("fonts/db92e416-da16-4ae2-a4c9-378dc24b7952.eot?#iefix"); // ... } The requested font is app/assets/common/css/fonts/db92e416-da16-4ae2-a4c9-378dc24b7952.eot This font is compiled with less and the results is : @font-face { font-family: 'SomeFont'; src: url("desktop/fonts/db92e416-da16-4ae2-a4c9-378dc24b7952.eot?#iefix"); //... } Do you know why is...

GetFullPath no output ?! VB.NET,visual-studio-2010,path
Good evening to all of you! I have a problem that I can't solve with the method GetFullPath in What I want to do : I would like to get the full path of a text file (test.txt) which is located in the same folder as the app.exe, the...

How to Combine Two paths?

I have an XmlTextReader to read series of XML files to load some information in to my program. However, in some XML files I have the file name of an image and I want to load that image. But the problem is the XML file does not have the full...

Using Express' route paths to match `/` and `/index`

I'm using Express and I want to match / and /index to the same route. But if I write app.route('/(index)?') Node throws this error: c:\myproject\node_modules\express\node_modules\path-to-regexp\index.js:69 return new RegExp(path, flags); ^ SyntaxError: Invalid regular expression: /^\/(?(?:([^\/]+?)))?e\/?$/: Invalid group at new RegExp (native) at pathtoRegexp (c:\myproject\node_modules\express\node_modules\path-to-regexp\index.js:69:10) at new Layer (c:\myproject\node_modules\express\lib\router\layer.js:32:17) at Function.proto.route...

How to correctly add ENV[“SECRET_KEY”BASE"] in rails

I am having a difficult time setting up Rails 4.2 in production on a VM running on passenger and nginx, and not using RVM or anything similar. I got Incomplete response received from application and looking in the nginx error log it said something about missing secret_key_base and secret_key although...

Fetch a saved image and display

I am developing an App in which I have stored images through imagePicker. now i want to display same images in my collectionView. I got response as a path path=assets/image/155/155_557b1259b8a51.jpg when i add then it shows error. How can i get the images through this path.Please Help me out....

Python/Flask deployment without pip

I've usually deployed my Flask applications with a fairly simple fabric script that put the source on the target machine, used pip to install any dependencies, then fired up uwsgi with all the necessary settings and off it went. However, I have a new issue that some new security settings...

Cannot find file path

I'm using Windows CE 6.0. I'm developping an application that needs to read a XML file (bar.xml) that is placed right next to my executable (foo.exe). I try to access it with the following method, called right after my Main() : private void ParseXmlFile(string _sFileName) { XmlDocument l_doc = new...

Using URL vs Filepath to include css?

Which one is better ? Using URL to include css ? <link rel="stylesheet" href="<?php echo BASE_URL; ?>/css/style.css"> Or, using filesystem ? <link rel="stylesheet" href="<?php echo BASE_PATH; ?>/css/style.css"> BASE_URL containes the base url of the app, and BASE_PATH contains the file path to the base of the app....

Cannot set PHP include_path

I have uploaded all my files in var/www/html and in one of my php files I have this line : require_once('libraries/stripe/init.php'); the structure of my folders are list this: www -html/ -libraries -> Stripe -> init.php -register.php I keep getting this error message: Warning: require_once(libraries/Stripe/init.php): failed to open stream: No...

Deploying to Android results in file not found after adding QtQuick Controls

After importing QtQuick.Controls 1.2 and using StackedWidget component, I now get an error when deploying to Android as seen below. The missing file AnimationDrawable.qml is not missing from the Android build directory so I do not understand why it is not packaged with the APK. It deploys fine when I...

Efficient way of organizaing mail sending from Rails app

I have an Rails 4 application with ruby 2.1.2 that runs on a VPS with 512 mb of RAM and want to know what are the ways of efficiently managing email notification with background job with the least possible additional background processes ( like Redis and Sidekiq, each of them...

Animate raphael objects

I'm quite new to raphael.js and I'm trying to animate raphael elements. For example, I've drawn an arrow using paper.path(). var arrow = paper.path("M10,10L100,100"); arrow.attr({ "stroke-width": 5, "stroke-dasharray": "-.", "arrow-end": "classic-wide-long" }); How do I make the arrow's color seem like flashing when it's drawn?...

What underlying difference makes Node Instances appear different?

I have two similar (if not identical) node instances that are appearing differently in a deployment diagram (and anywhere else that I use them). I may have done some odd things in the past while beating EA into submission. But, now ... by pulling every lever I can imagine, I...