On 3/26/07, wazoo999 <[EMAIL PROTECTED]> wrote:
>Try the steps above that I noted to create a clean installation of
>ServiceMix and let's see what results you see before pursuing these
>exceptions.
I followed your advice and deployed the
servicemix-jboss-deployer-3.1-incubating.sar into the fresh jboss
installation. Then I copied a handful of libraries into the shared lib
folder. These are the libs I copied:
servicemix-audit-3.1-incubating.jar
servicemix-beanflow-3.1-incubating.jar
servicemix-components-3.1-incubating.jar
servicemix-core-3.1-incubating.jar
servicemix-jbi-3.1-incubating.jar
servicemix-services-3.1-incubating.jar
The servicemix-core, servicemix-jbi and servicemix-services libraries
don't need to be copied because they're bundled in the SAR file.
Then I copied the following components into the deploy directory, so far so
good.
servicemix-shared-3.1-incubating-installer.zip
servicemix-file-3.1-incubating-installer.zip
To test how everything works I copied the file-binding example configuration
file (modifying it as told in the faq). As a result I got the following
exception (although a completely different then before):
Jboss's 'Failed to deploy exception message' ....
...
Error setting property values; nested exception is
org.springframework.beans.PropertyBatchUpdateException; nested
PropertyAccessExceptions (2) are:
PropertyAccessException 1: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type [java.lang.String] to required type
[java.io.File] for property 'directory'; nested exception is
java.lang.IllegalArgumentException: Could not retrieve File for class path
resource [outbox]: class path resource [outbox] cannot be resolved to URL
because it does not exist
PropertyAccessException 2: org.springframework.beans.TypeMismatchException:
Failed to convert property value of type
[org.apache.servicemix.components.util.DefaultFileMarshaler] to required
type [org.apache.servicemix.components.util.FileMarshaler] for property
'marshaler'; nested exception is java.lang.IllegalArgumentException: No
matching editors or conversion strategy found
The error above is telling you that Spring was unable to convert the
string name 'outbox' defined in the directory property to a
java.io.File (i.e., a directory on the filesystem). Have you manually
created the directory named outbox that is required by the filebinding
configuration? And how about the inbox directory? Also, do you have a
a file that matches the pattern defined in the fileName property of
the DefaultFileMarshaler?
Bruce
--
perl -e 'print unpack("u30","D0G)[EMAIL
PROTECTED]&5R\"F)R=6-E+G-N>61E<D\!G;6%I;\"YC;VT*"
);'
Apache Geronimo - http://geronimo.apache.org/
Apache ActiveMQ - http://activemq.org/
Apache ServiceMix - http://servicemix.org/
Castor - http://castor.org/