Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Axis error about runtime location

The error is:

Exception occurred while reading or writing file {0}The Axis2 facets cannot be installed since the Axis2 runtime location has not been set. Go to the Web Services preference page and set the Axis2 runtime location under Axis2 Preferences.

In the preferences mentioned, the location is set correctly and in fact, it says "Axis2 runtime loaded successfully" after loadign the correct runtime location. So what's going on? Any solutions other than re-installing eclipse or creating a new workspace?

I am using Axis2 1.4.1 and eclipse.

like image 594
Ayrad Avatar asked Feb 09 '10 15:02

Ayrad


2 Answers

Re-check your axis version used with Eclipse (to be sure), as illustrated by this thread.

And try the procedure described here, and illustrated by this tutorial.

Choose the Axis2 war file's folder location in the Eclipse dialog at:

Window -> Preferences -> Web Services -> Axis2 Emitter 

Or if it still does not work:

Actually we found out that if you simply create a dummy web service with Axis2, the problem will also go away

Or:

It happens when your org.apache.axi2.facet plugin directory is corrupted (missing exploadedwar?).
The best way to fix this is copy over a good copy of that from another workspace (create a new one) over your existing workspace. You can find the directory at /.metadata/.plugins/org.apache.axis2.facet.

Axis2 Preferences

like image 135
VonC Avatar answered Nov 03 '22 14:11

VonC


Dobedani,

First download this file Apache Axis 2 Runtime Binary extract the file contents, goto window -> preferences -> web services -> Axis 2 preferences and look for the extracted folder, make sure you select the folder that contains the bin folder.

Ohh, i forgot to mention you have to add the Axis 2 facetes to your project to complete the fix, goto project properties -> project factes -> Modify project and add the Axis 2 Facets which were installed on the prior step.

That's it.

like image 32
Israelm Avatar answered Nov 03 '22 14:11

Israelm