You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@cloudstack.apache.org by Daan Hoogland <da...@gmail.com> on 2015/06/16 12:59:18 UTC

strange error in f5 plugin

Anybody seen this before?

[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] /Users/dhoogland/cloudstack/cloudstack/plugins/network-elements/f5/src/com/cloud/network/resource/F5BigIpResource.java:[411,26]
error: cannot access Stub
[INFO] 1 error

It seems line 411 has not been touched since the cloud.com days.

-- 
Daan

Re: strange error in f5 plugin

Posted by Sudhansu Sahu <Su...@citrix.com>.
Hi Daan,

Sorry for the quick reply. The issue is not related to iControl jar.
Rather it look like apache.axis dependency issue.

I am able to get the same error after making below change in pom. Added
scope = runtime

<dependency>
      <groupId>org.apache.axis</groupId>
      <artifactId>axis</artifactId>
      <scope>runtime</scope>
    </dependency>



[INFO] Changes detected - recompiling the module!
[INFO] Compiling 12 source files to
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/targe
t/classes
[INFO] -------------------------------------------------------------
[ERROR] COMPILATION ERROR :
[INFO] -------------------------------------------------------------
[ERROR] 
/Users/sudhansu/devel/CodeHome/cloudstack/plugins/network-elements/f5/src/c
om/cloud/network/resource/F5BigIpResource.java:[411,26] error: cannot
access Stub
[INFO] 1 error
[INFO] -------------------------------------------------------------
[INFO] 
------------------------------------------------------------------------
[INFO] BUILD FAILURE
[INFO] 
------------------------------------------------------------------------

I think axis jar is missing or some version mismatch.

 org.apache.axis:axis:jar:1.4:compile



Regards
Sudhansu Sahu
CPG-Orchestration
T: +91-4044308412 | M: +91-9989334676
Sudhansu.Sahu@citrix.com <ma...@citrix.com>
 
 <http://www.citrix.com>

 Powering mobile workstyles and cloud services






On 16/06/15 5:29 pm, "Sudhansu Sahu" <Su...@citrix.com> wrote:

>Seems like F5 iControl dependency is missing.
>
>Look for icontrol-1.0.jar in maven repo.
>
>Sudhansus-MAC:com sudhansu$ ls -ltr
>~/.m2/repository/com/cloud/com/f5/icontrol/1.0/
>total 4512
>-rw-r--r--+ 1 sudhansu  staff      332 Nov 27  2014
>icontrol-1.0.pom.lastUpdated
>-rw-r--r--+ 1 sudhansu  staff      332 Nov 27  2014
>icontrol-1.0.jar.lastUpdated
>-rw-r--r--+ 1 sudhansu  staff      466 Nov 27  2014 icontrol-1.0.pom
>-rw-r--r--+ 1 sudhansu  staff  2284200 Nov 27  2014 icontrol-1.0.jar
>-rw-r--r--+ 1 sudhansu  staff      164 Nov 27  2014 _maven.repositories
>-rw-r--r--+ 1 sudhansu  staff      176 Nov 27  2014
>m2e-lastUpdated.properties
>-rw-r--r--+ 1 sudhansu  staff      235 Nov 27  2014
>icontrol-1.0-sources.jar.lastUpdated
>
>
>
>
>
>If missing then install the dependency
>
>
>1. You can download the following jars and put them in the deps directory:
>
>	cloud-iControl.jar
>http://zooi.widodh.nl/cloudstack/build-dep/cloud-iControl.jar
>
>
>2. Go into the deps directory and run install-non-oss.sh
>
>
>
>Regards
>Sudhansu Sahu
>CPG-Orchestration
>T: +91-4044308412 | M: +91-9989334676
>Sudhansu.Sahu@citrix.com <ma...@citrix.com>
> 
> <http://www.citrix.com>
>
> Powering mobile workstyles and cloud services
>
>
>
>
>
>
>On 16/06/15 4:29 pm, "Daan Hoogland" <da...@gmail.com> wrote:
>
>>Anybody seen this before?
>>
>>[ERROR] COMPILATION ERROR :
>>[INFO] -------------------------------------------------------------
>>[ERROR] 
>>/Users/dhoogland/cloudstack/cloudstack/plugins/network-elements/f5/src/co
>>m
>>/cloud/network/resource/F5BigIpResource.java:[411,26]
>>error: cannot access Stub
>>[INFO] 1 error
>>
>>It seems line 411 has not been touched since the cloud.com days.
>>
>>-- 
>>Daan
>


Re: strange error in f5 plugin

Posted by Sudhansu Sahu <Su...@citrix.com>.
Seems like F5 iControl dependency is missing.

Look for icontrol-1.0.jar in maven repo.

Sudhansus-MAC:com sudhansu$ ls -ltr
~/.m2/repository/com/cloud/com/f5/icontrol/1.0/
total 4512
-rw-r--r--+ 1 sudhansu  staff      332 Nov 27  2014
icontrol-1.0.pom.lastUpdated
-rw-r--r--+ 1 sudhansu  staff      332 Nov 27  2014
icontrol-1.0.jar.lastUpdated
-rw-r--r--+ 1 sudhansu  staff      466 Nov 27  2014 icontrol-1.0.pom
-rw-r--r--+ 1 sudhansu  staff  2284200 Nov 27  2014 icontrol-1.0.jar
-rw-r--r--+ 1 sudhansu  staff      164 Nov 27  2014 _maven.repositories
-rw-r--r--+ 1 sudhansu  staff      176 Nov 27  2014
m2e-lastUpdated.properties
-rw-r--r--+ 1 sudhansu  staff      235 Nov 27  2014
icontrol-1.0-sources.jar.lastUpdated





If missing then install the dependency


1. You can download the following jars and put them in the deps directory:

	cloud-iControl.jar
http://zooi.widodh.nl/cloudstack/build-dep/cloud-iControl.jar


2. Go into the deps directory and run install-non-oss.sh



Regards
Sudhansu Sahu
CPG-Orchestration
T: +91-4044308412 | M: +91-9989334676
Sudhansu.Sahu@citrix.com <ma...@citrix.com>
 
 <http://www.citrix.com>

 Powering mobile workstyles and cloud services






On 16/06/15 4:29 pm, "Daan Hoogland" <da...@gmail.com> wrote:

>Anybody seen this before?
>
>[ERROR] COMPILATION ERROR :
>[INFO] -------------------------------------------------------------
>[ERROR] 
>/Users/dhoogland/cloudstack/cloudstack/plugins/network-elements/f5/src/com
>/cloud/network/resource/F5BigIpResource.java:[411,26]
>error: cannot access Stub
>[INFO] 1 error
>
>It seems line 411 has not been touched since the cloud.com days.
>
>-- 
>Daan