Unable to expand permanent memory
Hi everyone!
I'm developing an application which needs a dictionary. This dictionary is a 706kb txt file. I can't load it all because I get an outofmemory exception.
I made a class Words and 64 classes that extend from Words (+Words00,Words01,...,Words63+). Each one of the son classes is the same. All of them together make the whole dictionary.
class Words{
protected String words[];
class Words00 extends Words{
private String myWords[] = {"a","ab","abe","ace","age",...............};
public Words00(){
words = myWords;
myWords = null;
}I also wrote Words00 like this because I want to load the words fast.
Each of the (Words00,Words01,...,Words63) files is like 30kb and when I need a list I do this:
Words list = loader.getWords(index);
class Loader{
public getWords(int index){
switch(index){
case 0: return new Words00();
case 1: return new Words01();
case 63: return new Words63();
}When the method getWords is called the message "java.lang.OutOfMemoryError" is shown.
When I comment some lines in getWords and I leave only a few "case" lines uncommented the error does not happen.
I think it is because all the classes Words## are loaded somewhere and they weigth 30kb each.
What can I do?? I don't need two lists at the same time. When I need a new one I can throw away the one I was using.
Also what can I do to load the lists fast??
I solved it....
I didnt know but using a DataInputStream the reading is really fast. I use ReadUTF and ReadInt. Now I dont have 64 classes but 64 binary files. Every time I need one file I load it....
Similar Messages
-
Unable to expand permanent memory Error
Hi everyone,
When running the MIDlet I'm coding I get a java.lang.OutOfMemoryError with the fellowing message: "Unable to expand permanent memory".
I tried to raise the heap size of the WTK emulator but no change. And what is more annoying is that the debugger won't step into the offending method.
Do you have an idea on how to solve this problem.
CU JeromeThe runtime tells me that on a total of 512kb of memory 467kb are free.
The offending method is initializing some arrays and populating them.
CU Jerome -
Unable to expand child links in ALV Tree
Hi,
I have written the following code for ALV Tree using function modules.
REPORT ZSID_ALV_TREE.
type pool declarations for tree
TYPE-POOLS : fibs,stree.
tables: ekko.
TYPES: BEGIN OF t_ekko,
ebeln TYPE ekpo-ebeln,
ebelp TYPE ekpo-ebelp,
statu TYPE ekpo-statu,
aedat TYPE ekpo-aedat,
matnr TYPE ekpo-matnr,
menge TYPE ekpo-menge,
meins TYPE ekpo-meins,
netpr TYPE ekpo-netpr,
peinh TYPE ekpo-peinh,
END OF t_ekko.
DATA: it_ekko TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
it_ekpo TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
it_emptytab TYPE STANDARD TABLE OF t_ekko INITIAL SIZE 0,
wa_ekko TYPE t_ekko,
wa_ekpo TYPE t_ekko.
DATA:w_repid type sy-cprog.
*Data declaration for additional node information
DATA : t_node TYPE snodetext.
*Internal table and wa decl for nodes
DATA : it_node LIKE TABLE OF t_node INITIAL SIZE 0,
wa_node LIKE t_node.
*Start of selection event
START-OF-SELECTION.
*Select the data for tree
PERFORM fetch_data.
*Build the hierarchy for tree
PERFORM build_hierarchy.
*Build Tree for display
PERFORM build_tree.
*& Form fetch_data
text
--> p1 text
<-- p2 text
FORM fetch_data .
SELECT ebeln
up to 10 rows
FROM ekko
INTO corresponding fields of TABLE it_ekko .
loop at it_ekko into wa_ekko.
SELECT ebeln ebelp statu aedat matnr menge meins netpr peinh
FROM ekpo
appending TABLE it_ekpo
where ebeln eq wa_ekko-ebeln.
endloop.
endform.
*& Form build_hierarchy
text
--> p1 text
<-- p2 text
FORM build_hierarchy .
*Building the nodes and hierarchy for tree
CLEAR : it_node[], wa_node.
wa_node-type = 'T'.
wa_node-name = 'Product Hierarchy Level'.
wa_node-tlevel = '01'.
wa_node-nlength = '35'.
wa_node-color = '4'.
wa_node-text = 'Test'.
wa_node-tlength ='20'.
wa_node-tcolor = 3.
APPEND wa_node TO it_node.
CLEAR wa_node.
loop at it_ekpo into wa_ekpo.
wa_node-type = 'P'.
wa_node-name = 'Purchasing Doc'.
wa_node-tlevel = '02'.
wa_node-nlength = '25'.
wa_node-color = '4'.
wa_node-text = wa_ekpo-ebeln.
wa_node-tlength ='20'.
wa_node-tcolor = 3.
APPEND wa_node TO it_node.
CLEAR wa_node.
*Filling the values of internal table into tree
wa_node-type = 'P'.
wa_node-name = 'Material No'.
wa_node-tlevel = '03'.
wa_node-nlength = '20'.
wa_node-color = '1'.
wa_node-text = wa_ekpo-matnr.
wa_node-tlength ='20'.
wa_node-tcolor = 4.
APPEND wa_node TO it_node.
CLEAR wa_node.
ENDLOOP.
ENDFORM. " build_hierarchy
*& Form build_tree
text
--> p1 text
<-- p2 text
FORM build_tree .
*Fm for constructing the tree
CALL FUNCTION 'RS_TREE_CONSTRUCT'
TABLES
nodetab = it_node.
IF sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
ENDIF.
w_repid = SY-CPROG.
*FM for displaying the tree
CALL FUNCTION 'RS_TREE_LIST_DISPLAY'
EXPORTING
CALLBACK_PROGRAM = w_repid
CALLBACK_USER_COMMAND = 'USER1_COMMAND'
CALLBACK_TEXT_DISPLAY =
CALLBACK_MOREINFO_DISPLAY =
CALLBACK_COLOR_DISPLAY =
CALLBACK_TOP_OF_PAGE =
CALLBACK_GUI_STATUS =
CALLBACK_CONTEXT_MENU =
STATUS = 'IMPLICIT'
CHECK_DUPLICATE_NAME = '0'
COLOR_OF_NODE = '4'
COLOR_OF_MARK = '3'
COLOR_OF_LINK = '1'
COLOR_OF_MATCH = '5'
LOWER_CASE_SENSITIVE = 'X'
MODIFICATION_LOG = 'X'
NODE_LENGTH = 40
TEXT_LENGTH = 75
TEXT_LENGTH1 = 0
TEXT_LENGTH2 = 0
RETURN_MARKED_SUBTREE = 'X'
SCREEN_START_COLUMN = 0
SCREEN_START_LINE = 0
SCREEN_END_COLUMN = 0
SCREEN_END_LINE = 0
SUPPRESS_NODE_OUTPUT = 'X'
LAYOUT_MODE = ' '
USE_CONTROL = 'L'.
IMPORTING
F15 =
ENDFORM. " build_tree
FORM USER1_COMMAND TABLES node STRUCTURE seucomm
USING command
CHANGING value(exit)
VALUE(LIST_REFRESH).
write 'Hi'.
endform.
But I have a problem
1. I can expand the child links in tree structure when I comment the exporting parameter CALLBACK_USER_COMMAND in the function Module 'RS_TREE_LIST_DISPLAY'.
2 But when i uncomment the exporting parameter I am unable to expand the child links in output.
Please let me know if i have missed something in the code.
Useful answers will be rewarded
Regards,
SiddharthHi Sidhhart,
Check out this prog.
REPORT Z_KULDEEP_ALV_HIERARCHY
message-id zord
line-size 270.
Tables:
Vbap,
Vbak.
*& PROGRAM VARIABLES
type-pools slis.
*& INTERNAL TABLES & STRUCTURES
data:
begin of t_header occurs 0,
EXPCOL type c,
vbeln type vbak-vbeln,
audat type vbak-audat,
vkorg type vbak-vkorg,
vtweg type vbak-vtweg,
spart type vbak-spart,
end of t_header,
begin of t_item occurs 0,
vbeln type vbap-vbeln,
posnr type vbap-posnr,
matnr type vbap-matnr,
arktx type vbap-arktx,
pstyv type vbap-pstyv,
end of t_item,
t_fieldcat type standard table of slis_fieldcat_alv with header line,
t_event type standard table of slis_alv_event with header line,
x_keyinfo type slis_keyinfo_alv,
x_layout type slis_layout_alv,
x_variant like disvariant.
*& GLOBAL VARIABLES
data:
g_repid type sy-repid,
g_formname type slis_formname value 'TOP_OF_PAGE'.
*& SELECTION SCREEN *
selection-screen begin of block a with frame title text-000.
Select-options : s_date for vbak-audat obligatory.
p_date type vbak-audat.
selection-screen end of block a.
*& INITIALIZATION *
initialization.
clear : g_repid,t_header,t_item.
refresh : t_header,t_item.
g_repid = sy-repid.
*& AT SELECTION-SCREEN *
at selection-screen.
if s_date-high > sy-datum.
message e001.
endif.
start-of-selection.
select vbeln audat vkorg vtweg spart from vbak
into corresponding fields of table t_header
where audat in s_date.
select vbeln posnr matnr arktx pstyv from vbap
into table t_item
for all entries in t_header
where vbeln = t_header-vbeln.
end-of-selection.
perform sub_display_alv.
*& Form sub_display_alv
text
--> p1 text
<-- p2 text
form sub_display_alv.
*column 1
perform sub_populate_fieldcatalog using:
'VBELN' " field name
'T_HEADER' " table name
'ORDER' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 2
perform sub_populate_fieldcatalog using:
'AUDAT' " field name
'T_HEADER' " table name
'ORDERDATE' " column heading
'10' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 3
perform sub_populate_fieldcatalog using:
'VKORG' " field name
'T_HEADER' " table name
'SALES ORG' " column heading
'6' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 4
perform sub_populate_fieldcatalog using:
'VTWEG' " field name
'T_HEADER' " table name
'DIVISION' " column heading
'2' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 5
perform sub_populate_fieldcatalog using:
'SPART' " field name
'T_HEADER' " table name
'CHANNEL' " column heading
'4' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 6
perform sub_populate_fieldcatalog using:
'vbeln' " field name
'T_item' " table name
'Order' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 7
perform sub_populate_fieldcatalog using:
'POSNR' " field name
'T_ITEM' " table name
'SALES DOC.ITEM' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 8
perform sub_populate_fieldcatalog using:
'MATNR' " field name
'T_ITEM' " table name
'MATERIAL' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 9
perform sub_populate_fieldcatalog using:
'ARKTX' " field name
'T_ITEM' " table name
'SALES ORDER ITEM' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
*column 10
perform sub_populate_fieldcatalog using:
'PSTYV' " field name
'T_ITEM' " table name
'ITEM CATEGORY' " column heading
'8' " column width
' ' " fix column?
' ' " key
' ' " no display
' ' " sum this column
'X' " do not sum
' ' " input allowed?
' ' " currenct type field name
' ' " data type
'X'. " hotspot.
perform sub_assign_events.
Create a Layout for the ALV
perform sub_layout.
Define the key fields that links the header & item tables
perform sub_define_key.
dispaly list
perform sub_call_list_display.
endform. " sub_display_alv
*& Form sub_populate_fieldcatalog
text
-->P_G_FIELDCAT text
-->P_0198 text
-->P_0199 text
-->P_0200 text
-->P_0201 text
-->P_0202 text
-->P_0203 text
-->P_0204 text
-->P_0205 text
-->P_0206 text
-->P_0207 text
-->P_0208 text
-->P_0209 text
-->P_0210 text
-->P_0211 text
-->P_0212 text
-->P_0213 text
form sub_populate_fieldcatalog using
l_fieldname
l_tabname
l_column_heading
l_outputlen
l_fix_column
l_key
l_no_out
l_do_sum
l_no_sum
l_input
l_cfieldname
l_datatype
l_hotspot.
t_fieldcat-fieldname = l_fieldname.
t_fieldcat-tabname = l_tabname.
t_fieldcat-reptext_ddic = l_column_heading.
t_fieldcat-outputlen = l_outputlen.
t_fieldcat-fix_column = l_fix_column.
t_fieldcat-key = l_key.
t_fieldcat-no_out = l_no_out.
t_fieldcat-do_sum = l_do_sum.
t_fieldcat-no_sum = l_no_sum.
t_fieldcat-cfieldname = l_cfieldname.
t_fieldcat-datatype = l_datatype.
t_fieldcat-hotspot = l_hotspot.
append t_fieldcat.clear t_fieldcat.
endform. " sub_populate_fieldcatalog
*& Form sub_assign_events
text
--> p1 text
<-- p2 text
form sub_assign_events.
refresh t_event.
call function 'REUSE_ALV_EVENTS_GET'
exporting
i_list_type = 1
importing
et_events = t_event[]
exceptions
list_type_wrong = 1
others = 2
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
Read the record for the top-of-page event
read table t_event with key slis_ev_top_of_page.
if sy-subrc = 0.
t_event-form = g_formname.
append t_event.
endif.
endform. " sub_assign_events
*& Form SUB_LAYOUT
text
--> p1 text
<-- p2 text
form sub_layout.
clear x_layout.
x_layout-f2code = 'QUOTE'.
x_layout-zebra = 'X'.
x_layout-expand_fieldname = 'EXPCOL'. " Field for expand/collapse
*Stat
x_layout-colwidth_optimize = 'X'.
x_layout-no_totalline = 'X'. " 0001+
endform. " SUB_LAYOUT
*& Form SUB_DEFINE_KEY
text
--> p1 text
<-- p2 text
form sub_define_key.
clear x_keyinfo.
x_keyinfo-header01 = 'VBELN'.
x_keyinfo-item01 = 'VBELN'.
endform. " SUB_DEFINE_KEY
form top_of_page.
write :/10 sy-datum, 20 sy-pagno, 30 sy-uname.
endform.
form sub_user_command using f_ucomm like sy-ucomm
f_selfield type slis_selfield.
if f_ucomm = 'QUOTE'.
if f_selfield-fieldname = 'VBELN'.
Set Parameter id 'AUN' field f_selfield-value.
call transaction 'VA03'.
endif.
endif.
endform.
*& Form sub_call_list_display
text
--> p1 text
<-- p2 text
form sub_call_list_display.
call function 'REUSE_ALV_HIERSEQ_LIST_DISPLAY'
exporting
i_callback_program = g_repid
i_callback_user_command = 'SUB_USER_COMMAND '
is_layout = x_layout
it_fieldcat = t_fieldcat[]
i_save = 'A'
it_events = t_event[]
i_tabname_header = 'T_HEADER'
i_tabname_item = 'T_ITEM'
is_keyinfo = x_keyinfo
tables
t_outtab_header = t_header[]
t_outtab_item = t_item[]
exceptions
program_error = 1
others = 2
if sy-subrc <> 0.
MESSAGE ID SY-MSGID TYPE SY-MSGTY NUMBER SY-MSGNO
WITH SY-MSGV1 SY-MSGV2 SY-MSGV3 SY-MSGV4.
endif.
endform. " sub_call_list_display -
Unable to expand tree in safari 5.1.7 for windows
Hi,
I am using Safari v5.1.7 in Windows OS. There is a left navigational panel with tree structure in web content page. When I open web content in safari 5.1.7, I am unable to expand the tree. This happening with the pages which are carrying huge data. For the normal pages, I could able to expand the children of the tree.
Please anyone help on this.Above issue is an urgent issue. Any help would be appreciated. Thanks
-
Can I expand the memory of my ipod touch 4G from 32GB to 64 GB?
I expand the memory of my ipod touch 4G from 32GB to 64 GB?
DauTT wrote:
I expand the memory of my ipod touch 4G from 32GB to 64 GB?
no -
Error message: ORA-27125: unable to create shared memory segment Linux-x86_
Hi,
I am doing an installtion of SAP Netweaver 2004s SR3 on SusE Linux 11/Oracle 10.2
But i am facing the follow issue in Create Database phase of SAPInst.
An error occurred while processing service SAP NetWeaver 7.0 Support Release 3 > SAP Systems > Oracle > Central System > Central System( Last error reported by the step :Caught ESAPinstException in Modulecall: ORA-27125: unable to create shared memory segment Linux-x86_64 Error: 1: Operation not permitted Disconnected
Please help me to resolve the issue.
Thanks,
NishithaHi Ratnajit,
I am too facing the same error but my ORACLE is not starting,
Here are my results of following command:
cat /etc/sysctl.conf
# created by /sapmnt/pss-linux/scripts/sysctl.pl on Wed Oct 23 22:55:01 CEST 2013
fs.inotify.max_user_watches = 65536
kernel.randomize_va_space = 0
##kernel.sem = 1250 256000 100 8192
kernel.sysrq = 1
net.ipv4.conf.all.promote_secondaries = 1
net.ipv4.conf.all.rp_filter = 0
net.ipv4.conf.default.promote_secondaries = 1
net.ipv4.icmp_echo_ignore_broadcasts = 1
net.ipv4.neigh.default.gc_thresh1 = 256
net.ipv4.neigh.default.gc_thresh2 = 1024
net.ipv4.neigh.default.gc_thresh3 = 4096
net.ipv6.neigh.default.gc_thresh1 = 256
net.ipv6.neigh.default.gc_thresh2 = 1024
net.ipv6.neigh.default.gc_thresh3 = 4096
vm.max_map_count = 2000000
# Modified for SAP on 2013-10-24 07:14:17 UTC
#kernel.shmall = 2097152
kernel.shmall = 16515072
# Modified for SAP on 2013-10-24 07:14:17 UTC
#kernel.shmmax = 2147483648
kernel.shmmax = 67645734912
kernel.shmmni = 4096
# semaphores: semmsl, semmns, semopm, semmni
kernel.sem = 250 32000 100 128
fs.file-max = 65536
net.ipv4.ip_local_port_range = 1024 65000
net.core.rmem_default = 262144
net.core.rmem_max = 262144
net.core.wmem_default = 262144
net.core.wmem_max = 262144
And here is mine Limit.conf File
cat /etc/security/limits.conf
#<domain> <type> <item> <value>
#* soft core 0
#* hard rss 10000
#@student hard nproc 20
#@faculty soft nproc 20
#@faculty hard nproc 50
#ftp hard nproc 0
#@student - maxlogins 4
# Added for SAP on 2012-03-14 10:38:15 UTC
#@sapsys soft nofile 32800
#@sapsys hard nofile 32800
#@sdba soft nofile 32800
#@sdba hard nofile 32800
#@dba soft nofile 32800
#@dba hard nofile 32800
# End of file
# Added for SAP on 2013-10-24
# soft nproc 2047
# hard nproc 16384
# soft nofile 1024
# hard nofile 65536
@sapsys soft nofile 131072
@sapsys hard nofile 131072
@sdba soft nproc 131072
@sdba hard nproc 131072
@dba soft core unlimited
@dba hard core unlimited
soft memlock 50000000
hard memlock 50000000
Here is mine cat /proc/meminfo
MemTotal: 33015980 kB
MemFree: 29890028 kB
Buffers: 82588 kB
Cached: 1451480 kB
SwapCached: 0 kB
Active: 1920304 kB
Inactive: 749188 kB
Active(anon): 1136212 kB
Inactive(anon): 39128 kB
Active(file): 784092 kB
Inactive(file): 710060 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 33553404 kB
SwapFree: 33553404 kB
Dirty: 1888 kB
Writeback: 0 kB
AnonPages: 1135436 kB
Mapped: 161144 kB
Shmem: 39928 kB
Slab: 84096 kB
SReclaimable: 44400 kB
SUnreclaim: 39696 kB
KernelStack: 2840 kB
PageTables: 10544 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 50061392 kB
Committed_AS: 1364300 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 342156 kB
VmallocChunk: 34359386308 kB
HardwareCorrupted: 0 kB
AnonHugePages: 622592 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 67584 kB
DirectMap2M: 33486848 kB
Please let me know where i am going wrong.
Wat thing basically u check on /proc/meminfo command
Regards,
Dipak -
Unable to Expand nodes under Migrated Content.
Hi all,
We have recently installed EP 7.0 and we have uploaded the Business Packages Specific to CRM 5.0.But under Migrated Content--> EP 5.0 I'm not able to drill down further.I'm able to see the Folders like Iviews, Pages,Roles etc..But I'm unable to expand these folders further.Like if I want to see all the roles present in the roles Folder i'm not able to do so.But the roles are present and I can see them if I search them in Identity management.
Can someone help me on this.
thanks and regards,
Vijaya Sai.VHi,
This folder would be empty in case of fresh install, i also have it empty.
The business package deployed sits under
Content Administration -- Portal Content -- Content delivered by SAP --
Hope this helps,
Chetan -
Unable to expand drop down by index UI element
Hi,
I have got one Drop down by index in my webdynpro form and I want to bind this to backend data. For this purpose, I created one adaptive rfc model and also did all this model binding, context mapping etc.
Now my context in view looks like this :- GetDropDown_Mn (parent node) , this has got child Output_DropDown which again has two value attributes Name and Text.
This is component controller code where you bind and invalidate
__Shell__Ca_Read_Cr_Drbox_Val_Input dropdown = new __Shell__Ca_Read_Cr_Drbox_Val_Input();
wdContext.nodeGetDropDown_Mn().bind(dropdown);
wdContext.currentGetDropDown_MnElement().modelObject().execute();
wdContext.nodeOutput_DropDown().invalidate();
I then tried to bind my UI element in view with Name attribute , but when I try to run my application , the field appears as read only, kind of non editable (blocked) and I am unable to expand my dropdown.
The readonly property of UI element is false. I have hard coded one value like " Please select from drop down list " and I want the backend values to come below this. For this, I have written code to append the backend values with the hardcoded value. Now the problem is my dropdown is blocked and not able to expand ( unable to click the arrow button), and I cannot see the other values in dropdown except the hard coded value.
Can someone please help me on this.
The cardinality of context node is 1..n, selection = 0..1 and I have set Leadselection = -1.
Thanks and regards,
SaiHi Sai,
You can use the below code to add the please select in ur drop down in wdInit() method
wdContext.nodeVn_Node().currentVn_NodeElement().setVa_Attribute("-Please Select-");
please use the name of node as u have created in the context.
and after that please check if yoy are getting values from RFC call or not.
if you are getting the values then try to change the selection property of that node to 1..n and comment the lead selection line that you have written.
hope this will help.
Regards
Narendra -
Unable to expand table (or 'any' object) node - permissions issue?
I am the dba for a database and hence have access to the system user. When I connect to the db through SQL Developer, I can expand the table node under any user and list tables. As I can with any object node.
I now want to create an admin user that has restricted capabilities, one of which will be to view objects, such as tables etc..
(I will ultimately do this via a role to allow multiple users to have the admin capabilities, but for now have just created an admin_user userid).
However, when I connect to the database using this admin_user userid, I am unable to expand any object node.
I have played with different permissions, granting 'select any dictionary', 'select_catalog_role', 'select on dba_tables' but the user still can not view any objects via the appropriate node. eg. attempting to go to Other Users - username - Tables just shows nothing. (There are no filters).
However the admin_user can run a SQL command to view the tables. eg. Select * from dba_tables, will list all tables for all users within the database. So they DO appear to have the appropriate access.
So why can't they see the tables in the tables node?
Is there some piece of configuration within SQL Developer itself that I have overlooked?
CheersI am the dba for a database and hence have access to the system user. When I connect to the db through SQL Developer, I can expand the table node under any user and list tables. As I can with any object node.
I now want to create an admin user that has restricted capabilities, one of which will be to view objects, such as tables etc..
(I will ultimately do this via a role to allow multiple users to have the admin capabilities, but for now have just created an admin_user userid).
However, when I connect to the database using this admin_user userid, I am unable to expand any object node.
I have played with different permissions, granting 'select any dictionary', 'select_catalog_role', 'select on dba_tables' but the user still can not view any objects via the appropriate node. eg. attempting to go to Other Users - username - Tables just shows nothing. (There are no filters).
However the admin_user can run a SQL command to view the tables. eg. Select * from dba_tables, will list all tables for all users within the database. So they DO appear to have the appropriate access.
So why can't they see the tables in the tables node?
Is there some piece of configuration within SQL Developer itself that I have overlooked?
Cheers -
Unable to expand...
hi,
i've just installed sqldeveloper 1.2.1-32.13 on mac os x 10.4.11.
it's the first install for me, first install on this machine.
when connected to a database, in the left column of the main window i'm unable to expand virtually all of those nodes (tables, views, ...):
click on the triangle next to "tables", it opens a dialog "loading tables..." which then instantly disappears. no tables are being listed, and the triangle i just clicked on also diappears. no more clicking on that node possible. same is for views, indexes, ...
the db connection appears to be fine, since i can type a sql select command (on the right) and get a valid result.
i have the J2SE 5.0 set as primary java application runtime version. i have 1.5.0_07 which appears to be the latest release for os x (?).
any idea what's wrong?
thanks for your feedback.i get no messages in the system console, but launching from terminal shows a java exception:
Exception in thread "ProgressBarThread" java.lang.NoSuchMethodError: oracle.jdbc.OraclePreparedStatement.setStringAtName(Ljava/lang/String;Ljava/lang/String;)V
at oracle.dbtools.db.DBUtil.bind(DBUtil.java:746)
at oracle.dbtools.db.DBUtil.bind(DBUtil.java:1096)
at oracle.dbtools.db.DBUtil.executeOracleQuery(DBUtil.java:471)
at oracle.dbtools.db.DBUtil.executeQuery(DBUtil.java:498)
at oracle.dbtools.raptor.navigator.ObjectQueryInstance.executeQuery(ObjectQueryInstance.java:73)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.getChildren(XmlFolderInstance.java:121)
at oracle.dbtools.raptor.navigator.xml.XmlFolderInstance.listChildren(XmlFolderInstance.java:67)
at oracle.dbtools.raptor.navigator.ObjectFilter$1Loader.doWork(ObjectFilter.java:144)
at oracle.ide.dialogs.ProgressRunnable.run(ProgressRunnable.java:159)
at oracle.ide.dialogs.ProgressBar.run(ProgressBar.java:553)
at java.lang.Thread.run(Thread.java:613)
apparently it can't display the progressbar. but why? -
Unable to expand Tree in EP (e.g. Portal Content)
Dear Portal Gurus,
We are on EP 6.0,SP12.
We are unable to expand any tree structure (including stanadard Tree Structure) inside EP.
I get the following message :
Could not load or refresh node Tree creation failed on node: pcd:portal_content .
Pls let me know what needs to be done.
Thx.when I exported a transport package I saved it on Portal conect and after doing all the transporting, when I opened the content administration and try to expand the portal content, I get the following error:
Could not load or refresh node Tree creation failed on node: pcdportal_content
<a href="http://ing.perez.googlepages.com/portal.jpg" target="_blank"><img src="http://ing.perez.googlepages.com/portal.jpg" border="0" /></a>
I get this error from the log
1.5#0011856BDDE1006D00000086000011B000042238FAC1E7DA#1163528027322#com.sap.portal.pcd.Gl.Notification.Engine#sap.com/irj#com.sap.portal.pcd.Gl.Notification.Engine#IENAFS02#197##091402wb79_EPD_2059550#IENAFS02#0a01e440740b11dba4e00011856bdde1#Thread[T-IMPORT-1114_121327_931_71801fdd2c1d2d9b,5,SAPEngine_Application_Thread[impl:3]_Group]##0#0#Error#1#/System/Server#Java###[XfsNotificationEngine.register] Exception occured:
[EXCEPTION]
{0}#1#PcdRuntimeException: SQLException is not transient, error code = 0, sql state = HY000
[SAP_NWMss][SQLServer JDBC Driver]IO Error creating temp file: null
com.sapportals.portal.pcd.pl.PlRuntimeException: SQLException is not transient, error code = 0, sql state = HY000
[SAP_NWMss][SQLServer JDBC Driver]IO Error creating temp file: null
at com.sapportals.portal.pcd.pl.PlFactory.handleUnexpectedSQLError(PlFactory.java:2428)
at com.sapportals.portal.pcd.pl.PlFactory.checkDeadlockResolution(PlFactory.java:2436)
at com.sapportals.portal.pcd.pl.PlContext.lookupSubtree(PlContext.java:280)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.<init>(XfsContext.java:128)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.<init>(XfsContext.java:85)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.getXfsChildFromPlChild(XfsContext.java:590)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.readXfsObjectFromPersistence(XfsContext.java:535)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChildAtomicName(XfsContext.java:433)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:277)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:280)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.getChild(XfsContext.java:280)
at com.sapportals.portal.pcd.gl.xfs.XfsContext.lookup(XfsContext.java:228)
at com.sapportals.portal.pcd.gl.xfs.notif.XfsNotificationEngine.triggerInformDanglingDeltalinks(XfsNotificationEngine.java:463)
at com.sapportals.portal.pcd.gl.xfs.notif.XfsNotificationEngine.register(XfsNotificationEngine.java:302)
at com.sapportals.portal.pcd.gl.transport.PcdGlTransportAdapter.endElement(PcdGlTransportAdapter.java:346)
at com.sapportals.portal.pcd.gl.xml.ContentHandlerManager.endElement(ContentHandlerManager.java:204)
at com.sapportals.portal.pcd.gl.xml.PcdXMLContentHandler.endElement(PcdXMLContentHandler.java:107)
at com.sap.engine.lib.xml.parser.handlers.SAXDocHandler.endElement(SAXDocHandler.java:154)
at com.sap.engine.lib.xml.parser.XMLParser.scanEndTag(XMLParser.java:1913)
at com.sap.engine.lib.xml.parser.XMLParser.scanElement(XMLParser.java:1809)
at com.sap.engine.lib.xml.parser.XMLParser.scanDocument(XMLParser.java:2792)
at com.sap.engine.lib.xml.parser.XMLParser.parse0(XMLParser.java:227)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parseAndCatchException(AbstractXMLParser.java:141)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:156)
at com.sap.engine.lib.xml.parser.AbstractXMLParser.parse(AbstractXMLParser.java:259)
at com.sap.engine.lib.xml.parser.Parser.parseWithoutSchemaValidationProcessing(Parser.java:278)
at com.sap.engine.lib.xml.parser.Parser.parse(Parser.java:340)
at com.sap.engine.lib.xml.parser.SAXParser.parse(SAXParser.java:125)
at javax.xml.parsers.SAXParser.parse(SAXParser.java:345)
at com.sapportals.portal.pcd.gl.xml.PcdXMLParser.parse(PcdXMLParser.java:85)
at com.sapportals.portal.pcd.gl.xml.PcdXMLParser.parse(PcdXMLParser.java:54)
at com.sapportals.portal.pcd.gl.transport.PcdGlTransportManager.importObject(PcdGlTransportManager.java:612)
at com.sapportals.portal.transport.Transport.importObject(Transport.java:110)
at com.sapportals.portal.transport.app.ImportRunner.importObject(ImportRunner.java:322)
at com.sapportals.portal.transport.app.ImportRunner.run(ImportRunner.java:164)
at java.lang.Thread.run(Thread.java:534)
Caused by: java.sql.SQLException: [SAP_NWMss][SQLServer JDBC Driver]IO Error creating temp file: null
at com.sap.nwmss.jdbc.base.BaseExceptions.createException(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseExceptions.getException(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseImplClobEmulated.<init>(Unknown Source)
at com.sap.nwmss.jdbc.sqlserver.SQLServerImplResultSet.getData(Unknown Source)
at com.sap.nwmss.jdbc.base.BaseResultSet.getClob(Unknown Source)
at com.sap.sql.jdbc.basic.BasicResultSet.getClob(BasicResultSet.java:432)
at com.sap.sql.jdbc.direct.DirectResultSet.getClob(DirectResultSet.java:1060)
at com.sap.sql.jdbc.common.dispatch.ClobResultColumn.getClob(ClobResultColumn.java:138)
at com.sap.sql.jdbc.common.CommonResultSet.createClob(CommonResultSet.java:1035)
at com.sap.sql.jdbc.common.CommonResultSet.getClob(CommonResultSet.java:302)
at com.sap.sql.jdbc.common.dispatch.ClobResultColumn.dispatchGetString(ClobResultColumn.java:114)
at com.sap.sql.jdbc.common.CommonResultSet.getString(CommonResultSet.java:448)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.readStringValue(AttributeHeadersTable.java:934)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.readFirstValue(AttributeHeadersTable.java:657)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.readAttributeHeader(AttributeHeadersTable.java:639)
at com.sapportals.portal.pcd.pl.AttributeHeadersTable.selectSubtreeObjectsAttributeHeaders(AttributeHeadersTable.java:762)
at com.sapportals.portal.pcd.pl.PlFactory.getSubtreeSegment(PlFactory.java:878)
at com.sapportals.portal.pcd.pl.PlFactory.getSubtree(PlFactory.java:804)
at com.sapportals.portal.pcd.pl.PlContext.lookupSubtree(PlContext.java:253)
at com.sapportals.portal.pcd.pl.PlContext.lookupSubtree(PlContext.java:274)
... 33 more -
ORA-27123 unable to attach shared memory segment
Running oracle 8.1.5.0.0 on Redhat 6.0 with kernel 2.2.12, I keep getting the error ORA-27123 unable to attach shared memory segment when trying to startup and instance with an SGA > 150 MB or so. I have modified the shmmax and shmall kernel parameters via the /proc/sys interface. The relevant output of ipcs -l is below:
------ Shared Memory Limits --------
max number of segments = 128
max seg size (kbytes) = 976562
max total shared memory (kbytes) = 16777216
min seg size (bytes) = 1
This system has 2gb of physical memory and is doing nothing except oracle.
I changed the shmmax and shmall parameters after the instance was created, was their something I needed to do to inform Oracle of the changes?High JW,
i had the same problem on my installation.
The solution is written in the Oracle8i Administrator Refernece on page 1-26 "Relocating the SGA"
a) determine the valid adress range for Shared Memory with:
$ tstshm
in the output Lowest & Highest SHM indicate the valid adress range
b) run genksms to generate the file ksms.s
$ cd $ORACLE_HOME/rdbms/lib
$ $ORACLE_HOME/bin/genksms -b "sga_beginn_adress" > ksms.s
c) shut down any instance
d) rebuilt the oracle exe in $ORACLE_HOME/rdbms/lib
$ make -f ins_rdbms.mk ksms.o
$ make -f ins_rdbms.mk ioracle
the result is a new oracle kernel that loads the SGA at the adress specified in "sga_beginn_adress".
regards
Gerhard -
How to allocate a permanent memory?
Hai,
Is there any way to keep an object or a variable permanently in the memory such that I can access that object or variable's value using any other java program.
Regards
ackumarSo there is noway to allocate a permanentmemory.
Then i'll store it in a database.What's permanent memory? At least on my computerall
memory is permanent -:) What you want is shared
memory between processes. There are ways to getthat
but you need OS programming skills (using C) andbe
able to use JNI.It looks like the OP is ignoring you, or just reading
what he wants to see.I thought there'll be some direct solution in JAVA itself as if in C.
From our discussion I came to know we have to use either a file to store or "C and JNI". -
ORA-29855 - Unable to allocate shared memory
Hi,
We are encountering troubles (unable to allocate shared memory) while indexes creation. We tried to increase the share_size_memory (actually 52 mb) but this had no effect on this error. The Oracle error code is ORA-29855.
The database is version 8.1.7, hosted on a Linux machine (RedHat 7.2) with 512 mb of memory. The code used for the index creation works fine on other machines (code from 9iAS Wireless installation) running with Windows 2000 as operation system.
Any help or comment will be appreciated.
Thanks,
Fabrice Clari.
The error message is:
java.sql.SQLException: ORA-29855: error occurred in the execution of ODCIINDEXCREATE routine
ORA-13200: internal error [ROWID:AAAGDwAAFAAAAvjAAA] in spatial indexing.
ORA-13206: internal error [] while creating the spatial index
ORA-13011: value is out of range
ORA-00600: internal error code, arguments: [kope2ucoll700], [], [], [], [], [], [], []
ORA-04031: unable to allocate 16396 bytes of shared memory ("large pool","unknown object","koh-kghu sessi","kolcalm coll")
ORA-06512: at "MDSYS.SDO_INDEX_METHOD", line 8
ORA-06512: at line 1Which portion of shared memory did you increase? The error indicates you need to increase large_pool_size. It seems you may also have other problems since you have several errors, and this only relates to the ORA-04031 error.
-
I keep on getting the message "Download error: Unable to expand "___" into "Downloads". (Error 2 - No such file or directory)" when I try to unarchive zip files that I have just downloaded. Can anyone walk me through how to fix this?
Possible solution if dealling with MobileMe gallery.
I ran into this problem while downloading my mobileme gallery albums and videos. I can't tell if that is where you ran into your problem or not, but if it is, this is what worked for me. Most of my albums downloaded and expanded successfully, however about 5 downloaded and would not expland giving the error you got. After several retries, I selected one of the albums, clicked the settings icon, changed the name (added "-2" to the name). This time the downloaded zip file expanded successfully. This worked for all of the albums that I had problems with.
Maybe you are looking for
-
How to find out the ASCII Values for Spanish character
Hi, I had an requirement to store Spanish character and also need to fileter the records based on the Spanish character. Kindly guide me for below. To filter the Records which contains spanish characters? To get the ASCII Values for the particular co
-
when opening the firefox page and go to search the font is small and when try to make it large throught the content tab it not respond
-
Problem with adobe reader installation
Hello everyone, my operating system is windows xp sp2, i haven't internet connection, therefore i use the downloaded installer. After starting the installation and select the language, the application quits and the installation isn't carried through.
-
Enable/disable ACLs for a volume
where is the option enable/disable ACLs for a volume in leopard server 10.5x? I searched in Server Admin and there Volumes - but I cant find this option which is described in this forum ?!
-
Craeting Tx code for Import PO with Custom duty condition
Hi, I want to know as for any excise vendor we hace one Tax code YF which is maintain in FTXP transaction in FTXP as per selected Tax type that all taxes are coming in PO like if we select tax code YF in PO then in Taxes automatically 3 taxes JM01,