User login

I'm trying to generate axis2 v.1.4 Stubs

Forums :

Hello!

 I'm trying to generate axis2 v.1.4 Stubs.

 I had about 4 months project with axis2 v.1.3 before and never had such problems.

I'm downloading the binary distribution and the Eclipce wizard from:

 http://apache.easy-webs.de/ws/axis2/1_4/axis2-1.4-bin.zip

http://ftp.fernuni-hagen.de/ftp-dir/pub/mirrors/www.apache.org/ws/axis2/tools/1_4/axis2-eclipse-codegen-wizard-1.4.zip

 

On my MAC-G4 I'm getting the following error message:

 

The selected wizard could not be started

Reason:

Plug-in Axis2_Codegen_Wizard was unable to load class

org.apache.axis2.tool.codegen.eclipse.CodeGenWizard.

  

OS X 10.4.11

PowerPC G4

768MB RAM

Java 1.5.0_13-b05-241

Eclipse SDK Version: 3.3.2

  

I tryed on another mashine:

 

Windows Vista 32-bit.

RAM 2GB

Eclipse  Version: 3.3.1.1

Build id: M20071023-1652

 Java 1.6.0_05

 axis2-1.4

 AXIS2_HOME=c:\Users\Igor.Sychev\axis2-1.4

 

I can see the graphical interface, but at the end of setting up the properties I'm getting:

 

CodegenWizard

java.lang.reflect.InvocationTargetException

 

P.S. Is it possible to find a forum on http://ws.apache.org/axis2/ ? I can’t see any feedback possibility.

 

Thanks!

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.

This is a bug in Axis2-1.4

This is a bug in Axis2-1.4 (https://issues.apache.org/jira/browse/AXIS2-3812) and this has been fixed in Axis2 trunk. Can you please get a nightly build and try it out?

 

regards

Charitha

I’m already formed an important rule for my sources.

Hello!



Thanks for the answer! 

I’m just implementing a use-case for my research. It is not principal to use the newest axis2 version for me. I have been trying to solve this problem:

     http://wso2.org/forum/thread/3704

to get a stable application.

I had an assumption:  if I switch to another version, the problem disappears.

But, we can see that axis2 v.1.4 also brings problems...

 

I’m already formed an important rule for my sources:

all operations with data calls should be so trivial as in classical books about java, and so simple as it possible.

 

This is a contradiction for comfortable coding, but seems to be better solution for machine :-)

 

I have to write like this:

...

public String scanMyList( ... )throws SQLException    

{

StringBuffer seqQuery = new StringBuffer();

 

...

 

ResultSet rs = stmt.executeQuery( seqQuery.toString() );

 

      try{

            while( rs.next() )

            {

                  x_no = rs.getInt("NO_ID");

            }

catch(SQLException e)

{ ...

}

...

}

 

I changed my code according to this rule and my application passes all tests.

For this moment (exactly this moment) it’s enough for me to continue with my job (my boss want to see some results :-) ).

I want to help you with axis2 v.1.4; but I’m so limited with time.

May I ask you to wait about a week?

Is it Ok?

Comment viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.