Forum Stats

  • 3,727,123 Users
  • 2,245,325 Discussions
  • 7,852,604 Comments

Discussions

different compilation level

User_4MPMN
User_4MPMN Member Posts: 5 Red Ribbon

Hi guys,

recently I developed a Java Filter with Java 1.8 for a web application running in Tomcat.

 It makes uses of classes from another jar I developped some years ago with Java 1.6 ( but recompiled in Java 1.8).

Now, when the filter try to instanziate object from this jar , nothing happens,

the program seems to stand by ( no errors ,anythings).

Is there any way to understand what's happening ? For sure there is an error somewhere but the stdout does not print anything and the program remains hanging.

This is the code in the class that remains hanged ( it seems that the class ServiceSoap_ServiceLocator could not be instantiate

many thanks

Gabriele

 System.out.println("user " + user + " URLServ " + URLServ);

      try {

         ServiceSoap_ServiceLocator sl=new ServiceSoap_ServiceLocator(URLServ);

         System.out.println("ServiceSoap ");


         ServiceSoap_PortType serv;

         serv = sl.getServiceSoapPort();


         return true;


      } catch (ServiceException e) {

         // TODO Auto-generated catch block


         e.printStackTrace();

         return false;

      }

Sign In or Register to comment.