Home » Developer & Programmer » JDeveloper, Java & XML » problem in creating EJBJar file
problem in creating EJBJar file [message #92518] Sat, 28 August 2004 07:17
Bibudh Lahiri
Messages: 6
Registered: August 2004
Junior Member
Hi,

i'm working with the BLAZIX app server (downloaded from the net, just a 1.5 MB file) . i've done the following environment setup:

 
SET PATH=C:WINDOWS;C:WINDOWSCOMMAND;%JAVA_HOME%bin;C:Blazix~2
SET CLASSPATH=%JAVA_HOME%bin;C:Blazix~2blazix.jar
 
where the server is installed in C:Blazix~2 directroy.
    i've created the source files of the Bean, the home and the remote interfaces and compiled them successfully. The classees are in the folder props as they are part of the package props.
 
In the next step, i've also created the jar with these 3 classes. Next, when i'm trying to make an EJBJar (as advised in the associated tutorial) with the following command,
 
blxejbc Props.jar PropsEjb.jar
 
 i'm getting the following error message:
 
C:Blazixserver>blxejbc Props.jar PropsEjb.jar
Blazix EJB Compiler 1.2
Copyright (C) Desiderata Software, 2001-2002
All rights reserved
Configuration file: C:Blazixserverejb.ini
JRMP Version
 
Processing Entity bean "Props"
  Validating bean classes
  Generating bean support classes
Props: Compiling classes with javac
Props: Generating RMI classes
There has been an unexpected error in generating RMI wrapper classes
error: Class java.rmi.server.UnicastRemoteObject not found in class props.PropsB
eanCtx.
1 error
 
Can anyone pls tell me what is this error and why is it occurring? Also, why do we need to create the EJBJar component?
 
Previous Topic: Re: sdfs
Next Topic: Call an applet stored in a oracle database
Goto Forum:
  


Current Time: Thu Mar 28 09:27:19 CDT 2024