Sybase NNTP forums - End Of Life (EOL)

The NNTP forums from Sybase - forums.sybase.com - are now closed.

All new questions should be directed to the appropriate forum at the SAP Community Network (SCN).

Individual products have links to the respective forums on SCN, or you can go to SCN and search for your product in the search box (upper right corner) to find your specific developer center.

jaguar - beginner question

7 posts in General Discussion (old) Last posting was on 2000-02-23 14:09:01.0Z
Pervez Sikora Posted on 2000-02-22 17:51:42.0Z
Newsgroups: sybase.public.easerver
From: "Pervez Sikora" <psikora@nospam.net>
Organization: 204.48.23.147
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: jaguar - beginner question
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Tue, 22 Feb 2000 12:51:42 -0500
Lines: 69
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_XGhc61Vf$GA.265@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28166
Article PK: 160048

i am attempting to create the sample ( JavaArithmetic ) application and am
unable to compile the stubs. i am getting the following errors :

_st_JavaArithmetic.java:11: Superclass com.sybase.CORBA.ObjectRef of class
Tutorial._st_JavaArithmetic not found.
class _st_JavaArithmetic extends com.sybase.CORBA.ObjectRef implements
JavaArithmetic
^
JavaArithmetic.java:11: Interface org.omg.CORBA.Object of interface
Tutorial.JavaArithmetic not found.
public interface JavaArithmetic extends org.omg.CORBA.Object
^
JavaArithmeticHelper.java:13: Class org.omg.CORBA.portable.InputStream not found
in type declaration.
public static JavaArithmetic read
^
JavaArithmeticHelper.java:16: Class org.omg.CORBA.portable.InputStream not found
in Tutorial.JavaArithmetic read(org.omg.CORBA.portable.InputStream).
return narrow(_input.read_Object());
^
JavaArithmeticHelper.java:19: Class org.omg.CORBA.portable.OutputStream not
found in type declaration.
public static void write
^
JavaArithmeticHelper.java:23: Class org.omg.CORBA.portable.OutputStream not
found in void write(org.omg.CORBA.portable.OutputStream,
Tutorial.JavaArithmetic).
_output.write_Object(_object);
^
JavaArithmeticHelper.java:26: Class org.omg.CORBA.Object not found in type
declaration.
public static JavaArithmetic narrow
^
JavaArithmeticHelper.java:29: Class org.omg.CORBA.Object not found in
Tutorial.JavaArithmetic narrow(org.omg.CORBA.Object).
if (_object._is_a("IDL:Tutorial/JavaArithmetic:1.0"))
^
JavaArithmeticHelper.java:31: Class com.sybase.CORBA.ObjectRef not found in type
declaration.
return new _st_JavaArithmetic((com.sybase.CORBA.ObjectRef)_object);
^
9 errors


my environment is set to the following ...

CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;;C:\Program
Files\Sybase\Shared\Sun\jdk117\lib\classes.zip;C:\Program
Files\Sybase\Shared\PowerBuilder\classes.zip;C:\Program
Files\Exceed.nt\hcljrcsv.zip;C:\Program Files\Exceed.nt;.
JAGUAR=C:\Program Files\Sybase\Jaguar CTS 3.0
JAGUAR_CLIENT_ROOT=C:\Program Files\Sybase\Jaguar CTS 3.0\client
JDK_LATEST=C:\Program Files\Sybase\Shared\Sun\Jdk118
JRE_LATEST=C:\Program Files\Sybase\Jaguar CTS 3.0\jre


the documentation makes a reference to a compiler script called j11.bat. i
cannot
locate this file anywhere.

thanks for any info ...

- pervez


Jamie Crutchley Posted on 2000-02-22 19:12:30.0Z
Newsgroups: sybase.public.easerver
From: "Jamie Crutchley" <jdcrutch@raystl.com>
Subject: Re: jaguar - beginner question
Date: Tue, 22 Feb 2000 13:12:30 -0600
Lines: 96
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 128.242.150.59
Message-ID: <347_jcJpAlWf$GA.202@forums.sybase.com>
References: <347_XGhc61Vf$GA.265@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28154
Article PK: 160038

I got the same type of errors. There are two issues I had to get past to
successfully compile the stubs. First, like Dave suggested, you have to
make sure that the correct Jaguar directory is in your class path. In
addition, the j11.bat file referenced in the documentation is not there. At
least it's not anywhere in the installation on any of our machines. The
command line you should use to compile (assuming the classpath is correct)
is

javac *.java

Note the "C" in javac. Typing "java *.java" gets the same type of errors
you're seeing below. Hope some of this helps you get it going in less time
than it took me.

Jamie Crutchley
jdcrutch@raystl.com

