I logged in as root & tried...... then it just hangs after the following
[EMAIL PROTECTED] c]# ant -f test.xml -Ddir.xmlParser=/usr/local/xerces-
c-src_2_6_0/lib -
Ddir.release=/home/rangika/checkout_Apr28/obj/package/axis-c-1.6.0-
Linux-bin -Dtest.name=SimpleRef
Buildfile: test.xml
pre-init:
preInitializeTest:
overrideTest:
set-platform-specifics:
checkIfDebug:
initialize:
initializeTest:
compileMonitorUtility:
compile:
package:
production:
initializeLogFile:
setListType:
setIndividual:
[echo] setIndividual SimpleRef
setFromList:
setAll:
setTestList:
runTests:
loadXMLProperties:
[echo] Loading XML file /home/rangika/checkout_Apr28/apache/ws-
axis/c/tests/auto_build/testcases/tests/SimpleRef.xml
setTestName:
setTestDesc:
setTestCode:
setClientLang:
setTestWsdl:
setTestEndpoint:
setTestExpected:
setTestExpectedRequest:
setHandlerDirectory:
setHandlerService:
setHandlersPresent:
setTestPort:
setPropertiesForTest:
cleanTest:
[delete] Deleting
directory /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
checkIfRequestFile:
setPropertiesForThisTest:
compileTestClient:
callCompileStaticClient:
setLanguage:
generateStubs:
[mkdir] Created
dir: /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
[java] log4j:WARN No appenders could be found for logger
(org.apache.axis.i18n.ProjectResourceBundle).
[java] log4j:WARN Please initialize the log4j system properly.
[java] Code generation completed.
copyClientCode:
[copy] Copying 1 file
to /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
copyStubClient:
copyDynamicClient:
getClient:
compileStaticClient:
[cc] 3 total files to be compiled.
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/SimpleRefClient.cpp:
In function `int main(int, char**)':
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/SimpleRefClient.cpp:28:
warning: unused variable 'x'
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/SimpleRefClient.cpp:29:
warning: unused variable 'buffer1'
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/SimpleRefClient.cpp:32:
warning: unused variable 'server'
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/SimpleRefClient.cpp:33:
warning: unused variable 'port'
[cc] /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/intType.hpp:
At global scope:
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/intType.hpp:28:
warning: 'Axis_URI_intType' defined but not used
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/intType.hpp:29:
warning: 'Axis_TypeName_intType' defined but not used
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/RefTestPortType.cpp:
In member function `intType* RefTestPortType::echoInt(intType*)': [cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/RefTestPortType.cpp:43:
warning: unused variable 'pcCmplxFaultName'
[cc] /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/intType.hpp:
At global scope:
[cc]
/home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef/intType.hpp:29:
warning: 'Axis_TypeName_intType' defined but not used
[cc] Starting link
callCompileLinkedClient:
compileClient:
validateClientCompilationIfBuilding:
[echo] SimpleRef - Client Compilation - PASSED
validateClientCompilationIfNotBuilding:
validateClientCompilation:
checkIfDebug:
createConfigurationFile:
createStartOfWSDDFile:
compileTestHandlers:
createEndOfWSDDFile:
updateConfigurationWithClientWSDDEntry:
compileHandlers:
buildTest:
executeTestRun:
setResultExpectations:
[copy] Copying 1 file
to /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
setRequestExpectations:
setExpectations:
setEndpoint:
setForMonitor:
setVerbatim:
checkIfEndpointSet:
setForNoMonitor:
setTestArgs:
executeTest:
startMonitor:
[echo] Starting monitor forwarding to localhost:80
[echo] MONITOR OUTPUT=
[echo] Running Test SimpleRef http://localhost:13260/axis/Ref
Regds
Rangika
On Fri, 2005-04-29 at 11:43 +0600, Rangika Mendis wrote:
> Then I get the following
> [EMAIL PROTECTED] c]$ ant -f test.xml -
> Ddir.xmlParser=/usr/local/xerces-c-src_2_6_0/lib -
> Ddir.release=/home/rangika/checkout_Apr28/obj/package/axis-c-1.6.0-
> Linux-bin -Dtest.name=SimpleRef
> Buildfile: test.xml
>
> pre-init:
>
> preInitializeTest:
>
> overrideTest:
>
> set-platform-specifics:
>
> checkIfDebug:
>
> initialize:
>
> initializeTest:
>
> compileMonitorUtility:
>
> compile:
>
> package:
>
> production:
>
> initializeLogFile:
>
> BUILD FAILED
> /home/rangika/checkout_Apr28/apache/ws-
> axis/c/build/testInitialize.xml:27:
> java.io.FileNotFoundException:
> /home/rangika/checkout_Apr28/obj/test/generated/results.log (Permission
> denied)
>
> Regds
> Rangika
>
> On Fri, 2005-04-29 at 05:41 +0100, sanjaya gayan wrote:
> > Have you tried the following item in antservices.min
> > file...?
> >
> > " *. some times may have to change
> > c/build/buildTest.xml to change java task
> > to have fully qualified name rather than .jar "
> >
> > What this means is..
> > You will find the following two lined in
> > c/build/buildTest.xml..
> > <!-- <java
> > classname="org.apache.axis.wsdl.wsdl2ws.WSDL2Ws"
> > fork="true"> -->
> > <java jar="${dir.wsdl2ws}/wsdl2ws.jar" fork="true">
> >
> > uncomment the first line and comment the second line.
> >
> > sanjaya.
> > ----- Original Message -----
> > From: "Rangika Mendis" <[EMAIL PROTECTED]>
> > To: "Apache AXIS C Developers List"
> > <[email protected]>
> > Sent: Friday, April 29, 2005 10:38 AM
> > Subject: Re: Problems in ANT
> >
> >
> > > Hi Sanjaya,
> > >
> > > I gave a command to write the details to a log.
> > >
> > > The following are the contents of the log
> > >
> > >
> > > -----
> > > Buildfile: test.xml
> > >
> > > pre-init:
> > >
> > > preInitializeTest:
> > >
> > > overrideTest:
> > >
> > > set-platform-specifics:
> > >
> > > checkIfDebug:
> > >
> > > initialize:
> > >
> > > initializeTest:
> > >
> > > compileMonitorUtility:
> > >
> > > compile:
> > >
> > > package:
> > >
> > > production:
> > >
> > > initializeLogFile:
> > >
> > > setListType:
> > >
> > > setIndividual:
> > >
> > > [echo] setIndividual SimpleRef
> > >
> > > setFromList:
> > >
> > > setAll:
> > >
> > > setTestList:
> > >
> > > runTests:
> > >
> > > loadXMLProperties:
> > >
> > > [echo] Loading XML file
> > >
> > /home/rangika/checkout_Apr28/apache/ws-axis/c/tests/auto_build/testcases/tes
> > > ts/SimpleRef.xml
> > >
> > > setTestName:
> > >
> > > setTestDesc:
> > >
> > > setTestCode:
> > >
> > > setClientLang:
> > >
> > > setTestWsdl:
> > >
> > > setTestEndpoint:
> > >
> > > setTestExpected:
> > >
> > > setTestExpectedRequest:
> > >
> > > setHandlerDirectory:
> > >
> > > setHandlerService:
> > >
> > > setHandlersPresent:
> > >
> > > setTestPort:
> > >
> > > setPropertiesForTest:
> > >
> > > cleanTest:
> > >
> > > [delete] Deleting directory
> > >
> > /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
> > >
> > > checkIfRequestFile:
> > >
> > > setPropertiesForThisTest:
> > >
> > > compileTestClient:
> > >
> > > callCompileStaticClient:
> > >
> > > setLanguage:
> > >
> > > generateStubs:
> > >
> > > [mkdir] Created dir:
> > >
> > /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
> > >
> > > [java] Exception in thread "main"
> > java.lang.NoClassDefFoundError:
> > > javax/xml/namespace/QName
> > >
> > > copyClientCode:
> > >
> > > [copy] Copying 1 file to
> > >
> > /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
> > >
> > > copyStubClient:
> > >
> > > copyDynamicClient:
> > >
> > > getClient:
> > >
> > > compileStaticClient:
> > >
> > > [cc] 1 total files to be compiled.
> > >
> > > callCompileLinkedClient:
> > >
> > > compileClient:
> > >
> > > validateClientCompilationIfBuilding:
> > >
> > > [echo] SimpleRef - Client Compilation - FAILED
> > >
> > > validateClientCompilationIfNotBuilding:
> > >
> > > validateClientCompilation:
> > >
> > > checkIfDebug:
> > >
> > > createConfigurationFile:
> > >
> > > createStartOfWSDDFile:
> > >
> > > compileTestHandlers:
> > >
> > > createEndOfWSDDFile:
> > >
> > > updateConfigurationWithClientWSDDEntry:
> > >
> > > compileHandlers:
> > >
> > > buildTest:
> > >
> > > executeTestRun:
> > >
> > > setResultExpectations:
> > >
> > > [copy] Copying 1 file to
> > >
> > /home/rangika/checkout_Apr28/obj/test/generated/cpp/SimpleRef
> > >
> > > setRequestExpectations:
> > >
> > > setExpectations:
> > >
> > > setEndpoint:
> > >
> > > setForMonitor:
> > >
> > > setVerbatim:
> > >
> > > checkIfEndpointSet:
> > >
> > > setForNoMonitor:
> > >
> > > setTestArgs:
> > >
> > > executeTest:
> > >
> > > validateTestClient:
> > >
> > > validateMessageOnWire:
> > >
> > > validateTest:
> > >
> > > runTest:
> > >
> > > displayAllResults:
> > >
> > > [echo] Test Results
> > >
> > > [echo]
> > >
> > > [echo] SimpleRef - Client Compilation - FAILED
> > >
> > > testSuite:
> > >
> > > BUILD SUCCESSFUL
> > >
> > > Total time: 3 seconds
> > >
> > > Regards,
> > >
> > > Rangika
> > >
> > >
> > >
> > > Original Message -----
> > > From: "sanjaya gayan" <[EMAIL PROTECTED]>
> > > To: "Apache AXIS C Developers List"
> > <[email protected]>
> > > Sent: Friday, April 29, 2005 10:08 AM
> > > Subject: Re: Problems in ANT
> > >
> > >
> > > > "How" is this failing? Error messages or other
> > > > indications would be
> > > > helpful....
> > > >
> > > > sanjaya.
> > > > ----- Original Message -----
> > > > From: "Rangika Mendis" <[EMAIL PROTECTED]>
> > > > To: "Apache AXIS C Developers List"
> > > > <[email protected]>
> > > > Sent: Friday, April 29, 2005 10:04 AM
> > > > Subject: Problems in ANT
> > > >
> > > >
> > > > > Hi All,
> > > > >
> > > > > I'm having a problem in ANT build.
> > > > >
> > > > > When I type the following command SimpleRef
> > client
> > > > fails.
> > > > > Then I checked in the generated folder & saw
> > that
> > > > only server was
> > > > generated.
> > > > >
> > > > > [EMAIL PROTECTED] c] $ ant -f
> > > > >
> > > > test.xml
> > > > -Ddir.xmlparser=/usr/local/xerces-c-src_2_6_0/lib
> > > > -Ddir.release=/ho
> > > > >
> > > >
> > me/rangika/checkout/obj/package/axis-c-1.6.0-Linux-bin
> > > > -Dtest.name=SimpleRef
> > > > >
> > > > > I tried to build all the clients using the
> > following
> > > > command & still all
> > > > the
> > > > > clients fail.
> > > > >
> > > > > [EMAIL PROTECTED] c] $ ant -f
> > > > >
> > > > test.xml
> > > > -Ddir.xmlparser=/usr/local/xerces-c-src_2_6_0/lib
> > > > -Ddir.release=/ho
> > > > >
> > > >
> > me/rangika/checkout/obj/package/axis-c-1.6.0-Linux-bin
> > > > >
> > > > > I went through antservices.min file.
> > > > >
> > > > > Help on this is greatly appreciated
> > > > >
> > > > > Regards,
> > > > > Rangika
> > > > >
> > > > >
> > > > >
> > > > >
> > > >
> > > >
> > > > Send instant messages to your online friends
> > http://uk.messenger.yahoo.com
> > > >
> > > >
> > >
> > >
> > >
> >
> >
> > Send instant messages to your online friends http://uk.messenger.yahoo.com
> >
>
>