I tried the mortgage example with some problems but finally got it to
succeed. I changed the ejbEnv.bat to set also the bin directory of IAS
if this is not already set globally.

set JAVAHOME=C:\Programme\jdk1.2.2\
set IAS_INSTALL=c:\inprise\appserver40

set path=%JAVAHOME%\bin;%IAS_INSTALL%\bin;%path%

set classpath=.
set classpath=%classpath%;%IAS_INSTALL%\lib\vbejb.jar
set classpath=%classpath%;%IAS_INSTALL%\lib\jsp.jar
set classpath=%classpath%;%IAS_INSTALL%\lib\jst.jar
set classpath=%classpath%;%IAS_INSTALL%\lib\servlet.jar
set classpath=%classpath%;%IAS_INSTALL%\lib\vbjorb.jar
set classpath=%classpath%;%JAVAHOME%\lib\tools.jar

BTW: jsp.jar, servlet.jar and jst.jar are since the final version no longer
in the lib directory. I think they all moved into ias.jar

After calling make_all.bat you also need to set the classpath to the
mortgage.jar file e.g.:
set classpath=%classpath%;C:\Inprise\appserver40\classes\mortgage.jar

Next you need to start IAS with
start ias -use:env
to tell IAS to consider the changed classpath settings.

Then I just went to http://localhost:8080/Mortgage.html
and it works.
During my first tries IAS had problems with the generated JSP-Servlet code but
after deleting the mortgage files in
C:\Inprise\appserver40\tmpdir\default\pagecompile\jsp
everything worked fine.

Hope this helps
Andreas

Christian Schwoebel wrote:

> Hey there,
> I've got the following problem, I want to use a bean from a jsp
> to connect to the ejb server. But whereever I put the bean-jar,
> whereever I set the classpath to. I receive the error can't import ...
>
> The same thing happens to me when I try to run the
> end to end example (mortgage), (all the other examples work fine)
> I did all settings properly and restarted the application server
> but I never get the chance to import the bean class.
>
> Anyone's got an idea working with Inprise App Servers.
>
> cheers
> Chris
>
> ===========================================================================
> To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
> of the message "signoff EJB-INTEREST".  For general help, send email to
> [EMAIL PROTECTED] and include in the body of the message "help".
begin:vcard
n:Lobeck;Andreas
tel;fax:++49(0)6103/979-295
tel;work:++49(0)6103/979-138
x-mozilla-html:FALSE
org:<img SRC="http://www.borland.com/images/bolus.gif" height=37 width=189>
version:2.1
email;internet:[EMAIL PROTECTED]
title:Technology Consultant
adr;quoted-printable:;;Robert-Bosch-Str.11=0D=0A63225 Langen=0D=0AGermany;;;;
fn:Andreas Lobeck
end:vcard

Reply via email to