"Pervez Sikora" <psikora@nospam.net> wrote in message
news:XGhc61Vf$GA.265@forums.sybase.com...
>
> i am attempting to create the sample ( JavaArithmetic ) application and am
> unable to compile the stubs. i am getting the following errors :
>
> _st_JavaArithmetic.java:11: Superclass com.sybase.CORBA.ObjectRef of class
> Tutorial._st_JavaArithmetic not found.
> class _st_JavaArithmetic extends com.sybase.CORBA.ObjectRef implements
> JavaArithmetic
> ^
> JavaArithmetic.java:11: Interface org.omg.CORBA.Object of interface
> Tutorial.JavaArithmetic not found.
> public interface JavaArithmetic extends org.omg.CORBA.Object
> ^
> JavaArithmeticHelper.java:13: Class org.omg.CORBA.portable.InputStream not
found
> in type declaration.
> public static JavaArithmetic read
> ^
> JavaArithmeticHelper.java:16: Class org.omg.CORBA.portable.InputStream not
found
> in Tutorial.JavaArithmetic read(org.omg.CORBA.portable.InputStream).
> return narrow(_input.read_Object());
> ^
> JavaArithmeticHelper.java:19: Class org.omg.CORBA.portable.OutputStream
not
> found in type declaration.
> public static void write
> ^
> JavaArithmeticHelper.java:23: Class org.omg.CORBA.portable.OutputStream
not
> found in void write(org.omg.CORBA.portable.OutputStream,
> Tutorial.JavaArithmetic).
> _output.write_Object(_object);
> ^
> JavaArithmeticHelper.java:26: Class org.omg.CORBA.Object not found in type
> declaration.
> public static JavaArithmetic narrow
> ^
> JavaArithmeticHelper.java:29: Class org.omg.CORBA.Object not found in
> Tutorial.JavaArithmetic narrow(org.omg.CORBA.Object).
> if (_object._is_a("IDL:Tutorial/JavaArithmetic:1.0"))
> ^
> JavaArithmeticHelper.java:31: Class com.sybase.CORBA.ObjectRef not found
in type
> declaration.
> return new
_st_JavaArithmetic((com.sybase.CORBA.ObjectRef)_object);
> ^
> 9 errors
>
>
> my environment is set to the following ...
>
>

CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;;C:\Pro
gram
> Files\Sybase\Shared\Sun\jdk117\lib\classes.zip;C:\Program
> Files\Sybase\Shared\PowerBuilder\classes.zip;C:\Program
> Files\Exceed.nt\hcljrcsv.zip;C:\Program Files\Exceed.nt;.
> JAGUAR=C:\Program Files\Sybase\Jaguar CTS 3.0
> JAGUAR_CLIENT_ROOT=C:\Program Files\Sybase\Jaguar CTS 3.0\client
> JDK_LATEST=C:\Program Files\Sybase\Shared\Sun\Jdk118
> JRE_LATEST=C:\Program Files\Sybase\Jaguar CTS 3.0\jre
>
>
> the documentation makes a reference to a compiler script called j11.bat. i
> cannot
> locate this file anywhere.
>
> thanks for any info ...
>
> - pervez
>
>


Dave Wolf [Sybase] Posted on 2000-02-22 17:57:22.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: jaguar - beginner question
Date: Tue, 22 Feb 2000 12:57:22 -0500
Lines: 83
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: dwolf-nt.sybase.com 157.133.41.127
Message-ID: <347_L6opI7Vf$GA.265@forums.sybase.com>
References: <347_XGhc61Vf$GA.265@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28162
Article PK: 160044

Make sure that %JAGUAR% are in your CLASSPATH.

Dave Wolf
Internet Applications Division

Pervez Sikora <psikora@nospam.net> wrote in message
news:XGhc61Vf$GA.265@forums.sybase.com...
>
> i am attempting to create the sample ( JavaArithmetic ) application and am
> unable to compile the stubs. i am getting the following errors :
>
> _st_JavaArithmetic.java:11: Superclass com.sybase.CORBA.ObjectRef of class
> Tutorial._st_JavaArithmetic not found.
> class _st_JavaArithmetic extends com.sybase.CORBA.ObjectRef implements
> JavaArithmetic
> ^
> JavaArithmetic.java:11: Interface org.omg.CORBA.Object of interface
> Tutorial.JavaArithmetic not found.
> public interface JavaArithmetic extends org.omg.CORBA.Object
> ^
> JavaArithmeticHelper.java:13: Class org.omg.CORBA.portable.InputStream not
found
> in type declaration.
> public static JavaArithmetic read
> ^
> JavaArithmeticHelper.java:16: Class org.omg.CORBA.portable.InputStream not
found
> in Tutorial.JavaArithmetic read(org.omg.CORBA.portable.InputStream).
> return narrow(_input.read_Object());
> ^
> JavaArithmeticHelper.java:19: Class org.omg.CORBA.portable.OutputStream
not
> found in type declaration.
> public static void write
> ^
> JavaArithmeticHelper.java:23: Class org.omg.CORBA.portable.OutputStream
not
> found in void write(org.omg.CORBA.portable.OutputStream,
> Tutorial.JavaArithmetic).
> _output.write_Object(_object);
> ^
> JavaArithmeticHelper.java:26: Class org.omg.CORBA.Object not found in type
> declaration.
> public static JavaArithmetic narrow
> ^
> JavaArithmeticHelper.java:29: Class org.omg.CORBA.Object not found in
> Tutorial.JavaArithmetic narrow(org.omg.CORBA.Object).
> if (_object._is_a("IDL:Tutorial/JavaArithmetic:1.0"))
> ^
> JavaArithmeticHelper.java:31: Class com.sybase.CORBA.ObjectRef not found
in type
> declaration.
> return new
_st_JavaArithmetic((com.sybase.CORBA.ObjectRef)_object);
> ^
> 9 errors
>
>
> my environment is set to the following ...
>
>

CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;;C:\Pro
gram
> Files\Sybase\Shared\Sun\jdk117\lib\classes.zip;C:\Program
> Files\Sybase\Shared\PowerBuilder\classes.zip;C:\Program
> Files\Exceed.nt\hcljrcsv.zip;C:\Program Files\Exceed.nt;.
> JAGUAR=C:\Program Files\Sybase\Jaguar CTS 3.0
> JAGUAR_CLIENT_ROOT=C:\Program Files\Sybase\Jaguar CTS 3.0\client
> JDK_LATEST=C:\Program Files\Sybase\Shared\Sun\Jdk118
> JRE_LATEST=C:\Program Files\Sybase\Jaguar CTS 3.0\jre
>
>
> the documentation makes a reference to a compiler script called j11.bat. i
> cannot
> locate this file anywhere.
>
> thanks for any info ...
>
> - pervez
>
>


Pervez Sikora Posted on 2000-02-22 20:02:10.0Z
Newsgroups: sybase.public.easerver
From: "Pervez Sikora" <psikora@nospam.net>
Organization: 204.48.23.147
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: jaguar - beginner question
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Tue, 22 Feb 2000 15:02:10 -0500
Lines: 113
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_rzC0z#Wf$GA.151@forums.sybase.com>
References: <347_XGhc61Vf$GA.265@forums.sybase.com> <347_L6opI7Vf$GA.265@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28146
Article PK: 154631

thx. that did the trick.

now i am able to compile the app and run it which is great. i am now attempting
to add the divide/add/subtract methods to the javaarithmetic component. i
defined
these via the jaguar mgr just as i did it for the multiply method. i
regenerated
the stubs and compiled them. i modified the implementation and added the new
methods to it and compiled that.

however, if i try to call any method other than the multiply method, it
complains
and says that i cannot call this method and the error log shows the following

Feb 22 11:34:26 2000: Warning: property com.sybase.jaguar.method.name is invalid
in C:/Program Files/Sybase/Jaguar CTS
3.0/Repository/Method/Tutorial/JavaArithmetic/divide.props
Feb 22 11:34:26 2000: Changed to 'Tutorial/JavaArithmetic/divide'
Feb 22 11:34:26 2000: System exception 'BAD_OPERATION' thrown by component
'Tutorial/JavaArithmetic' method 'divide'
Feb 22 11:34:40 2000: System exception 'BAD_OPERATION' thrown by component
'Tutorial/JavaArithmetic' method 'divide'
Feb 22 11:34:46 2000: System exception 'BAD_OPERATION' thrown by component
'Tutorial/JavaArithmetic' method 'divide'

i have restarted jaguar but it does not seem to make a difference.

- pervez

On Tue, 22 Feb 2000 12:57:22 -0500,
in powersoft.public.easerver

