|
From: Bashiro <ba...@my...> - 2012-06-05 22:57:12
|
Thanks a lot! everything working fine now .... really appreciate the help... Bashiro Drammen-Norway -----Original Message----- From: "Christian Mueller" [chr...@ta...] Date: 06/05/2012 04:24 To: wra...@li... Subject: Re: [Wrapper-user] Jar with Wrapper - any simple conf file available ? Hello Bashiro, thank you for your file, please make sure you are actually running java 7. If you have compiled your application targeted for java7 and try to run it on an older jvm, it yields an UnsupportedClassVersionError. >From your conf file I can see that you specified the java command as: wrapper.java.command=java This means that the Wrapper will look on the PATH environment variable on your system and launches the java command from the first hit. Could you please specify the following property in your conf file: wrapper.java.command.loglevel=INFO (You actually only need to remove the "#" to undo the uncomment in your conf file) You should then see the whole command line the Wrapper is creating for the JVM, including also the full path to the java command. For instance: wrapper | Launching a JVM... wrapper | Command: "C:\WINDOWS\system32\java.exe" <....> org.tanukisoftware.wrapper.test.Main jvm 1 | WrapperManager: Initializing... >From there you can check the jvm version by running: > C:\WINDOWS\system32\java.exe -version java version "1.6.0_26" Java(TM) SE Runtime Environment (build 1.6.0_26-b03) Java HotSpot(TM) Client VM (build 20.1-b02, mixed mode, sharing) Another option would be specify the target version of your application with the -target <release> flag (as long as you dont require any java7 specific features). Hope this information helps you out. Best Regards, Christian Mueller Tanuki Software, Ltd. On Tue, Jun 5, 2012 at 2:16 AM, Bashiro <ba...@my...> wrote: Thanks for the help! after correcting the conf file to reflect your guidelines and the description I get this error; java.lang.UnsupportedClassVersionError enclosed is the logfile could you take a look and tell me if I am doing some mistake somewhere `? Running java 7 on win 7 Bashiro Drammen-Norway -----Original Message----- From: "Christian Mueller" [chr...@ta...] Date: 06/04/2012 03:34 To: wra...@li... Subject: Re: [Wrapper-user] Jar with Wrapper - any simple conf file available ? Hello Bashiro, thank you for your mail. If you want to run an executable jar file with the Wrapper, you basically have to define the following properties: wrapper.java.mainclass=org.tanukisoftware.wrapper.WrapperJarApp wrapper.app.parameter.1=../path/to/jar-file.jar Please also make sure to check the documentation about integrating an executable jar file with the Wrapper: http://wrapper.tanukisoftware.com/doc/english/integrate-jar-win.html If you still find yourself stuck with the integration, please feel free to send your conf file as well as the log file, so I help you getting up and running. Best Regards, Christian Mueller Tanuki Software, Ltd. On Mon, Jun 4, 2012 at 8:15 AM, Bashiro <ba...@my...> wrote: Hello, I was using wrapper previous version with my Jar file and now I upgraded to community version. My application no longer works and I am having problems to configure my Jar application. In the previous version everything was working just fine. Now my application wont run and the configuration file is also different. Does anyone have a simple configuration example for Jar files on the Wrapper ? I mean a universal simple way to configure. Not the JBoss . Bashiro Drammen-Norway ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways todays security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways todays security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ Wrapper-user mailing list Wra...@li... https://lists.sourceforge.net/lists/listinfo/wrapper-user |