Wrapped connections and proxy sessions problem
Hi!
We upgraded to Weblogic 10.3.5 and my impression is that the behavior of the connection wrappers has changed regarding handling of proxy sessions.
We use the SecurityServicesJDBC to get a connection, which is a wrapper around an OracleConnection.
We then use the wrapper connection to open a proxy session with user name and password to check if the given credentials are valid.
Most likely since the upgrade to 10.3.5 the password is ignored. Effect is that all users are logged in successfully, no matter what the passwords are.
Workaround is to get the vendor connection from the wrapper and then open the proxy session on that.
I wonder why the wrapper drops the password and doesn't pass it on. If there's a wrapper, shouldn't the method work as the same method on the vendor connection?
This worked like a charm in 10.3.4 as far as I can tell. Has something changed in the wrappers?
Regards,
Sascha
Hi. Are you sure you're comparing wls 10.3.5 and wls 10.3.4?
There are two parts to this, wls and the driver. The driver
did have an issue where using incorrect info for an openProxySession
would kill the original connection. There was also a wls issue, but not
(I think) between those two versions, where the exception thrown by
the driver when/if incorrect info was passed to an openProxySession()
call would be caught internally and ignored, so you would not get
the exception you expected.
Similar Messages
-
Broken Ftp Connection and big files problem
I have a problem with big-files downloading.
Does anybody know how to resume downloading using FTP-connection?
Or how can I get bytes from FTP connected file using something like random access to avoid the restart of downloading the file?
"InputStream" does not support "seek"-like methods.From RFC 959
RESTART (REST)
The argument field represents the server marker at which
file transfer is to be restarted. This command does not
cause file transfer but skips over the file to the specified
data checkpoint. This command shall be immediately followed
by the appropriate FTP service command which shall cause
file transfer to resume.
You should also be aware of RFC 959 Section 3.4.2 on BLOCK MODE transfers which is what allows FTP to REST a connection and "skip" n-bytes of a file. -
Wifi unable to connect and incorrect password problem/issues
since i updated to iOS5.1 i started having a problem with our wifi connection. it is locked but even though i enter the correct password my itouch is promting that i have punched in an icorrect password itried using a different iDevice and punched in the same password it's all good, they can connect in our wifi and most of the time i receive an error "unable to join the network" if im trying to connect to an open network. what seems to be the problem? can somebody help me with this one?
- Reset the iPod. Nothing is lost
Reset iPod touch: Hold down the On/Off button and the Home button at the same time for at
least ten seconds, until the Apple logo appears.
- Power off and then back on your router
- Reset network settings: Settings>General>Reset>Reset Network Settings
- iOS: Troubleshooting Wi-Fi networks and connections -
Tomcat and JavaMail Sessions problem
I'm using Tomcat (with struts). I've configured my web application in server.xml to manage JavaMail Sessions:
<Resource name="mail/Session" auth="Container" type="javax.mail.Session"/>
<ResourceParams name="mail/Session">
<parameter>
<name>mail.smtp.host</name>
<value>gandalf</value>
</parameter>
</ResourceParams>
Also, I've configured my web application deployment descriptor (web.xml) to use this resource:
<resource-ref>
<description>JavaMail Resource</description>
<res-ref-name>mail/Session</res-ref-name>
<res-type>javax.mail.Session</res-type>
<res-auth>Container</res-auth>
</resource-ref>
Now in the Java code I try to get the JavaMail session in this way:
private Context devuelveContexto() throws javax.naming.NamingException
initContext = new InitialContext();
return (Context) initContext.lookup("java:/comp/env");
public javax.mail.Session devuelveSesionMail()
throws javax.naming.NamingException
Context envContext = devuelveContexto();
javax.mail.Session mailSesion = (javax.mail.Session) envContext.lookup("mail/Session"); <--- this throws an exception
I'm doing all like is explained in Tomcat help web page 'JNDI Resources HOW-TO' but it doesn' work for me.
The exception raised is this:
java.lang.reflect.InvocationTargetException: java.lang.ClassCastException: javax.mail.Session
at com.aplicacionesweb.evaluaciones.ddbb.CargadorRecursos.devuelveSesionMail(CargadorRecursos.java:76)
at com.aplicacionesweb.evaluaciones.fases.actions.ConcertacionAction.enviarCorreo(ConcertacionAction.java:562)
at com.aplicacionesweb.evaluaciones.fases.actions.ConcertacionAction.grabarConcertacion(ConcertacionAction.java:510)
at java.lang.reflect.Method.invoke(Native Method)
at org.apache.struts.actions.DispatchAction.perform(DispatchAction.java:236)
at org.apache.struts.action.ActionServlet.processActionPerform(ActionServlet.java:1787)
Please help.Problem solved. I had 'mail.jar' and 'activation.jar' in 'WEB-INF/lib' directory, causing a classes conflict.
-
Direct connection and sending photos problem
I m running ichat 4 and recently have been getting issues with a lag. i drag and drop an image to send an image directly to a buddy but there is this few seconds lag for it to send. i remember in ichat 3 it wouldnt lag it would automatically popup in the conversation bubble and the user would recieve.
what is wrong?Logins and standard Text Chats are on port 5190 by default on the TCP protocol.
Direct chats move things to the UDP Protocol on the same port (or 5190 if you are using another to Login)
Sometimes the AIM servers are slow in letting go to make the chat Peer-to-Peer at this stage.
Sometimes it is what your processor may also be doing that slows your iChat up.
I sometimes find that on My end the Pic in is the Chat then Little Snitch That I run wants me to confirm the port change several seconds later - whilst my Buddy is waiting with the Question mark, indicating that something is coming.
Like you though I do think iChat 4 is slower at this function overall.
2:33 PM Tuesday; February 12, 2008 -
Problem with connection and sessions
Hello,
I have some mobile user that connect to sap with a SAPCONSOLE in a server.
the problem is that when they move the loose the connection and when they try to connect again the sistem promps to keep the connection or cancelled the connection.
How can I avoid this, because in sm04 in some times I got 300 connection from the terminal and in tx session_manager.
Can somebody help us please.
RegardsIn the regular part of the system (I'm not sure about the way you are describing) you can set this parm:
rdisp/max_alt_modes
in your instance profile. This prevents users from signing in over and over again and might help with your problem. -
I get a message can not connect to the internet when trying to open Mozzila Firefox. It was working fine until my internet service went down. Once back up it was not working. I have tried installing and uninstalling the browser. I have looked at the firewall and proxy on my computer. Still not working Internet Exployer works fine. Deleted all cookies also.
Did you check your security software (firewall)?
A possible cause is security software (firewall) that blocks or restricts Firefox without informing you about that, possibly after detecting changes (update) to the Firefox program.
Remove all rules for Firefox from the permissions list in the firewall and let your firewall ask again for permission to get full unrestricted access to internet for Firefox.
See [[Server not found]] and [[Firewalls]] and http://kb.mozillazine.org/Firewalls -
My problem in using weblogic Datasource and proxy user
Hello
I create a DataSource in Weblogic that connect to the database by a proxy user and I have a client application that use this DataSource and create a proxy session , I've written my client application (it's a stand alone client application) code below :
public static void main(String [] args) {
OracleConnection conn=null;
javax.sql.DataSource ds=null;
Hashtable env = new Hashtable();
env.put( Context.INITIAL_CONTEXT_FACTORY, "weblogic.jndi.WLInitialContextFactory" );
env.put(Context.PROVIDER_URL, "t3://127.0.0.1:7001");
try{
Context context=new InitialContext( env );
ds=(javax.sql.DataSource) context.lookup ("OracleConnection2");
conn=(OracleConnection) ds.getConnection();
java.util.Properties prop = new java.util.Properties();
prop.put(OracleConnection.PROXY_USER_NAME, "web_user1");
prop.put(OracleConnection.PROXY_USER_PASSWORD,"web_user1");
conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME, prop);
if (conn.isClosed()){
System.out.println("Connection closed");
return;
testJDBC(conn,true);
for(int k=0;k<10;k++){
testJDBC(conn,false);
conn.close(OracleConnection.PROXY_SESSION);
conn.close();
}catch(Exception ex){
ex.printStackTrace();
It works but my problem is that in line "prop.put(OracleConnection.PROXY_USER_PASSWORD,"web_user1")" or line "prop.put(OracleConnection.PROXY_USER_NAME, "web_user1");"
Let me to mention a scenario :
*1- I type a wrong username or password in my client application and I run the client application it shows me this error : invalid username/password*
*this error is acceptable*
*2- then I correct the wrong username or password immediately and run the application again , it shows me this error (at line conn.openProxySession(OracleConnection.PROXYTYPE_USER_NAME, prop)) :*
java.sql.SQLException: Closed Connection
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
at oracle.HRFacadeClient.main(HRFacadeClient.java:38)
*3- I run the application again (by correct username and password) but this time it shows me this error :*
java.sql.SQLException: Unsupported feature
at weblogic.rjvm.ResponseImpl.unmarshalReturn(ResponseImpl.java:234)
at weblogic.rmi.internal.BasicRemoteRef.invoke(BasicRemoteRef.java:223)
at weblogic.jdbc.rmi.internal.ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
at weblogic.jdbc.rmi.SerialConnection_weblogic_jdbc_rmi_internal_ConnectionImpl_weblogic_jdbc_wrapper_JTAConnection_weblogic_jdbc_wrapper_XAConnection_oracle_jdbc_driver_LogicalConnection_1032_WLStub.openProxySession(Unknown Source)
at oracle.HRFacadeClient.main(HRFacadeClient.java:38)
*4 - if I repeat running the application for multi times every time it shows me the previous error*
*5- I wait about one minute the problem solved and my application can create proxy session *
the result is that if I wanna create proxy session by wrong username or password and I get "Invalid username/password" error message , then after correcting username or password I have to wait about one minute and then run the application again_
Do you know how I can overcome this problem ?
Thank youHi Jamshid,
There is same problem observed few days back with us, and we have used the below code, and it got solved. Actually there is a problem observed while using proxy connections on weblogic.
if(conn instanceof weblogic.jdbc.extensions.WLConnection){
weblogic.jdbc.extensions.WLConnection cn=(weblogic.jdbc.extensions.WLConnection)conn;
cn.clearStatementCache();
http://rocksolutions.wordpress.com/2010/06/04/connection-pool-issue-on-weblogic/
Hope this helps.
Thanks -
Is there a way to force which wifi network and proxy clients connect to from WGM?
is there a way to force which wifi network and proxy clients connect to from WGM?
Look at iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
Additional things to try.
Try this first. Turn Off your iPad. Then turn Off (disconnect power cord) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
Change the channel on your wireless router. Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
If none of the above suggestions work, look at this link.
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
Cheers, Tom -
Problem with connecting from Netweaver Session Bean to SAP R/3
Hi,
i just want a connection to RFC in SAP R/3 and with help of sap ("Proxy generation" etc) and wizard in NWDS i get the rfc. Now i want to connect and use it (like in handbook) but: Every time i create and use jcoclient.connect() system gets an error like:
"Class File Editor
Source not found
The jar file jrfc.jar has no source attachment."
I have add all files that are used to "Used DCs" or bind library into projekt as "Third party library", but the error is still there.
Any idea? Do i have to make something else? Some failure made?
thx
Here is text for connection:
Created on 26.06.2008
To change the template for this generated file go to
Window>Preferences>Java>Code Generation>Code and Comments
package com.XXXXXXXXXXXXXXXXX;
import com.XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX;
import com.sap.aii.proxy.framework.core.ApplicationFaultException;
import com.sap.aii.proxy.framework.core.SystemFaultException;
import com.sap.mw.jco.JCO;
@author XXXXX
To change the template for this generated type comment go to
Window>Preferences>Java>Code Generation>Code and Comments
public class MyMainClass extends Object
public static void main(String[] args)
throws ApplicationFaultException, SystemFaultException
JCO.Client jcoclient =
JCO.createClient(
"XXX", //Client
"XXX", //User
"XXX", //Password
"XXX", //Language
"XXX", //Server
"XXX", //System
"XXX"); //Group
jcoclient.connect();
jcoclient.disconnect();
Edited by: Torsten on Aug 27, 2008 10:43 AM
Where can we download SAP NW7.0 (2004s) as Java Trial for testing? We only find ABAP Trial... Link? thxSo we tested some things that are described in the SDN or by SAP with Connectors.
We tested JCO version 2.0.12, 2.1.18 and 3.0 in J2EE Projects in netweaver and in Eclipse (Standalone).
For version 2.0.12 there is a failure that this version is not compatible with the other things in netweaver.
This version is for standalone and integrated sytems.
For version 2.1.18 is only described as standalone and so failure happened in netweaver that other classes are coruppted or missed. The internal test in "content administrator" (Ping and Test) do not work and had the same error.
For version 3.0 (that displace the other two versions) there is many to do in settings and coding that we do not have tested yet because project is not that small to write it for JCO 3.0 only for testing. When we only displaced files in netweaver the server do not start any more.
So:
Is there a way to call R/3 from session bean and 1. create an JCO client or 2. add a client to the "standard" pool of netweaver to use it?
Any ideas? help? links?
Project have to be complete in september...
Our combi is SAP Netweaver 2004 SP21 on Windows XP SP2 / Server 2003 Standard SP1 with JVM 1.4.2_16... need of any more info?
thx -
The problem of connect and resource role
Hi,
As we know, that while crating a new user, we can assign connect and resource so that the user can access the system tablespace.
The problem that i got is instead of assigning the connect and resource role, i have assigned each and every privilege individually from this role. But, surprisingly, my user has not got the privilege o accessing the system tablespace.
I was working in oracle 9i database. Can anyone help me in this regard and tell me what is the reason behind this?
Thanks in advance.what huntrex said is quite valid i would like to add some more..
SQL> create user myuser identified by myuser
2 /
User created.
SQL> select grantee,privilege
2 from dba_sys_privs
3 where grantee='MYUSER'
4 /
no rows selected
SQL> grant resource to myuser
2 /
Grant succeeded.
SQL> select grantee,privilege
2 from dba_sys_privs
3 where grantee='MYUSER'
4 /
GRANTEE PRIVILEGE
MYUSER UNLIMITED TABLESPACEWhen you create a new user, the user is not able to save data until given a tablespace quota.As well when you create user and dont define its default tablespace then it is assigned tablespace what you defined at the time of database creation.If you dont define the tablespace at the time of creating database then it goes to system tablespace.
When you grant resource role then user get unlimited tablespace over specified tablespace while creating users or
default when not mentioning tablespace.
conn myuser/muyuser
SQL> select * from session_privs;
PRIVILEGE
CREATE SESSION
ALTER SESSION[b]
UNLIMITED TABLESPACE
CREATE TABLE
CREATE CLUSTER
CREATE SYNONYM
CREATE VIEW
CREATE SEQUENCE
CREATE DATABASE LINK
CREATE PROCEDURE
CREATE TRIGGER
CREATE TYPE
CREATE OPERATOR
CREATE INDEXTYPEAs you created the user and i assume you didnt specify the default tablespace ,this user goes for system tablespace
but you didnt assign resource role then you will have to have assign quota for that user to create any object within
this created user.
SQL> conn sys/sys as sysdba
Connected.
SQL> drop user myuser
2 /
User dropped.
SQL> create user myuser identified by myuser
2 /
User created.
SQL> grant connect to myuser
2 /
Grant succeeded.
SQL> conn myuser/myuser
Connected.
SQL> select * from session_privs;
PRIVILEGE
CREATE SESSION
ALTER SESSION
CREATE TABLE
CREATE CLUSTER
CREATE SYNONYM
CREATE VIEW
CREATE SEQUENCE
CREATE DATABASE LINK
8 rows selected.
SQL> create table mytable (a number)
2 /
create table mytable (a number)
ERROR at line 1:
ORA-01950: no privileges on tablespace 'USERS'
SQL> conn sys/sys as sysdba
Connected.
SQL> grant unlimited tablespace to myuser
2 /
Grant succeeded.
SQL> conn scott/tiger
Connected.
SQL> conn myuser/myuser
Connected.
SQL> create table mytable (a number)
2 /
Table created.
SQL> Khurram -
Safari 3.x (Leopard) and Web Proxy Server Problems:
I have a Squid proxy server running on Linux. Users web traffic is directed through it via WPAD server which hosts a simple PAC file. The PAC files is very clean and small. It basically points all external (Internet) web traffic to our Proxy server. All of our Windows, Linux and Tiger clients work fine. However, Leopard (Safari 3.x) doesn't work quite right. Here's what happens:
Mac user logs into a Leopard 10.5 Mac. User launches Safari and tries to go to an external (Internet) site. The WPAD server is contacted and the Mac User is prompted to authenticate to the Proxy server. This is totally normal behavior thus far. Then, however, every few minutes the Leopard Mac user will be prompted to authenticate again (sometimes 2 or 3 times in a row!). Firefox 2.0.x, when configured to use the WPAD/PAC server and Proxy server, works fine in Leopard. Only Safari 3 in Leopard is having the problem.
All the Macs (Tiger and Leopard) are configured to use the Proxy server via OS X's Network Pref Pane (using the "Automatic Proxy Configuaration"). Reminder: Tiger works fine (even with the Safari betas), but Leopard's doesnt not.
I have attached our PAC file inline below (some things edited for privacy):
// SIMR automatic configuration for Mozilla and friends
// $Id: wpad.dat,v 1.8 2005/12/14 20:18:23 dct Exp $
// Edit carefully, since many may be relying on this...
function FindProxyForURL(url, host) {
// Bypass the proxy for internal addresses
if (!url.match("http:")
|| url.match("http://127.0.")
|| url.match("http://10.")
|| url.match("http://192.168.")
|| isPlainHostName(host)
return "DIRECT";
// These are exceptions given in the IE config for Windows.
if (host == "www.ncbi.nlm.nih.gov"
|| host == "chabry.caltech.edu"
|| host == "flybase.bio.indiana.edu"
|| host == "www.fedex.com"
|| host == "domain.org"
return "DIRECT";
return "PROXY <proxy server>:8080";
}I think I have a similar problem. I am a Mac connecting to an otherwise all PC school network.
A new location with all correct proxies has been set up. However, Safari always crashes on first attempt to negotiate its way through our server to the internet. Internet explorer gets through because in its preferences it is possible to include the name of the school domain as well as my user name and password.
We have been unable to find any way of including the domain name into Location in Network or into Safari.
However, once Internet Explorer has negotiated with the server I can launch Safari and it works as normal.
Safari/Network seems to lack this option of including a domain name that my PC server requires.
Make sense to anyone?
Worth mentioning that my copy of Internet Explorer (5.2) often crashes, but usually it has done its job by then. I quite like the concept of Internet Explorer sacrificing itself to clear a path for Safari. -
My iPad suddenly stopped working with my home network. It shows the network to choose from but will not connect. When I look at details in that network it does not show IP address or any other info for the network. Setting is on DHCP and http proxy is set on auto. Network is active and can connect on wife's iPad and other home computers. Do I have another setting wrong?
Some things to try first:
1. Turn Off your iPad. Then turn Off (disconnect power cord for 30 seconds or longer) the wireless router & then back On. Now boot your iPad. Hopefully it will see the WiFi.
2. Go to Settings>Wi-Fi and turn Off. Then while at Settings>Wi-Fi, turn back On and chose a Network.
3. Change the channel on your wireless router (Auto or Channel 6 is best). Instructions at http://macintoshhowto.com/advanced/how-to-get-a-good-range-on-your-wireless-netw ork.html
4. Go into your router security settings and change from WEP to WPA with AES.
5. Renew IP Address: (especially if you are droping internet connection)
• Launch Settings app
• Tap on Wi-Fi
• Tap on the blue arrow of the Wi-Fi network that you connect to from the list
• In the window that opens, tap on the Renew Lease button
~~~~~~~~~~~~~~~~~~~~~~~~~
iOS 6 Wifi Problems/Fixes
Fix For iOS 6 WiFi Problems?
http://tabletcrunch.com/2012/09/27/fix-ios-6-wifi-problems/
Did iOS 6 Screw Your Wi-Fi? Here’s How to Fix It
http://gizmodo.com/5944761/does-ios-6-have-a-wi+fi-bug
How To Fix Wi-Fi Connectivity Issue After Upgrading To iOS 6
http://www.iphonehacks.com/2012/09/fix-wi-fi-connectivity-issue-after-upgrading- to-ios-6.html
iOS 6 iPad 3 wi-fi "connection fix" for netgear router
http://www.youtube.com/watch?v=XsWS4ha-dn0
Apple's iOS 6 Wi-Fi problems
http://www.zdnet.com/apples-ios-6-wi-fi-problems-linger-on-7000004799/
~~~~~~~~~~~~~~~~~~~~~~~
How to Fix a Poor Wi-Fi Signal on Your iPad
http://ipad.about.com/od/iPad_Troubleshooting/a/How-To-Fix-A-Poor-Wi-Fi-Signal-O n-Your-iPad.htm
iOS Troubleshooting Wi-Fi networks and connections http://support.apple.com/kb/TS1398
iPad: Issues connecting to Wi-Fi networks http://support.apple.com/kb/ts3304
WiFi Connecting/Troubleshooting http://www.apple.com/support/ipad/wifi/
How to Fix: My iPad Won't Connect to WiFi
http://ipad.about.com/od/iPad_Troubleshooting/ss/How-To-Fix-My-Ipad-Wont-Connect -To-Wi-Fi.htm
iOS: Connecting to the Internet http://support.apple.com/kb/HT1695
iOS: Recommended settings for Wi-Fi routers and access points http://support.apple.com/kb/HT4199
How to Quickly Fix iPad 3 Wi-Fi Reception Problems
http://osxdaily.com/2012/03/21/fix-new-ipad-3-wi-fi-reception-problems/
iPad Wi-Fi Problems: Comprehensive List of Fixes
http://appletoolbox.com/2010/04/ipad-wi-fi-problems-comprehensive-list-of-fixes/
Fix iPad Wifi Connection and Signal Issues http://www.youtube.com/watch?v=uwWtIG5jUxE
Fix Slow WiFi Issue https://discussions.apple.com/thread/2398063?start=60&tstart=0
How To Fix iPhone, iPad, iPod Touch Wi-Fi Connectivity Issue http://tinyurl.com/7nvxbmz
Unable to Connect After iOS Update - saw this solution on another post.
https://discussions.apple.com/thread/4010130
Note - When troubleshooting wifi connection problems, don't hold your iPad by hand. There have been a few reports that holding the iPad by hand, seems to attenuate the wifi signal.
~~~~~~~~~~~~~~~
If any of the above solutions work, please post back what solved your problem. It will help others with the same problem.
Cheers, Tom -
Relation between RD Connection broker and RD session host farm in 2012 R2
Good Day
I have configured standard RDS session based deployment recently on 2012 R2 servers
Everything is working as expected
The setup has TWO RD Session host, 1 Session Broker, one RD Web access and one RD Gateway
I have created 2 DNS records named Rdsfarm.domain.com for my RDS1 and RDS2 session host servers and if I connect to this
rdsfarm.domain.com with RDP from TS clients, i am able to connect to any one of TWO rds servers without any problem
However some part is not clear to me
I have not added rdsfarm.domain.com any where except my RD Gateway server RAP policy
Also I have added my RD Broker server in RAP allowed group above.
I don't see any config where this farm name is associated with my RD Broker server
I have tried to connect to RD broker server from client, but it didn't redirect me to RD session host servers
If I try to connect to my RDS servers with their FQDN , it gives me error that I must connect thru farm name
Can you please help me to understand relation between RD session host servers farm and RD broker server ?
Also I would like to know what exactly happens in background when user start RDP session by entering RDS farm name
Note that RDS farm name is generic DNS Host(A) record pointing to my both RD session host servers
I wanted to know is there any command or configuration I missed out as I don't see any config where Generic RD Session Host Farm name (DNS Host(A) record) is associated with my RD Broker server ?
Thanks
Best Regards
MaheshHi,
If you are opening Remote Desktop Connection and manually connecting to the broker then it will not work properly because you have no way of specifying the target collection in the user interface. If manually using the RD Client to connect is a requirement
what you can do is set the default collection in the RD Connection Broker server's registry.
To specify the default collection, please create the registry setting below in the broker's registry:
HKLM\SYSTEM\CurrentControlSet\Control\Terminal Server\ClusterSettings
DefaultTsvUrl REG_SZ tsv://vmresource.1.<VDI pool ID>
To determine the correct value for DefaultTsvUrl please open RDWeb in a non-IE web browser and click on the icon for the collection you would like to be the default, then edit the downloaded rdp file with Notepad and copy the portion of the loadbalanceinfo
setting that is similar to the above.
An alternative would be to download the .rdp file from RD Web Access and double-click it to connect.
As I mentioned above it is generally intended to have users connect via RD Web Access or RemoteApp and Desktop Connections feed or Remote Resources (uses the feed) so that the client will obtain the proper .rdp file from the server.
To configure the FQDN that is published in the .rdp files you can use the cmdlet below:
Change published FQDN for Server 2012 or 2012 R2 RDS Deployment
http://gallery.technet.microsoft.com/Change-published-FQDN-for-2a029b80
Below is a sample configuration based on what you have written:
1. Published FQDN (using cmdlet above): rdsfarm.domain.com --> points to ip address of RDCB server. When launching a RemoteApp or Full Desktop connection from RD Web Access, the prompt window will show this FQDN next to Remote computer.
2. Gateway FQDN: gateway.domain.com --> externally points to public ip address of your RD Gateway server. TCP port 443 and UDP port 3391 need to be forwarded to the RDG's internal ip address. When launching a RemoteApp or Full Desktop
connection from RD Web Access, the prompt window will show this FQDN next to Gateway server. This FQDN is set in Server Manager -- RDS -- Overview -- Deployment Properties -- RD Gateway tab.
In RD Gateway Manager -- Properties of RD RAP -- Network Resources tab you should select Allow user to connect to any network resource or define a RD Gateway-managed group that has all of the FQDNs that the user will need to connect to.
3. RD Web Access FQDN: remote.domain.com --> internally points to the ip address of your RDWeb server, externally points to the public ip address of your RDWeb server. This is the name you give users if they want to use RD Web, for example,
https://remote.domain.com/rdweb
If you want users to manually connect using Remote Desktop Client as well as use RDWeb it will be a bit confusing to them since they will need to use one FQDN when manually using the client and a different FQDN when using RDWeb. You could fix this
by having them only use one method or run RDWeb directly on the RDCB server, that way users would only need to know a single FQDN for both RDWeb and manual connections.
4. You should have a wildcard certificate with subject of *.domain.com set for all RDS purposes in Deployment Properties.
Thanks.
-TP -
Connect to Server HTTPs through Proxy Server Problem
I am trying to connect through a company proxy via port 8080 to a https connection on a server so that it can mount on a desktop. Using 10.4.11 on Mac Pro
The connection works http through the company network and works http and https through my home network. The company require we use secure connections or something they will supply which will be out of date and clunky to use. I am using FullSwitch as a workflow so need the volume to mount.
Basically I do the following:
Go
Connect to Server
type address https://??????????????????/???????
I then get a Proxy Auth where I put my domain, user name and password
A certificate is then returned and I press continue
It then attempts to pass through the proxy tunnel to connect but just keeps going and going......
It should come up at this point with the server login but it doesn't
We are told by the IT team which only supports PCs that it is then that the Mac tries to create 2000+ connections but doesn't just creates lots of network traffic.
In between us and the proxy we sit behind a firewall but are told that there are no rules to stop https etc. I can connect to the site through Safari via https but as I need to upload files I need to be able to mount via https as a volume
Are there any suggestions as to what the issue may be or questions that I can try and ask IT to gather more info?
Many thanksMany thanks for your reply. We can use ftp but can not tunnel sftp through the proxy.
As I use fullswitch for automation I would like to keep the simplicity of mounting the server as files can be uploaded easily. Currently using http no problems but am being forced to use https from IT Security and of course being in a large corporation with only 35 Macs they say they don't support Macs and hey you have to do it our way or else. Driving me mad.
Sorry for going off on one but it is so frustrating as the supplier we are sending to wants the files the way we currently send them as they have their system workflow but my company wants us to use their sftp system that is clunky for in and out going file connections forcing suppliers to go to our sftp servers and not us supplying to them.....................
Right then I currently use Transmit with Type 7 on the proxy type for FTPing files using FTP Protocol not SFTP and have no problems going to the sites we have asked to get specific access to (again takes 2-14 days to get all the firewall rules changed to allow access to new ftp sites we are given, very efficient working practice)
So as you can see I really want to get the https working as it is the best option for workflow if IT security want us to secure.
Many thanks, again sorry for my ranting
Maybe you are looking for
-
Is parallels 7 compatible with mountain lion or i need parallels 8
is parallels 7 compatible with mountain lion or i need parallels 8
-
I just installed Premiere Pro CC from the cloud, just signed up tonight. Now I can't get Premiere to open because of this error... Premiere Pro has encountered an error. [/sirreact64/releases/2013.03/shared/adobe/MediaCore/ASL/Foundation/Make/Mac/../
-
PayPal buttons showing through Slide Show
Hi, I can't figure out how to get the PayPal buttons not to show when you click on the Slide show. And, I can't even disable the Slide show! Any ideas? Thanks.
-
hi, i got my ipad 3 this afternoon, i created my account. When i'm about to install my fb, suddenly my ipad shutdown . Since 3 hours now, i can open it. Is there anybody who can help me what to do? The batter was fully charged. Thanks you
-
Bank guarantees (BGs) received from Vendors
Hello We are on ECC 6.0 Vendors are paid in advance against submission of BGs. Similarly, retention withheld as per agreed terms of Purchase order is released before expiry of warranty / guarantee period against submission of BGs by vendors. How do w