• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Java version and weblogic migration affecting code functionality?

 
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

I am currently experiencing problems with an application that was migrated from Java 1.4 to Java 1.6 and from weblogic 8.1 to 10.3

The only changes from a code point of view was to make the code more type safe.

The application functions as expected when running on the earlier version but is faulty with the latest version.

Is this maybe due to a difference in libraries between the two versions and could migration from one java version to another cause a change in functionality and has anyone experienced such a problem?

Thanking you all in advance.
 
Author and all-around good cowpoke
Posts: 13078
6
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
The Exceptions or other error reports you get should be a clue.

You have recompiled all the classes involved with 1.6, right?

The application functions as expected when running on the earlier version but is faulty with the latest version.



By version, do you mean weblogic version?

Bill
 
Sazi Mtandabuzo
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi William

First of all thank you for the reply.

I don't get much around exceptions or errors and the ones I have picked up have pointed to some other fault not related to the one at hand.

The change to 1.6 was made before I joined the team but I believe the classes were recompiled.

And lastly the application functions as expected for java 1.4 and weblogic 8.1 and does not for 1.6 and weblogic 10.3,hope this answers your question.

 
Sheriff
Posts: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Sazi, ItDoesntWorkIsUseless. You said you're "experiencing problems" and that the application is not "faulty", but you haven't said what problems and why it's faulty.
 
Sazi Mtandabuzo
Greenhorn
Posts: 7
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi All,

The point of this thread was to establish whether anyone had ever migrated code from java 1.4 to 1.6 and weblogic 8.1 to weblogic 10.3 and experienced differences in functionality.

I tested the application on the environment running java 1.4 and weblogic 8.1 and the functionality there is ok.

I then tested the same application on the new environment running java 1.6 and weblogic 10.3 and the functionality was different.

The reason I did not elaborate on the errors and exceptions picked up is because they have not really been related to the functionality I was testing and because there aren't really any differences in the logs from the two instances of the app.

What I wanted to establish was whether a migration from Java 1.4 to 1.6/Weblogic 8.1 to 10.3 without any code changes could cause differences in functionality or if anyone had ever experienced a similar problem.
 
Rob Spoor
Sheriff
Posts: 22781
131
Eclipse IDE Spring VI Editor Chrome Java Windows
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
There are slight differences in behaviour, mostly caused by bug fixes in a later version that will invalidate a workaround for the original bug in the old version.
 
Don't get me started about those stupid light bulbs.
reply
    Bookmark Topic Watch Topic
  • New Topic