windows-server-2008

log4j:ERROR Failed to rename

你说的曾经没有我的故事 提交于 2019-12-03 07:50:43
I get this error "log4j:ERROR Failed to rename" in my tomcat server log. I have multiple DailyRollingFileAppender in my log4j XML. And each appender points to different file. Only once instance of the application is running. I used Handle utility and run the command (with log file name as parameter) handle -f ams-app.log and the result is Tomcat7.exe pid: 5032 type: File 54C: E:\apps\ams\logs\ams-app.log From this I assume there is only one lock on the file. My environment Windows Server 2008, tomcat 7.0 and Java 6 and slf4j-log4j12(1.5.6) This problem was not happening when same application

SSIS Package runs for 500x longer on one server

本小妞迷上赌 提交于 2019-12-03 07:15:01
I have an SSIS package--two data flow tasks, 8 components each, reading from two flat files, nothing spectacular. If I run it in BIDS, it takes reliably about 60 seconds. I have a sandbox DB server with the package running in a job which also takes reliably 30-60 seconds. On my production server, the same job with the same package takes anywhere from 30 seconds to 12 hours . With logging enabled on the package, it looks like it bogs down--initially at least--in the pre-execute phase of one or the other (or both) data flow tasks. But I can also see the data coming in--slowly, in chunks, so I

MariaDB not allowing remote connections

 ̄綄美尐妖づ 提交于 2019-12-03 06:45:41
As the screenshots show, I have the accounts setup to allow remote connections but as shown in the second screenshot I still cannot connect remotely. Mysql by default binds to 0.0.0.0 which is all interfaces on your system. Which means you can already connect from another computer. The issue is perhaps permissions. You can enable remote connections by running the following command: GRANT ALL PRIVILEGES ON *.* TO 'root'@'192.168.%' IDENTIFIED BY '' WITH GRANT OPTION; LandiLeite I use for testing in the virtual machine (Ubuntu 16.04), for me, I fixed the error changing the file 50-server.cnf .

Can't copy files to UNC Destinations if BAT file is called via scheduled task

こ雲淡風輕ζ 提交于 2019-12-03 06:13:50
问题 I have a bat file copying files from current machine to mapped network drive (one line, xcopy command). It works when I RDP to server. However, when I run as a scheduled task, and configure it to run under the same user I'm logged in, it doesn't work and give error 0x4. Is there a way I can achieve this? I also try dsynchronize and it works when I click synchronized. When I run it as service same issue. 回答1: I was able to figure it out. Following batch files works under scheduler, even as

Installing Tomcat 7 as Service on Windows Server 2008

江枫思渺然 提交于 2019-12-03 05:10:29
I want to install my tomcat v7.0.12 as a service on my Windows 2008 Server. On the tomcat page I found this tutorial . But there isn't a service.bat file in my installation dir. In the service overview of WS2008 it isn't possible easily create a new service like new->service ... Sunil To Start Tomcat7 Service : Open cmd, go to bin directory within "Apache Tomcat 7" folder. You will see some this like C:\..\bin> Enter above command to start the service: C:\..\bin>service.bat install . The service will get started now. Enter above command to start tomcat7w monitory service. If you have issue

Installing Oracle 10 ODP.NET on Microsoft Windows 2008 Server 64bit

Deadly 提交于 2019-12-03 05:06:25
I've tried to install " Oracle10g Release 2 ODAC (64-bit) 10.2.0.3 for Windows x64 " from: http://www.oracle.com/technology/software/tech/windows/odpnet/64-bit/index.html on Windows 2008 server 64bit , but it crushes right after i run the setup.exe with the following error: Problem signature: Problem Event Name: APPCRASH Application Name: javaw.exe Application Version: 5.0.40.5 Application Timestamp: 42a019e4 Fault Module Name: StackHash_5c81 Fault Module Version: 6.0.6001.18000 Fault Module Timestamp: 4791adec Exception Code: c0000374 Exception Offset: 00000000000a6e97 OS Version: 6.0.6001.2

PTP sync on windows server (compared to i.e. Linux) - what precision can be guaranteed

谁说我不能喝 提交于 2019-12-03 04:00:18
I would like to know if everyone knows how precise PTP synchronization can be guaranteed on Windows Server 2008. I know about this thread: What is the minimum guaranteed time for a process in windows? which discusses windows' native time and yes, this does not give any guarantees at all. But what when it comes to hardware solutions (PTP)? Are there any limitations preventing a guarantee of < 1ms? I know the processes depending on the time will be competing for CPU time but if the process DOES have CPU time when needed, are there anything else the might come in the way? EDIT 1: I added "

How to index Word 2003, 2007 and 2010 documents using Lucene.NET

亡梦爱人 提交于 2019-12-03 03:41:04
I am writing a custom Lucene.NET indexer to enable indexing of MS Word documents. The indexer must be capable of handling last three releases of MS Word: 2010, 2007 and 2003. The plan is to use VSTO interop assemblies that are installed as part of VS2010 to extract text content from the documents. Is there a better way to implement Word document indexing? Does this mean I will have to install all three versions of Word on the server? Or just Word 2010? Tools/Environment: Lucene.NET 2.3.1.3 VS2010 / .NET 3.5 Windows 2008 / IIS 7 Note: For details on how to implement this, see Sitecore text

My script won't run under the task scheduler. Why?

℡╲_俬逩灬. 提交于 2019-12-02 23:21:39
I have a vbscript script that I runs fine when I am running it myself. For some reason, when I run it under the task scheduler as an administration user, it runs, but doesn't even write to my log file. It shouldn't be permissions, as the user I run it under is adminstrator. Its a script calling 32 bit dlls on a Win2008 64 bit machine. C:\windows\SysWOW64\cscript.exe Bob.vbs I also set the local directory to where I run it from. Ironically the task scheduler says that "successfully finishes" running the task. Also, there are other scripts in the task scheduler running fine, its just this script

MSDeploy.exe can connect as Administrator, but not any other Windows account

时间秒杀一切 提交于 2019-12-02 23:10:02
I'm integrating MSDeploy into my build process, and having problems authenticating. The following command works fine: msdeploy -verb:sync -source:appHostConfig="KitchenPC",computerName=192.168.0.3,userName=Administrator,password=secret -dest:package=c:\DeployTest\KPC.zip However, this does NOT work: msdeploy -verb:sync -source:appHostConfig="KitchenPC",computerName=192.168.0.3,userName=kpcpublish,password=secret -dest:package=c:\DeployTest\KPC.zip And yields the error: Error Code: ERROR_USER_NOT_ADMIN More Information: Connected to '192.168.0.11' using the Web Deployment Agent Service, but