|
From: Aregala S. <sub...@gm...> - 2013-11-15 12:57:00
|
please -Xrs option in java opts. -Subbu On Thu, Nov 14, 2013 at 6:45 PM, Melinda Savoy <Me...@sh... > wrote: > Sorry but I forgot to include the version that we’re on (I have not > worked with your software before and apologize for the exclusion of this > info as this is a very old application and I’m sure an old version of your > software): > > > > /** > > * Handles all communication with the native portion of the Wrapper code. > > * The native wrapper code will launch Java in a separate process and > set > > * up a server socket which the Java code is expected to open a socket > to > > * on startup. When the server socket is created, a port will be chosen > > * depending on what is available to the system. This port will then be > > * passed to the Java process as property named "wrapper.port". > > * > > * For security reasons, the native code will only allow connections from > > * localhost and will expect to receive the key specified in a property > > * named "wrapper.key". > > * > > * This class is implemented as a singleton class. > > * > > * Generate JNI Headers with the following command in the build/classes > > * directory: > > * javah -jni -classpath ./ org.tanukisoftware.wrapper.WrapperManager > > * > > * *@author* Leif Mortenson <le...@ta...> > > * *@version* $Revision: 1.78 $ > > */ > > > > /** > > * Applications which need to be controlled directly as a service can > implement > > * the WrapperListener interface and then register themselves with the > > * WrapperManager on instantiation. The WrapperManager will then control > the > > * the class as a service for its entire life-cycle. > > * > > * *@author* Leif Mortenson <le...@ta...> > > * *@version* $Revision: 1.10 $ > > */ > > *public* *interface* WrapperListener > > > > *From:* Melinda Savoy > *Sent:* Thursday, November 14, 2013 07:01 > *To:* 'wra...@li...' > *Subject:* Please Help - New problem just started after moving Java app > to 2008 R2 box > *Importance:* High > > > > I’m not sure what all info you guys require in order to answer the > question we have. But any help/direction would be greatly appreciated as > it is driving our tech support guys crazy. Thank you. > > > > We just started getting the following error after moving the JAR that the > Wrapper service executes to a new MS 2008 R2 64 bit machine from a 2003 32 > bit machine (BTW, this app was NOT having this error on the old box as the > jar has not been changed since 10/1/2012): > > > > INFO | jvm 1 | 2013/11/14 00:54:06.245 | Exception in thread > "PulseChannel-ReceiveQueuer-6 73" java.lang.OutOfMemoryError: unable to > create new native thread > > INFO | jvm 1 | 2013/11/14 00:54:06.245 | at > java.lang.Thread.start0(Native Method) > > INFO | jvm 1 | 2013/11/14 00:54:06.245 | at > java.lang.Thread.start(Unknown Source) > > INFO | jvm 1 | 2013/11/14 00:54:06.245 | at > com.sharpbancsystems.ATM.channel.Request.start(Request.java:992) > > INFO | jvm 1 | 2013/11/14 00:54:06.245 | at > com.sharpbancsystems.ATM.channel.RequestQueue.queue(RequestQueue.java:253) > > INFO | jvm 1 | 2013/11/14 00:54:06.245 | at > com.sharpbancsystems.ATM.channel.ReceiveQueuer.run(ReceiveQueuer.java:143) > > INFO | jvm 1 | 2013/11/14 00:54:06.245 | at > java.lang.Thread.run(Unknown Source) > > > > Below is our current wrapper.conf configuration and to my knowledge has > not been changed when moved to this new server : > > > > #******************************************************************** > > # Wrapper Properties > > #******************************************************************** > > # Java Application > > #wrapper.java.command=C:/Program Files/Java/jre1.6.0_04/bin/java > > #wrapper.java.command=C:/Program Files/Java/jre1.5.0_14/bin/javaw.exe > > wrapper.java.command=C:/Program Files (x86)/Java/jre1.6.0_11/bin/javaw.exe > > #wrapper.java.command=C:/Program Files/Java/jdk1.6.0_14/jre/bin/javaw.exe > > #wrapper.java.command=C:/Program Files/Java/jre1.6.0_11/bin/javaw.exe > > > > # set current working directory so that PBF download can develop absolute > path for download > > set.default.CWD=c:\ATMoPOStR2009\ > > > > # Java Main class. This class must implement the WrapperListener interface > > # or guarantee that the WrapperManager class is initialized. Helper > > # classes are provided to do this for you. See the Integration section > > # of the documentation for details. > > wrapper.java.mainclass=com.sharpbancsystems.ATM.ATMoPOSt > > > > # Java Classpath (include wrapper.jar) Add class path elements as > > # needed starting from 1 > > wrapper.java.classpath.1=lib/wrapper.jar > > wrapper.java.classpath.2=lib/activation.jar > > wrapper.java.classpath.3=lib/ATMoPOSt.jar > > wrapper.java.classpath.4=lib/jdom.jar > > wrapper.java.classpath.5=lib/sftp.jar > > wrapper.java.classpath.6=lib/sqljdbc.jar > > wrapper.java.classpath.7=lib/sqljdbc1.2.jar > > wrapper.java.classpath.8=lib/xercesImpl-2.6.2.jar > > wrapper.java.classpath.9=lib/util.jar > > wrapper.java.classpath.10=lib/mail.jar > > wrapper.java.classpath.11=lib/mailapi.jar > > wrapper.java.classpath.12=lib/pop3.jar > > wrapper.java.classpath.13=lib/smtp.jar > > wrapper.java.classpath.14=lib/dsn.jar > > wrapper.java.classpath.15=lib/imap.jar > > wrapper.java.classpath.16=lib/pool.jar > > wrapper.java.classpath.17=lib/common.jar > > wrapper.java.classpath.18=lib/jpos-1.5.0.jar > > wrapper.java.classpath.19=lib/jsch-0.1.40.jar > > wrapper.java.classpath.20=. > > > > #wrapper.java.classpath.19=lib/mysql-connector-java-3.1.12-bin.jar > > # > > #wrapper.java.classpath.31=. > > > > # Java Library Path (location of Wrapper.DLL or libwrapper.so) > > wrapper.java.library.path.1=lib > > > > # Java Additional Parameters > > wrapper.java.additional.1=-server > > wrapper.java.additional.1=-Dcom.sun.management.jmxremote > > > wrapper.java.additional.2=-Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true > > > > # Initial Java Heap Size (in MB) > > #wrapper.java.initmemory=64 > > #wrapper.java.initmemory=1024 > > > > # Maximum Java Heap Size (in MB) > > wrapper.java.maxmemory=1024 > > > > # Application parameters. Add parameters as needed starting from 1 > > #wrapper.app.parameter.1=<YourMainClass> > > > > wrapper.ping.interval=10 > > wrapper.ping.timeout=30 > > > > #******************************************************************** > > # Wrapper Logging Properties > > #******************************************************************** > > wrapper.debug=TRUE > > > > # Format of output for the console. (See docs for formats) > > wrapper.console.format=PM > > > > # Log Level for console output. (See docs for log levels) > > wrapper.console.loglevel=DEBUG > > > > # Log file to use for wrapper output logging. > > wrapper.logfile=logs/ATMoPOSt-wrapper.YYYYMMDD.log > > > > # Format of output for the log file. (See docs for formats) > > wrapper.logfile.format=LPZM > > > > # Log Level for log file output. (See docs for log levels) > > wrapper.logfile.loglevel=STATUS > > > > # Maximum size that the log file will be allowed to grow to before > > # the log is rolled. Size is specified in bytes. The default value > > # of 0, disables log rolling. May abbreviate with the 'k' (kb) or > > # 'm' (mb) suffix. For example: 10m = 10 megabytes. > > #wrapper.logfile.maxsize=500k > > > > # Maximum number of rolled log files which will be allowed before old > > # files are deleted. The default value of 0 implies no limit. > > wrapper.logfile.maxfiles=30 > > wrapper.logfile.rollmode=DATE > > > > # Log Level for sys/event log output. (See docs for log levels) > > wrapper.syslog.loglevel=NONE > > > > #******************************************************************** > > # Wrapper Windows Properties > > #******************************************************************** > > # Title to use when running as a console > > wrapper.console.title=ATMoPOSt > > > > #******************************************************************** > > # Wrapper Windows NT/2000/XP Service Properties > > #******************************************************************** > > # WARNING - Do not modify any of these properties when an application > > # using this configuration file has been installed as a service. > > # Please uninstall the service before modifying this section. The > > # service can then be reinstalled. > > > > # Name of the service > > wrapper.ntservice.name=ATMoPOSt > > > > # Display name of the service > > wrapper.ntservice.displayname=ATMoPOSt > > > > # Description of the service > > wrapper.ntservice.description=ATM switching software from Sharp BancSystems > > > > # Service dependencies. Add dependencies as needed starting from 1 > > #wrapper.ntservice.dependency.1=MSSQLSERVER > > > > # Mode in which the service is installed. AUTO_START or DEMAND_START > > wrapper.ntservice.starttype=AUTO_START > > > > # Allow the service to interact with the desktop. > > wrapper.ntservice.interactive=false > > > > > > > > Melinda Savoy > > Sharp BancSystems, Inc. > > Senior Java Developer > > > > * E: me...@sh... > > ( O: 817.438.2161 > > > "We understand that e-mail is a simple and cost effective method of > communication, however items such as requests and inquiries needing > immediate attention should not be sent via e-mail. Also, sensitive personal > and account information like account numbers, Social Security numbers, > passwords, or PIN numbers should not be sent by e-mail. Because an e-mail > message may not be immediately reviewed by a company representative, you > should contact the company by telephone, or in person for items needing > immediate attention. Furthermore, this e-mail and any attached files may > contain confidential and/or privileged material for the sole use of the > intended recipient. Any review, use, distribution or disclosure by others > is strictly prohibited. If you are not the intended recipient (or > authorized to receive this e-mail for the recipient), please contact the > sender by reply e-mail and delete all copies of this email" > > > ------------------------------------------------------------------------------ > DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps > OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access > Free app hosting. Or install the open source package on any LAMP server. > Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native! > http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk > _______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user > > |