2 Replies Latest reply: Jun 28, 2012 2:17 AM by User767204-Oracle RSS

    Exception creating response stream in weblogic


      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() {
      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