vineeta prasad wrote:
>
> I am having a hard time running the examples that come
> with bullsoft ejb server.
>
> I have tried to run it on both Win95 and WinNT 4.0
> platforms but I get the same errors (I will describe
> them below.) I am using JDK1.2.2 from sun, with all
> the additional components (jndi jta jdbc etc. )
> installed as instructed in install.html in the
> bullsoft distribution manual.
>
> The error I get is this: when I run compile.bat in
> %JONAS_ROOT%\samples\sb directory I get the error
> message
>
> GenDD ERROR: Class 'samples.Op.OpBean' not found
> com.bull.ejb.tools.ParseException
> GenDD Error: Encountered ERRORSs during parse
>
> With this error, of course GenIC cannot find Op.ser
> file and complains about it.
>
> The obvious reason could is bad classpath. But my
> classpath is defined as
>
> %JONAS_ROOT%\classes;%JONAS_ROOT%\classes\bullejb.jar
>
> I have confirmed that the classpath is correct by
> writing a simple java application that has a statement
> like
>
> try
> {
> Class.forName("samples.sb.OpBean")
> }
> catch(Exception e)
> {
> System.out.println("Bean not found");
> System.exit(1);
> }
> System.out.println("Bean found");
>
> This application always prints
>
> Bean found
>
> when run from %JONAS_ROOT%\samples\sb.
>
> Any help in this regard would be greatly and
> gratefully appreciated.
>
>
>
> =====
>
> __________________________________________________
> Do You Yahoo!?
> Bid and sell for free at http://auctions.yahoo.com
It seems that you are using the old version of JOnAS. The jonas 1.5
release is available since last week and I suggest you to download it
because I think it fits better NT systems. Moreover, the CLASSPATH
problem has been fixed since CLASSPATH is now set inside the Makefiles.
THe .bat files have been removed too (use Makefile now for examples)
Notice that all this will work only if you do have the cygnus package that
emulate UNIX on NT or WINDOWS systems, and the gnu Makefile if you intend
to use make. Both are freely downloadable.
However you should succeed using the 1.4.1 version, even if it's a little
more difficult to set the CLASSPATH in NT or WINDOWS.
Philippe
--
Philippe Durieux ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Bull S.A - 1 rue de Provence - 38432 Echirolles Cedex France
[EMAIL PROTECTED] http://www-frec.bull.com
-> Download our EJBServer at http://www.bullsoft.com/ejb <-