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

[557 byte] By [eugene1234] at [2007-9-26 1:49:11]
# 1
Try to set it as a System environment variable, and try to reboot the pc.
leukbr at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 2

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

eugene1234 at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 3
Hi,Is this class part of a package? Then add the package itself to the classpath environment variable.
leukbr at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 4

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

eugene1234 at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 5
Hi,I would try to add the directory containing these classes explicitly to your classpath. Of course I am willing to try your code. Is it included with the combridge installation?
leukbr at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 6
test
lwfry@bbnow.net at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 7
test
lwfry@bbnow.net at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 8

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

eugene1234 at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 9
Hi,i have tested CAS by using delphi.And i felt that CAS was not a ripe product :(please have a look at http://www.jboss.org/forums/thread.jsp?forum=47&thread=16404
IPOz at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 10
You might try using SOAP - that's what it was intended for...
crackers at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...
# 11
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).
ks_sanjay73 at 2007-6-29 2:54:41 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...