Hello Robert,

I don't have the answer of your problem, but I may be
have a lead.

Few days ago, I had such mishaps after doing many tests
and changing my CLASSPATH (updating it with many paths,
and having a very long CLASSPATH).
As you, I got incomprehensive java.io.IOException (file not found)
and java.lang.ClassNotFoundException exceptions until I clean
my CLASSPATH and update it with only the necessary paths.
This problem was only with the JDK 1.2.
I could'nt reproduce it with the JDK 1.1.

Hope this help.
H�l�ne.

Robert Krueger wrote:
> 
> Hi,
> 
> this one is driving me nuts:
> 
> I used to work with the jdk1.1 version of jonas 1.4.1 on linux and
> everything worked fine. Now, I downloaded the version for jdk1.2 and
> tried it but I keep getting ClassNotFoundExceptions on GenIC and
> CheckEJB although GenDD works fine with exactly the same CLASSPATH and
> PATH. If I switch back to jdk1.1 (even with the Jonas version for
> jdk1.2) everything works fine.
> 
> here's the output:
> 
> /usr/local/java/jonas1.2/bin/unix/CheckEJB User1.ser
> java.lang.ClassNotFoundException:
> com.signal7.projects.cparts.beans.UserBean
> CheckEJB FATAL ERROR: java.io.IOException: Cannot read the serialized
> DeploymentDescriptor file 'User1.ser'
>   'User1.ser'
> java.io.IOException: Cannot read the serialized DeploymentDescriptor
> file 'User1.ser'
> 
> and here are snippets from my makefile:
> #---------------------
> define set_env
> export PATH=$(JDK_BIN):$(PATH);export JONAS_ROOT=$(JONAS_ROOT);export
> CLASSPATH=$(CLASSPATH)
> endef
> 
> GENDD        = $(set_env);$(JONAS_BIN)/GenDD -verbose
> GENIC        = $(set_env);$(JONAS_BIN)/GenIC
> CHECKEJB     = $(set_env);$(JONAS_BIN)/CheckEJB
> 
> ...
> 
> stub_User1: User.class UserBean.class UserHome.class UserPK.class
> User1.txt User1.properties
>  $(GENDD) User1.txt;
>  $(CHECKEJB) User1.ser
>  $(GENIC) -d $(DEVLIB) User1.ser;
> #----------------------
> 
> I don't think it really is a ClassNotFoundException, since
> I triplechecked everything and the GenDD utility finds the class within
> the same makefile run and generates the file 'User1.ser'. All I can see
> is that it happens during the instantiation of the DD during the
> readObject call but why? Any thoughts anyone?
> 
> thanks,
> 
> robert
> 
> --
> (-) Robert Kr�ger
> (-) SIGNAL 7 Gesellschaft f�r Informationstechnologie mbH
> (-) Br�der-Knau�-Str. 79 - 64285 Darmstadt,
> (-) Tel: 06151 665401, Fax: 06151 665373
> (-) [EMAIL PROTECTED], www.signal7.de

-- 
-=- H�l�ne JOANIN -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-
  mailto:[EMAIL PROTECTED]    http://www-frec.bull.com
  Phone: 33.4.76.29.73.53          Fax: 33.4.76.29.76.00
 Download our EJB Server JOnAS at http://www.bullsoft.com/ejb
_______________________________________________________________

Reply via email to