Dave Wolf [Sybase] <dwolf@sybase.com> wrote:
>Make sure that %JAGUAR% are in your CLASSPATH.
>
>Dave Wolf
>Internet Applications Division
>
>Pervez Sikora <psikora@nospam.net> wrote in message
>news:XGhc61Vf$GA.265@forums.sybase.com...
>>
>> i am attempting to create the sample ( JavaArithmetic ) application and am
>> unable to compile the stubs. i am getting the following errors :
>>
>> _st_JavaArithmetic.java:11: Superclass com.sybase.CORBA.ObjectRef of class
>> Tutorial._st_JavaArithmetic not found.
>> class _st_JavaArithmetic extends com.sybase.CORBA.ObjectRef implements
>> JavaArithmetic
>> ^
>> JavaArithmetic.java:11: Interface org.omg.CORBA.Object of interface
>> Tutorial.JavaArithmetic not found.
>> public interface JavaArithmetic extends org.omg.CORBA.Object
>> ^
>> JavaArithmeticHelper.java:13: Class org.omg.CORBA.portable.InputStream not
>found
>> in type declaration.
>> public static JavaArithmetic read
>> ^
>> JavaArithmeticHelper.java:16: Class org.omg.CORBA.portable.InputStream not
>found
>> in Tutorial.JavaArithmetic read(org.omg.CORBA.portable.InputStream).
>> return narrow(_input.read_Object());
>> ^
>> JavaArithmeticHelper.java:19: Class org.omg.CORBA.portable.OutputStream
>not
>> found in type declaration.
>> public static void write
>> ^
>> JavaArithmeticHelper.java:23: Class org.omg.CORBA.portable.OutputStream
>not
>> found in void write(org.omg.CORBA.portable.OutputStream,
>> Tutorial.JavaArithmetic).
>> _output.write_Object(_object);
>> ^
>> JavaArithmeticHelper.java:26: Class org.omg.CORBA.Object not found in type
>> declaration.
>> public static JavaArithmetic narrow
>> ^
>> JavaArithmeticHelper.java:29: Class org.omg.CORBA.Object not found in
>> Tutorial.JavaArithmetic narrow(org.omg.CORBA.Object).
>> if (_object._is_a("IDL:Tutorial/JavaArithmetic:1.0"))
>> ^
>> JavaArithmeticHelper.java:31: Class com.sybase.CORBA.ObjectRef not found
>in type
>> declaration.
>> return new
>_st_JavaArithmetic((com.sybase.CORBA.ObjectRef)_object);
>> ^
>> 9 errors
>>
>>
>> my environment is set to the following ...
>>
>>
>CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;;C:\Pro
>gram
>> Files\Sybase\Shared\Sun\jdk117\lib\classes.zip;C:\Program
>> Files\Sybase\Shared\PowerBuilder\classes.zip;C:\Program
>> Files\Exceed.nt\hcljrcsv.zip;C:\Program Files\Exceed.nt;.
>> JAGUAR=C:\Program Files\Sybase\Jaguar CTS 3.0
>> JAGUAR_CLIENT_ROOT=C:\Program Files\Sybase\Jaguar CTS 3.0\client
>> JDK_LATEST=C:\Program Files\Sybase\Shared\Sun\Jdk118
>> JRE_LATEST=C:\Program Files\Sybase\Jaguar CTS 3.0\jre
>>
>>
>> the documentation makes a reference to a compiler script called j11.bat. i
>> cannot
>> locate this file anywhere.
>>
>> thanks for any info ...
>>
>> - pervez
>>
>>
>
>


Dave Wolf [Sybase] Posted on 2000-02-22 20:02:13.0Z
Newsgroups: sybase.public.easerver
From: "Dave Wolf [Sybase]" <dwolf@sybase.com>
Subject: Re: jaguar - beginner question
Date: Tue, 22 Feb 2000 15:02:13 -0500
Lines: 137
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2314.1300
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2314.1300
NNTP-Posting-Host: 157.133.41.127
Message-ID: <347_tEEB6AXf$GA.265@forums.sybase.com>
References: <347_XGhc61Vf$GA.265@forums.sybase.com> <347_L6opI7Vf$GA.265@forums.sybase.com> <347_rzC0z#Wf$GA.151@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28144
Article PK: 160028

Did you generate new skeletons and compile them, and refresh?

Dave Wolf
Internet Applications Division

