IllegalStateException while invoking livecycle formserver using java api


i new livecycle formserver.when trying invoke formserver using java api ,it giving illegal state exception.my servlet application invoke formserver deployed in tomcat 5.o in 1 system , jboss formserver in anohter system.

i using following properties connect formserver in system.

properties connectionprops = new properties();
connectionprops.setproperty("dsc_default_ejb_endpoint", "jnp://172.21.49.116:jboss:1099");
connectionprops.setproperty("dsc_transport_protocol","ejb");
connectionprops.setproperty("dsc_server_type", "jboss");
connectionprops.setproperty("dsc_credential_username", "administrator");
connectionprops.setproperty("dsc_credential_password", "password");

and confusing in setting following paths using urlspec object.

urlspec urlspec = new urlspec();
urlspec.setapplicationwebroot("http://jboss:8080/formserver");
out.println("after webroot");
urlspec.setcontentrooturi("http://localhost:8080/srvapp");
out.println("after contentroot");
urlspec.settargeturl("http://localhost:8080/srvapp/handledata");

my .xdp file in localsystem tomcat running.and rendertohtml method this:

formsresult formout = fsc.renderhtmlform(formname, transformto.auto,oinputdata,htmlrenderspec,"",urlspec,null);

i passing path of .xdp file in local system formname parameter.
with code facing problem.is there wrong in code?or there settings change in formserver?
please me problem,i trying sort out problem.

any help?
thanks in advance



More discussions in LiveCycle pre-ES (6.x and 7.x) discussions


adobe

Comments