I am not as lucky as Philip, because I am having this error on my local
Windows box.
(1) deploySoap fails over 90% of time in quickStart. But it does not
bother me that much. I just call "ant deploySoap" again.
(2) deploySoap succeeds most of time (perhaps always) in freshStart.
Cheers,
Cedric
Philip Johnson wrote:
Hi Aaron,
I can confirm that I am not getting this error locally, nor are we
experiencing it in the daily build. I have the following thoughts:
(a) are you intermixing installations of binary distributions with
source builds on the same Tomcat? It's possible for Tomcat to become
confused in this situation.
(b) have you tried re-unzipping Tomcat to get a clean environment? I
am wondering about the state of the work/ directory and so forth.
(c) is this occurring on a Windows or non-Windows OS? If it's
Windows, then it seems likely it's some sort of irritating local
environment configuration problem, since we can't reproduce it here.
If it's non-Windows, then please send us more details so we can try to
reproduce it.
Cheers,
Philip
--On Sunday, August 27, 2006 8:30 PM -1000 Aaron Kagawa
<[EMAIL PROTECTED]> wrote:
FYI - I gets this error every time I build now. I can't seem to
figure it out.
thanks, Aaron
At 08:21 AM 8/25/2006, you wrote:
From Hongbing:
Yes, I still have this error. On Linux I have to explicitly all
deploySoap task otherwise the server will not receive data.
I saw a couple of emails on this issue. I have a theory that might
prevent this error forever. With some investigations and
review of our build files I found that we might deploy soap before
Hackystat web application is sucessfully deployed to
Tomcat, which takes some time because we have a lot stuff in
hackystat\<WEB-INF>. In Hackystat ANT task
hackyCore_Build.hotDeployHackystat, we simply do this:
<loadfile property="install.results "
srcFile="install-results.tmp" />
<echo level="info" message="Install results: ${install.results}"/>
<delete file="install-results.tmp" />
<makeEcho message="Completed
hackyCore_Build.hotDeployHackystat"
prefix="hackyCore_Build.hotDeployHackystat"/>
The thing is that we may deploy our application sucessfully. The
missing part is that we do not assure that /hackystat application is
listable, which means Tomcat is still loading Hackystat but we think
it is finished.
My theory is that the exception happens when Tomcat is busy loading
Hackystat application. To ensure that /hackystat is correctly
listed, we can add one more get task to query /hackystat or
hackystat manager either after task hotDeployHackystat or before task
deploySoap.
BTW: fork does not do anything good except that it will start a new
JVM instance, which may have a delay for /hackystat getting
ready for soap deployment.
I am leaving here soon and do not have much time to work on this
issue. You can play around with ANT to add this check. It is
a tomcat issue not SOAP issue according to my understanding.
Thanks,
Hongbing
At 01:04 AM 8/25/2006, you wrote:
Okay.. this problem has reappeared. What's irritating about this
error is that it only occurs sometimes, but sometimes in bunches.
I'm using the following software versions.