|
From: Leif M. <le...@ta...> - 2003-11-24 07:05:16
|
Elhanan,
After reading through all of this, the final problem is that the
executable lacombi.exe
binary can not locate a required dll file. I am not really clear how
that relates to the
Wrapper? Is that application being launched by one of your 2 JVMs?
If the DLL is required as a JNI native library by one of the classes
in your Java
application then you must include the location of the DLL on your java
library path.
When you run Java without the wrapper, it uses a default library path
that includes
the windows directory and user directory. When running with the
Wrapper, you
must set this manually in the wrapper.conf file.
Since you can not locate this file anyplace, not sure if that is
your problem
however.
Other than that, it sounds like your 2 JVMs are starting up
correctly. Could you
please set the wrapper.debug=true property in both of your wrapper.conf
files. Then
reply with the 2 wrapper.conf files and wrapper.log files as
attachments. Please only
include the log output for a SINGLE JVM invocation.
I may be able to spot something to help you out.
Cheers,
Leif
אלחנן מעיין wrote:
> I'm sending this to both of u since I don't know exactly where the
> problem exists
>
> First I discovered I cannot launch the 2 class (compasserver,cas) in
> code from the same jvm because compassserver locks cas.cfg
>
> I know this because after remarking the first class (comapsserver) and
> telling the batch file to raise the original class and then my class
> with my code, only then it worked, by trying your code as u wrote it,
> the 2nd class keeps saying that it could find the CASListenport on
> line 4 (which is in cas.cfg, which it couldn't read I guess)
>
> So I was left with the 2nd alternative:
>
> After creating to adtional directories (confCAS,confSERVER) and
> modifying and creating 2 install files, 2 run files, and 2 uninstall
> files (by simply chaning each files conf directory to my own
> directories) I was able to install the services.
>
> After changing the conf files according I was left the following
> problems.
> The classes won't run unless they will have server.cfg and cas.cfg in
> the directory where wrapper.exe exists. Even though i specified the
> the root directory in wrapper.java.class parameters
>
> Originally thought both files were in the same directory as the
> original batch file.
> This is not a major problem because after copying both files into
> Directories it seemed to work. Also comass also demanded the directory
> lacid (also located in the root directory of the application) will be
> copied to the directory of batch files
>
> Now the real problem started when I tried accessing compass with java
> client api sample... suddenly windows alerted the lacombi.exe needed
> the file libsybdb.dll and couldn't find it. The strange thing is that
> I REALLY couldn't find it, now in my entire c drive and not in the
> network directory which contains the oracle.dll
>
> Also I've checked lacombi with dependency walker an it really doesn't
> reference this dll.
>
> Running compass normally does not raise this error. I have no idea
> what is this dll for.
>
> -----Original Message-----
>
|