function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
jeevesjeeves 

Error with running Email2Case as windows service

Hi,
     I am currently using the java service wrapper to run the email2Case agent as a windows service. My integration method is the first and easiest one mentioned wherein I use the WrapperSimpleApp helper class.
The problem is that it immediately calls the shutdown hook for some reason. There are no logs created for the email2case agent app but the log generate by the wrapper is as as follows
 
STATUS | wrapper  | 2006/04/06 18:03:53 | --> Wrapper Started as Console
STATUS | wrapper  | 2006/04/06 18:03:53 | Launching a JVM...
INFO   | jvm 1    | 2006/04/06 18:03:53 | Wrapper (Version 3.2.0) http://wrapper.tanukisoftware.org
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 | Email To Case Agent v1.05.02
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 | Email2Case usage:
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 |     java -jar Email2Case.jar sfdcConfig.txt log4j.properties
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 | Salesforce.com Email to Case Agent Shutting down.
INFO   | jvm 1    | 2006/04/06 18:03:53 |
INFO   | jvm 1    | 2006/04/06 18:03:53 |
STATUS | wrapper  | 2006/04/06 18:03:55 | <-- Wrapper Stopped
Any idea what maybe causing this?
 
Thanks!