PDA

View Full Version : FileSystemApplicationWatcher - Application 'myApp' : not app


binbox69
07-15-2005, 06:46 AM
First Time Spring.Net User long time Spring Java user (+Interface21).

Having an issue deploying an application using the process -Spring.Services.WindowsService.Process.exe -

My log file reports this debug info.
--------------------
FileSystemApplicationWatcher - Application 'myApp': not application event Changed raised at 'c:\work\projects\service\myApp\servicefakedinstdi r\deploy\myApp'
--------------------

And my service.xml reads as follows.
--------------------
<objects xmlns="http://www.springframework.net"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.net http://www.springframework.net/xsd/spring-objects.xsd">

<object name="myApp"
type="Service.myApp, myApp"
init-method="Start" destroy-method="Stop">
</object>

</objects>
--------------------

Now I've run the Spring.Services.WindowsService.Gui.exe and only the Echo service appears (I have 2 deploys - myApp and Echo under 'serviceFakedInstDir'). The following error message is displayed within the GUI panel "cannot deploy: Exception has been thrown by target of an invocation" and the statement "the service seems to run normally").

I know there is a plethora of errors that could be at the root of this however, I wouldn't mind it if someone could point me in the right direction as the log file doesn't "really" detail an Exception just an event raise.

I've debugged the underlying application via a simple test client so I don't expect there to be too much obvious in the code only the configuration.

Any tips appreciated ... and keep up the good work lads.

fspinazzi
07-18-2005, 08:05 AM
Hi binbox69,

sorry for the delay.

I cannot explain the fact that the GUI is not listing your service...
The log should be informational enough but if you have read it and didn't find an answer ...

Could you please include a wider snippet from the log file ?
The line you report only tells that the change at the [c:\work\projects\service\myApp\servicefakedinstdir \deploy\myApp] directory is not an application event (the file system watcher used propagates also changes to the directory).

Also, which is the content of the directory hosting your service ?