I compared the distro war file with one produced by the ant script
and they appear to have identical contents except for 2 additional
pom files in the distro version.

The failure only occurs when hot-deploying the war into a Tomcat
server that is already started and running.  If I do a cold start
of the Tomcat server with the war file already in the webapps
directory, it deploys OK and the test runs.

I'll open a JIRA and attach both war files in the hope that someone
else can confirm the problem symptoms I am seeing, and maybe spot
the vital difference between these two war files!

  Simon

Simon Nash wrote:

I am trying out the samples for RC2.  All went well until I came to
helloworld-jsonrpc.  The pre-built war file deployed and ran fine.
I then used "ant package" to rebuild the war, and the war that was
built did not deploy successfully.  Here is the error that I got.

INFO: Server startup in 1813 ms
26-May-2007 19:38:37 org.apache.catalina.startup.HostConfig deployWAR
INFO: Deploying web application archive sample-helloworldjsonrpc.war
26-May-2007 19:38:42 com.metaparadigm.jsonrpc.JSONRPCBridge registerLocalArgResolver INFO: registered local arg resolver com.metaparadigm.jsonrpc.HttpServletRequestArgResolver for local class javax.servlet.http.HttpServletRequest with context javax.servlet.http.HttpServletRequest 26-May-2007 19:38:42 com.metaparadigm.jsonrpc.JSONRPCBridge registerLocalArgResolver INFO: registered local arg resolver com.metaparadigm.jsonrpc.HttpSessionArgResolver for local class javax.servlet.http.HttpSession with context javax.servlet.http.HttpServletRequest 26-May-2007 19:38:42 com.metaparadigm.jsonrpc.JSONRPCBridge registerLocalArgResolver INFO: registered local arg resolver com.metaparadigm.jsonrpc.JSONRPCBridgeServletArgResolver for local class com.metaparadigm.jsonrpc.JSONRPCBridge with context javax.servlet.http.HttpServletRequest
26-May-2007 19:38:42 org.apache.catalina.session.StandardManager doLoad
SEVERE: IOException while loading persisted sessions: java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.tuscany.sca.core.invocation.JDKInvocationHandler java.io.WriteAbortedException: writing aborted; java.io.NotSerializableException: org.apache.tuscany.sca.core.invocation.JDKInvocationHandler
    at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1309)
    at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1908)
    at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1832)
(cut)

I'm going out now so I will have to leave this until later. I will investigate further and try to identify the difference between the war that works and the
one that doesn't.

Does anyone else see the same problem after rebuilding this war using ant?

  Simon

ant elder wrote:

Please review and vote on the 0.90 release artifacts of Tuscany SCA for
Java.

The artifacts are available for review at:
http://people.apache.org/~antelder/tuscany/0.90-rc2/

This includes the binary and source distributions, the RAT reports, and the
Maven staging repository.

The SVN tag for the release is:
https://svn.apache.org/repos/asf/incubator/tuscany/tags/java/sca/0.90-incubating/

Looks ok to me so here's my +1.

Thanks in advance,

  ...ant






---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to