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

 -----Original Message-----
From:   Tom Innes [mailto:[EMAIL PROTECTED]]
Sent:   June 25, 2001 9:54 AM
To:     'Philippe Coq'
Cc:     '[EMAIL PROTECTED]'
Subject:        RE: GenIC Segmentation Fault

I have changed JDK versions and I still have a problem.

Here are the results

JDK1.2.2_08 causes a core dump when javac is called in the compile.sh script
JDK1.3.0_02 and JDK1.3.0_03 both seem to solve the segmentation fault, but
another error is created.

Here is the output of the compile.sh script

+ '[' -d ../../classes ']'
+ javac -d ../../classes Op.java OpBean.java OpHome.java ClientOp.java
+ GenIC -d ../../classes ejb-jar.xml
JOnASOpRemote_Stub.java:81: error:Syntax error:  expecting an identifier,
found '{'
java.lang.Exception: exited with errorcode 1
        at java.lang.Throwable.fillInStackTrace(Throwable.java:native)
        at java.lang.Throwable.<init>(Throwable.java:38)
        at java.lang.Exception.<init>(Exception.java:24)
        at kaffe.tools.compiler.Compiler_kjc.compile(Compiler_kjc.java:53)
        at kaffe.rmi.rmic.RMIC.compile(RMIC.java:828)
        at kaffe.rmi.rmic.RMIC.processClass(RMIC.java:91)
        at kaffe.rmi.rmic.RMIC.run(RMIC.java:74)
        at kaffe.rmi.rmic.RMIC.main(RMIC.java:53)
GenIC ERROR: Failed when reading or writting a RMI Skel or Stub
(java.io.FileNotFoundException:
../../classes/sb/JOnASOpRemote_Skel.java.save (No such file or directory))


Help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!,

Tom

 -----Original Message-----
From:   [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]  On Behalf Of Philippe Coq
Sent:   June 25, 2001 5:10 AM
To:     Tom Innes
Cc:     [EMAIL PROTECTED]
Subject:        Re: GenIC Segmentation Fault

Tom Innes wrote:
>
> We are using
>
> >         Tomcat V 3.2.2
> >         Jonas V2.3
> >         JDK V 1.3.1-b24
> >         Redhat Linux 7.0
>
> When we try to compile the examples for Session Bean and Enterprise Bean (
> We gave up after these two ) - we receive a segmentation fault from GenIC.
> Is anyone successfully using Jonas with JDK 1.3.1?
>
> Any help would be appreciated, as we are dead in the water until we can
get
> this resolved.
>
> Tom
>
It seems that there is a problem with JDK 1.3.1
I don't think it is a JOnAS one.

Here we work with JDK 1.2 on Linux and JDK 1.3 on Solaris.
Regards,
--
        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".



----
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