How to restart remote cache server
Hi,
I could run cache server on remote JVM, but fails to restart even though i have configured correctly the cache server configuration file.
Please help, thanks!
Hi,
You have to add followings to your cluster configuration as below
<shutdown-listener>
<enabled system-property="tangosol.coherence.shutdownhook">true</enabled>
</shutdown-listener>
Hope this can help you.
Similar Messages
-
How-To: Restart the Database Server (SQL Server) in SharePoint Farm safely ?
Hello,
My farm has 4 SharePoint servers: 2 Application-Servers, and 2 WFE-Servers.
Each WFE-Server is running Distributed Cache service which means, I have 2 Distributed Cache service.
I must restart my SQL Server, But, How can I do that without losing the Cached data?
I can use Stop-SPDistributedCacheServiceInstance -Graceful which will move the cache from one server to another, But, what to do with the other one then?
I am really concerned because TechNet says: "Stopping the cache results in partial data loss. The Feed Cache depends on the Distributed Cache service.
Tags and document activities are saved only to the Feed Cache.
Tags and document activities are not persisted to content databases."
https://technet.microsoft.com/EN-US/library/jj219613.aspx#startstopcache
What can be done ?Hi,
In my opinion you do not need to stop the distributed cache service.
You are correct the graceful shutdown will work if you want to stop a cache host. it is graceful because it should move the cache data to the other host(s).
I believe that the SQL is not hosted on SharePoint server?
My opinion is that no data should be lost if the SQL is not available for a limited period of time. The Distributed Cache is in memory cache.
You will however have downtime in case you are not using any High Availability solution for your SQL.
In case the period of maintenance on your SQL is longer you should plan it better and maybe stop the SharePoint Farm as described here
https://technet.microsoft.com/en-us/library/cc512725.aspx?f=255&MSPPError=-2147217396 (Move all databases section).
Ivan Yankulov
SharePoint Admin/Consultant
http://spyankulov.blogspot.com/
This post is my own opinion and does not necessarily reflect the opinion or view of Microsoft -
Hi,
on tools 8.49 on Unix AIX, I'm reading this
E-WL: What is Verbose Garbage Collection (verbosegc) and How do I Enable it on WebLogic? [ID 759137.1]
and it is asked to :
2. Restart the web server
How should I do that ?
Thank you.If it is restart, then you need to stop it first and then stat it again.
cd $PS_HOME/webserv
ls
(then you find your domain directory)
cd <your domain directory>
cd bin
./stopPIA.sh
(wait for conclusion)
./startPIA.sh -
How to contact remot mysql server
hello everyone
I am programming a java application,needing to contact remote mysql server, how should i do?
for example:
the mysql server ip is:192.168.0.1
user:chengshwu
password:123456
what driver should i select?how should i writing the classForName() and DriverManager.getConnection
thanks for you helpwhat driver should i select?mysql driver offcourse from here
http://servlet.java.sun.com/products/jdbc/drivers
how should i writing the
classForName() and DriverManager.getConnectionhere is a good tutorial which explains.
http://java.sun.com/docs/books/tutorial/jdbc/basics/connecting.html
thanks for you helpyou welcome -
How to restart single application server(ABAP Stack)without effecting users
Hi Experts,
I Want to restart one application server(ABAP Stack) in my clustered environment with out effecting endusers. I believe can be done it by transfering users request to other application servers. Please let me know the steps to perform this activity.
Cheers
DVHi,
Yes, you need to wait for the users to disconnect from the app server and remove the server from the logon groups.
You should also remove the batch processes with an operation mode switch.
Beware also if you have HTTP applications and you use a web dispatcehr for load balancing.
Regards,
Olivier -
How to restart a virtual server in WS7
Does anybody know host restart a virtual server without restarting the whole instance?
Thanks.you can run 'bin/reconfig' - this will make any changes (that does not require a restart) available to the running server (this includes all virtual servers configured within this server instance) without requiring a restart - i mean without any downtime
no, there is no way to make dynamic reconfig work only for a single virtual server. but i guess, what you care most is - ability to modify a setting for a virtual server without disturbing other virtual servers - 'bin/reconfig' is probably what u r looking for. -
How to restart the Netweaver Server without restarting the whole OS (Suse)
We are setting up the SAP Netweaver Java on Suse Linux Trial in VMWare.
We require to restart the Netweaver Server several times. Is there a possibilty to restart the Netweaver Server without restarting the whole Suse Linux Server Operating System?Hello Deniz,
startsap and stopsap have the folllowing syntax :
startsap [db|r3|j2ee|all|check] [<instance>]
you could use startsap/stopsap to start/stop any of the db or r3 or j2ee or any particular instance.
e.g.
startup db
startsap r3
startsap j2ee (just j2ee part)
similarly for stopsap
if you have multiple instance you could use the instance ABC as
startsap ABC
If you just want to restart any particular process of j2ee engine, you could use jcmon.
Hope that helps.
Snehal -
How to apply Qos in the precedence of cache server
m in an isp and iwant to apply the QOS to enhance my network internet performance
actually i have two requests , i will start with showing brief topology about my network and start asking the questions .
here is the topology below :
from the topology above , my access is only on R1 which is BGP internet gateway router and R2 is my ISP router.
1- i want to apply Qos on R1 so that a subnet of 32 ips to have gurantee bandwidth of 30M .
assume the subnet is 10.20.30.0/27 that need to be bw gurantee .
2- i want the download traffic by idman or ftp on my Router R1 dont exceed 50 % of my total bw .
i mean that i have 450M bandwith from my isp , & sometimes we have a slow in browsing , so i want to enhance the browsing quality because its more important that downloading files from internet.
here is my two requests above , i dont know how it will work with the precedence of the cache server .
anyway , i will paste my config of router and i will replace my puplic ips with xxx for privacy .
7200Gateway#sh run
Building configuration...
Current configuration : 10149 bytes
upgrade fpd auto
version 12.4
service timestamps debug datetime msec
service timestamps log datetime msec
service password-encryption
hostname 7200Gateway
boot-start-marker
boot-end-marker
logging message-counter syslog
logging buffered 50000
enable secret xxxxxxxxxxxxxx
no aaa new-model
ip source-route
ip wccp 80 redirect-list CACHE80
ip wccp 90 redirect-list CACHE90
ip cef
no ip domain lookup
ip accounting-threshold 4294967295
login block-for 180 attempts 3 within 60
login quiet-mode access-class telnet
login on-failure log
login on-success log
no ipv6 cef
multilink bundle-name authenticated
username xxxxxx password xxxxx
archive
log config
hidekeys
interface GigabitEthernet0/1
description LAN
bandwidth 230000
ip address 10.160.150.2 255.255.255.0
ip wccp 80 redirect in
ip policy route-map CACHE-REDIRECT
load-interval 30
duplex auto
speed auto
media-type rj45
negotiation auto
interface FastEthernet0/2
no ip address
shutdown
duplex auto
speed auto
interface GigabitEthernet0/2
description Cache
bandwidth 150000
ip address x.x.x.x 255.255.255.248
ip wccp redirect exclude in
load-interval 30
duplex auto
speed 1000
media-type rj45
negotiation auto
interface GigabitEthernet0/3
description Internet
bandwidth 230000
ip address x.x.x.x 255.255.255.252
ip wccp 90 redirect in
load-interval 30
duplex full
speed 1000
media-type sfp
negotiation auto
router bgp zzzzzzz
no synchronization
bgp log-neighbor-changes
network xxxx mask xxxxx
network xxxx mask xxxx
network xxxx mask xxxxx
network xxxx mask xxxx
network xxxx mask xxxxx
network xxxx mask xxxx
redistribute connected
redistribute static
neighbor zzzzzzzz remote-as zzzzzzz
neighbor zzzzzzz password zzzzzzz
neighbor zzzzzz route-map Pipo out
no auto-summary
ip forward-protocol nd
ip route 0.0.0.0 0.0.0.0 xxxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
ip route xxxxxxxx 255.255.0.0 xxxxxxxxxx
no ip http server
no ip http secure-server
ip flow-top-talkers
top 200
sort-by bytes
cache-timeout 5000
ip access-list extended bb
permit ip xxxx.xxxx.xx.0 0.0.1.255 any
ip access-list extended CACHE80
permit tcp xxxxxxx any eq www
ip access-list extended CACHE90
permit tcp any xxxxx.0 0.0.0.255
ip access-list extended pipo
permit ip xxxxx xxxxxxx any
permit ip xxxxx xxxxxxx any
ip access-list extended private
permit tcp 172.16.0.0 0.0.255.255 any eq www
permit ip 10.20.30.0 0.0.0.255 any
ip access-list extended telnet
permit ip xxxxxx xxxxxxx.255.255 any log
permit ip xxxx xxxxx 0.0.0.255 any log
ip prefix-list bb seq 5 permit xxxxx
ip prefix-list bbseq 10 permit xxxxxx
logging history size 500
no cdp run
route-map pipo permit 10
match ip address prefix-list pipo1
route-map pipo permit 20
match ip address prefix-list newsubnet
set metric 500
set origin incomplete
set as-path prepend xxxxxxxxx
route-map permit 10
match ip address prefix-list bibo
route-map CACHE-REDIRECT permit 10
match ip address private
set ip next-hop 1vvvvvv
route-map CACHE-REDIRECT permit 20
match ip address bibo e1
set ip next-hop vvvvvv
route-map CACHE-REDIRECT permit 30
match ip address pipo
set ip next-hop vvvvvvvvvv
route-map CACHE-REDIRECT permit 100
snmp-server community xxxxxx RO
control-plane
dial-peer cor custom
line con 0
password xxxxxxxx
logging synchronous
login
stopbits 1
line aux 0
stopbits 1
line vty 0 4
exec-timeout 60 0
password xxxxxxxxxxxxxxxxx
logging synchronous
login local
endHi Vinay,
Please check the program. I have used the replace statement but it is not working.
IF NOT v_sap_bom_rec IS INITIAL.
Spliting the records at '~' delimiter
SPLIT v_sap_bom_rec AT c_del INTO wa_bom_file-model_name
wa_bom_file-product_code
wa_bom_file-description
wa_bom_file-product_type
wa_bom_file-mfg_part_num
wa_bom_file-mfg_part_desc.
REPLACE cl_abap_char_utilities=>horizontal_tab IN wa_bom_file-mfg_part_desc WITH space .
wa_bom_file-status = c_status.
APPEND wa_bom_file TO i_bom_file.
But it is not working.
Please help me..
Thanks
Neelima -
How to restart password server?? Urgent!
Hi
Suddenly OD is showing up with Password server stopped - and nobody can log in or do anything related to passwords!
How do I restart the password server? Here's the log:
-12-15 09:21:20 CET - T[0xB0207000] - Plugin <BSD>, Version <2.0>, processed successfully.
2008-12-15 09:21:20 CET - T[0xB038D000] - Registered node /Configure
2008-12-15 09:21:20 CET - T[0xB038D000] - Plug-in Configure state is now active.
2008-12-15 09:21:20 CET - T[0xB0491000] - Plug-in LDAPv3 state is now active.
2008-12-15 09:21:20 CET - T[0xB0595000] - Registered Locally Hosted Node /BSD/local
2008-12-15 09:21:20 CET - T[0xB0595000] - Registered node /BSD/local
2008-12-15 09:21:20 CET - T[0xB0595000] - Plug-in BSD state is now active.
2008-12-15 09:21:20 CET - T[0xB040F000] - Registered Locally Hosted Node /Local/Default
2008-12-15 09:21:20 CET - T[0xB040F000] - Registered node /Local/Default
2008-12-15 09:21:20 CET - T[0xB040F000] - Plug-in Local state is now active.
2008-12-15 09:21:20 CET - T[0xB0513000] - Registered node /Search
2008-12-15 09:21:20 CET - T[0xB0513000] - Registered node /Search/Contacts
2008-12-15 09:21:20 CET - T[0xB0513000] - Registered node /Search/Network
2008-12-15 09:21:20 CET - T[0xB0513000] - Plug-in Search state is now active.
2008-12-15 09:21:21 CET - T[0xB030B000] - Registered node /Cache
2008-12-15 09:21:21 CET - T[0xB030B000] - Plug-in Cache state is now active.
2008-12-15 09:21:22 CET - T[0xB0207000] - Plugin "Active Directory", Version "1.6.3", is set to load lazily.
2008-12-15 09:21:22 CET - T[0xB0207000] - Plugin "PasswordServer", Version "4.0.3", is set to load lazily.
2008-12-15 09:21:32 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:21:34 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:21:34 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:21:57 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:22:22 CET - T[0xB0103000] - Plugin "PasswordServer", Version "4.0.3", loaded on demand successfully.
2008-12-15 09:22:22 CET - T[0xB0103000] - Plug-in PasswordServer state is now active.
2008-12-15 09:29:10 CET - T[0xA0786FA0] -
2008-12-15 09:29:10 CET - T[0xA0786FA0] - DirectoryService 5.5 (v514.23) starting up...
2008-12-15 09:29:10 CET - T[0xB0185000] - Initializing TCP ...
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin <Cache>, Version <1.0>, processed successfully.
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin <Configure>, Version <3.0>, processed successfully.
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin <Local>, Version <1.0>, processed successfully.
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin <LDAPv3>, Version <3.0>, processed successfully.
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin <Search>, Version <3.0>, processed successfully.
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin <BSD>, Version <2.0>, processed successfully.
2008-12-15 09:29:10 CET - T[0xB038D000] - Registered node /Configure
2008-12-15 09:29:10 CET - T[0xB038D000] - Plug-in Configure state is now active.
2008-12-15 09:29:10 CET - T[0xB0491000] - Plug-in LDAPv3 state is now active.
2008-12-15 09:29:10 CET - T[0xB0595000] - Registered Locally Hosted Node /BSD/local
2008-12-15 09:29:10 CET - T[0xB0595000] - Registered node /BSD/local
2008-12-15 09:29:10 CET - T[0xB0595000] - Plug-in BSD state is now active.
2008-12-15 09:29:10 CET - T[0xB0513000] - Registered node /Search
2008-12-15 09:29:10 CET - T[0xB0513000] - Registered node /Search/Contacts
2008-12-15 09:29:10 CET - T[0xB0513000] - Registered node /Search/Network
2008-12-15 09:29:10 CET - T[0xB0513000] - Plug-in Search state is now active.
2008-12-15 09:29:10 CET - T[0xB040F000] - Registered Locally Hosted Node /Local/Default
2008-12-15 09:29:10 CET - T[0xB040F000] - Registered node /Local/Default
2008-12-15 09:29:10 CET - T[0xB040F000] - Plug-in Local state is now active.
2008-12-15 09:29:10 CET - T[0xB030B000] - Registered node /Cache
2008-12-15 09:29:10 CET - T[0xB030B000] - Plug-in Cache state is now active.
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin "Active Directory", Version "1.6.3", is set to load lazily.
2008-12-15 09:29:10 CET - T[0xB0207000] - Plugin "PasswordServer", Version "4.0.3", is set to load lazily.
2008-12-15 09:29:19 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:29:20 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:29:20 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:29:44 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:29:58 CET - T[0xB0103000] - Plugin "PasswordServer", Version "4.0.3", loaded on demand successfully.
2008-12-15 09:29:58 CET - T[0xB0103000] - Plug-in PasswordServer state is now active.
2008-12-15 09:52:11 CET - T[0xA0786FA0] -
2008-12-15 09:52:11 CET - T[0xA0786FA0] - DirectoryService 5.5 (v514.23) starting up...
2008-12-15 09:52:11 CET - T[0xB0185000] - Initializing TCP ...
2008-12-15 09:52:11 CET - T[0xB0207000] - Plugin <Cache>, Version <1.0>, processed successfully.
2008-12-15 09:52:11 CET - T[0xB0207000] - Plugin <Configure>, Version <3.0>, processed successfully.
2008-12-15 09:52:11 CET - T[0xB0207000] - Plugin <Local>, Version <1.0>, processed successfully.
2008-12-15 09:52:11 CET - T[0xB0207000] - Plugin <LDAPv3>, Version <3.0>, processed successfully.
2008-12-15 09:52:11 CET - T[0xB0207000] - Plugin <Search>, Version <3.0>, processed successfully.
2008-12-15 09:52:11 CET - T[0xB0207000] - Plugin <BSD>, Version <2.0>, processed successfully.
2008-12-15 09:52:11 CET - T[0xB038D000] - Registered node /Configure
2008-12-15 09:52:11 CET - T[0xB038D000] - Plug-in Configure state is now active.
2008-12-15 09:52:11 CET - T[0xB0491000] - Plug-in LDAPv3 state is now active.
2008-12-15 09:52:11 CET - T[0xB0595000] - Registered Locally Hosted Node /BSD/local
2008-12-15 09:52:11 CET - T[0xB0595000] - Registered node /BSD/local
2008-12-15 09:52:11 CET - T[0xB0595000] - Plug-in BSD state is now active.
2008-12-15 09:52:11 CET - T[0xB040F000] - Registered Locally Hosted Node /Local/Default
2008-12-15 09:52:11 CET - T[0xB040F000] - Registered node /Local/Default
2008-12-15 09:52:11 CET - T[0xB040F000] - Plug-in Local state is now active.
2008-12-15 09:52:11 CET - T[0xB0513000] - Registered node /Search
2008-12-15 09:52:11 CET - T[0xB0513000] - Registered node /Search/Contacts
2008-12-15 09:52:11 CET - T[0xB0513000] - Registered node /Search/Network
2008-12-15 09:52:11 CET - T[0xB0513000] - Plug-in Search state is now active.
2008-12-15 09:52:12 CET - T[0xB030B000] - Registered node /Cache
2008-12-15 09:52:12 CET - T[0xB030B000] - Plug-in Cache state is now active.
2008-12-15 09:52:12 CET - T[0xB0207000] - Plugin "Active Directory", Version "1.6.3", is set to load lazily.
2008-12-15 09:52:12 CET - T[0xB0207000] - Plugin "PasswordServer", Version "4.0.3", is set to load lazily.
2008-12-15 09:52:20 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:52:21 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:52:22 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:52:46 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:54:57 CET - T[0xB0103000] - Plugin "PasswordServer", Version "4.0.3", loaded on demand successfully.
2008-12-15 09:54:57 CET - T[0xB0103000] - Plug-in PasswordServer state is now active.
2008-12-15 09:55:27 CET - T[0xA0786FA0] - Shutting down DirectoryService...
2008-12-15 09:56:56 CET - T[0xA0786FA0] -
2008-12-15 09:56:56 CET - T[0xA0786FA0] - DirectoryService 5.5 (v514.23) starting up...
2008-12-15 09:56:56 CET - T[0xB0185000] - Initializing TCP ...
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin <Cache>, Version <1.0>, processed successfully.
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin <Configure>, Version <3.0>, processed successfully.
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin <Local>, Version <1.0>, processed successfully.
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin <LDAPv3>, Version <3.0>, processed successfully.
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin <Search>, Version <3.0>, processed successfully.
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin <BSD>, Version <2.0>, processed successfully.
2008-12-15 09:56:56 CET - T[0xB038D000] - Registered node /Configure
2008-12-15 09:56:56 CET - T[0xB038D000] - Plug-in Configure state is now active.
2008-12-15 09:56:56 CET - T[0xB0491000] - Plug-in LDAPv3 state is now active.
2008-12-15 09:56:56 CET - T[0xB0595000] - Registered Locally Hosted Node /BSD/local
2008-12-15 09:56:56 CET - T[0xB0595000] - Registered node /BSD/local
2008-12-15 09:56:56 CET - T[0xB0595000] - Plug-in BSD state is now active.
2008-12-15 09:56:56 CET - T[0xB040F000] - Registered Locally Hosted Node /Local/Default
2008-12-15 09:56:56 CET - T[0xB040F000] - Registered node /Local/Default
2008-12-15 09:56:56 CET - T[0xB040F000] - Plug-in Local state is now active.
2008-12-15 09:56:56 CET - T[0xB0513000] - Registered node /Search
2008-12-15 09:56:56 CET - T[0xB0513000] - Registered node /Search/Contacts
2008-12-15 09:56:56 CET - T[0xB0513000] - Registered node /Search/Network
2008-12-15 09:56:56 CET - T[0xB0513000] - Plug-in Search state is now active.
2008-12-15 09:56:56 CET - T[0xB04A2000] - Local Plugin - index passed integrity check
2008-12-15 09:56:56 CET - T[0xB030B000] - BSD Plugin - index passed integrity check
2008-12-15 09:56:56 CET - T[0xB030B000] - Registered node /Cache
2008-12-15 09:56:56 CET - T[0xB030B000] - Plug-in Cache state is now active.
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin "Active Directory", Version "1.6.3", is set to load lazily.
2008-12-15 09:56:56 CET - T[0xB0207000] - Plugin "PasswordServer", Version "4.0.3", is set to load lazily.
2008-12-15 09:57:07 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:57:08 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:57:08 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:57:30 CET - T[0xB0081000] - Network transition occurred.
2008-12-15 09:59:14 CET - T[0xB0103000] - Plugin "PasswordServer", Version "4.0.3", loaded on demand successfully.
2008-12-15 09:59:14 CET - T[0xB0103000] - Plug-in PasswordServer state is now active.
Seems ok or what? - But nothing works!Since update to OS X Server 10.5.6 I have the same problem.
what is to do?? -
How to connect a CVS server with remote Hosts(NWDS7.0)
Hi Frndz..
I installed CVSNT server in one machine n itz workiing fine with that NWDS in that machine , now i want make connect that CVS server from remote machines NWDS's to use that CVS server as a central repo'
Can anyone guide me how can i connect that server from remote machines thru NWDS.
Thnaks in Advance
Regards
Rajeshrajesh,
did u check this link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/d079e754-8c85-2b10-8b9a-b36db5262122
Thanks
Bala Duvvuri -
How to create a Flex3 project with remote ColdFusion server?
I have a question related to Flex 3 and ColdFusion that it might be simple to answer but I have been struggling with it for a while.
How to create a Flex application using Flex Builder 3 that uses ColdFusion, but the ColdFusion server is not installed locally but in a remote server?
I need to create a Flex application to use with ColdFusion and although this is a simple procedure when we are creating the project in a computer where you have ColdFusion installed locally (as all books shows examples of it), but what if the ColdFusion server is installed in another machine in the network?
My current situation is the following:
- I have Flex Builder 3 install in my PC at work and its workspace is in a folder in the network outside of my PC.
- We have a server (ISWEB1) partition in two drives; C, where the ColdFusion 8 is installed and D where all the files the developers work with reside. The ColdFusion installation runs in a server where IIS is used as the web server.
- I have the drive D on the server ISWEB1 mapped to one of my letter drives and can access it easily
- The drive C on the Server can only be accessed remotely (or through the web to access the ColdFusion admin page) and is not exposed to the network as drive D is.
My problem is, I need to create a Flex 3 application that uses ColdFusion using remote object access service (CF Flash Remoting) but I wanted to point to the installation version on the server ISWEB1 and not to the one installed locally. The Configure ColdFusion Server screen in the Flex Builder asked me for the location of ColdFusion root folder, Web root, and root URL. There is no way I can point to the server (ISWEB1)where ColdFusion is installed as those fields seem to required a address that points to a local install or a mapping on that local server.
The work around that could be used is to use the ColdFusion developers edition I have installed locally and use during the creation of the project in Flex Builder, but then I would have to have all the same data sources, mappings, and CFCs in my the local server in order to test, which seems double work. To aggravate that when you try to test the application Flex writes the files to the local server and unless you have everything available locally it would not work properly. I am trying to avoid duplicating the work. Ideally I would like to test the Flex application on the server where the CF is installed and where the Flex Builder workspace is.Sort of. I found this article below that helped me to connect to the remote CF server using MXML. It seems that you have to create a regular project in Flex with Aplication Server Type set to None and connect to CF using the endpoint attribute of the RemoteObject MXML tag or via AS.
http://www.aliaspooryorik.com/blog/index.cfm/e/posts.details/post/200
However I found out after getting error using the AS3 code to use the endpoint property that
mx.rpc.remoting.RemoteObject does not support the "endpoint" property
whereas mx.rpc.remoting.mxml.RemoteObject does. See link below
http://www.mail-archive.com/[email protected]/msg101439.html//www.mail-archive.com/[email protected]/msg101439.html
So I had to change my AS3 code by adding a new channel to my RemoteObject using a code similar to the one on the link below (Note that this code uses PHP, when I instantiate myRemoteObject, I do so informing that the destination is "ColdFusion" [new RemoteObject("ColdFusion")], so no need to set destination as in the code on the link below
http://tech.groups.yahoo.com/group/flexcoders/message/120115
I hope that helps you. -
How to Configure Remote Connections To SQL Server 2008 R2 Express
Post written June 10, 2010 and pertains to:
SQL Server 2008 R2 Express on both my server and local machines: SQLX_SRV,
SQLX_LOC
SQL Server 2008 R2 Management Studio on both my server and local machines:
MS_SRV, MS_LOC
Windows Server 2008 R2 Enterprise installed on a Hyper-V VPS: WS
SQL Server Configuration Manager on both my server and local machines:
CMGR_SRV, CMGR_LOC
Server Manager: SMGR
I am connecting to my hosting server via Remote Desktop Connection: RDC
I installed SQLX_SRV and MS_SRV on my hosting server and SQLX_LOC and MS_LOC on my local development machine. I am able to use MS_LOC to connect to SQLX_LOC and to use MS_SRV to connect to SQLX_SRV. However I am not able to use MS_LOC to connect
with SQLX_SRV. Here's what I have done so far:
SMGR -> Configuration -> Windows Firewall to turn off the Windows Firewall for Domain, Private and Public profiles. Obviously I'll change this later, but until I can connect I want to remove as many variables as possible.
CMGR_SRV -> SQL Server Services to confirm that both SQL Server (SQLEXPRESS) and SQL Server Browser services were running.
CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS to ENABLE the Shared Memory, Named Pipes, and TCP/IP protocols and DISABLE the deprecated VIA protocol.
CMGR_SRV -> SQL Server Network Configuration -> Protocols for SQLEXPRESS -> double click TCP/IP to open the TCP/IP properties dialogue. On the Protocol tab Enabled: Yes, Keep Alive: 30000, changed Listen All to No. I've tried it both
ways, but I've got six IP addresses on my server and I wanted to configure SQLEXPRESS to listen to only the first and primary IP. On the IP Addresses tab went to IPALL and cleared the TCP Dynamic Ports field and entered 1433 in the TCP Port field.
For my first and primary IP Address I made sure that Enabled was Yes, I cleared the TCP Dynamic Ports field, and entered 1433 in the TCP Port field. For all other IP Addresses Enabled was set to No and I cleared both the TCP Dynamic Ports and TCP Port
fields.
CMGR_SRV -> SQL Server Services -> SQL Server (SQLEXPRESS) right click and Restart. This of course stopped and restarted my instance of SQLX_SRV enabling the TCP/IP configuration in the previous step to take effect.
On my server, SQLX_SRV is the only instance of SQL Server running and so it's easy to hard wire it to the default port 1433.
The instance name for both SQLX_SRV and SQLX_LOC is the default "SQLEXPRESS". My server machine name is "SERVER1" on the EnglishBrains.com domain. So the proper local name (local within the context of my remote server as connected via RDC) for
my instance of SQLX_SRV would be:
SERVER1\SQLEXPRESS
Note the use of a backslash NOT a forward slash.
Of course to connect remotely from my development machine, which is not on the same domain as my hosting server, I would need to specify the domain as well, so the SQL Server name becomes:
SERVER1.EnglishBrains.com\SQLEXPRESS
I must also use SQL Server Authentication. Before I can use such a remote connection, however, there are still several configuration steps required. So on my server (connected via RDC) I used MS_SRV to connect to SQLX_SRV using SERVER1\SQLEXPRESS
for the server name and Windows Authentication. Once connected I performed the following steps:
MS_SRV -> right click the connected parent SERVER1\SQLEXPRESS instance node at the top -> Properties -> Security -> Server authentication: select "SQL Server and Windows Authentication mode". This will enable connections using either type
of authentication.
Next, leaving the Server Properties dialogue open, Connections -> check "Allow remote connections to this server" box.
Click OK to save these changes and close the Server Properties dialogue.
MS_SRV -> Security -> right click Logins and select "New Login...", the Login - New dialogue opens.
On the General page Enter a name for your new login
Select SQL Server Authorization
Enter and confirm a password
Uncheck Enforce password expiration
Select the default Database and Language
On the ServerRoles page Public will be checked, also check SysAdmin. This is probably not a good idea and I'll uncheck this as soon as I can connect to the SQLX_SRV.
On the User Mapping page select the databases you want your new Login to access and enter the Default Schema of "dbo".
At the bottom of the User Mapping page you'll see the Database Roles table. Public will be selected by default. Also select db_Owner. Again this is probably not a good idea, and I'll refine this once I can connect.
On the Status page confirm that "Grant" is checked under "Permission to connect to database engine" and "Enable" is checked under "Login".
Click OK to save all changes and close the Login - New dialogue.
With these steps completed you should now be able to use MS_SRV to connect to SQLX_SRV using SQL Server Authentication by supplying the name and password for your new Login. I tried this and it worked fine. Next I tried to use this same login
remotely, that is I went to my local development machine and used MS_LOC to try and connect to SQLX_SRV by using
SERVER1.EnglishBrains.com\SQLEXPRESS
and opting for SQL Server Authentication and supplying the name and password of my new login.
THIS DID NOT WORK?? Instead I get the following error message:
Cannot connect to SERVER1.EnglishBrains.com\SQLEXPRESS.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
SQL Network Interfaces, error: 26 - Error Locating Server/Instance Specified) (Microsoft SQL Server, Error: -1)
For help, click:
http://www.microsoft.com/products/ee/transform.aspx?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=-1
If you follow the suggested help link, you are told:
The SQL Server client cannot connect to the server. This error could be caused by one of the following reasons:
A specified SQL Server instance name is not valid.
The TCP, or named pipes protocols are not enabled.
The firewall on the server has refused the connection.
The SQL Server Browser service (sqlbrowser) is not started.
WRONG on all 4 counts! The instance name IS valid. Both TCP/IP and Named Pipes protocols are enabled. The firewall has been shut down, so it is not relevant. Finally the SQL Server Browser IS started.
The next thing I tried was to circumvent discovery by the SQL Browser service by using the following syntax to specify the IP address and port directly when specifying the SQL Server name.
tcp:68.71.134.186,1433
Using this in the Server Name field I was able to use MS_SRV to successfully connect to SQLX_SRV (using SQL Server Authentication of course) with or without the SQL Browser service running.
However when I tried to connect from MS_LOC to SQLX_SRV using this same login (WITH SQL Browser service running just for good measure) it does not work?? I get the following error message:
Cannot connect to tcp:68.71.134.186,1433.
A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider:
TCP Provider, error: 0 - A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond.) (Microsoft SQL Server, Error: 10060)
For help, click:
http://go.microsoft.com/fwlink?ProdName=Microsoft+SQL+Server&EvtSrc=MSSQLServer&EvtID=10060&LinkId=20476
If you follow the help link you are told:
"The SQL Server client cannot connect to the server. This error could occur because either the firewall on the server has refused the connection or the server is not configured to accept remote connections."
However, the firewall has been shut down and the server HAS been configured to accept remote connections!
I confirmed that i could indeed Ping to 68.71.134.186 and running NetStat -a |find /i "listening" on the server shows that the server is indeed listening at 68.71.134.186 Port 1433 -- which is why I was able to connect to SQLX_SRV using MS_SRV with
tcp:68.71.134.186,1433 .
IN SUMMARY: Even though I can connect to my SQLEXPRESS instance multiple ways from the server itself, I cannot connect remotely from my development machine!
If anyone can help me figure out why I would be very, very grateful!My two cents to help you out on c# code example to configure the remote sql server express.
Hope it helps. It works, but you have to be extra carefull to read it all and setup the server configuration and netsh commands; also the port fowarding on the router.
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.SqlClient;
namespace sqlremoteconnection
class Program
static void Main(string[] args)
// this is the local sql server connection
// 192.168.1.101\SQLEXPRESS
// now, the configuration for remote access:
// activate SQL SERVER BROWSER - set it to start "automatic"; then START UP
// SQL Server Configuration Manager
// --> SQL SERVER BROWSER -> properties -> Service -> Start Mode -> automatic -> apply
// --> Log On -> Start -> Ok
// netsh firewall set portopening protocol = TCP port = 1433 name = SQLPort mode = ENABLE scope = all profile = CURRENT
// netsh firewall set portopening protocol = UDP port = 1434 name = SQLPort mode = ENABLE scope = all profile = CURRENT
// netsh advfirewall firewall add rule name = SQLPort dir = in protocol = tcp action = allow localport = 1433 remoteip = any profile = PUBLIC
// netsh advfirewall firewall add rule name = SQLPort dir = in protocol = udp action = allow localport = 1434 remoteip = any profile = PUBLIC
// VERY IMPORTANT FOR REMOTE ACCESS: you have to add the rules on port fowarding
// on the router!!!
// TCP: 1433
// UDP: 1434
// or just a personal port like TCP 31433/UDP 31434
// read carefully the netsh commands above
// server name: 123.132.24.177\SQLEXPRESS
// server name: anyurl.myftp.org\SQLEXPRESS,1433 <<-- regular port
// server name: anyurl.myftp.org\SQLEXPRESS
// server name: anyurl.myftp.org\SQLEXPRESS,31433 <<-- WOW different PORT here!!!
SqlConnection myConnection = new SqlConnection(
"user id=sa;" +
"password=password_goes_here!;" +
"server=anyurl.myftp.org\\SQLEXPRESS,31433;" +
//"Trusted_Connection=no;" +
"database=database_name_here; " +
"connection timeout=30");
try
myConnection.Open();
catch (Exception e)
Console.WriteLine(e.ToString());
try
SqlDataReader myReader = null;
SqlCommand myCommand = new SqlCommand("select * from mytable", myConnection);
myReader = myCommand.ExecuteReader();
while (myReader.Read())
Console.WriteLine(myReader["tab01_name"].ToString());
Console.WriteLine(myReader["tab01_age"].ToString());
catch (Exception e)
Console.WriteLine(e.ToString());
try
myConnection.Close();
catch (Exception e)
Console.WriteLine(e.ToString());
Adelino Araujo -
How can I create a client console and work together with the Cache Server?
How can I edit the following Cache-Server.cmd file to create a client console and work together with the Cache Server?
The following is the cache server file: contacts-cache-server.cmd
@echo off
setlocal
if (%COHERENCE_HOME%)==() (
set COHERENCE_HOME=c:\coherence
set CONFIG=C:\home\oracle\coherence\Contacts
set COH_OPTS=%COH_OPTS% -server -cp %COHERENCE_HOME%\lib\coherence.jar;C:\home\oracle\
coherence\Contacts;C:\home\oracle\coherence\Contacts\classes;
set COH_OPTS=%COH_OPTS% -Dtangosol.coherence.cacheconfig=%CONFIG%\contacts-cache-config.xml
java %COH_OPTS% -Xms1g -Xmx1g -Xloggc: com.tangosol.net.DefaultCacheServer %2 %3 %4 %5 %6 %7
:exitEdited by: junez on 23-Oct-2009 09:20Hi
To run the console, change DefaultCacheServer to CacheFactory
Paul -
How do I remote control a user in remote desktop services in Windows Server 2012?
Hello,
we currently operate in a 2008 R2 environment with the majority of clients connecting to our terminal servers. We use the remote control feature in terminal services manager to connect to a users session when a user phones our helpdesk with
a question / issue.
Just today I've installed 2012 server on a hyper-v virtual machine to have a play with it. I've installed the Remote Desktop Services and noticed this remote control feature is gone. I can still log off or send a message to a user, but I can
no longer remote control their session.
I've seen one or two other posts stating this feature has been removed completely.
So, a couple of questions:
1. How on earth do I "shadow" or connect to a users session now?
2. If I have to go third party to get this functionality back, what's the best software on the market for this and does it support remote connecting of users who have their RDP session span multiple monitors? (2008 R2 doesn't)
3. Will Microsoft ever bring this feature back? as at this stage I doubt we would move to 2012. This is the one feature that is crucial to the day-to-day running of our helpdesk.
Cheers.A large percentage of our IT support business is through remote management. Most of our large enterprise customers are Terminal Server environment (now called Remote Desktop - why does Microsoft have to change EVERYTHING - how would they feel if I changed
the colour of the sky from blue to red just because I could?).
Last week, after much expense to the customer (and realising that there WOULD be some cosmetic headaches to contend with Server Management) we installed a new "Remote Desktop Server" for them and shifting them from 2003 - a big leap so we discovered.
During deployment it came as a HORRIFIC surprise that we could not remote control user's sessions!
Yes, we ARE to blame for not fully realising the cock-up Microsoft has made for us. We should have fully researched every detail of what changes they made and what they have robbed us of.
Firstly, the removal of the ability to fully manage user's sessions came as a HUGE blow!
The remaining multiple issues that followed (including the hugely cumbersome and SLOW way of accessing user's sessions and the false information that the console was reporting users logged in when they had already logged out) suddenly resulted in us decommissioning
the new 2012 installation in favour of a 2008 R2 installation.
Some may ask; Why not use "Third Party" apps to counteract the issue? Firstly; why spend MORE and why use a third party app that "is as" cumbersome to use just because of a freaking feature that Microsoft deemed a "security risk" - for G.D sake!
We have now been directed by management to convince customers that a move to 2012 is NOT recommended - good choice boss, I love you!
The question is; will Microsoft re-implement this feature and fix Server Management performance/accessibility in a future release before 2008 R2 is no longer available? Probably not - it looks like their stubbornness to forge ahead with their craze mind-set
of transforming their products into something that is now annoying millions (including their bloody push towards everything-cloud which NONE of our customers want anything to do with).
Microsoft! Get us back on to your side and take a step back, take a deep breath and listen to consumers! -
How to restart base station from airport utility? I used to be able to do it remotely
I currently use a Mac Pro 10.8.4 and have a time machine for wireless 6.3 (630.34). Sometimes I cannot connect to the internet and use network preferences to diagnose the issue. This results in being told to restart the wireless. The airport utility includes the drop down option of restarting but is not clickable so I can't choose it.
With my prior macbook and same time capsule, etc if i had problems connecting to the internet I would run network diagnostics to help out. This included clicking on the airport utility ---> base station --> restart. This worked most of the time.
Bottom line, is there something I am missing in not being able to restart the wi-fi remotely? ]
Thanks in advanceYou are likely forgetting a step.
Open AirPort Utility
Click on the Time Capsule icon
Click Edit in the small window that appears
Now click the Base Station menu.....top of the screen....not the Base Station "tab" in the center of the screen
Click Restart
Maybe you are looking for
-
Bank statement import FF_5 sometimes takes a really long time
Hello! In the middle of august we started to have problems with bank statement import FF_5 - sometimes (but not always) it takes a really long time (3 - 4 hours) to import data - usually it would take from few minutes to 1 hour (depending on size of
-
Document Splitting - No list generated
Hi Gurus, I have activated document splitting in a company code which is having transaction for the purpose of Profit center,segment and Balance sheet report purpose. System is allowing to post transaction but it is not generating zero balancing entr
-
Patches Page Empty & won't cache unless added in members tab
I just installed 11.3 and turned on Patch Management for the first time last week. I've watched the demo on Youtube. I've read all the documentation. Something is just wrong with the system. There are no patches listed on the Patches tab under Patch
-
Hi all, in VF01 i have many condition types ex: ZPAC this condition type is Change mode in VA01 but in VF01 i want Display mode. I think it is possible with the help of user exit. pls help me in this issue. <REMOVED BY MODERATOR>. Edited by: A
-
What is the main benefit of buying an ipad ? what can you actually do in 16, 32 0r 64 gb when you have 510 gb laptop with you ?