Pervez Sikora <psikora@nospam.net> wrote in message
news:rzC0z#Wf$GA.151@forums.sybase.com...
> thx. that did the trick.
>
> now i am able to compile the app and run it which is great. i am now
attempting
> to add the divide/add/subtract methods to the javaarithmetic component. i
> defined
> these via the jaguar mgr just as i did it for the multiply method. i
> regenerated
> the stubs and compiled them. i modified the implementation and added the
new
> methods to it and compiled that.
>
> however, if i try to call any method other than the multiply method, it
> complains
> and says that i cannot call this method and the error log shows the
following
>
> Feb 22 11:34:26 2000: Warning: property com.sybase.jaguar.method.name is
invalid
> in C:/Program Files/Sybase/Jaguar CTS
> 3.0/Repository/Method/Tutorial/JavaArithmetic/divide.props
> Feb 22 11:34:26 2000: Changed to 'Tutorial/JavaArithmetic/divide'
> Feb 22 11:34:26 2000: System exception 'BAD_OPERATION' thrown by component
> 'Tutorial/JavaArithmetic' method 'divide'
> Feb 22 11:34:40 2000: System exception 'BAD_OPERATION' thrown by component
> 'Tutorial/JavaArithmetic' method 'divide'
> Feb 22 11:34:46 2000: System exception 'BAD_OPERATION' thrown by component
> 'Tutorial/JavaArithmetic' method 'divide'
>
> i have restarted jaguar but it does not seem to make a difference.
>
> - pervez
>
> On Tue, 22 Feb 2000 12:57:22 -0500,
> in powersoft.public.easerver
> Dave Wolf [Sybase] <dwolf@sybase.com> wrote:
> >Make sure that %JAGUAR% are in your CLASSPATH.
> >
> >Dave Wolf
> >Internet Applications Division
> >
> >Pervez Sikora <psikora@nospam.net> wrote in message
> >news:XGhc61Vf$GA.265@forums.sybase.com...
> >>
> >> i am attempting to create the sample ( JavaArithmetic ) application and
am
> >> unable to compile the stubs. i am getting the following errors :
> >>
> >> _st_JavaArithmetic.java:11: Superclass com.sybase.CORBA.ObjectRef of
class
> >> Tutorial._st_JavaArithmetic not found.
> >> class _st_JavaArithmetic extends com.sybase.CORBA.ObjectRef implements
> >> JavaArithmetic
> >> ^
> >> JavaArithmetic.java:11: Interface org.omg.CORBA.Object of interface
> >> Tutorial.JavaArithmetic not found.
> >> public interface JavaArithmetic extends org.omg.CORBA.Object
> >> ^
> >> JavaArithmeticHelper.java:13: Class org.omg.CORBA.portable.InputStream
not
> >found
> >> in type declaration.
> >> public static JavaArithmetic read
> >> ^
> >> JavaArithmeticHelper.java:16: Class org.omg.CORBA.portable.InputStream
not
> >found
> >> in Tutorial.JavaArithmetic read(org.omg.CORBA.portable.InputStream).
> >> return narrow(_input.read_Object());
> >> ^
> >> JavaArithmeticHelper.java:19: Class org.omg.CORBA.portable.OutputStream
> >not
> >> found in type declaration.
> >> public static void write
> >> ^
> >> JavaArithmeticHelper.java:23: Class org.omg.CORBA.portable.OutputStream
> >not
> >> found in void write(org.omg.CORBA.portable.OutputStream,
> >> Tutorial.JavaArithmetic).
> >> _output.write_Object(_object);
> >> ^
> >> JavaArithmeticHelper.java:26: Class org.omg.CORBA.Object not found in
type
> >> declaration.
> >> public static JavaArithmetic narrow
> >> ^
> >> JavaArithmeticHelper.java:29: Class org.omg.CORBA.Object not found in
> >> Tutorial.JavaArithmetic narrow(org.omg.CORBA.Object).
> >> if (_object._is_a("IDL:Tutorial/JavaArithmetic:1.0"))
> >> ^
> >> JavaArithmeticHelper.java:31: Class com.sybase.CORBA.ObjectRef not
found
> >in type
> >> declaration.
> >> return new
> >_st_JavaArithmetic((com.sybase.CORBA.ObjectRef)_object);
> >> ^
> >> 9 errors
> >>
> >>
> >> my environment is set to the following ...
> >>
> >>
>
>CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;;C:\Pr
o
> >gram
> >> Files\Sybase\Shared\Sun\jdk117\lib\classes.zip;C:\Program
> >> Files\Sybase\Shared\PowerBuilder\classes.zip;C:\Program
> >> Files\Exceed.nt\hcljrcsv.zip;C:\Program Files\Exceed.nt;.
> >> JAGUAR=C:\Program Files\Sybase\Jaguar CTS 3.0
> >> JAGUAR_CLIENT_ROOT=C:\Program Files\Sybase\Jaguar CTS 3.0\client
> >> JDK_LATEST=C:\Program Files\Sybase\Shared\Sun\Jdk118
> >> JRE_LATEST=C:\Program Files\Sybase\Jaguar CTS 3.0\jre
> >>
> >>
> >> the documentation makes a reference to a compiler script called
j11.bat. i
> >> cannot
> >> locate this file anywhere.
> >>
> >> thanks for any info ...
> >>
> >> - pervez
> >>
> >>
> >
> >


Pervez Sikora Posted on 2000-02-22 20:16:23.0Z
Newsgroups: sybase.public.easerver
From: "Pervez Sikora" <psikora@nospam.net>
Organization: 204.48.23.147
X-Newsreader: AspNNTP 1.41 (Advent 2000, Inc.)
Subject: Re: jaguar - beginner question
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Date: Tue, 22 Feb 2000 15:16:23 -0500
Lines: 135
NNTP-Posting-Host: 207.156.232.4
Message-ID: <347_PZBswGXf$GA.201@forums.sybase.com>
References: <347_XGhc61Vf$GA.265@forums.sybase.com> <347_L6opI7Vf$GA.265@forums.sybase.com> <347_rzC0z#Wf$GA.151@forums.sybase.com> <347_tEEB6AXf$GA.265@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28142
Article PK: 160029

