Vote count: 0 The GemFire tutorial shows that a locator is started withgfsh>start locator --name=locator1 --port=55221 In some parts of the tutorial the command to start a server is shown asgfsh>start server --name=server1 --J=-Dgemfire.jmx-manager=true --J=-Dgemfire.jmx-manager-start=true --J=-Dgemfire.http-port=8080 In this case, how does the server know the locator on which it will get registered? asked 38 secs agoYash This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolti...
ادامه مطلبVote count: 0 Question: How to make Jprofile 9.1 collect data from specific manged server and not from admin server ? Details: By going with Jprofile wizard (Profile application server) I am able to attached Jprofile to the ruing Admin server but I am unable to find any option that allow me to monitor specific manged server. In this question How can I coect Jprofiler with weblogic managed servers? one of the answer says the following: You're profiling the wrong server in that case. The VM parameter for JProfiler (-agentpath:...) has to be added to the JVM on which your application is executed. The answer trying to point to some parameter changes to be done but it is not clear how to do it. a...
ادامه مطلبVote count: 0 I am trying to design a simplistic personal-use server manager for Arma III. One feature of the manager would be to have Rcon access to your server to perform soft-restarts, etc. I assume rcon is possible in Java (because of Minecraft), but I caot seem to find a library or documentation on it. Does anyone have a library to use to remote coect to a server through Java? asked 15 secs agoDominic Pilla This entry passed through the Full-Text RSS service - if this is your content and you're reading it on someone else's site, please read the FAQ at fivefilters.org/content-only/faq.php#publishers.Recommended article from FiveFilters.org: Most Labour MPs in the UK Are Revolting....
ادامه مطلبVote count: 0 public void RejectOrder(string rejectReason, int selectedNewOrderId) { SFNewOrder sfNewOrder = mdbDataContext.SFNewOrders.FirstOrDefault(x => x.ID == selectedNewOrderId && !x.IsRejected); if (sfNewOrder != null) { sfNewOrder.IsRejected = true; } SFReject sfReject = new SFReject(); sfReject.SFNewOrderID = sfNewOrder.ID; sfReject.RejectReason = rejectReason; sfReject.RejectedDate = DateTime.Now; sfReject.RejectedBy = 2; mdbDataContext.SFRejects.InsertOnSubmit(sfReject); mdbDataContext.SubmitChanges(); } Here I want to change IsRejected property in SFNewOrder Table & Insert a new record In SFReject Table. But I m getting inteal server error on mdbDataContext.submitchanges(); Pleas...
ادامه مطلبVote count: 0 Error while trying to redirect HTML link from "ServerA-Apache" to "ServerB-Django app using Nginx and gunico". Server A-Apache html snipped: href="http://www.DOMAIN.com/contacts">Django Admin vim /etc/httpd/conf.d/httpd-vhosts.conf ServerName contacts.DOMAIN.com ProxyPass /contacts http://IP-B ProxyPassReverse /contacts http://IP-B vim /etc/httpd/conf.d/mod_proxy.conf ProxyPass /contacts http://IP-B ProxyPassReverse /contacts http://IP-B Server B-Nginx, Gunico vim /etc/nginx/sites-available/contacts server { listen 80; server_name IP-B; location /static/ { autoindex on; alias /opt/myenv/contactsproj/static/; } location / { proxy_pass http://IP-B:8000; proxy_set_header X-Forward...
ادامه مطلبVote count: 0 I'm trying to send a PDF for content extraction to a Tika Server but always get the error: "Caot convert text from stream using the source encoding" This is how Tika is expecting the files: "All services that take files use HTTP "PUT" requests. When "PUT" is used, the original file must be sent in request body without any additional encoding (do not use multipart/form-data or other containers)." Source https://wiki.apache.org/tika/TikaJAXRS#Services What is the correct way of sendig the file with XMLHttpRequest()? Code: var response, error, file, blob, xhr; file = new File("/PROJECT/web/dateien/ai/pdf.pdf"); blob = file.toBuffer().toBlob("application/pdf"); url = "http://localh...
ادامه مطلبVote count: 0 I found this code for a simple chat server here http://www.ibm.com/developerworks/linux/tutorials/l-pysocks/ and it works using telnet. It works so beautifully and i really want to modify it to have a GUI.I don't understand how do i have the clients type in the messages through a GUI window instead of the terminal using telnet.I am attaching the code for ease : import socket import select class ChatServer: def __init__( self, port ): self.port = port; self.srvsock = socket.socket( socket.AF_INET, socket.SOCK_STREAM ) self.srvsock.setsockopt...
ادامه مطلبVote count: 0 I am trying to use a curried fn with a closure as a callback to the servers request event. It works the first time a client makes a request (the html is sent and diplayed) but the second time the page is blank. Does node erase the closure after calling the cb once? // server.js var pype = function(self, arr, errorHandler, cb) { var i = 0, req, res, run = function() { arr[i].call(self, req, res, next); }, next = function(err) { if (err && errorHandler) { retu errorHandler.call(self, err, req, res); } i++ if (i < arr.length) { retu run(); } else if (cb) { retu cb.call(self, req, res); } } retu function(request, response) { req = request; res = response; run(); } }; var http = req...
ادامه مطلبVote count: 0 I'm trying to start Sql server express from command line using the following command: net start MSSQL$SQLEXPRESS But I get this error: System error 5 has occurred. Access is denied. I have administrator privilege and my OS is windows 7. asked 1 min agoe.s Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Let's say, there is a lot of namespaces and to each namespace may be coected a lot of clients. My question is. Does it make any sense to create and destroy these namespaces dynamically. Meaning, if no client is coected to namespace then destroying it. And, at first client coection creating it. Will it spare some server performance or it will be just the same (or worse) as creating all possible namespaces at the start of node.js application. asked 29 secs agoMartin Cmarko Let's block ads! بخوانید...
ادامه مطلبVote count: 0 Hows it going. Here is what is happening: I have an Excel "program" where there are 200 workbooks that are linked to one another over a private cloud file sharing network. (Dropbox.com) Each workbook is edited from a different server but is still part of the same file sharing Dropbox network. It is also Macro enabled. My goal is the following: I would like to have all 200 workbooks that are shared on this file network to have automatically updating links from VARIOUS servers. The problem I am having: Users would have to manually open all of the 200 workbooks in order for their links to be updated. (They had access to all 200) After doing a few tests, my best reasoning is becaus...
ادامه مطلبVote count: 0 I want to execute a R script (named script.R) within PHP code with an Apache Web Server. Here is my R code : I install packages then import data then I can proceed a classification tree on the data: library(lubridate) library(plyr) library(rpart) library(sqldf) library(survival) library(randomForest) library(rpart.plot) data=read.table(file = "t.txt",header = T,sep = ";",stringsAsFactors = T) input=read.table(file = "file.txt",header = T,sep = ";",stringsAsFactors = T) tree=rpart(sat~.,data,method="class") png("tree.png", width=1000, height=800, antialias="cleartype") plot(tree, uniform=TRUE, main="Classification Tree") text(tree, use.n=TRUE, all=TRUE, cex=0.8) dev.off() My php...
ادامه مطلبVote count: 0 I'm trying to verify my installation following the Sqoop 5 minutes guide. However, I get the following error message: $ sqoop2-shell Sqoop home directory: /home/iidev20/sqoop-1.99.6-bin-hadoop200 Loading resource file .sqoop2rc sqoop:000> set server --host 9.181.139.59 Server is set successfully ===> OK Resource file loaded. Sqoop Shell: Type 'help' or 'h' for help. sqoop:000> show version --all client version: Sqoop 1.99.6 source revision 07244c3915975f26f03d9e1edf09ab7d06619bb8 Compiled by root on Wed Apr 29 10:40:43 CST 2015 0 [main] WARN org.apache.hadoop.util.NativeCodeLoader - Unable to load native-hadoop library for your platform... using builtin-java classes where appli...
ادامه مطلبVote count: 0 It seems that Laravel forge has the following deploy process (1) Git push from my PC to Bitbucket (2) Webhook from Bitbucket to Forge server (3) Copy deploy-script file and execute it on my own server via SSH from Forge server Sample deploy-script file cd /path/to/dir git pull origin sample-repo composer install --no-interaction --no-dev --prefer-dist --no-scripts php artisan clear-compiled php artisan optimize php artisan migrate It's no problem if the target server is only one. But I have some instances for load balancing. In this case, I think Laravel forge deployment isn't suitable. Do you agree with that? I'm looking for another solution. http://wercker.com/ is one possibl...
ادامه مطلبVote count: 0 Is there a grunt task that can pull down or copy a file from a remote server into your local build? asked 23 secs agoDave Let's block ads! بخوانید...
ادامه مطلبVote count: 0 is it possible to do this , im trying to validate a form then, it will redirect using header() if TRUE.. but it seems not to be working? or my method is completely wrong ? if ($_SERVER["REQUEST_METHOD"] == "POST") { $email = $_POST["clientEmail"]; if ($email != $sentEmailClients) { echo 'Please enter a valid email'; } else{ $newURL = "http://www.myurl.com"; header('Location: '.$newURL); } } asked 40 secs agojmv Let's block ads! بخوانید...
ادامه مطلبVote count: 0 I'm having a problem with old Log files not being deleted after the retention period expires in a Log Shipping Job (Error Message Below) The SQL Servers Service account obviously has access to the folder since it is able to create the backup files. I suspicion is that perhaps the delete part of the Job executes under the credentials of the SQL Agent rather than the credentials of the SQL Server Service. However I can't find any information to confirm this hypothesis. 2016-07-02 17:15:01.73 Deleting old log backup files. Primary Database: 'DBNAME' 2016-07-02 17:15:01.77 *** Error: Could not delete old log backup files.(Microsoft.SqlServer.Management.LogShipping) *** 2016-07-02 1...
ادامه مطلبVote count: 0 I have a server ruing a website. I need this server to be able to administer (only downstream) notifications to three separate device groups, Android, iOS, and a client-side web app. I am trying to use firebase cloud messaging. With FCM, I plan on using the http protocol to send json messages. Aside from this, I am pretty confused about where to go. I know that GCM tutorials should pretty much be exactly the same as FCM tutorials, but I am having trouble finding a tutorial to figure out what I need to be doing, as each tutorial seems to mix up the server and client side applications together, which is confusing me. I have been through https://firebase.google.com/docs/cloud-mess...
ادامه مطلبVote count: 0 I am trying to run my SQL Server based Winform application from two computers which are coected in LAN.(Desktop PC, Laptop) I followed MSDN and the below mentioned StackOverflow answers: LINK 1 (Verified Answer) LINK 2 (dyslexicanaboko's Answer) I tried the below steps: My Winform app's coection string: In my Laptop: I have SQL Server 2008 R2 Enterprise edition, Windows 7 64bit Ultimate. In SQL Server Configuration Manager, I enabled the protocol for TCP/IP for my instance "SAINSTANCE" and in the IP addresses, I specified TCP port as 1433 for all IPs. In IP4, I mentioned my Laptop's IP 192.168.1.6 and restarted SQL Server Instance and SQL Server Agent. In Firewall setting, Inbo...
ادامه مطلبVote count: -1 How would I go about tuning the following t-sql query? The execution plan looks ok (i.e it is using index seeks, index scans). asked 1 min agoAjit Goel Let's block ads! بخوانید...
ادامه مطلب