This discussion is archived
2 Replies Latest reply: Jun 27, 2012 7:17 PM by user767204 RSS

Exception creating response stream in weblogic

613176 Newbie
Currently Being Moderated
Hi,

i have a small piece of java code which connects AgilePLM system and creates the session. in Jdeveloper its working but when i convert is as webservice and try to invoke iam getting below exception
weblogic.rjvm.PeerGoneException: ; nested exception is: weblogic.utils.NestedException: java.lang.AssertionError: Exception creating response stream

here is my java function

public String connect() {
try{
IAgileSession session = null;
AgileSessionFactory factory;
factory = AgileSessionFactory.getInstance("host");
HashMap params = new HashMap();
params.put(AgileSessionFactory.USERNAME, "user");
params.put(AgileSessionFactory.PASSWORD, "password");
session =factory.createSession(params);

}catch(Exception e) { }

i tried all possible ways to resolve this...any help would be appreciated

Regards,
Sudhakar.M

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points