How do I pass params like -D to the JServ JVM?

drit .

[I want to pass this parameters to JVM that runs my servlet. E.g. -Djava.naming.factory.initial = com.sun.jndi.cosnaming.CNCtxFactory]

There is a file in apache/JServ known as "jserv.properties". Set your param in this wrapper.bin.parameters key.

Comment and Contribute






(Maximum characters: 1200). You have 1200 characters left.