i did generate new stubs/skeletons and recompile them. what do you mean by
refresh ? i have looked at the generated idl and the java files and they
seem to be right.

- pervez

On Tue, 22 Feb 2000 15:02:13 -0500,
in powersoft.public.easerver

Dave Wolf [Sybase] <dwolf@sybase.com> wrote:
>Did you generate new skeletons and compile them, and refresh?
>
>Dave Wolf
>Internet Applications Division
>
>Pervez Sikora <psikora@nospam.net> wrote in message
>news:rzC0z#Wf$GA.151@forums.sybase.com...
>> thx. that did the trick.
>>
>> now i am able to compile the app and run it which is great. i am now
>attempting
>> to add the divide/add/subtract methods to the javaarithmetic component. i
>> defined
>> these via the jaguar mgr just as i did it for the multiply method. i
>> regenerated
>> the stubs and compiled them. i modified the implementation and added the
>new
>> methods to it and compiled that.
>>
>> however, if i try to call any method other than the multiply method, it
>> complains
>> and says that i cannot call this method and the error log shows the
>following
>>
>> Feb 22 11:34:26 2000: Warning: property com.sybase.jaguar.method.name is
>invalid
>> in C:/Program Files/Sybase/Jaguar CTS
>> 3.0/Repository/Method/Tutorial/JavaArithmetic/divide.props
>> Feb 22 11:34:26 2000: Changed to 'Tutorial/JavaArithmetic/divide'
>> Feb 22 11:34:26 2000: System exception 'BAD_OPERATION' thrown by component
>> 'Tutorial/JavaArithmetic' method 'divide'
>> Feb 22 11:34:40 2000: System exception 'BAD_OPERATION' thrown by component
>> 'Tutorial/JavaArithmetic' method 'divide'
>> Feb 22 11:34:46 2000: System exception 'BAD_OPERATION' thrown by component
>> 'Tutorial/JavaArithmetic' method 'divide'
>>
>> i have restarted jaguar but it does not seem to make a difference.
>>
>> - pervez
>>
>> On Tue, 22 Feb 2000 12:57:22 -0500,
>> in powersoft.public.easerver
>> Dave Wolf [Sybase] <dwolf@sybase.com> wrote:
>> >Make sure that %JAGUAR% are in your CLASSPATH.
>> >
>> >Dave Wolf
>> >Internet Applications Division
>> >
>> >Pervez Sikora <psikora@nospam.net> wrote in message
>> >news:XGhc61Vf$GA.265@forums.sybase.com...
>> >>
>> >> i am attempting to create the sample ( JavaArithmetic ) application and
>am
>> >> unable to compile the stubs. i am getting the following errors :
>> >>
>> >> _st_JavaArithmetic.java:11: Superclass com.sybase.CORBA.ObjectRef of
>class
>> >> Tutorial._st_JavaArithmetic not found.
>> >> class _st_JavaArithmetic extends com.sybase.CORBA.ObjectRef implements
>> >> JavaArithmetic
>> >> ^
>> >> JavaArithmetic.java:11: Interface org.omg.CORBA.Object of interface
>> >> Tutorial.JavaArithmetic not found.
>> >> public interface JavaArithmetic extends org.omg.CORBA.Object
>> >> ^
>> >> JavaArithmeticHelper.java:13: Class org.omg.CORBA.portable.InputStream
>not
>> >found
>> >> in type declaration.
>> >> public static JavaArithmetic read
>> >> ^
>> >> JavaArithmeticHelper.java:16: Class org.omg.CORBA.portable.InputStream
>not
>> >found
>> >> in Tutorial.JavaArithmetic read(org.omg.CORBA.portable.InputStream).
>> >> return narrow(_input.read_Object());
>> >> ^
>> >> JavaArithmeticHelper.java:19: Class org.omg.CORBA.portable.OutputStream
>> >not
>> >> found in type declaration.
>> >> public static void write
>> >> ^
>> >> JavaArithmeticHelper.java:23: Class org.omg.CORBA.portable.OutputStream
>> >not
>> >> found in void write(org.omg.CORBA.portable.OutputStream,
>> >> Tutorial.JavaArithmetic).
>> >> _output.write_Object(_object);
>> >> ^
>> >> JavaArithmeticHelper.java:26: Class org.omg.CORBA.Object not found in
>type
>> >> declaration.
>> >> public static JavaArithmetic narrow
>> >> ^
>> >> JavaArithmeticHelper.java:29: Class org.omg.CORBA.Object not found in
>> >> Tutorial.JavaArithmetic narrow(org.omg.CORBA.Object).
>> >> if (_object._is_a("IDL:Tutorial/JavaArithmetic:1.0"))
>> >> ^
>> >> JavaArithmeticHelper.java:31: Class com.sybase.CORBA.ObjectRef not
>found
>> >in type
>> >> declaration.
>> >> return new
>> >_st_JavaArithmetic((com.sybase.CORBA.ObjectRef)_object);
>> >> ^
>> >> 9 errors
>> >>
>> >>
>> >> my environment is set to the following ...
>> >>
>> >>
>>
>>CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;;C:\Pr
>o
>> >gram
>> >> Files\Sybase\Shared\Sun\jdk117\lib\classes.zip;C:\Program
>> >> Files\Sybase\Shared\PowerBuilder\classes.zip;C:\Program
>> >> Files\Exceed.nt\hcljrcsv.zip;C:\Program Files\Exceed.nt;.
>> >> JAGUAR=C:\Program Files\Sybase\Jaguar CTS 3.0
>> >> JAGUAR_CLIENT_ROOT=C:\Program Files\Sybase\Jaguar CTS 3.0\client
>> >> JDK_LATEST=C:\Program Files\Sybase\Shared\Sun\Jdk118
>> >> JRE_LATEST=C:\Program Files\Sybase\Jaguar CTS 3.0\jre
>> >>
>> >>
>> >> the documentation makes a reference to a compiler script called
>j11.bat. i
>> >> cannot
>> >> locate this file anywhere.
>> >>
>> >> thanks for any info ...
>> >>
>> >> - pervez
>> >>
>> >>
>> >
>> >
>
>


