Forums Register Login

Issue after upgrading to Tomcat 7

+Pie Number of slices to send: Send
after upgrading from tomcat 6 to tomcat 7, i get a PropertyNotFoundException that says:



the exception is raised after a button is pressed. it is rendered fine the first time it is invoked. any ideas why? value is a proper property.

it works fine with tomcat 6.

i'm using jsf 2 (myfaces).

thank you!
+Pie Number of slices to send: Send
Did you ever get this answered? I am also seeing something like this on Tomcat 7.
+Pie Number of slices to send: Send
Putting a parameter in a value wouldn't have worked at all in JSF version 1, and even in version 2, I don't recommend it. It tends to pollute the core concept of Model/View/Controller by placing logic in the View.

What the message is actually saying is that it's looking for a pair of public accessor methods named "getDoSomething()" and "setDoSomething()" in the class com.someproject.SomeClass and not finding them.
+Pie Number of slices to send: Send
That makes sense.

In my case, the error message is similar but my scenrio is a little different. I am not trying to pass parameters.

I am brand new to JSF and using tomcat 7 and JSF 2.1. I am just trying to get a simple login page to work with a managed bean (using annotation). My managed bean (user) has a single property with getter/setter. However, when I reference in it in my NetBeans 7.0 IDE, the page editor says the properity is unknown. And when I drop the app on a Tomcat 7 server and try to access the page, I get an error on the JSF error page stating "property not found on type user". The user is instantiated in the session according to the JSF error page.

I saw this post and thought maybe it was a Tomcat 7 issue but it seems like such basic functionality, i would be surprised if it was.

I think I will have to post a new topic on the issue so someone can help me troubleshoot my configuration. Thanks for the reply.

sunglasses are a type of coolness prosthetic. Check out the sunglasses on this tiny ad:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 1459 times.
Similar Threads
why this happend in constructor?
How to trace recursion questions.
why i m getting this exception java.lang.NoSuchMethodError ?
AOP Challenge: can it do this ?
upgradtion problem
More...

All times above are in ranch (not your local) time.
The current ranch time is
Mar 29, 2024 04:56:35.