Hi guys,
And thanks for having a look.

@Jonathan,
The path should be relative to your sftp user root. I.e, using path 
/home/ubuntu in path, the directory it checks would be 
/home/username/home/ubuntu.....

I, might try to clarify this in the adapter readme.

No, currently it should work ok, since external dependencies are added to 
tomee/lib.
I'll add another branch in which the vfs dependencies are compile in the 
library module.
Ps, if activationconfig is the same in both in both mdb's, only one fileobject 
is supposed to exist. 

Br hw





Sendt fra Galaxy TabJonathan Gallimore <[email protected]> 
skrev:What's the behaviour you're seeing? It starts up ok, and connects to my
SFTP server, but nothing happens if I add a file... no breakpoints in

TestRunnableListener are hit and no output/errors. Is there something I
should do to reproduce your issue?

Here's my activation config (same on both MDBs):

@MessageDriven(messageListenerInterface = AcmeMessageListener.class,
        activationConfig = {
                @ActivationConfigProperty(propertyName = "hostName",
propertyValue = "192.168.0.100"),
                @ActivationConfigProperty(propertyName = "username",
propertyValue = "ubuntu"),
                @ActivationConfigProperty(propertyName = "password",
propertyValue = "XXXXXXXX"),
                @ActivationConfigProperty(propertyName = "path",
propertyValue = "/home/ubuntu")})

I can't see any particular problems with your resource adapter at the
moment...

Jon


On Wed, Mar 25, 2015 at 8:46 PM, Jonathan Gallimore <
[email protected]> wrote:

> Hi,
>
> Thanks for sharing your project. I'll grab a copy and deploy it in
> TomEE here and see if I can give some pointers.
>
> Jon
>
> On 3/25/15, hwaastad <[email protected]> wrote:
> > Ji,
> > just an humble request.
> > I've made an inbound resourceadapter for monitoring SFTP file directories
> > using commons-vfs2.
> >
> > https://github.com/hwaastad/VFS-Resource-Adapter.git (NB, WIP!!!!)
> >
> > One thing I've noticed is that there must be a classloading issue and
> > probably in vfs.
> >
> > I cannot have vfs libs bundled in the rar. I need them in tomee/lib
> > (besides
> > from api as already noticed)
> >
> > Can I be sure that this is a VFS issue?
> >
> > br hw
> >
> >
> >
> > --
> > View this message in context:
> >
> http://tomee-openejb.979440.n4.nabble.com/Strange-resource-adapter-error-message-tp4674170p4674175.html
> > Sent from the TomEE Users mailing list archive at Nabble.com.
> >
>

Reply via email to