Ali Sadik Kumlali
Rob Henley <[EMAIL PROTECTED]> wrote:
Tried to build SVN yesterday, but hit this problem:
BUILD FAILED
File...... C:\Documents and
Settings\rhenley\.maven\cache\maven-multiproject-plugin-1.3.1\plugin.jelly
Element... maven:reactor
Line...... 217
Column.... 9
Unable to obtain goal [multiproject:install-callback] -- C:\Documents and
Settings\rhenley\.maven\cache\maven-test-plugin-1.6.\plugin.jelly:181:54:There were test failures.
Similar looking problem was seen last year and attributed to a bad version
of maven and/or using JDK1.5. The JDK1.5 issue was marked as fixed in 0.92
(http://issues.apache.org/jira/browse/AXIS2-193) and I think I have a good
version of maven (1.0.2).
Possibly the commons-axiom build had the same problem yesterday? ...
http://vmgump.apache.org/gump/public/ws-axis2-commons/ws-commons-axiom/gump_work/build_ws-axis2-commons_ws-commons-axiom.html
Does anyone know if the problem is in SVN? Otherwise, it must be me :-(
Many thanks
Rob
----- Original Message -----
From: "Rob Henley" <[EMAIL PROTECTED]>
To:[EMAIL PROTECTED]>
Sent: Tuesday, March 21, 2006 12:58 PM
Subject: Re: [Axis2] wss4j
> Hi Deepal
> I'm using 0.94. I will try to build from SVN, otherwise I'll wait for the
> 0.95 release.
> Cheers
> Rob
> ----- Original Message -----
> From: "Deepal Jayasinghe" <[EMAIL PROTECTED]>
> To:[EMAIL PROTECTED]>
> Sent: Tuesday, March 21, 2006 12:46 PM
> Subject: Re: [Axis2] wss4j
>
>
>> Hi Rob;
>>
>> Are you working on current SVN code base or 0.94 release, I am sure that
>> I fixed this issues after 0.94 release.
>>
>>
>> Rob Henley wrote:
>>
>>> Hi Ruchith
>>> many thanks - great explanation!
>>>
>>> I know my server-side (tomcat) repository is ok, so I tried pointing
>>> my client there:
>>>
>>> ccf.createConfigurationContextFromFileSystem("C:/progra~1/Apache/Tomcat5.5/webapps/axis2/WEB-INF");
>>>
>>> _serviceClient = new org.apache.axis2.client.ServiceClient(ctx,
>>> _service);
>>>
>>> Now I get a different error
>>> [java] java.lang.NullPointerException
>>> [java] at
>>> org.apache.axis2.context.ServiceGroupContext.getServiceContext(ServiceGroupContext.java:58)
>>>
>>> [java] at
>>> org.apache.axis2.client.ServiceClient.(ServiceClient.java:105)
>>> [java] at org.apache.axis2.PurchasingStub.(Unknown Source)
>>> [java] at samples.purchasing1.ClientTest.main(Unknown Source)
>>>
>>> Have you seen anything like this before?
>>> Cheers
>>> Rob
>>> ----- Original Message ----- From: "Ruchith Fernando"
>>> <[EMAIL PROTECTED]>
>>> To:[EMAIL PROTECTED]>
>>> Sent: Tuesday, March 21, 2006 2:23 AM
>>> Subject: Re: [Axis2] wss4j
>>>
>>>
>>> Hi Rob,
>>>
>>> Yes the repository is just a directory with a certain structure as
>>> shown below:
>>>
>>> repo_dir
>>> |
>>> +-> services/
>>> | |
>>> | +-> foo.aar
>> ;> | +-> bar.aar
>>> |
>>> |-> modules/
>>> | |
>>> | +-> a.mar
>>> | +-> b.mar
>>> |
>>> |-> conf/
>>> |
>>> +->axis2.xml
>>>
>>> I addition to the above you can have optional 'lib' directories at
>>> each service, module and repo level holding the common jars to be used
>>> in each scope.
>>>
>>> Thanks,
>>> Ruchith
>>>
>>> On 3/20/06, Rob Henley <[EMAIL PROTECTED]> wrote:
>>>
>>>> Hi Ruchith,
>>>> thanks! I'll try a later version.
>>>>
>>>> Just to clarify, I was thinking a repository was just a directory which
>>>> conformed to a specific structure, for instance with sub-directories
>>>> called
>>>> modules, lib etc. It sounds like I haven't understood this properly.
>>>> Can you
>>>> tell me where it is described?
>>>>
>>>> Many thanks
>>>> Rob
>>>> ----- Original Message -----
>>>> From: "Ruchith Fernando" <[EMAIL PROTECTED]>
>>>> To:[EMAIL PROTECTED]>[EMAIL PROTECTED]>
>>>> Sent: Monday, March 20, 2006 12:53 PM
>>>> Subject: Re: [Axis2] wss4j
>>>>
>>>>
>>>> Hi Rob,
>>>>
>>>> >
>>>> > java.lang.ClassNotFoundException:
>>>> > org.apache.ws.security.transform.STRTransform
>>>> >
>>>> > I can see that this class is in wss4j-SNAPSHOT.jar, which in turn
>>>> is in > my
>>>> > securi ty.mar in the modules directory. Extracting the jar into the
>>>> > lib
>>>> > directory seems to solve the problem, but presumably that isn't the
>>>> > right
>>>> > thing to do?
>>>>
>>>> No, you should not have to do that.
>>>>
>>>> In your scenario only the security module should contain the
>>>> wss4j-SNAPSHOT.jar in its 'lib' directory and you should not be
>>>> required to add it to your classpath separately. This sounds like a
>>>> module classloading problem.... Deepal what do you think?
>>>>
>>>> Also can you send the complete stack trace of
>>>> > java.lang.ClassNotFoundException:
>>>> > org.apache.ws.security.transform.STRTransform
>>>>
>>>>
>>>> >
>>>> > The client code to set the configurationContext seemed to be for a
>>>> > version
>>>> > other than 0.94. My attempt looks like this:
>>>> >
>>>> > ConfigurationContextFactory ccf = new ConfigurationContextFactory();
>>>> > ConfigurationContext ctx =
>>>> > ccf.createConfigurationContextFromFileSystem("C:/axis2");
>>>> > _serviceClient = new org.apache.axis2.client.ServiceClient(ctx,
>>>> > _service);
>>>> >
>>>> > (Just to get things working, I dropped this straight into the
>>>> > PurchasingStub
>>>> > constructor generated by wsdl2java. C:/axis2 is where I unzipped
>>>> axis. > It
>>>> > contains axis2.xml and subdirectories lib, modules etc.)
>>>> >
>>>> > The client classpath includes all the jars in t he lib directory, but
>>>> > I
>>>> > haven't set anything else specifically in the environment when the
>>>> > client
>>>> > runs.
>>>>
>>>> To create a configuration context you have to give the path to an
>>>> axis2 _repository_ to the createConfigurationContextFromFileSystem()
>>>> method. NOT the place where you extracted Axis2.
>>>>
>>>> There has been a considerable amount of changes from 0.94 and I'd
>>>> strongly recommend you to try the latest SVN head or checkout ht e0.95
>>>> release which will be out in a few days.
>>>>
>>>> Thanks,
>>>> Ruchith
>>>>
>>>>
>>>>
>>>>
>>>>
>>>
>>>
>>>
>>>
>>>
>>>
>>
>> --
>> Thanks,
>> Deepal
>> ................................................................
>> ~Future is Open~
>>
>>
>>
>>
>>
>
>
>
>
>
Yahoo! Mail
Use Photomail to share photos without annoying attachments.
