You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@beehive.apache.org by Tom Conrad <tm...@theconrads.us> on 2004/07/28 08:31:26 UTC

build fine, tests passed, coreWeb gives "internal error"

Just downloaded from subversion, built it per the docs and it seems to 
work fine.  However, after passing the tests from 'ant drt', the 
http://server:8080/coreWeb displays "Internal error" along with the 
Weblogic logo.  I found the following in the tomcat logs...

2004-07-28 00:11:51 StandardContext[/manager]Manager: install: 
Installing web application at '/coreWeb'from 
'file:///root/install/beehive/trunk/netui/test/webapps/drt/coreWeb'
2004-07-28 00:21:11 ApplicationDispatcher[/coreWeb] Servlet.service() 
for servlet jsp threw exception
javax.servlet.jsp.el.ELException: Unable to find a value for "foo" in 
object of class "template.visibleE
rror.Controller" using operator "."
         at org.apache.commons.el.Logger.logError(Logger.java:481)
         at org.apache.commons.el.Logger.logError(Logger.java:498)
         at org.apache.commons.el.Logger.logError(Logger.java:611)
         at org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
         at 
org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
         at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263)
         at 
org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190)
         at 
org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:899)
         at 
org.apache.jsp.template.visibleError.Template_jsp._jspx_meth_c_if_0(Template_jsp.java:250)
         at 
org.apache.jsp.template.visibleError.Template_jsp._jspx_meth_netui_body_0(Template_jsp.java:1
96)

Re: build fine, tests passed, coreWeb gives "internal error"

Posted by Tom Conrad <tm...@theconrads.us>.
Tomcat was shut down at the end of the tests.  I watched it happen and 
verified by ps -ef.  I figured the results were statically set in the 
directory.  I then restarted tomcat via bin/startup.sh and tried 
manager.  Had to change tomcat-users.xml and restart so I had manager 
access.  Once I had the list, I tried accessing coreWeb and got the 
results below.  I've attached my logfile to this email since it's not 
very large.  So to be clear, I accessed the page well after the 'ant 
drt' was completed and most if not all had passed.  It still gives me 
this result.

Tom

Eddie O'Neil wrote:
> Tom--
> 
>  Well, there are a couple of things here...
> 
>  First, the error below is something that's expected as it's thrown from 
> a test called "VisibleError" when it tries to bind to a property "foo" 
> that doesn't exist.  If the test output said "pass" next to the test, 
> then it ran fine.  This is a good point -- we've got a lot of tests 
> (JUnit and test recorder) that test error conditions, so seeing 
> stacktraces on the console or error messages in tests isn't necessarily 
> bad.  :)
> 
>  But, when did you hit the server http://server:8080/coreWeb?  Was it 
> after the DRTs ran while the server was still up?
> 
> Eddie
> 
> 
> 
> Tom Conrad wrote:
> 
>> Just downloaded from subversion, built it per the docs and it seems to 
>> work fine.  However, after passing the tests from 'ant drt', the 
>> http://server:8080/coreWeb displays "Internal error" along with the 
>> Weblogic logo.  I found the following in the tomcat logs...
>>
>> 2004-07-28 00:11:51 StandardContext[/manager]Manager: install: 
>> Installing web application at '/coreWeb'from 
>> 'file:///root/install/beehive/trunk/netui/test/webapps/drt/coreWeb'
>> 2004-07-28 00:21:11 ApplicationDispatcher[/coreWeb] Servlet.service() 
>> for servlet jsp threw exception
>> javax.servlet.jsp.el.ELException: Unable to find a value for "foo" in 
>> object of class "template.visibleE
>> rror.Controller" using operator "."
>>         at org.apache.commons.el.Logger.logError(Logger.java:481)
>>         at org.apache.commons.el.Logger.logError(Logger.java:498)
>>         at org.apache.commons.el.Logger.logError(Logger.java:611)
>>         at 
>> org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
>>         at 
>> org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
>>         at 
>> org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263) 
>>
>>         at 
>> org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190) 
>>
>>         at 
>> org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:899) 
>>
>>         at 
>> org.apache.jsp.template.visibleError.Template_jsp._jspx_meth_c_if_0(Template_jsp.java:250) 
>>
>>         at 
>> org.apache.jsp.template.visibleError.Template_jsp._jspx_meth_netui_body_0(Template_jsp.java:1 
>>
>> 96)
>>
> 
> 

Re: build fine, tests passed, coreWeb gives "internal error"

Posted by Eddie O'Neil <ek...@bea.com>.
Tom--

  Well, there are a couple of things here...

  First, the error below is something that's expected as it's thrown 
from a test called "VisibleError" when it tries to bind to a property 
"foo" that doesn't exist.  If the test output said "pass" next to the 
test, then it ran fine.  This is a good point -- we've got a lot of 
tests (JUnit and test recorder) that test error conditions, so seeing 
stacktraces on the console or error messages in tests isn't necessarily 
bad.  :)

  But, when did you hit the server http://server:8080/coreWeb?  Was it 
after the DRTs ran while the server was still up?

Eddie



Tom Conrad wrote:

> Just downloaded from subversion, built it per the docs and it seems to 
> work fine.  However, after passing the tests from 'ant drt', the 
> http://server:8080/coreWeb displays "Internal error" along with the 
> Weblogic logo.  I found the following in the tomcat logs...
>
> 2004-07-28 00:11:51 StandardContext[/manager]Manager: install: 
> Installing web application at '/coreWeb'from 
> 'file:///root/install/beehive/trunk/netui/test/webapps/drt/coreWeb'
> 2004-07-28 00:21:11 ApplicationDispatcher[/coreWeb] Servlet.service() 
> for servlet jsp threw exception
> javax.servlet.jsp.el.ELException: Unable to find a value for "foo" in 
> object of class "template.visibleE
> rror.Controller" using operator "."
>         at org.apache.commons.el.Logger.logError(Logger.java:481)
>         at org.apache.commons.el.Logger.logError(Logger.java:498)
>         at org.apache.commons.el.Logger.logError(Logger.java:611)
>         at 
> org.apache.commons.el.ArraySuffix.evaluate(ArraySuffix.java:340)
>         at 
> org.apache.commons.el.ComplexValue.evaluate(ComplexValue.java:145)
>         at 
> org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:263) 
>
>         at 
> org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:190) 
>
>         at 
> org.apache.jasper.runtime.PageContextImpl.proprietaryEvaluate(PageContextImpl.java:899) 
>
>         at 
> org.apache.jsp.template.visibleError.Template_jsp._jspx_meth_c_if_0(Template_jsp.java:250) 
>
>         at 
> org.apache.jsp.template.visibleError.Template_jsp._jspx_meth_netui_body_0(Template_jsp.java:1 
>
> 96)
>