I'm using Jbuilder Interprise edition 5 (trial)
with Borland Appserver 4.5 and ISS
I would want to write a secure P2P System, then I read that to make this I
have to set in the file "vbroker.properties" "ejb.jsec=true" and
"vbroker.security.secureTransport=true" to enable SSL.
This is the code that I implemented :
jndiContext = new javax.naming.InitialContext();
System.out.println("OK Contesto");
queueConnectionFactory =
(QueueConnectionFactory)jndiContext.lookup("example/MQueueFactory"); ///////
HERE I HAVE AN EXCEPTION
I run this code with :
vbj -Dejb.jsec=true -DORBpropStorage=client.properties
where client.properties is :
vbroker.security.wallet.type=None
vbroker.security.wallet.identity=pclare
vbroker.security.wallet.password=49ers
In this way I can estabish a secure connection but when I try to lookup the
object I have an exception "javax.naming.NameNotFoundException".
I seen that VisiMessage in the console not run with Error in log : "Cannot
find Name Service. So cannot startup"
I also seen that if I try to launch VisiNaming "out of process" then
"VisiMessage" run but the connection is not secure.
I try to launch VisiMesage "in-process" but the console say that I can't to
do this.
Where is the problem?