For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub
- This topic has 5 replies, 2 voices, and was last updated 18 years, 5 months ago by
Loyal Water.
-
AuthorPosts
-
Oluf JensenMemberAn abstract class cointains the following variables:
private Long sporsmalid;
private Long indeksid;
private String sporsmalTekst;
private String kortversjonTekst;
private String notes;
private Integer showNotes;
private Integer questionNumber;
protected List questionareLine;
protected List questionares;
protected List answerLine;
protected List answers;
protected List subjectLine;
protected List subjects;
protected Integer noofAnswers = null;
protected int noofSvar = 0;And I then make the follwing change:
protected UISelectItems answerScale = null;
and add the necessary getter and setter methods.
This compiles ok, and I can call the setter and getter methods in a concrete subclass. However, when I run the web application using JBOSS as application server, and try to call the setter method for answerScale, the application fails.
On a breakbpoint just prior to the call to the setter method, the class does not contain the new added variable: UISelectItems answerScale
It is as though the system is running on the “old” version of this class.
Any suggestion to explain this strange behaviour will be helpful.October 8, 2007 at 11:20 am #276637
Loyal WaterMemberHi ojn,
Can you paste some more information about this project. Also, can you paste your installation details here for me. The posting guideline thread is available at the top of the forum.October 10, 2007 at 1:29 am #276740
Oluf JensenMember@support-nipun wrote:
Hi ojn,
Can you paste some more information about this project. Also, can you paste your installation details here for me. The posting guideline thread is available at the top of the forum.Hi Nipon
Sorry for this late reply.
Here is my installation details:*** Date: Wed Oct 10 08:02:08 CEST 2007
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_06*** MyEclipse details:
MyEclipse Enterprise WorkbenchVersion: 5.0 Milestone 2
Build id: 20060703-5.0-M2*** Eclipse details:
Eclipse SDKVersion: 3.2.0
Build id: M20060629-1905Eclipse Platform
Version: 3.2.0.v20060609m-AgOexn6hlEUsvBO
Build id: M20060629-1905Eclipse Java Development Tools
Version: 3.2.0.v20060609m-F7snq1fxia-Z4XP
Build id: M20060629-1905Eclipse Project SDK
Version: 3.2.0.v20060609m-GNq6oQq-7es-Y81
Build id: M20060629-1905Eclipse RCP
Version: 3.2.0.v20060609m-SVDNgVrNoh-MeGG
Build id: M20060629-1905Eclipse Plug-in Development Environment
Version: 3.2.0.v20060609m——6zXJJzJzJq
Build id: M20060629-1905Eclipse Graphical Editing Framework
Version: 3.2.0.v20060626
Build id: 20060627-0816Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\Programfiler\eclipse32\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
8c4_84
-vm
C:\WINDOWS\system32\javaw.exeI am not sure what other project details you need. It is a project being developed for the internet, and we use the JSF and Spring frameworks. For JSF we use the myfaces libraries. (myfaces-api-1.1.5, myfaces-impl-1.1.5 and, myfaces), as well as tomahawk-1.1.5.
For Spring we use the 1.2 version.
I have not tested it, but I suspect that I could make a new clean workspace, create a project in that workspace, and import the classes I have described, then make the changes, and I would get the same kind of behaviour:
It compiles ok. but when executed, the new variable in the class is not visible, – it is just not there?!!
I appreciate any effort to try and find an explaination to such behaviour.
Best regard,
ojnOctober 10, 2007 at 1:13 pm #276772
Loyal WaterMemberIf your deploying a packaged deployment and forgetting to redeploy to update it, that would explain why the old version keeps running. Can you make sure your deployment is an exploded deployment.
October 11, 2007 at 1:02 am #276789
Oluf JensenMemberHi Nipun
Thanks for your reply.
However, this project has always been deployed in exploded format. I have also made sure to remove the old deployment before a new deployment, when such errors occur.
In addition I have also removed the jboss.web catalog before restarting jboss.
Best regards,
ojnOctober 11, 2007 at 12:56 pm #276830
Loyal WaterMemberojn,
Can you try testing your deployment with the MyEclipse Tomcat server. This would give us an idea on where the problem lies. -
AuthorPosts
