|
From: David G. <dav...@ms...> - 2013-11-20 16:04:13
|
Also does the service run as Local System or under a domain account - if so does that account have the required permissions to access the DLL - wherever it may be. On 20 Nov 2013, at 15:33, Mike Pilone <MP...@np...> wrote: > It looks like your application can’t find any native libraries, including the wrapper DLL. Are you sure you have all the libraries in "C:\ATMoPOStR2009\..\lib” and the user executing the command has read permission? > > -mike > > <EE77025C-3161-4BDF-813D-327467A291D8[5].png> | Mike Pilone | Software Architect, Distribution | mp...@np... | o: 202-513-2679 m: 703-969-7493 > > > From: Melinda Savoy <Me...@sh...> > Reply-To: "wra...@li..." <wra...@li...> > Date: Wednesday, November 20, 2013 at 10:24 AM > To: "wra...@li..." <wra...@li...> > Subject: [Wrapper-user] Upgrading Java Wrapper Service > > We just installed a NEW version of the Java Wrapper Service on a new 64-bit system from a 32-bit system and JVM but now getting 2 errors below BOLDED and HIGHLIGHTED IN RED and the new version of the sqljdbc_auth.dll is there in the java.path.library and I’m not certain why it cannot be found. Any help/direction would be greatly appreciated. Thank you. > > DEBUG | wrapper | 2013/11/20 08:59:35 | Allocating a console for the service. > DEBUG | wrapper | 2013/11/20 08:59:35 | Found console window. > STATUS | wrapper | 2013/11/20 08:59:35 | --> Wrapper Started as Service > STATUS | wrapper | 2013/11/20 08:59:35 | Java Service Wrapper Community Edition 32-bit 3.3.5 > STATUS | wrapper | 2013/11/20 08:59:35 | Copyright (C) 1999-2009 Tanuki Software, Ltd. All Rights Reserved. > STATUS | wrapper | 2013/11/20 08:59:35 | http://wrapper.tanukisoftware.org > STATUS | wrapper | 2013/11/20 08:59:35 | > DEBUG | wrapper | 2013/11/20 08:59:35 | Using tick timer. > DEBUG | wrapperp | 2013/11/20 08:59:35 | server listening on port 32000. > DEBUG | wrapper | 2013/11/20 08:59:35 | Ping settings: wrapper.ping.interval=10, wrapper.ping.interval.logged=1, wrapper.ping.timeout=30 > STATUS | wrapper | 2013/11/20 08:59:35 | Launching a JVM... > DEBUG | wrapper | 2013/11/20 08:59:35 | command: "C:\Program Files\Java\jre1.6.0_45\bin\javaw.exe" -Dcom.sun.management.jmxremote -Dorg.tanukisoftware.wrapper.WrapperManager.mbean=true -Xmx1024m -Djava.library.path="../lib" -classpath "c:\ATMLib\wrapper.jar;c:\ATMLib\activation.jar;c:\ATMLib\ATMoPOSt.jar;c:\ATMLib\jdom.jar;c:\ATMLib\sftp.jar;c:\ATMLib\sqljdbc4.jar;c:\ATMLib\xercesImpl-2.6.2.jar;c:\ATMLib\jsch-0.1.40.jar;c:\ATMLib\mail.jar;c:\ATMLib\mailapi.jar;c:\ATMLib\pop3.jar;c:\ATMLib\smtp.jar;c:\ATMLib\dsn.jar;c:\ATMLib\imap.jar;c:\ATMLib\pool.jar;c:\ATMLib\common.jar;c:\ATMLib\jpos-1.5.0.jar;c:\ATMLib\commons-lang3-3.0.1.jar;c:\ATMLib\log4j-1.2.17.jar;c:\ATMLib\apache-log4j-extras-1.1.jar;." -Dwrapper.key="JyYCRLSjmnekB--5" -Dwrapper.port=32000 -Dwrapper.jvm.port.min=31000 -Dwrapper.jvm.port.max=31999 -Dwrapper.debug="TRUE" -Dwrapper.pid=3604 -Dwrapper.version="3.3.5" -Dwrapper.native_library="wrapper" -Dwrapper.service="TRUE" -Dwrapper.cpu.timeout="10" -Dwrapper.jvmid=1 com.sharpbancsystems.ATM.ATMoPOSt > DEBUG | wrapper | 2013/11/20 08:59:35 | JVM started (PID=4076) > INFO | jvm 1 | 2013/11/20 08:59:36 | ATMoPOSt starting ... > INFO | jvm 1 | 2013/11/20 08:59:36 | ATMoPost: No Args - using defaults > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: WrapperManager class initialized by thread: main Using classloader: sun.misc.Launcher$AppClassLoader@12360be0 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: Initializing... > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: JVM #1 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Running a 64-bit JVM. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Registering shutdown hook > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Using wrapper > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Registered MBean with Platform MBean Server: org.tanukisoftware.wrapper:type=WrapperManager > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Load native library. One or more attempts may fail if platform specific libraries do not exist. This is NORMAL and is only a problem if they all fail. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Unable to load native library: wrapper-windows-x86-64.dll Cause: no wrapper-windows-x86-64 in java.library.path > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Unable to load native library: wrapper.dll Cause: no wrapper in java.library.path > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: WARNING - Unable to load the Wrapper's native library because none of the > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: following files: > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: wrapper-windows-x86-64.dll > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: wrapper.dll > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: could be located on the following java.library.path: > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: C:\ATMoPOStR2009\..\lib > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: Please see the documentation for the wrapper.java.library.path > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: configuration property. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: System signals will not be handled correctly. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager: > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Java Version : 1.6.0_45-b06 Java HotSpot(TM) 64-Bit Server VM > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Java VM Vendor : Sun Microsystems Inc. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: OS Name : Windows Server 2012 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: OS Arch : amd64 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Startup runner thread started. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Control event monitor thread started. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: WrapperManager.start(com.sharpbancsystems.ATM.ATMoPOSt@5f70bea5, args[]) called by thread: main > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Communications runner thread started. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Open socket to wrapper...Wrapper-Connection > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Opened Socket from 31000 to 32000 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Send a packet KEY : JyYCRLSjmnekB--5 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: handleSocket(Socket[addr=/127.0.0.1,port=32000,localport=31000]) > DEBUG | wrapperp | 2013/11/20 08:59:36 | accepted a socket from 127.0.0.1 on port 31000 > DEBUG | wrapperp | 2013/11/20 08:59:36 | read a packet KEY : JyYCRLSjmnekB--5 > DEBUG | wrapper | 2013/11/20 08:59:36 | Got key from JVM: JyYCRLSjmnekB--5 > DEBUG | wrapperp | 2013/11/20 08:59:36 | send a packet LOW_LOG_LEVEL : 1 > DEBUG | wrapperp | 2013/11/20 08:59:36 | send a packet PING_TIMEOUT : 30 > DEBUG | wrapperp | 2013/11/20 08:59:36 | send a packet PROPERTIES : (Property Values) > DEBUG | wrapper | 2013/11/20 08:59:36 | Start Application. > DEBUG | wrapperp | 2013/11/20 08:59:36 | send a packet START : start > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Received a packet LOW_LOG_LEVEL : 1 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: LowLogLevel from Wrapper is 1 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Received a packet PING_TIMEOUT : 30 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: PingTimeout from Wrapper is 30000 > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Received a packet PROPERTIES : (Property Values) > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Received a packet START : start > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: calling WrapperListener.start() > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: WrapperListener.start runner thread started. > INFO | jvm 1 | 2013/11/20 08:59:36 | Called start > INFO | jvm 1 | 2013/11/20 08:59:36 | Loading property file ./conf/properties/database.properties > INFO | jvm 1 | 2013/11/20 08:59:36 | Setting property atmswitch.database.ipaddress to 10.10.30.130 > INFO | jvm 1 | 2013/11/20 08:59:36 | Setting property sqljdbc.version to 4.0 > INFO | jvm 1 | 2013/11/20 08:59:36 | Setting property database.name to ATMoPOSt > INFO | jvm 1 | 2013/11/20 08:59:36 | Setting property jdbc.version to 4.0 > INFO | jvm 1 | 2013/11/20 08:59:36 | Setting property database.type to sqlserver > INFO | jvm 1 | 2013/11/20 08:59:36 | Setting property database.class to com.microsoft.sqlserver.jdbc.SQLServerDriver > INFO | jvm 1 | 2013/11/20 08:59:36 | XMLConfiguration: filename =conf//ATMServer.xml, monitorTime=0, true,conf\ATMServer.xml > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: returned from WrapperListener.start() > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Send a packet STARTED : > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: WrapperListener.start runner thread stopped. > INFO | jvm 1 | 2013/11/20 08:59:36 | WrapperManager Debug: Startup runner thread stopped. > DEBUG | wrapperp | 2013/11/20 08:59:36 | read a packet STARTED : > DEBUG | wrapper | 2013/11/20 08:59:36 | JVM signalled that it was started. > INFO | jvm 1 | 2013/11/20 08:59:36 | XMLConfiguration: filename =conf//ATMServer.xml, monitorTime=0, true,conf\ATMServer.xml > INFO | jvm 1 | 2013/11/20 08:59:36 | Monitoring:conf\ATMServer.xml > INFO | jvm 1 | 2013/11/20 08:59:36 | jdbc:sqlserver://10.10.30.130;databaseName=ATMoPOSt;integratedSecurity=true;EnableBulkLoad=true;BulkLoadBatchSize=1000 > INFO | jvm 1 | 2013/11/20 08:59:36 | driver = com.microsoft.sqlserver.jdbc.SQLServerDriver > INFO | jvm 1 | 2013/11/20 08:59:36 | Driver version = 4.0 > INFO | jvm 1 | 2013/11/20 08:59:36 | DB properties:{} > INFO | jvm 1 | 2013/11/20 08:59:36 | ****************jdbc:sqlserver://10.10.30.130;databaseName=ATMoPOSt;integratedSecurity=true;EnableBulkLoad=true;BulkLoadBatchSize=1000,1.6.0_45 > INFO | jvm 1 | 2013/11/20 08:59:37 | Nov 20, 2013 8:59:36 AM com.microsoft.sqlserver.jdbc.AuthenticationJNI <clinit> > INFO | jvm 1 | 2013/11/20 08:59:37 | WARNING: Failed to load the sqljdbc_auth.dll cause : no sqljdbc_auth in java.library.path > DEBUG | wrapperp | 2013/11/20 08:59:37 | send a packet SERVICE_CONTROL_CODE : 4 > DEBUG | wrapper | 2013/11/20 08:59:37 | SERVICE_CONTROL_INTERROGATE > DEBUG | wrapperp | 2013/11/20 08:59:37 | send a packet SERVICE_CONTROL_CODE : 4 > DEBUG | wrapper | 2013/11/20 08:59:37 | SERVICE_CONTROL_INTERROGATE > INFO | jvm 1 | 2013/11/20 08:59:37 | WrapperManager Debug: Received a packet SERVICE_CONTROL_CODE : 4 > INFO | jvm 1 | 2013/11/20 08:59:37 | WrapperManager Debug: ServiceControlCode from Wrapper with code 4 > INFO | jvm 1 | 2013/11/20 08:59:37 | WrapperManager Debug: Received a packet SERVICE_CONTROL_CODE : 4 > INFO | jvm 1 | 2013/11/20 08:59:37 | WrapperManager Debug: ServiceControlCode from Wrapper with code 4 > DEBUG | wrapperp | 2013/11/20 08:59:44 | send a packet PING : ping > INFO | jvm 1 | 2013/11/20 08:59:44 | WrapperManager Debug: Received a packet PING : ping > INFO | jvm 1 | 2013/11/20 08:59:44 | WrapperManager Debug: Send a packet PING : ping > DEBUG | wrapperp | 2013/11/20 08:59:44 | read a packet PING : ping > DEBUG | wrapperp | 2013/11/20 08:59:47 | send a packet SERVICE_CONTROL_CODE : 4 > DEBUG | wrapper | 2013/11/20 08:59:47 | SERVICE_CONTROL_INTERROGATE > INFO | jvm 1 | 2013/11/20 08:59:47 | WrapperManager Debug: Received a packet SERVICE_CONTROL_CODE : 4 > INFO | jvm 1 | 2013/11/20 08:59:47 | WrapperManager Debug: ServiceControlCode from Wrapper with code 4 > DEBUG | wrapperp | 2013/11/20 08:59:53 | send a packet PING : ping > INFO | jvm 1 | 2013/11/20 08:59:54 | WrapperManager Debug: Received a packet PING : ping > INFO | jvm 1 | 2013/11/20 08:59:54 | WrapperManager Debug: Send a packet PING : ping > DEBUG | wrapperp | 2013/11/20 08:59:54 | read a packet PING : ping > DEBUG | wrapperp | 2013/11/20 08:59:58 | send a packet SERVICE_CONTROL_CODE : 4 > DEBUG | wrapper | 2013/11/20 08:59:58 | SERVICE_CONTROL_INTERROGATE > INFO | jvm 1 | 2013/11/20 08:59:58 | WrapperManager Debug: Received a packet SERVICE_CONTROL_CODE : 4 > INFO | jvm 1 | 2013/11/20 08:59:58 | WrapperManager Debug: ServiceControlCode from Wrapper with code 4 > DEBUG | wrapperp | 2013/11/20 09:00:03 | send a packet PING : ping > INFO | jvm 1 | 2013/11/20 09:00:03 | WrapperManager Debug: Received a packet PING : ping > INFO | jvm 1 | 2013/11/20 09:00:03 | WrapperManager Debug: Send a packet PING : ping > DEBUG | wrapperp | 2013/11/20 09:00:03 | read a packet PING : ping > DEBUG | wrapperp | 2013/11/20 09:00:08 | send a packet SERVICE_CONTROL_CODE : 4 > DEBUG | wrapper | 2013/11/20 09:00:08 | SERVICE_CONTROL_INTERROGATE > INFO | jvm 1 | 2013/11/20 09:00:08 | WrapperManager Debug: Received a packet SERVICE_CONTROL_CODE : 4 > INFO | jvm 1 | 2013/11/20 09:00:08 | WrapperManager Debug: ServiceControlCode from Wrapper with code 4 > DEBUG | wrapperp | 2013/11/20 09:00:12 | send a packet PING : ping > INFO | jvm 1 | 2013/11/20 09:00:12 | WrapperManager Debug: Received a packet PING : ping > INFO | jvm 1 | 2013/11/20 09:00:12 | WrapperManager Debug: Send a packet PING : ping > DEBUG | wrapperp | 2013/11/20 09:00:12 | read a packet PING : ping > DEBUG | wrapperp | 2013/11/20 09:00:18 | send a packet SERVICE_CONTROL_CODE : 4 > DEBUG | wrapper | 2013/11/20 09:00:18 | SERVICE_CONTROL_INTERROGATE > INFO | jvm 1 | 2013/11/20 09:00:18 | WrapperManager Debug: Received a packet SERVICE_CONTROL_CODE : 4 > INFO | jvm 1 | 2013/11/20 09:00:18 | WrapperManager Debug: ServiceControlCode from Wrapper with code 4 > INFO | jvm 1 | 2013/11/20 09:00:20 | PassThrougDBConnection.connect() SQLException in connect:com.microsoft.sqlserver.jdbc.SQLServerException: This driver is not configured for integrated authentication. ClientConnectionId:e55783b7-5408-4d3a-8290-042e71dc8450 > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection.terminate(SQLServerConnection.java:1667) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.AuthenticationJNI.<init>(AuthenticationJNI.java:60) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection.logon(SQLServerConnection.java:2229) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection.access$000(SQLServerConnection.java:41) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection$LogonCommand.doExecute(SQLServerConnection.java:2220) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.TDSCommand.execute(IOBuffer.java:5696) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection.executeCommand(SQLServerConnection.java:1715) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection.connectHelper(SQLServerConnection.java:1326) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection.login(SQLServerConnection.java:991) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerConnection.connect(SQLServerConnection.java:827) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.SQLServerDriver.connect(SQLServerDriver.java:1012) > INFO | jvm 1 | 2013/11/20 09:00:20 | at java.sql.DriverManager.getConnection(Unknown Source) > INFO | jvm 1 | 2013/11/20 09:00:20 | at java.sql.DriverManager.getConnection(Unknown Source) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.sharpbancsystems.util.db.PassThroughDBConnection.connect(PassThroughDBConnection.java:181) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.sharpbancsystems.ATM.ATMServer.loadXmlConfiguration(ATMServer.java:619) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.sharpbancsystems.ATM.ATMServer.checkConfiguration(ATMServer.java:1060) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.sharpbancsystems.ATM.ATMServer.run(ATMServer.java:1132) > INFO | jvm 1 | 2013/11/20 09:00:20 | at java.lang.Thread.run(Unknown Source) > INFO | jvm 1 | 2013/11/20 09:00:20 | Caused by: java.lang.UnsatisfiedLinkError: no sqljdbc_auth in java.library.path > INFO | jvm 1 | 2013/11/20 09:00:20 | at java.lang.ClassLoader.loadLibrary(Unknown Source) > INFO | jvm 1 | 2013/11/20 09:00:20 | at java.lang.Runtime.loadLibrary0(Unknown Source) > INFO | jvm 1 | 2013/11/20 09:00:20 | at java.lang.System.loadLibrary(Unknown Source) > INFO | jvm 1 | 2013/11/20 09:00:20 | at com.microsoft.sqlserver.jdbc.AuthenticationJNI.<clinit>(AuthenticationJNI.java:35) > INFO | jvm 1 | 2013/11/20 09:00:20 | ... 16 more > > 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" > ------------------------------------------------------------------------------ > Shape the Mobile Experience: Free Subscription > Software experts and developers: Be at the forefront of tech innovation. > Intel(R) Software Adrenaline delivers strategic insight and game-changing > conversations that shape the rapidly evolving mobile landscape. Sign up now. > http://pubads.g.doubleclick.net/gampad/clk?id=63431311&iu=/4140/ostg.clktrk_______________________________________________ > Wrapper-user mailing list > Wra...@li... > https://lists.sourceforge.net/lists/listinfo/wrapper-user |