[SoapRMI] Re: error compiling xsoap (again...)

Aleksander Slominski aslom_at_cs.indiana.edu
Wed, 27 Nov 2002 18:33:37 -0500


hi,

i have just downloaded xsoap_1_2_19_all.zip and rebuilt it all
without any problems (see below).

as you downloaded *_all version it contains precompiled classes:
can you run tests and samples without compiling it?

C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19>run junit
JAVA_HOME=c:\jdk1.4
c:\jdk1.4\bin\java   -cp build\classes;build\samples;build\tests;lib\cog\log4j-core-20020226.jar;lib
\cog\iaik_ssl.jar;lib\cog\iaik_jce_full.jar;lib\cog\iaik_javax_crypto.jar;lib\cog\cryptix.jar;lib\co
g\cog-0.9.13.jar;lib\wsdl\wsdl4j_0_8.jar;lib\servlet_api\servlet22.jar;lib\junit\junit37.jar;;c:\jdk
1.4\jre\lib\jsse.jar;c:\jdk1.4\jre\lib\jce.jar  junit
^CTerminate batch job (Y/N)? ^C
C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19>run AllTests
JAVA_HOME=c:\jdk1.4
c:\jdk1.4\bin\java   -cp build\classes;build\samples;build\tests;lib\cog\log4j-core-20020226.jar;lib
\cog\iaik_ssl.jar;lib\cog\iaik_jce_full.jar;lib\cog\iaik_javax_crypto.jar;lib\cog\cryptix.jar;lib\co
g\cog-0.9.13.jar;lib\wsdl\wsdl4j_0_8.jar;lib\servlet_api\servlet22.jar;lib\junit\junit37.jar;;c:\jdk
1.4\jre\lib\jsse.jar;c:\jdk1.4\jre\lib\jce.jar  AllTests
.......................
Time: 8.382

OK (23 tests)

can you verify that TokenizerBufferOverflowException.java exists
in PullParser\src\java\impl\pullparser\org\gjt\xpp\impl\tokenizer
directory - it may be some problem wit your ZIP utility (i used
WinZip 8.0).


thanks

alek


C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19>build all
c:\jdk1.4\bin\java.exe -classpath lib\ant\optional-151-20011026.jar;lib\ant\jaxp.jar;lib\ant\jakarta
-regexp-1.3-dev.jar;lib\ant\crimson.jar;lib\ant\ant-151-20011026.jar;lib\cog\log4j-core-20020226.jar
;lib\cog\iaik_ssl.jar;lib\cog\iaik_jce_full.jar;lib\cog\iaik_javax_crypto.jar;lib\cog\cryptix.jar;li
b\cog\cog-0.9.13.jar;lib\wsdl\wsdl4j_0_8.jar;lib\servlet_api\servlet22.jar;lib\junit\junit37.jar;;c:
\jdk1.4\jre\lib\jsse.jar;c:\jdk1.4\jre\lib\jce.jar;c:\jdk1.4\lib\tools.jar org.apache.tools.ant.Main
 -buildfile build.xml all
Buildfile: build.xml

clean:
   [delete] Deleting directory C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
   [delete] Deleting directory C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\lib
   [delete] Deleting directory C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\webapps
   [delete] Deleting directory C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests
   [delete] Deleting directory C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\samples

prepare:
    [mkdir] Created dir: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\dist
    [mkdir] Created dir: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests
    [mkdir] Created dir: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
    [touch] Creating C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes\XSOAP_1_2_19

check_junit:

xpp_intf:
    [javac] Compiling 13 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

xpp_impl:
    [javac] Compiling 5 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
    [javac] Compiling 5 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
    [javac] Compiling 2 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
    [javac] Compiling 2 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
    [javac] Compiling 1 source file to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

xpp:

logging:
    [javac] Compiling 4 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

util:
    [javac] Compiling 10 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

test_util:
    [javac] Compiling 2 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests
    [javac] Note: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\src\java\tests\util\PackageTest.java us
es or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.

struct:
    [javac] Compiling 4 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

rmiapi:
    [javac] Compiling 15 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

echo_intf:
    [javac] Compiling 5 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests

mapping:
    [javac] Compiling 11 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

test_mapping:
    [javac] Compiling 1 source file to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests

soap:
    [javac] Compiling 34 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

test_soap:
    [javac] Compiling 1 source file to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests
    [javac] Note: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\src\java\tests\soap\PackageTest.java us
es or overrides a deprecated API.
    [javac] Note: Recompile with -deprecation for details.

port:
    [javac] Compiling 8 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

test_port:
    [javac] Compiling 1 source file to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests

soaprpc:
    [javac] Compiling 51 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.

test_soaprpc:
    [javac] Compiling 2 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests

rmi:
    [javac] Compiling 6 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

test_rmi:
    [javac] Compiling 1 source file to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests

jndi:
    [javac] Compiling 2 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

core:

security_core:
    [javac] Compiling 2 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

check_jsse:

jsse:
    [javac] Compiling 5 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes
    [javac] Note: Some input files use or override a deprecated API.
    [javac] Note: Recompile with -deprecation for details.

check_cog:

cog:
    [javac] Compiling 6 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

security:

check_wsdl4j:

wsdl:
    [javac] Compiling 3 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\classes

jar:
    [mkdir] Created dir: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\lib
      [jar] DEPRECATED - The jarfile attribute is deprecated. Use file attribute instead.
      [jar] Building jar: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\lib\xsoap_1_2_19.jar

soaprmi:

tests:
    [javac] Compiling 1 source file to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\tests

check_servlets:

samples_servlet:
    [mkdir] Created dir: C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\samples
    [javac] Compiling 1 source file to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\samples

samples:
    [javac] Compiling 31 source files to C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19\build\samples

compile:

all:

BUILD SUCCESSFUL

Total time: 58 seconds

C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19>
C:\Forge\codes\xsoap\java\tmp\xsoap_1_2_19>build junit
c:\jdk1.4\bin\java.exe -classpath lib\ant\optional-151-20011026.jar;lib\ant\jaxp.jar;lib\ant\jakarta
-regexp-1.3-dev.jar;lib\ant\crimson.jar;lib\ant\ant-151-20011026.jar;lib\cog\log4j-core-20020226.jar
;lib\cog\iaik_ssl.jar;lib\cog\iaik_jce_full.jar;lib\cog\iaik_javax_crypto.jar;lib\cog\cryptix.jar;li
b\cog\cog-0.9.13.jar;lib\wsdl\wsdl4j_0_8.jar;lib\servlet_api\servlet22.jar;lib\junit\junit37.jar;;c:
\jdk1.4\jre\lib\jsse.jar;c:\jdk1.4\jre\lib\jce.jar;c:\jdk1.4\lib\tools.jar org.apache.tools.ant.Main
 -buildfile build.xml junit
Buildfile: build.xml

prepare:

check_junit:

xpp_intf:

xpp_impl:

xpp:

logging:

util:

test_util:

struct:

rmiapi:

echo_intf:

mapping:

test_mapping:

soap:

test_soap:

port:

test_port:

soaprpc:

test_soaprpc:

rmi:

test_rmi:

jndi:

core:

security_core:

check_jsse:

jsse:

check_cog:

cog:

security:

check_wsdl4j:

wsdl:

jar:

soaprmi:

tests:

junit:
    [junit] Testsuite: AllTests
    [junit] Tests run: 23, Failures: 0, Errors: 0, Time elapsed: 3.896 sec
    [junit]
    [junit] Testcase: testXmlEscape took 0.14 sec
    [junit] Testcase: testBase64 took 0.01 sec
    [junit] Testcase: testXmlRoundtrip took 0.01 sec
    [junit] Testcase: testExampleException took 0.02 sec
    [junit] Testcase: testExampleExceptionThroughProxy took 0.05 sec
    [junit] Testcase: testThrowingUndeclared took 0.02 sec
    [junit] Testcase: testExceptionUnwrapping took 0 sec
    [junit] Testcase: testPassingThroughOfExceptions took 0.01 sec
    [junit] Testcase: testPassingThroughOfDerivedExceptions took 0 sec
    [junit] Testcase: testPortMapping took 0.051 sec
    [junit] Testcase: testDefaultPortMapping took 0 sec
    [junit] Testcase: testStructMapping took 0.08 sec
    [junit] Testcase: testInt took 0.24 sec
    [junit] Testcase: testFloat took 0.14 sec
    [junit] Testcase: testString took 0.02 sec
    [junit] Testcase: testObject took 0.851 sec
    [junit] Testcase: testMarshal took 0.631 sec
    [junit] Testcase: testMapping took 0 sec
    [junit] Testcase: testPortTransport took 0.151 sec
    [junit] Testcase: testPortMarshal took 0.06 sec
    [junit] Testcase: testServices took 1.171 sec
    [junit] Testcase: testGUID took 0.01 sec
    [junit] Testcase: testAPI took 0.221 sec

BUILD SUCCESSFUL

Total time: 7 seconds

"nodep_at_libero.it" wrote:

> Hi,
> I would to comile xsoap, I've downloaded "xsoap_1_2_19_all.gzip"
> and used the command "build all", but I still have the error:
>
> F:\J\xsoap\xsoap_1_2_19>build all
> C:\Programmi\j2sdk1.4.0\bin\java.exe -classpath lib\ant\optional-151-
> 20011026.ja
> r;lib\ant\jaxp.jar;lib\ant\jakarta-regexp-1.3-dev.jar;lib\ant\ant-151-
> 20011026.j
> ar;lib\ant\crimson.jar;lib\cog\cryptix.jar;lib\cog\cog-
> 0.9.13.jar;lib\cog\log4j-
> core-
> 20020226.jar;lib\cog\iaik_javax_crypto.jar;lib\cog\iaik_jce_full.jar;li
> b\co
> g\iaik_ssl.jar;lib\wsdl\wsdl4j_0_8.jar;lib\servlet_api\servlet22.jar;li
> b\junit\j
> unit37.jar;;C:\Programmi\j2sdk1.4.0
> \jre\lib\jsse.jar;C:\Programmi\j2sdk1.4.0\jre
> \lib\jce.jar;C:\Programmi\j2sdk1.4.0\lib\tools.jar
> org.apache.tools.ant.Main -bu
> ildfile build.xml all
> Buildfile: build.xml
>
> clean:
>    [delete] Deleting directory F:\J\xsoap\xsoap_1_2_19\build\classes
>    [delete] Deleting directory F:\J\xsoap\xsoap_1_2_19\build\lib
>    [delete] Deleting directory F:\J\xsoap\xsoap_1_2_19\build\webapps
>    [delete] Deleting directory F:\J\xsoap\xsoap_1_2_19\build\tests
>    [delete] Deleting directory F:\J\xsoap\xsoap_1_2_19\build\samples
>
> prepare:
>     [mkdir] Created dir: F:\J\xsoap\xsoap_1_2_19\build\dist
>     [mkdir] Created dir: F:\J\xsoap\xsoap_1_2_19\build\tests
>     [mkdir] Created dir: F:\J\xsoap\xsoap_1_2_19\build\classes
>     [touch] Creating F:\J\xsoap\xsoap_1_2_19\build\classes\XSOAP_1_2_19
>
> check_junit:
>
> xpp_intf:
>     [javac] Compiling 13 source files to F:\J\xsoap\xsoap_1_2_19
> \build\classes
>
> xpp_impl:
>     [javac] Compiling 5 source files to F:\J\xsoap\xsoap_1_2_19
> \build\classes
>     [javac] Compiling 4 source files to F:\J\xsoap\xsoap_1_2_19
> \build\classes
>     [javac] F:\J\xsoap\xsoap_1_2_19
> \PullParser\src\java\impl\pullparser\org\gjt\
> xpp\impl\tokenizer\Tokenizer.java:511: cannot resolve symbol
>     [javac] symbol  : class TokenizerBufferOverflowException
>     [javac] location: class org.gjt.xpp.impl.tokenizer.Tokenizer
>     [javac]             throw new TokenizerBufferOverflo
> ion(
>     [javac]                       ^
>     [javac] F:\J\xsoap\xsoap_1_2_19
> \PullParser\src\java\impl\pullparser\org\gjt\
> xpp\impl\tokenizer\Tokenizer.java:516: cannot resolve symbol
>     [javac] symbol  : class TokenizerBufferOverflowException
>     [javac] location: class org.gjt.xpp.impl.tokenizer.Tokenizer
>     [javac]                 throw new TokenizerBufferOverflowException(
>     [javac]                           ^
>     [javac] F:\J\xsoap\xsoap_1_2_19
> \PullParser\src\java\impl\pullparser\org\gjt\
> xpp\impl\tokenizer\Tokenizer.java:532: cannot resolve symbol
>     [javac] symbol  : class TokenizerBufferOverflowException
>     [javac] location: class org.gjt.xpp.impl.tokenizer.Tokenizer
>     [javac]                         throw new
> TokenizerBufferOverflowException(
>     [javac]                                   ^
>     [javac] F:\J\xsoap\xsoap_1_2_19
> \PullParser\src\java\impl\pullparser\org\gjt\
> xpp\impl\tokenizer\Tokenizer.java:565: cannot resolve symbol
>     [javac] symbol  : class TokenizerBufferOverflowException
>     [javac] location: class org.gjt.xpp.impl.tokenizer.Tokenizer
>     [javac]                 throw new TokenizerBufferOverflowException(
>     [javac]                           ^
>     [javac] 4 errors
>
> BUILD FAILED
>
> F:\J\xsoap\xsoap_1_2_19\build.xml:169: Compile failed, messages should
> have been
>  provided.
>
> Total time: 4 seconds
>
> Can you help me?
>
> Thank you!
>
> Stefano Pedon
>
> _______________________________________________
> SoapRMI mailing list
> http://www.extreme.indiana.edu/soap
> http://mailman.cs.indiana.edu/mailman/listinfo/soaprmi

--
The ancestor of every action is a thought. - Ralph Waldo Emerson