[jcifs] Re: Question about Jarapac

Michael B Allen mba2000 at ioplex.com
Tue May 3 21:43:41 GMT 2005


Amlan,

I don't think you're going to have much success with this. You're going to
have to go much deeper if you hope to make this work in the slightest.

hint: Only 'ant ncacn_np' builds.

Mike

Amlan Chatterjee said:
> Michael,
> I think I should have explained it better. Its the new package that fails
> to
> build.
> All I did was to unzip the content, copy the jcifs and bcprov jars and ran
> ant all.
> It fails with the following error message
>
> ant all
> Buildfile: build.xml
>
> core:
> [javac] Compiling 1 source file to /home/amlan/test/netapp/jarapac-0.3.8
> /build/classes/jarapac
> [javac]
> /home/amlan/test/netapp/jarapac-0.3.8/src/jarapac/rpc/ConnectionlessEndpoint.java:62:
> cannot find symbol
> [javac] symbol : class InputParameters
> [javac] location: class rpc.ConnectionlessEndpoint
> [javac] InputParameters input, OutputParameters output) throws IOException
> {
> [javac] ^
> [javac]
> /home/amlan/test/netapp/jarapac-0.3.8/src/jarapac/rpc/ConnectionlessEndpoint.java:62:
> cannot find symbol
> [javac] symbol : class OutputParameters
> [javac] location: class rpc.ConnectionlessEndpoint
> [javac] InputParameters input, OutputParameters output) throws IOException
> {
> [javac] ^
> [javac]
> /home/amlan/test/netapp/jarapac-0.3.8/src/jarapac/rpc/ConnectionlessEndpoint.java:35:
> rpc.ConnectionlessEndpoint is not abstract and does not override abstract
> method call(int,rpc.core.UUID,int,ndr.NdrObject) in rpc.Endpoint
> [javac] public class ConnectionlessEndpoint implements Endpoint {
> [javac] ^
> [javac]
> /home/amlan/test/netapp/jarapac-0.3.8/src/jarapac/rpc/ConnectionlessEndpoint.java:65:
> cannot find symbol
> [javac] symbol : class Buffer
> [javac] location: class rpc.ConnectionlessEndpoint
> [javac] Buffer buffer = new Buffer(1024);
> [javac] ^
> [javac]
> /home/amlan/test/netapp/jarapac-0.3.8/src/jarapac/rpc/ConnectionlessEndpoint.java:65:
> cannot find symbol
> [javac] symbol : class Buffer
> [javac] location: class rpc.ConnectionlessEndpoint
> [javac] Buffer buffer = new Buffer(1024);
> [javac] ^
> [javac]
> /home/amlan/test/netapp/jarapac-0.3.8/src/jarapac/rpc/ConnectionlessEndpoint.java:66:
> internal error; cannot instantiate ndr.NetworkDataRepresentation.<init> at
> ndr.NetworkDataRepresentation to ()
> [javac] NetworkDataRepresentation ndr = new
> NetworkDataRepresentation(buffer);
> [javac] ^
> [javac]
> /home/amlan/test/netapp/jarapac-0.3.8/src/jarapac/rpc/ConnectionlessEndpoint.java:88:
> cannot find symbol
> [javac] symbol : class Buffer
> [javac] location: class rpc.ConnectionlessEndpoint
> [javac] ndr.setBuffer(new Buffer(((ResponseClPdu) reply).getStub()));
> [javac] ^
> [javac] 7 errors
>
> BUILD FAILED
> file:/home/amlan/test/netapp/jarapac-0.3.8/build.xml:111: Compile failed;
> see the compiler error output for details.
>
>
> On 5/3/05, Michael B Allen <mba2000 at ioplex.com> wrote:
>>
>> On Tue, 3 May 2005 10:35:54 -0700
>> Amlan Chatterjee <amlanc at gmail.com > wrote:
>>
>> > Hi Michael
>> > After spending a few hrs on Jarapac code, I finally got it to compile
>> > using some of the Java files from ndr.old directory.
>> > Dont have any clue what impact it may have. But otherwise there are
>> > missing files and renamed packages everywhere
>> > and the ant build fails.
>>
>> You should read the release notes Amlan. The old ndr package is
>> hopelessly
>> broken. Thus midlc and the new ndr package.
>>
>> > Is there a functioning src base anywhere ?
>>
>> Yes. Just download the latest package. But if you need any transport
>> other than ncacn_np you have some hacking to do.
>>
>> > Also will the midl compiler from
>> > jcifs work with Jarapac ? I assume thats a yes. Please let me know if
>> > thats not true and if you'd like the compilable src tree uploaded.
>>
>> Yes, midlc is the future. Again, read what little docs there are
>> carefully.
>>
>> Mike
>>
>> PS: The CSV tree is probably highly wrong and should just be deleted. I
>> just don't know how. Always use the tarball.
>>
>> --
>> IRC - where men are men, women are men, and the boys are FBI agents.
>>
>
>
>
> --
> Amlan Chatterjee
> Santa Clara, CA 95050
> USA
>



More information about the jcifs mailing list