Jamie Crutchley Posted on 2000-02-23 14:09:01.0Z
Newsgroups: sybase.public.easerver
From: "Jamie Crutchley" <jdcrutch@raystl.com>
Subject: Re: jaguar - beginner question
Date: Wed, 23 Feb 2000 08:09:01 -0600
Lines: 174
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
NNTP-Posting-Host: 128.242.150.59
Message-ID: <347_3pObHggf$GA.202@forums.sybase.com>
References: <347_XGhc61Vf$GA.265@forums.sybase.com> <347_L6opI7Vf$GA.265@forums.sybase.com> <347_rzC0z#Wf$GA.151@forums.sybase.com> <347_tEEB6AXf$GA.265@forums.sybase.com> <347_PZBswGXf$GA.201@forums.sybase.com>
Path: forums-1-dub!forums-1-dub!forums-master.sybase.com!forums.sybase.com
Xref: forums-1-dub sybase.public.easerver:28086
Article PK: 159978

I've had the same type of problem, and the only way I found to solve it was
to go into the Jaguar manager and completely delete the component and
redeploy it, then regenerate the stubs. This was using PowerJ, it seemed
that deploying a component already contained in Jaguar would not change the
methods visible to Jaguar's repository. I'd be very interested in hearing
if there's a better way to do this.

