We have resolved the problem.  The problem was rmic which is the JDK Stub
compiler.  A previous version comes with Linux and existed in /usr/bin.
What I did was go through the JDK/bin directory and remove any program that
existed in /usr/bin.  Once this program was removed the example could be
compiled.  JDK1.3.1-b24 still gives a segmentation fault, but JDK1.3.0_02
seems to work fine.

Thanks for all your help,

Tom

 -----Original Message-----
From:   [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]]
Sent:   June 27, 2001 7:54 AM
To:     Tom Innes
Cc:     [EMAIL PROTECTED]
Subject:        Re: GenIC Segmentation Fault

Tom Innes wrote:
>
> In the thinking that re-compiling in a new version of the JDK would
resolve
> the problem, we re-compiled JONAS in JDK1.3.0_02.  The resulting compile (
> make install ) deleted the CheckEnv program as well as the config_env and
> our tomcat/jonas security jar file.  Once the config_env  was re-stored
the
> same error below was generated.  In looking at the code for the Stub File
> that GenIC created the forceSessionRemove method has a "throws" in its
> definition with no exception type.  We found the method, and it is
declared
> as public void and does not throw any exceptions.  Thus this code
generation
> is incorrect.
>
> Please help us
> 1. Fix this problem so we can use the examples
> 2. Explain how we can re-compile JONAS without losing our configuration
> files  and/or extensions to the application
>
> Tom
>

Hi,
As you can read it in the Installation Guide (� Recompiling JOnAS from
the Sources)
http://www.objectweb.org/jonas/jonas_root/doc/Install.html#rebuild
when you re-compile JONAS the equivalent of the binary distribution will
be produced in $JONAS_ROOT
I think that your JONAS_ROOT was set on the location where you have
previously
installed JONAS.
So if you don't want to lose any previous configuration files
change your JONAS_ROOT before making make install.

For the other part of your mail, can you give more details
what Stub File are you speacking of?
For me, forceSessionRemove is not a method generated by GenIC,
it is a method defined in
org.objectweb.jonas_ejb.container.JBeanSessionSf  class.
I think  the best will that you send us the files where you have found
incorrect generation.


--
        Philippe

Philippe Coq  Evidian   Phone: (33) 04 76 29 78 49
Bull S.A  - 1 rue de Provence - 38432 Echirolles Cedex France
Download our EJBServer at http://www.objectweb.org



----
To unsubscribe, send email to [EMAIL PROTECTED] and
include in the body of the message "unsubscribe jonas-users".
For general help, send email to [EMAIL PROTECTED] and
include in the body of the message "help".

Reply via email to