Connect and resource role
I have created a user and granted connect,resource to that user.
Then how the unlimited tablespace quota is applied automatically over that user?
whereas when I am applying all the privileges under the connect,resource separately the user is not getting any quota on any tablespace. What is actually happening in case of connect,resource role in oracle9i?
hi in 9i RESOURCE role is having unlimited tablespace privilege internally
even you cannot see this from role_sys_privs view.
so it is dangerous to grant resource role to a user in 9i unless required.
Similar Messages
-
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 -
BC4J Connection and database ROLE
Hi,
We have an application with several root Application Modules. We need to connect using a determined database user and role (with password). The problem is that the Connection Wizard does not support this feature.
I need to issue these commands after establishing connection:
SET ROLE my_role_name IDENTIFIED BY my_role_password
ALTER SESSION SET CURRENT_SCHEMA = my_schema
What is the best way to do that? I know I can issue those commands from each AM, but I'd like to do that in one place only (i.e. the connection or something like).
Thanks
LapollaYou could derive from ApplicationModuleImpl and perform this operations in overwritten prepareSession() method.
Markus -
Why Oracle removed "Create View" privilege from "Resource" role?
Seems like a silly question, but does anyone know why?
>
Hm.. deprciated and replaced by what? I know they trimmed CONNECT a lot but only create view seemed missing from RESOURCE.
>
Replaced by NOTHING. They didn't just 'trim' CONNECT; it only has the CREATE SESSION privilege now.
The only published info I've seen are these two notes in the Oracle is this from the Database Security Guide.
http://docs.oracle.com/cd/B28359_01/network.111/b28531/authorization.htm
>
Note:
Each installation should create its own roles and assign only those privileges that are needed, thus retaining detailed control of the privileges in use. This process also removes any need to adjust existing roles, privileges, or procedures whenever Oracle Database changes or removes roles that Oracle Database defines. For example, the CONNECT role now has only one privilege: CREATE SESSION. Both CONNECT and RESOURCE roles will be deprecated in future Oracle Database releases.
Note:
Customers should discontinue using the CONNECT and RESOURCE roles, as they will be deprecated in future Oracle Database releases. The CONNECT role presently retains only the CREATE SESSION privilege. -
Assigning Role to a Task and Resource to a Task
Hello Friends,
In cProjects, I go to the below tab Projects > Resources > Tasks.
Here I do an assignment of Role to a Task and assignment of Resource to a Task.
Could you please tell me as to where does this information gets stored.(ie which tables).
And could you pleae tell me as to how do we differentiate between the Task, Roles and Resources in the internal table created.
Because the internal table consists of Task Guid, Participant Guid and Entity Guid.
Thanks,
SalilI can tell you the table where the the role assignments get stored . It is
DPR_ENTITY_LINK. -
I've noticed that the "Local units and resources" in Remote Desktop Connection is missing an OK button. It seems to be a localization issue because I changed my Windows profile language to English, logged out and back in again, started RDC and
the Ok and Cancel button became visible. Changed my language back to Norwegian again and the buttons are gone again.
I have also confirmed this by testing the same on a clean new installation.
Temporary Work-around: Select an option, press tab-key once (it will select the OK button which you cannot see), then press Enter.Hi,
Based on my test,I got the same result.
Thanks for your feedback.
We will submit this issue to Microsoft product team.
Regards,
Kelvin Xu
TechNet Community Support -
Roles tasks and resources assignment
Hi there.
I'm working in CProjet and I need to complete role definition; I can define staf (STAFFING TAB) and assign task (TASK TAB).
In TASK TAB I can create also association between role, task and resource; now, I seem that STAFFING TAB considers TASK TAB assignment, but instead no automatic workload distribution happen.
It looks like no resources link exist between TAB...
Any suggestion about?
Thanks
LucianoHi,
In Staffing tab there is required capacity and available capacity.
Required capacity is given to role and that can be distributed in general tab if distribution activated to that role type.
Available capacity will be associated with the resource and that is given during staffing.
You can not distribute required capacity in staffing tab as it is taken from Role.
Hope this will help you
Regards,
Karan Hon. -
Hi
Granting resource role to a user gives unlimited quota on default tablespace.
Then why it's not shown when i query like this
BANNER
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
PL/SQL Release 11.2.0.1.0 - Production
CORE 11.2.0.1.0 Production
TNS for Linux: Version 11.2.0.1.0 - Production
NLSRTL Version 11.2.0.1.0 - Production
SQL> select PRIVILEGE from role_sys_privs where ROLE='RESOURCE';
PRIVILEGE
CREATE SEQUENCE
CREATE TRIGGER
CREATE CLUSTER
CREATE PROCEDURE
CREATE TYPE
CREATE OPERATOR
CREATE TABLE
CREATE INDEXTYPESecondly
I created a user granted connect and create table privs only. Now i can create the table but when i try to insert then i get error that no quota on the users TS. Why does it allow to create table in the first place.?
Thanks1:
SQL> create user u1 identified by u1;
User created.
SQL> grant resource to u1;
Grant succeeded.
SQL> select * from dba_sys_privs where grantee='U1';
GRANTEE PRIVILEGE ADM
U1 UNLIMITED TABLESPACE NO
SQL> select * from dba_role_privs where grantee='U1';
GRANTEE GRANTED_ROLE ADM DEF
U1 RESOURCE NO YES2: please check:
SQL> show parameter deferred
NAME TYPE VALUE
deferred_segment_creation boolean TRUE
SQL>Edited by: P. Forstmann on 15 nov. 2011 19:16 -
Losing network connection and NIC acts weird from warm/hot weather/temperatures?
Hello.
Is there a known issue on MSI P43 NEO3-F (MSI-7514) motherboards' onboard RealTek RTL8168C (P)/8111C(P) PCI-E Gigabit Ethernet NIC network disconnecting and acting weird during warm/hot weather?
I noticed lately and back on 1/11/2009 night when weather got warm/hot (e.g., my room can get over 85F degrees, but lately it has been 80F degrees), my network would lose its connection. See http://img9.imageshack.us/img9/5580/screenshots.gif for a few SpeedFan's sensor readings when the incidents occurred. I have never seen this happen when the weather is cooler (60-70F degrees in my room).
I also think this only happens if I am using the PC lightly (nothing intensive) like watching fullscreen videos (video overlay), surfing the Web, etc. I don't see any errors or evidences that it happens when idled (e.g., asleep or out). Uptime doesn't seem to matter since I have seen days to 3.5 hours.
I tried upgrading network driver twice (e.g., Realtek_XP_5714_0219 from
http://www.realtek.com.tw/downloads/downloadsView.aspx?Langid=1&PNid=13&PFid=5&Level=5&Conn=4&DownTypeID=3&GetDown=false ...), disabling Kerio Personal Firewall v2.1.5 (XP's disabled already), releasing and renewing IP address (works, but still no network -- can't even ping my router!), unplugging and replugging the cat5 cable (do see the network port lights on), touching the network jack and hardware inside and outside of the case (not hot), trying another cat5 cable and a network port on a switch instead router's), changing from "Minimal Power Management" to full power (no underclocking/slowing down when idled), etc.
During the disconnections, I tried:
C:\>tracert 192.168.0.1
Tracing route to 192.168.0.1 over a maximum of 30 hops
1 * * * Request timed out.
2 * * * Request timed out.
3 * * ^C
IPCONFIG.EXE /ALL when having network problems:
Windows IP Configuration
Host Name . . . . . . . . . . . . : FOOBAR
Primary Dns Suffix . . . . . . . :
Node Type . . . . . . . . . . . . : Hybrid
IP Routing Enabled. . . . . . . . : No
WINS Proxy Enabled. . . . . . . . : No
Ethernet adapter VMware Network Adapter VMnet8:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet8
Physical Address. . . . . . . . . : 00-50-56-C0-00-08
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.134.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter VMware Network Adapter VMnet1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : VMware Virtual Ethernet Adapter for VMnet1
Physical Address. . . . . . . . . : 00-50-56-C0-00-01
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.80.1
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
Ethernet adapter HDTV Tuner 2:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TechniSat DVB-PC TV Star PCI #3
Physical Address. . . . . . . . . : 00-D0-D7-30-19-C1
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 169.254.178.3
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 169.254.178.1
Lease Obtained. . . . . . . . . . : Saturday, February 28, 2009 6:55:04 PM
Lease Expires . . . . . . . . . . : Monday, July 13, 2009 11:28:08 PM
Ethernet adapter HDTV Tuner 1:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : TechniSat DVB-PC TV Star PCI
Physical Address. . . . . . . . . : 00-D0-D7-30-1A-1D
Dhcp Enabled. . . . . . . . . . . : Yes
Autoconfiguration Enabled . . . . : Yes
IP Address. . . . . . . . . . . . : 169.254.178.4
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . :
DHCP Server . . . . . . . . . . . : 169.254.178.1
Lease Obtained. . . . . . . . . . : Saturday, February 28, 2009 6:55:21 PM
Lease Expires . . . . . . . . . . : Monday, July 13, 2009 11:28:25 PM
Ethernet adapter Local Area Connection 15:
Connection-specific DNS Suffix . :
Description . . . . . . . . . . . : Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC
Physical Address. . . . . . . . . : 00-21-85-1A-C6-72
Dhcp Enabled. . . . . . . . . . . : No
IP Address. . . . . . . . . . . . : 192.168.0.82
Subnet Mask . . . . . . . . . . . : 255.255.255.0
Default Gateway . . . . . . . . . : 192.168.0.1
DNS Servers . . . . . . . . . . . : 192.168.0.1
4.2.2.1
I checked Windows XP Pro. SP3's event logs and noticed these during the disconnections:
Event logs showed:
Event Type: Information
Event Source: Tcpip
Event Category: None
Event ID: 4201
Date: 2/28/2009
Time: 6:42:23 PM
User: N/A
Computer: FOOBAR
Description:
The system detected that network adapter \DEVICE\TCPIP_{51FDDE0F-0935-416E-8FE0-3E1A50847D41} was connected to the network, and has initiated normal operation over the network adapter.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 00 00 00 00 02 00 50 00 ......P.
0008: 00 00 00 00 69 10 00 40 ....i..@
0010: 02 00 00 00 00 00 00 00 ........
0018: 00 00 00 00 00 00 00 00 ........
0020: 00 00 00 00 00 00 00 00 ........
Event Type: Information
Event Source: BROWSER
Event Category: None
Event ID: 8033
Date: 2/28/2009
Time: 6:47:22 PM
User: N/A
Computer: FOOBAR
Description:
The browser has forced an election on network \Device\NetBT_Tcpip_{89F40100-0D8D-4C33-A32D-3D91CAEB3FBD} because a master browser was stopped.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Event Type: Information
Event Source: Tcpip
Event Category: None
Event ID: 4201
Date: 3/1/2009
Time: 6:19:08 AM
User: N/A
Computer: FOOBAR
Description:
The system detected that network adapter \DEVICE\TCPIP_{51FDDE0F-0935-416E-8FE0-3E1A50847D41} was connected to the network, and has initiated normal operation over the network adapter.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 00 00 00 00 02 00 50 00 ......P.
0008: 00 00 00 00 69 10 00 40 ....i..@
0010: 02 00 00 00 00 00 00 00 ........
0018: 00 00 00 00 00 00 00 00 ........
0020: 00 00 00 00 00 00 00 00 ........
Event Type: Information
Event Source: Tcpip
Event Category: None
Event ID: 4201
Date: 3/1/2009
Time: 6:19:20 AM
User: N/A
Computer: FOOBAR
Description:
The system detected that network adapter \DEVICE\TCPIP_{51FDDE0F-0935-416E-8FE0-3E1A50847D41} was connected to the network, and has initiated normal operation over the network adapter.
For more information, see Help and Support Center at
http://go.microsoft.com/fwlink/events.asp.
Data:
0000: 00 00 00 00 02 00 50 00 ......P.
0008: 00 00 00 00 69 10 00 40 ....i..@
0010: 02 00 00 00 00 00 00 00 ........
0018: 00 00 00 00 00 00 00 00 ........
0020: 00 00 00 00 00 00 00 00 ........
I also noticed the disconnections usually start with red X icon in my taskbar with its bubble and then later the long disconnection even though no red X (1 GB and connected). If I were to disconnect the cat5 cable from NIC, then it wouldn't even detect it is missing the cable!
The only way to fix this was to reboot (best way and last longer) OR disable network connection and re-enable it (Windows XP's Network Connections) or the NIC itself (Device Manager), but that doesn't always last long (maybe a minute). Example of my pings right after disabling and re-enabling NIC:
C:\>ping 192.168.0.1 -t
Pinging 192.168.0.1 with 32 bytes of data:
Request timed out.
Reply from 192.168.0.1: bytes=32 time<1ms TTL=150
Reply from 192.168.0.1: bytes=32 time<1ms TTL=150
Reply from 192.168.0.1: bytes=32 time<1ms TTL=150
Request timed out.
Reply from 192.168.0.1: bytes=32 time<1ms TTL=150
Request timed out.
Request timed out.
Reply from 192.168.0.1: bytes=32 time<1ms TTL=150
MSINFO32 in case it helps (seems OK to me, but I am not a hardware expert):
[Conflicts/Sharing]
Resource Device
I/O Port 0x00000000-0x00000CF7 PCI bus
I/O Port 0x00000000-0x00000CF7 Direct memory access controller
I/O Port 0x000003C0-0x000003DF Intel(R) 4 Series Chipset PCI Express Root Port - 2E21
I/O Port 0x000003C0-0x000003DF ATI Radeon HD 4800 Series
IRQ 21 Intel(R) ICH10 Family USB Universal Host Controller - 3A38
IRQ 21 OHCI Compliant IEEE 1394 Host Controller
IRQ 21 TechniSat DVB-PC TV Star PCI
IRQ 23 Intel(R) ICH10 Family USB Universal Host Controller - 3A34
IRQ 23 Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3A
I/O Port 0x0000B000-0x0000BFFF Intel(R) 4 Series Chipset PCI Express Root Port - 2E21
I/O Port 0x0000B000-0x0000BFFF ATI Radeon HD 4800 Series
IRQ 16 Intel(R) 4 Series Chipset PCI Express Root Port - 2E21
IRQ 16 ATI Radeon HD 4800 Series
IRQ 16 Intel(R) ICH10 Family USB Universal Host Controller - 3A37
IRQ 16 Standard Dual Channel PCI IDE Controller
IRQ 16 Intel(R) ICH10 Family PCI Express Root Port 2 - 3A42
IRQ 16 Intel(R) ICH10 Family PCI Express Root Port 6 - 3A4A
IRQ 16 ASUS TV880 Video Capture (NTSC)
IRQ 17 Microsoft UAA Bus Driver for High Definition Audio
IRQ 17 Intel(R) ICH10 Family PCI Express Root Port 1 - 3A40
IRQ 17 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC
Memory Address 0xD0000000-0xDFFFFFFF Intel(R) 4 Series Chipset PCI Express Root Port -
2E21
Memory Address 0xD0000000-0xDFFFFFFF ATI Radeon HD 4800 Series
IRQ 18 Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3C
IRQ 18 Intel(R) ICH10 Family USB Universal Host Controller - 3A36
IRQ 19 Intel(R) ICH10 Family USB Universal Host Controller - 3A39
IRQ 19 Intel(R) ICH10 Family USB Universal Host Controller - 3A35
IRQ 19 Intel(R) ICH10 Family 4 port Serial ATA Storage Controller 1 - 3A20
IRQ 19 Intel(R) ICH10 Family 2 port Serial ATA Storage Controller 2 - 3A26
Memory Address 0xA0000-0xBFFFF PCI bus
Memory Address 0xA0000-0xBFFFF Intel(R) 4 Series Chipset PCI Express Root Port - 2E21
Memory Address 0xA0000-0xBFFFF ATI Radeon HD 4800 Series
Memory Address 0xFED90000-0xFED93FFF System board
Memory Address 0xFED90000-0xFED93FFF System board
I/O Port 0x000003B0-0x000003BB Intel(R) 4 Series Chipset PCI Express Root Port - 2E21
I/O Port 0x000003B0-0x000003BB ATI Radeon HD 4800 Series
[IRQs]
Resource Device Status
IRQ 9 Microsoft ACPI-Compliant System OK
IRQ 16 Intel(R) 4 Series Chipset PCI Express Root Port - 2E21 OK
IRQ 16 ATI Radeon HD 4800 Series OK
IRQ 16 Intel(R) ICH10 Family USB Universal Host Controller - 3A37 OK
IRQ 16 Standard Dual Channel PCI IDE Controller OK
IRQ 16 Intel(R) ICH10 Family PCI Express Root Port 2 - 3A42 OK
IRQ 16 Intel(R) ICH10 Family PCI Express Root Port 6 - 3A4A OK
IRQ 16 ASUS TV880 Video Capture (NTSC) OK
IRQ 17 Microsoft UAA Bus Driver for High Definition Audio OK
IRQ 17 Intel(R) ICH10 Family PCI Express Root Port 1 - 3A40 OK
IRQ 17 Realtek RTL8168C(P)/8111C(P) PCI-E Gigabit Ethernet NIC OK
IRQ 21 Intel(R) ICH10 Family USB Universal Host Controller - 3A38 OK
IRQ 21 OHCI Compliant IEEE 1394 Host Controller OK
IRQ 21 TechniSat DVB-PC TV Star PCI OK
IRQ 19 Intel(R) ICH10 Family USB Universal Host Controller - 3A39 OK
IRQ 19 Intel(R) ICH10 Family USB Universal Host Controller - 3A35 OK
IRQ 19 Intel(R) ICH10 Family 4 port Serial ATA Storage Controller 1 - 3A20 OK
IRQ 19 Intel(R) ICH10 Family 2 port Serial ATA Storage Controller 2 - 3A26 OK
IRQ 18 Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3C OK
IRQ 18 Intel(R) ICH10 Family USB Universal Host Controller - 3A36 OK
IRQ 23 Intel(R) ICH10 Family USB Universal Host Controller - 3A34 OK
IRQ 23 Intel(R) ICH10 Family USB Enhanced Host Controller - 3A3A OK
IRQ 20 Creative SB Audigy 2 ZS (WDM) OK
IRQ 22 TechniSat DVB-PC TV Star PCI #3 OK
IRQ 0 System timer OK
IRQ 8 System CMOS/real time clock OK
IRQ 13 Numeric data processor OK
IRQ 4 Communications Port (COM1) OK
IRQ 6 Standard floppy disk controller OK
IRQ 1 Standard 101/102-Key or Microsoft Natural PS/2 Keyboard OK
IRQ 12 Microsoft PS/2 Mouse OK
IRQ 14 Intel(R) ICH10 Family SMBus Controller - 3A30 OK
My detailed computer configurations can be found here: http://alpha.zimage.com/~ant/antfarm/about/computers.txt (primary computer).
Thank you in advance.Quote from: NovJoe on 02-March-09, 23:10:05
Force your NIC to run at 100Mbps full duplex and see how it goes.
Check your router / switch ports as well as cables.
I will try 100 Mbps if it happens again. So far, it hasn't occurred after installing the driver supplied by MSI's Web site and not RealTek's Web site. The room temperatures even got warmer like 83F degrees.
As for router and switch, what am I checking for? Other computers didn't have any problems. As for cat5 cables, I already tried another one like I said in my original post. -
Remote Desktop Connection and printing issues
Hi,
I am using Windows 7 on my desktop and also connected to Windows Server 2008 R2 to run applications in Windows Server. However, I noted there is problem with the printer issues. Sometimes, when I tried to print some documents using applications
in Windows Server with my local printer in my room connected to desktop, it won't work.
Moreover, I need to go to Windows Server, Component Service to restart printer spooler so it will work again. This is a pain.
I also noticed there is about 30 seconds wait to process any document to print.
Unlike if I print documents directly from my local desktop computer running Windows 7 and connected to local printer, it only takes seconds to print.
My desktop is connected to Windows Server 2008 via local area network. I should not expect such a significant delay in printing.
I also wonder why printer spooler needs to be restarted when printer is not working.
Can anyone advise me about this? Can Microsoft looks into this problem and release updates to fix the bug to improve the system?
Thanks
Regards,
ClementHi,
Please check if you turn on this settings:
You need to set this up just before you connect. The setting will be saved so that you won't need to change it the next time you connect.
1. Open Remote Desktop Connection by clicking the Start button, clicking
All Programs, clicking Accessories, and then clicking
Remote Desktop Connection.
2.Click Options, and then click the Local Resources
tab.
3.Under Local devices and resources, select the Printers check box.
4.Click Connect to start the session.
Make sure that you select your printer in the Print dialog box each time you print.
Karen Hu
TechNet Community Support -
What are Azure limitations for Websockets in Cloud Services (web and worker role)?
A WebSocket Server should be built on Azure platform with OnPrem connections and have questions regarding limitations for Websockets in Azure Cloud Services - web and worker roles.
Websockets can be configured for Web Sites and limitations are understood, but Azure Websites is not an option.
Nevertheless it is planned to run a web service (without UI - no web site) as a Cloud service which has secure websocket (WSS) connections to OnPrem machines. Websocket protocol is enabled for IIS8 on Cloud services web and worker roles. Azure Service Bus Relay
is not an option.
Questions:
1) Are Websockets supported for Azure Cloud services web and worker roles? we assume yes
2) What are potential limitations from Azure side to support concurrent Websocket connections? We are aware that CPU, memory etc are limitations, but are there additional limitations from MS Azure side?
Hi,
As I know, azure cloud service web and worker role support Websockets, users can connect to the role via the special endpoint, if we use Azure cloud service, I think we can monitor the metrics such as CPU, memory, etc... and scale our cloud service via these
metrics to keep the websockets working, refer to
http://azure.microsoft.com/en-us/documentation/articles/cloud-services-how-to-scale/ for more information about how to scale a cloud service.
Regards -
[jsr82] can a j2me app be a Bluetooth server and client role in parallel?
I want to make my j2me app register a special service channel and listen to it, meanwhile, I also want to start a client to connect to other handset which has the same services. In Bluetooth protocol side, this is obviously OK, but in J2me is this design possible? some people said that in jsr82, the Bluetooth device is exclusive for J2me app, app cannot be both server role and client role at the same time. Can anybody give me a definite answer?
No this design is not possible with JSR 82. Because when the device acts as a server it can't be used as a client as whenever you will run the client code the server mode will disappear.
But what maximum you can do is when you need the client to run close the server and switch into the client mode but I think you don't need this solution.
Shan!!! -
Security-role and security-role-assignment not working in WL7.0
Hello all..
Some EJB components that worked fine in WebLogic 6.1 no longer work in
WL7.0. It has to do with the security-role and security-role-assignment
descriptor elements no longer allowing anonymous users to be included in the
authorization for a bean.
For example, in WL6.1 placing these items in ejb-jar.xml:
<assembly-descriptor>
<security-role>
<role-name>Employees</role-name>
</security-role>
<method-permission>
<role-name>Employees</role-name>
<method>
<ejb-name>CustomerEJB</ejb-name>
<method-name>*</method-name>
</method>
</method-permission>
and mapping WebLogic default users to this role in weblogic-ejb-jar.xml:
<security-role-assignment>
<role-name>Employees</role-name>
<principal-name>guest</principal-name>
<principal-name>system</principal-name>
</security-role-assignment>
worked fine for clients creating their context using a simple
InitialContext() constructor without specifying SECURITY_PRINCIPAL or
SECURITY_CREDENTIALS. These users were basically "guest" to WebLogic, and
the security-role-assignment element above told WebLogic that "guest" was in
the Employees role for purposes of this EJB archive.
Worked in WL6.1, no longer works in WL7.0. Client receives typical
permission exception:
java.rmi.AccessException: Security violation: insufficient permission to
access method 'create'
If I explicity connect as "system" things are fine, or I can create a new
user in the default realm in WebLogic, put a matching <principal-name>
element in the section above, and connect as that user. Note that if I leave
off the <security-role> section completely, or set the required role name to
"everyone", the anonymous access works fine. Apparently the anonymous user
is a member of "everyone" behind the scenes even though "everyone" does not
appear in the realm list of groups or roles.
So, my question boils down to this: Is there a "magic" username in WL7 like
"guest" was in WL6.1 that can be mapped to the required role name, or must
every client connection use a true weblogic-created user with appropriate
role assignments used to map it to the required role name.
-Greg
P.S. Note that none of the EJB examples provided with WL used
<security-role>..
Check out my WebLogic 6.1 Workbook for O'Reilly EJB Third Edition
www.amazon.com/exec/obidos/ASIN/1931822468 or www.titan-books.comBelow are the screen shots for PFCG:
-
File Adapter creating huge connections and not releasing.
Hi,
We see high no. of current connections in file adapter from weblogic console against eis/HAFileAdapter under deployments -> fileadapter -> monitoring -> Outbound Connection Pools and are concerned about the same. It seems like fileadapter is not releasing the connection and hence no. of connections are piling up over a days and depending upon the transactions. coz after a restart the values comes down from 36000 to 10 ( which is default initial connection).
But when i see at the datasource level i don't see that much number of active connections. Need to know why this is happening and is this behavior is expected?
We are using SOA 11g PS2
Below is the deployment plan for fileadpater in use:
<?xml version='1.0' encoding='UTF-8'?>
<deployment-plan xmlns="http://xmlns.oracle.com/weblogic/deployment-plan" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://xmlns.oracle.com/weblogic/deployment-plan http://xmlns.oracle.com/weblogic/deployment-plan/1.0/deployment-plan.xsd" global-variables="false">
<application-name>connectors</application-name>
<variable-definition>
<variable>
<name>ConfigProperty_controlDir_Value_12732617703910</name>
<value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
</variable>
<variable>
<name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
<value>oracle</value>
</variable>
<variable>
<name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
<value>eis/HAFileAdapter1</value>
</variable>
<variable>
<name>ConfigProperty_controlDir_Value_13010283495591</name>
<value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
</variable>
<variable>
<name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
<value>jdbc/SOALocalTxDataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
<value>oracle</value>
</variable>
<variable>
<name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
<value>jdbc/SOALocalTxDataSource</value>
</variable>
<variable>
<name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
<value>eis/HAFileAdapter_Wedb</value>
</variable>
<variable>
<name>ConfigProperty_controlDir_Value_13369119117411</name>
<value>/var/opt/soa_nfs/data/SOA_PRD_DOMAIN/config/FileAdapter</value>
</variable>
<variable>
<name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
<value>jdbc/SOADataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
<value>jdbc/SOALocalTxDataSource</value>
</variable>
<variable>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
<value>oracle</value>
</variable>
</variable-definition>
<module-override>
<module-name>FileAdapter.rar</module-name>
<module-type>rar</module-type>
<module-descriptor external="false">
<root-element>weblogic-connector</root-element>
<uri>META-INF/weblogic-ra.xml</uri>
<variable-assignment>
<name>ConfigProperty_controlDir_Value_12732617703910</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundLockTypeForWrite_Value_12737938820080</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConnectionInstance_eis/HAFileAdapter1_JNDIName_13010279387490</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/jndi-name</xpath>
<origin>planbased</origin>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_controlDir_Value_13010283495591</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_inboundDataSource_Value_13010283655032</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSource_Value_13010283782973</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSourceLocal_Value_13010283877514</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13010283941445</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter1"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_inboundDataSource_Value_13081683627140</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSource_Value_13081683875571</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSourceLocal_Value_13081684137432</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConnectionInstance_eis/HAFileAdapter_Wedb_JNDIName_13369118887880</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/jndi-name</xpath>
<origin>planbased</origin>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_controlDir_Value_13369119117411</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="controlDir"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_inboundDataSource_Value_13369119237302</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="inboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSource_Value_13369119486683</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSource"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundDataSourceLocal_Value_13369119703484</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundDataSourceLocal"]/value</xpath>
</variable-assignment>
<variable-assignment>
<name>ConfigProperty_outboundLockTypeForWrite_Value_13369119820485</name>
<xpath>/weblogic-connector/outbound-resource-adapter/connection-definition-group/[connection-factory-interface="javax.resource.cci.ConnectionFactory"]/connection-instance/[jndi-name="eis/HAFileAdapter_Wedb"]/connection-properties/properties/property/[name="outboundLockTypeForWrite"]/value</xpath>
</variable-assignment>
</module-descriptor>
<module-descriptor external="false">
<root-element>connector</root-element>
<uri>META-INF/ra.xml</uri>
</module-descriptor>
<module-descriptor external="true">
<root-element>wldf-resource</root-element>
<uri>META-INF/weblogic-diagnostics.xml</uri>
</module-descriptor>
</module-override>
<config-root>/opt/soauser/products/soa11.1/Oracle_SOA1/soa/connectors/plan</config-root>
</deployment-plan>
-RohitHi Arik,
To answer your questions :
You are using HAFileAdapter in your processes JNDI defenitions? --Yes
Check in your HAFileAdapter Connection Pool if Shrinking Enabled is set to true. --Its set to true
I would recomend also to change the properties Test Connections On Reserve to true, and Test Frequency Seconds(900 is the default). --These properties are also in place
-Rohit -
Ability to record and playback role play activities
Hi All,
I conduct skill training sessions using Adobe Connect and would like the ability to record a role play between two people sharing webcams, and have the ability to immediately play back and debrief this video recording. Besides using a third-party screen capture program, are there any other solutions/techniques I can use to accomplish this.
Many thanks in advance.
JonHave you managed to fix this frustrating problem.
I have Flash Builder 4 and I am having exactly the same problem.
I cannot find a solution to it anywhere.
AHHHHHHH!!!!!
Maybe you are looking for
-
Download file stored in Database?
We are implementing a mini DMS in our application and need to write and read files to the database. We are trying to figure out if we can convert the byte array we get from the DB into a file that the end user can save on the client machine. Is this
-
In CS6 InDesign (8.0.1) I tried looking for Folio Overlays panel and it doesn't appear. So, I tried to go to Updates under Help menu but the Updates button is deactivated. Any ideas?
-
Rainbow spinning ball comes on all the time
I work in photoshop, on pretty huge files. about 4 GB, the maximum it can take. I have 8 gb of ram (although I know CS2 can only take advantage of 3 something GB). The thing is that my computer is getting slower and slower, and I get that spinning ra
-
CS5 - Help copy from another application and paste into CS5
I am not able to copy an image from another application and paste into my CS5 image. I can paste the image into any other program except for CS5. Does anyone know how this issue can be fixed? Very frustrating, since it is such a simple process. Than
-
Hi, 4 tabs on a region. When the page displays a simple report within a tab, everything 's ok. But when clickin on the 'Next' button on the report, all my tabs disappear.... What's happening ?