Did the 'ant undeploy build deploy' since it didn't like having an app already there.

[tomcatdeploy] OK - Deployed application at context path /coreWeb

Deployed ok, but still get the following result in my browser... (See attached png screenshot)

Daryl Olander wrote:
Tom,
are you saying that when you start up tomcat via the bin/startup.sh, you cannot hit http://localhost:8080/coreWeb ? That your getting an internal error when you do that?


One thing to try is
1) Start tomcat 2) in the netui/test/webapps/drt directory
ant build deploy


Check to see if you get some error here or not.  If you don't then try hitting 
the
coreWeb again.  If there is an error try to undeploy coreWeb by

ant undeploy build deploy

This should undeploy the webapp, build it and then redeploy it.

When you hit coreWeb directly you should get the index page for the DRT tests giving you direct access to the set of tests which are run when the DRTs are run.


-----Original Message-----
From: Tom Conrad [mailto:[EMAIL PROTECTED]
Sent: Wednesday, July 28, 2004 7:33 AM
To: Beehive Developers
Subject: Re: build fine, tests passed, coreWeb gives "internal error"


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(Express
ionEvaluatorImpl.java:263)


at


org.apache.commons.el.ExpressionEvaluatorImpl.evaluate(Express
ionEvaluatorImpl.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_n
etui_body_0(Template_jsp.java:1


96)





Reply via email to