2 Replies Latest reply: Jun 27, 2012 9:17 PM by User767204-Oracle RSS

    Exception creating response stream in weblogic

    613176
      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