Using J2EE with ASP
I am trying to run example 3.asp from the example package that comes with j2ee-cas-com-bridge and I am getting the following error message:
**********
Error Type:
J2EECAS.JvmControl.1 (0x80004005)
The specified Environemnt variable: COMBRIDGE_HOME, is not defined.
/combridge/example3/example3.asp, line 13
**********
I am using Windows 2000 and COMBRIDGE_HOME is registered as an environment variable.
Does anyone have an idea of what is wrong?
Thanks a lot in advance
Eugene
Thanks for your advice.I tried to register COMBRIDGE_HOME as a system variable but now I get another error:
**********
Error Type:
J2EECAS.JavaServices.1 (0x80004005)
JavaException:java.lang.ClassNotFoundException: TimeUtil:TimeUtil
/combridge/example3/example3.asp, line 21
**********
Everything seems to be in place.TimeUtil class is present both in the classes directory under COMBRIDGE_HOME and in the example3 directory.
Do you know what can be wrong this time?
eugene
Hi again,
No, the TimeUtil class is not part of any package.It is situated in the ..\doc\guide\examples\classes subdirectory in the installation directory.
Would you like to try the example yourself?
Maybe you can make it work.
Please let me know if would like to try and if you succeded or not.
Regards
eugene
Hi again,
Yes the code is included in the sample package that comes with j2ee-cas-com-bridge installation.I ran some of the examples and they work fine(especially the ones with VisualBasic).The ones with ASP have problems though.
So install j2ee-cas-com-bridge and try Example3.
Keep in touch
Eugene
Crackers is right, It is not worth trying to use ASP to call J2EE, IBM's different version 3.5 and 4.0 have sometimes problem talking to each other over(RMI-IIOP).