|
From: Leif M. <lei...@ta...> - 2015-03-03 05:49:10
|
Greg, Are you sure that the Wrapper binary is of the same version? VERY old versions did not used to pass the version and library. The Wrapper jar appears to be the new version and is complaining about the version mismatch. Please try adding wrapper.debug=true to your configuration file as that will give more useful information and let you see the generated Java command line. I would suggest trying to get running with Method #1 as 99% of applications can be run that way without any coding. Method #3 allows for some more advanced integration, but is not usually necessary. Cheers, Leif On Tue, Mar 3, 2015 at 12:03 PM, Alexandre Klein < ale...@ta...> wrote: > Hi Greg, > > I'm sorry for the trouble. > > What is the value of "args" when you execute: > > WrapperManager.start( new Main(), args ); > > Can you show me the content of wrapper.conf? If there is sensitive data, > please send it to su...@ta... > > Which command do you use to start the Wrapper using the wrapper executable? > > On Tue, Mar 3, 2015 at 10:01 AM, Greg Rivera <gre...@gm...> > wrote: > >> Has anyone gotten a chance to look at this yet? i still have not been >> able to figure out why this is happening. >> >> On Wed, Feb 25, 2015 at 1:05 PM, Greg Rivera <gre...@gm...> >> wrote: >> >>> I have subscribed to the mailing list and am resending my query. >>> >>> Thank you. >>> >>> On Wed, Feb 25, 2015 at 1:03 PM, Greg Rivera <gre...@gm...> >>> wrote: >>> >>>> Hello, >>>> >>>> I am using method integration 3. >>>> >>>> I have asked a question here: >>>> >>>> http://stackoverflow.com/questions/28709609/where-does-wrappermanager-look-for-the-wrapper-conf-file-in-eclipse >>>> >>>> The contents of this question are below: >>>> >>>> I have this line in my main function >>>> >>>> WrapperManager.start( new Main(), args ); >>>> >>>> When I debug the Main class as a java app, I am able to break at this >>>> line. However when I do in my expressions window >>>> >>>> WrapperManager.getProperties(); >>>> >>>> it returns empty meaning my wrapper.conf file was not found. For output >>>> I get the following: >>>> >>>> WrapperManager: Initializing...WrapperManager: WARNING - The wrapper.native_library system property was notWrapperManager: set. Using the default value, 'wrapper'.WrapperManager: WARNING - The version of the Wrapper which launched this JVM isWrapperManager: "unknown" while the version of the native libraryWrapperManager: is "3.5.26".WrapperManager: The Wrapper may appear to work correctly but some features mayWrapperManager: not function correctly. This configuration has not been testedWrapperManager: and is not supported.WrapperManager: >>>> >>>> If someone could please tell me where WrapperManager is looking for >>>> this file that would be great. I added wrapper.jar to the build path and to >>>> the debug configuration but still I could not get this to work. >>>> >>>> I looked at the following site: >>>> http://wrapper.tanukisoftware.com/doc/english/integrate-listener.html#mainClass >>>> >>>> However after explaining the main class it does not say how I should be >>>> running it. I use the wrapper executable and it says my main is already >>>> running the service wrapper. I debug using eclipse and the service wrapper >>>> gives the info above. >>>> >>>> Thanks >>>> >>>> Info about my env: Linux xxxx-xxxx 3.13.0-45-generic #74-Ubuntu SMP Tue >>>> Jan 13 19:36:28 UTC 2015 x86_64 x86_64 x86_64 GNU/Linux >>>> >>>> wrapper version Java Service Wrapper Community Edition 64-bit 3.5.26 >>>> Copyright (C) 1999-2014 Tanuki Software, Ltd. All Rights Reserved. >>>> http://wrapper.tanukisoftware.com >>>> >>>> |