"Pervez Sikora" <psikora@nospam.net> wrote in message
news:PZBswGXf$GA.201@forums.sybase.com...
> i did generate new stubs/skeletons and recompile them. what do you mean
by
> refresh ? i have looked at the generated idl and the java files and they
> seem to be right.
>
> - pervez
>
> On Tue, 22 Feb 2000 15:02:13 -0500,
> in powersoft.public.easerver
> Dave Wolf [Sybase] <dwolf@sybase.com> wrote:
> >Did you generate new skeletons and compile them, and refresh?
> >
> >Dave Wolf
> >Internet Applications Division
> >
> >Pervez Sikora <psikora@nospam.net> wrote in message
> >news:rzC0z#Wf$GA.151@forums.sybase.com...
> >> thx. that did the trick.
> >>
> >> now i am able to compile the app and run it which is great. i am now
> >attempting
> >> to add the divide/add/subtract methods to the javaarithmetic component.
i
> >> defined
> >> these via the jaguar mgr just as i did it for the multiply method. i
> >> regenerated
> >> the stubs and compiled them. i modified the implementation and added
the
> >new
> >> methods to it and compiled that.
> >>
> >> however, if i try to call any method other than the multiply method, it
> >> complains
> >> and says that i cannot call this method and the error log shows the
> >following
> >>
> >> Feb 22 11:34:26 2000: Warning: property com.sybase.jaguar.method.name
is
> >invalid
> >> in C:/Program Files/Sybase/Jaguar CTS
> >> 3.0/Repository/Method/Tutorial/JavaArithmetic/divide.props
> >> Feb 22 11:34:26 2000: Changed to 'Tutorial/JavaArithmetic/divide'
> >> Feb 22 11:34:26 2000: System exception 'BAD_OPERATION' thrown by
component
> >> 'Tutorial/JavaArithmetic' method 'divide'
> >> Feb 22 11:34:40 2000: System exception 'BAD_OPERATION' thrown by
component
> >> 'Tutorial/JavaArithmetic' method 'divide'
> >> Feb 22 11:34:46 2000: System exception 'BAD_OPERATION' thrown by
component
> >> 'Tutorial/JavaArithmetic' method 'divide'
> >>
> >> i have restarted jaguar but it does not seem to make a difference.
> >>
> >> - pervez
> >>
> >> On Tue, 22 Feb 2000 12:57:22 -0500,
> >> in powersoft.public.easerver
> >> Dave Wolf [Sybase] <dwolf@sybase.com> wrote:
> >> >Make sure that %JAGUAR% are in your CLASSPATH.
> >> >
> >> >Dave Wolf
> >> >Internet Applications Division
> >> >
> >> >Pervez Sikora <psikora@nospam.net> wrote in message
> >> >news:XGhc61Vf$GA.265@forums.sybase.com...
> >> >>
> >> >> i am attempting to create the sample ( JavaArithmetic ) application
and
> >am
> >> >> unable to compile the stubs. i am getting the following errors :
> >> >>
> >> >> _st_JavaArithmetic.java:11: Superclass com.sybase.CORBA.ObjectRef of
> >class
> >> >> Tutorial._st_JavaArithmetic not found.
> >> >> class _st_JavaArithmetic extends com.sybase.CORBA.ObjectRef
implements
> >> >> JavaArithmetic
> >> >> ^
> >> >> JavaArithmetic.java:11: Interface org.omg.CORBA.Object of interface
> >> >> Tutorial.JavaArithmetic not found.
> >> >> public interface JavaArithmetic extends org.omg.CORBA.Object
> >> >> ^
> >> >> JavaArithmeticHelper.java:13: Class
org.omg.CORBA.portable.InputStream
> >not
> >> >found
> >> >> in type declaration.
> >> >> public static JavaArithmetic read
> >> >> ^
> >> >> JavaArithmeticHelper.java:16: Class
org.omg.CORBA.portable.InputStream
> >not
> >> >found
> >> >> in Tutorial.JavaArithmetic read(org.omg.CORBA.portable.InputStream).
> >> >> return narrow(_input.read_Object());
> >> >> ^
> >> >> JavaArithmeticHelper.java:19: Class
org.omg.CORBA.portable.OutputStream
> >> >not
> >> >> found in type declaration.
> >> >> public static void write
> >> >> ^
> >> >> JavaArithmeticHelper.java:23: Class
org.omg.CORBA.portable.OutputStream
> >> >not
> >> >> found in void write(org.omg.CORBA.portable.OutputStream,
> >> >> Tutorial.JavaArithmetic).
> >> >> _output.write_Object(_object);
> >> >> ^
> >> >> JavaArithmeticHelper.java:26: Class org.omg.CORBA.Object not found
in
> >type
> >> >> declaration.
> >> >> public static JavaArithmetic narrow
> >> >> ^
> >> >> JavaArithmeticHelper.java:29: Class org.omg.CORBA.Object not found
in
> >> >> Tutorial.JavaArithmetic narrow(org.omg.CORBA.Object).
> >> >> if (_object._is_a("IDL:Tutorial/JavaArithmetic:1.0"))
> >> >> ^
> >> >> JavaArithmeticHelper.java:31: Class com.sybase.CORBA.ObjectRef not
> >found
> >> >in type
> >> >> declaration.
> >> >> return new
> >> >_st_JavaArithmetic((com.sybase.CORBA.ObjectRef)_object);
> >> >> ^
> >> >> 9 errors
> >> >>
> >> >>
> >> >> my environment is set to the following ...
> >> >>
> >> >>
> >>
>
>>CLASSPATH=c:\sybtools\ASEP\Monclass.zip;c:\sybtools\ASEP\3pclass.zip;;C:\P
r
> >o
> >> >gram
> >> >> Files\Sybase\Shared\Sun\jdk117\lib\classes.zip;C:\Program
> >> >> Files\Sybase\Shared\PowerBuilder\classes.zip;C:\Program
> >> >> Files\Exceed.nt\hcljrcsv.zip;C:\Program Files\Exceed.nt;.
> >> >> JAGUAR=C:\Program Files\Sybase\Jaguar CTS 3.0
> >> >> JAGUAR_CLIENT_ROOT=C:\Program Files\Sybase\Jaguar CTS 3.0\client
> >> >> JDK_LATEST=C:\Program Files\Sybase\Shared\Sun\Jdk118
> >> >> JRE_LATEST=C:\Program Files\Sybase\Jaguar CTS 3.0\jre
> >> >>
> >> >>
> >> >> the documentation makes a reference to a compiler script called
> >j11.bat. i
> >> >> cannot
> >> >> locate this file anywhere.
> >> >>
> >> >> thanks for any info ...
> >> >>
> >> >> - pervez
> >> >>
> >> >>
> >> >
> >> >
> >
> >