Component Sharing
My Flex application uses a ViewStack where each view
represents products related to a category. Ex: One view Mens
Clothing, other view Women clothing...etc. I am using a Canvas for
shopping cart to show the list of all selected items for each view.
This is working OK, however this is like having multiple shopping
carts in the app - one for each view. But, what I need is to have
shared shopping cart that shows all products selected from various
views and should be able to see all of them no matter in which way
I am in. So that question I have is how do you make a Flex
component (ex: Canvas) as a shared component for all the views in
the ViewStack. Appreciate your help.
Seems to me the easiest way to solve your problem would be to redesign your GUI so you have a JSplitPane: in the left pane you have your JTree, in the right pane you have a tabbed layout, which would contain the JPanels with the details of the steps.
Then you have only one component that contains the JTree, and the revised GUI looks quite similar except for the placement of the tabs, no?
Similar Messages
-
Component/Shared component install failed
Making a fresh install of CS3 on a new computer, I get the following: Component Install Failed, and Shared Component Install Failed.
Nobody can help you with some exact system info... "New computer" means nothing, though of course it implies that it's running Win 7 or Win 8 and the bad news for you then is that there are all sorts of compatibility issues to be expected....
Mylenium -
Unsuccessful Cross Component View Sharing
Hey Folks,
I am facing an issue when I am doing cross component sharing of a vew
Requirement
I need to embed View 1 of Component A into View 2 of Component B.
Solution : I have done the following steps:
In Component A:
I have a created a View 1, whose elements are bound to a node. The node has mapping to the node in the Component Controller.
I have defined an interface method in Component A which populates the Component Controller node which is bound to elements in View 1.
In Component B:
I have defined the Component A as a Used Component in Component B and have defined the Component Usage of the Interface Controller of Component A in B.
I have embedded the View1 of A into the ViewUiContainer Element in the Window corresponding to View2 of B
I have defined a method in the Component Controller of B, which makes a call to the interface method defined in A
In the wdinit method of the View2, I have created the component Usage
l_ref_cmp_usage = wd_this->wd_cpuse_<<>>( ).
if l_ref_cmp_usage->has_active_component( ) is initial.
l_ref_cmp_usage->create_component( ).
endif.
Issue
The view is showing up as desired, however no values are being populated
Analysis
On debugging, I see that the interface method is being called and the Component Controller node of A is indeed getting populated.
But then the same is not being reflected in the view.
Am I missing something here?
I need not have made the node as an interface node, since the population of the node is being done within Component A itself. Hence the only thing Component B has to do is to call the interface method with the right input parameters. But somehow the node mapping is just not happening
Any pointers on this would be of immense help.
Thanks,
PujaHey Folks,
Thanks for all the inputs...After a good frustrating debugging and rummaging the code for a whole day, I decided to redo the entire thing. Once I scrapped the original views, components et al and redid it over again, things seem to be working.
@Naresh : I did try doing what you have suggested and much to my surprise, it worked standalone
@Pradeep : Yes I am doing a bind_table to the node in question.
I still have a hunch that there was some kind of a problem with the binding of the ensuing table to the node. But have no clue where exactly that could have been happenign as I double checked the obvious places.
Thanks for all the inputs.
Best Regards,
Puja -
Data load component - add new column name alias
Apex 4.2.2.
Using the data load wizard a list of column and column name aliases had been created.
When looking at the component (shared components/Data load tables/column name aliases) it is possible to edit and delete a column alias there. Unfortunatly it does not seem possible to add a new alias. Do I overlook something, or is there a workaround for this?Try this:
REPORT ztest LINE-SIZE 80 MESSAGE-ID 00.
DATA: name_int TYPE TABLE OF v_usr_name WITH HEADER LINE.
DATA: BEGIN OF it_bkpf OCCURS 0.
INCLUDE STRUCTURE bkpf.
DATA: username LIKE v_usr_name-name_text,
END OF it_bkpf.
SELECT * FROM bkpf INTO TABLE it_bkpf UP TO 1000 ROWS.
LOOP AT it_bkpf.
name_int-bname = it_bkpf-usnam.
APPEND name_int.
ENDLOOP.
SORT name_int BY bname.
DELETE ADJACENT DUPLICATES FROM name_int.
LOOP AT it_bkpf.
READ TABLE name_int WITH KEY
bname = it_bkpf-usnam
BINARY SEARCH.
IF name_int-name_text IS INITIAL.
SELECT SINGLE name_text
FROM v_usr_name
INTO name_int-name_text
WHERE bname = it_bkpf-usnam.
MODIFY name_int index sy-tabix.
ENDIF.
it_bkpf-username = name_int-name_text.
MODIFY it_bkpf.
ENDLOOP.
Rob -
Hello Team:
I ran a metalink script to report the shared pool utilization recently. I took this output when the database was on peak load.
SQL> /
Obj mem: 66435759 bytes (63.36MB)
Shared sql: 324219036 bytes (309.2MB)
Cursors: 341207073 bytes (325.4MB)
Free memory: 67228508 bytes (64.11MB)
Shared pool utilization (total): 468785754 bytes (447.07MB)
Shared pool allocation (actual): 754974720bytes (720MB)
Percentage Utilized: 91%
does this mean I have to add more space to shared pool. If so what is the threshold value?
Regards,
BalaBhawani nandan Prasad - Principal DBA -- See a to z diagnostics about Shared pool
1. Memory 2
a. Shared Pool 2
1. Introduction 2
2. Architecture 2
3. Scripts for different DBA tasks: 5
a.Measure object usage inside the shared pool and Tune shared pool 7
b.Check reload problem in library cache 12
c.Find the large queries in the shared pool library cache (using > 4mb each) 13
d.Find objects that can be considered pining into the shared pool 13
e.LRU work and objects were loaded and flushed 13
f.How much are waiting for Library Cache Latch 14
g.Queries identical but aren’t shared. 14
h.Get Biggest chunk of free memory. 14
i.Check the shared pool reserved size status 16
j.When having multiple subheaps: 16
k.Check shared pool at first glance quick diagnostics 17
l.Memory Usage - object list level view 17
m.Loads Number of times object has been loaded 17
n.Check number of times and object has been executed 18
o.Check shared pool in more details 18
p.Library Cache Statistics 18
q.Reserve Pool Settings 19
r.Pinned Objects 19
s.Finding literal SQL 19
t.Finding the Library Cache hit ratio 19
u. Row Cache Misses – Dictionary cache stats 19
v. Checking hash chain lengths 20
w. Checking for high version counts 20
x. Finding statement/s which use lots of shared pool memory 20
y. Allocations causing shared pool memory to be 'aged' out 21
z. Issues in various Oracle Releases 21
4. Terminology 22
5. Oracle 11g Caching and Pooling – SQL Result Cache 27
6. References 37
2. SQL 38
3. Statistics 38
4. Wait events 38
5. Schema 39
6. General 39
a. Scripts 39
1. accept.sql 39
1. Memory
a. Shared Pool
1. Introduction
Shared pool is used to cache different types of data such as textual and executable forms of PL/SQL blocks and SQL statements, dictionary cache data, and other data in SGA. Additional shared memory needed in the SHARED POOL if using ASM storage. Gathering schema/database stats (table/index stats) makes database query performance better and it reduce utilization of shared pool. Hence, practice to schedule job to gather stats regularly which suites your database performance. If you use shared pool effectively you can reduce resource consumption in at least four ways
1. Parse overhead is avoided if the SQL statement is already in the shared pool. This saves CPU resources on the host and elapsed time for the end user.
2. Latching resource usage is significantly reduced, which results in greater scalability.
3. Shared pool memory requirements are reduced, because all applications use the same pool of SQL statements and dictionary resources.
4. I/O resources are saved, because dictionary elements that are in the shared pool do not require disk access.
This sharable area of memory is managed as a sophisticated cache and heap manager rolled into one. It has 3 fundamental problems to overcome:
1. The unit of memory allocation is not a constant - memory allocations from the pool can be anything from a few bytes to many kilobytes
2. Not all memory can be 'freed' when a user finishes with it (as is the case in a traditional heap manager) as the aim of the shared pool is to maximize share of information. The information in the memory may be useful to another session - Oracle cannot know in advance if the items will be of any use to anyone else or not.
3. There is no disk area to page out to so this is not like a traditional cache where there is a file backing store. Only "rewriteable" information can be discarded from the cache and it has to be re-created when it is next needed.
Oracle 10g architecture of Shared pool:
Library Cache Shared SQL Area (Hash Value, SQL source, Execution plan)
Data Dictionary Cache
Enqueues Fixed Area Other
Latches
Oracle 11g architecture of Shared pool:
Library Cache Shared SQL Area (Hash Value, SQL source, Execution plan)
Data Dictionary Cache
Result Cache
Enqueues Fixed Area Other
Latches
1. Library Cache
Shared Sql Area: contains Parsed SQL and execution Plans for statements already run against the database. This area allows SQL execution plans to be reused by many users.
Private SQL Area: Private SQL areas are non-shared memory areas assigned to unique user sessions.
Pl/sql Area: contains the recently executed Procedures, Functions and Packages.
Control Structures: Common control structure information example Memory for Latches and locks, sequence cache.
2. Dictionary cache known as the row cache.
Dictionary cache stores all the metadata info of tables and views in the database, Names and data types of the columns in the database, Object and system privileges of all the Users. Oracle maintains the stats of all the objects in the shared pool, if any of the memory objects are not used from the last 3 seconds, these memory objects will be aged out and will be removed from the cache. All the Shared Pool Structures are maintained by a LRU (least recently Used) algorithm, by which Oracle removes the objects from the shared Pool, until there is enough free space in the shared Pool to keep new Object.
3. Scripts for different DBA tasks:
Dictionary Views for shared POOL:
NON-RAC
V$DB_CACHE_ADVICE
V$DB_OBJECT_CACHE
V$DLM_LATCH
V$DLM_LOCKS
V$LATCH
V$LATCHHOLDER
V$LATCHNAME
V$LATCH_CHILDREN
V$LATCH_MISSES
V$LATCH_PARENT
V$LIBRARYCACHE
V$LOCK
V$LOCKED_OBJECT
V$LOCKS_WITH_COLLISIONS
V$LOCK_ACTIVITY
V$LOCK_ELEMENT
V$OPEN_CURSOR
V$PROCESS
V$PX_PROCESS
V$PX_PROCESS_SYSSTAT
V$PX_SESSION
V$PX_SESSTAT
V$ROWCACHE
V$ROWCACHE_PARENT
V$ROWCACHE_SUBORDINATE
V$SESSION
V$SESSION_CONNECT_INFO
V$SESSION_CURSOR_CACHE
V$SESSION_EVENT
V$SESSION_LONGOPS
V$SESSION_OBJECT_CACHE
V$SESSION_WAIT
V$SESSTAT
V$SESS_IO
V$SGA
V$SGASTAT
V$SGAINFO
V$SGA_DYAMIC_COMPONENTS
V$SGA_DYNAMIC_FREE_MEMORY
V$SGA_RESIZE_OPS
V$SGA_CURRENT_RESIZE_OPS
v$shared_pool_advice
V_$SHARED_POOL_ADVICE
V$SHARED_POOL_RESERVED
V$SHARED_SERVER
V$SORT_SEGMENT
V$SORT_USAGE
V$SQL
V$SQLAREA
V$SQLTEXT
V$SQLTEXT_WITH_NEWLINES
V$SQL_BIND_DATA
V$SQL_BIND_METADATA
V$SQL_CURSOR
V$SQL_SHARED_CURSOR
V$SQL_SHARED_MEMORY
V$STATNAME
V$SUBCACHE
V$SYSSTAT
V$SYSTEM_CURSOR_CACHE
V$SYSTEM_EVENT
V$SYSTEM_PARAMETER
X$KSMSP
RAC
GV$LATCH
GV$LATCHHOLDER
GV$LATCHNAME
GV$LATCH_CHILDREN
GV$LATCH_MISSES
GV$LATCH_PARENT
GV$LIBRARYCACHE
GV$LOCK
GV$LOCKED_OBJECT
GV$LOCKS_WITH_COLLISIONS
GV$LOCK_ACTIVITY
GV$LOCK_ELEMENT
GV$PROCESS
GV$PX_PROCESS
GV$PX_PROCESS_SYSSTAT
GV$PX_SESSION
GV$PX_SESSTAT
GV$ROWCACHE
GV$ROWCACHE_PARENT
GV$ROWCACHE_SUBORDINATE
GV$SESSION
GV$SESSION_CONNECT_INFO
GV$SESSION_CURSOR_CACHE
GV$SESSION_EVENT
GV$SESSION_LONGOPS
GV$SESSION_OBJECT_CACHE
GV$SESSION_WAIT
GV$SESSTAT
GV$SESS_IO
GV$SGA
GV$SGASTAT
gv$shared_pool_advice
GV$SHARED_POOL_RESERVED
GV$SHARED_SERVER
GV$SORT_SEGMENT
GV$SORT_USAGE
GV$SQL
GV$SQLAREA
GV$SQLTEXT
GV$SQLTEXT_WITH_NEWLINES
GV$SQL_BIND_DATA
GV$SQL_BIND_METADATA
GV$SQL_CURSOR
GV$SQL_SHARED_CURSOR
GV$SQL_SHARED_MEMORY
GV$STATNAME
GV$SUBCACHE
GV$SYSSTAT
GV$SYSTEM_CURSOR_CACHE
GV$SYSTEM_EVENT
GV$SYSTEM_PARAMETER
GV$WAITSTAT
GV$_LOCK
a.Measure object usage inside the shared pool and Tune shared pool
set pagesize 132
column owner format a16
column name format a36
column sharable_mem format 999,999,999
column executions format 999,999,999
prompt
prompt Memory Usage of Shared Pool Order - Biggest First
prompt
column name format 45
select owner, name||' - '||type name, sharable_mem from v$db_object_cache
where sharable_mem > 10000
and type in ('PACKAGE', 'PACKAGE BODY', 'FUNCTION', 'PROCEDURE')
order by sharable_mem desc
prompt
prompt Loads into Shared Pool - Most Loads First
prompt
select owner, name||' - '||type name, loads , sharable_mem from v$db_object_cache
where loads > 3
and type in ('PACKAGE', 'PACKAGE BODY', 'FUNCTION', 'PROCEDURE')
order by loads desc
prompt
prompt Executions of Objects in the Shared Pool - Most Executions First
prompt
select owner, name||' - '||type name, executions from v$db_object_cache
where executions > 100
and type in ('PACKAGE', 'PACKAGE BODY', 'FUNCTION', 'PROCEDURE')
order by executions desc
select 'If the values for the EXEC and LOADS close increase SHARED_POOL_SIZE!' from dual ;
set feedback off
set linesize 80
set pagesize 52
clear columns
clear breaks
col executions HEADING EXEC
col sharable_mem heading SHAMEM
col owner format a8
col name format a30
col type format a12
set numwidth 8
ttitle center 'Data Base Objects Owned by All Users Statistics' skip 2
select name, type, sharable_mem, loads, executions, pins
from sys.v_$db_object_cache ;
b.Check reload problem in library cache
select namespace, pins, reloads from v$librarycache;
show parameters shared_pool
select bytes/1024/1024 from v$sgastat where pool='shared pool' and name='free memory';
c.Find the large queries in the shared pool library cache (using > 4mb each)
SELECT sql_text "Stmt", count(*), sum(sharable_mem) "Mem",
sum(users_opening) "Open", sum(executions) "Exec"
FROM v$sql GROUP BY sql_text HAVING sum(sharable_mem) > 4096000;
d.Find objects that can be considered pining into the shared pool
column name format a40
column owner format a15
select owner, name, executions, locks, pins, loads, kept from v$db_object_cache where loads > 10;
create temp table and insert records of candidates to be pinned.
CREATE TABLE LRU_TMP AS SELECT * FROM X$KSMLRU;
INSERT INTO LRU_TMP SELECT * FROM X$KSMLRU;
Use the LRU_TMP table for analysis.
SELECT USERNAME, KSMLRCOM, KSMLRHON, KSMLRNUM, KSMLRSIZ, SQL_TEXT
FROM V$SQLAREA A, LRU_TMP K, V$SESSION S WHERE KSMLRSIZ > 3000
AND A.ADDRESS=S.SQL_ADDRESS AND A.HASH_VALUE = S.SQL_HASH_VALUE
AND SADDR=KSMLRSES;
You can see the candidates to pin from the query below
COL STORED_OBJECT FORMAT A40;
COL SQ_EXECUTIONS FORMAT 999,999;
SELECT /*+ ORDERED USE_HASH(D) USE_HASH(C) */ O.KGLNAOWN||’.'||O.KGLNAOBJ STORED_OBJECT, SUM(C.KGLHDEXC) SQL_EXECUTIONS
FROM SYS.X$KGLOB O, SYS.X$KGLRD D, SYS.X$KGLCURSOR C
WHERE
O.INST_ID = USERENV(’INSTANCE’) AND
D.INST_ID = USERENV(’INSTANCE’) AND
C.INST_ID = USERENV(’INSTANCE’) AND
O.KGLOBTYP IN (7, 8, 9, 11, 12) AND
D.KGLHDCDR = O.KGLHDADR AND
C.KGLHDPAR = D.KGLRDHDL
GROUP BY O.KGLNAOWN, O.KGLNAOBJ
HAVING SUM(C.KGLHDEXC) > 0
ORDER BY 2 DESC;
How to pin object
EXECUTE SYS.DBMS_SHARED_POOL.SIZES(150);
EXECUTE SYS.DBMS_SHARED_POOL.KEEP('SYS.STANDARD');
EXECUTE SYS.DBMS_SHARED_POOL.UNKEEP('SYS.STANDARD');
e.LRU work and objects were loaded and flushed
LRU work in the shared pool KSMLRNUM stores the number of objects that were flushed to load the large object. KSMLRISZ stores the size of the object that was loaded (contiguous memory allocated)
column ksmlrcom format a20
column username format a5
select username,sid,KSMLRCOM,KSMLRSIZ,KSMLRNUM, KSMLRHON, KSMLROHV, KSMLRSES from x$ksmlru , v$session where KSMLRSES=SADDR and KSMLRNUM >2 ;
f.How much are waiting for Library Cache Latch
select count(*),event from v$session_wait where event not like '%SQL%' and event not like '%ipc%' and event not like '%timer%' GROUP BY EVENT;
select count(*),wait_time from v$session_wait where event='latch free' and p2=106 group by wait_time;
select sid,wait_time,seconds_in_wait from v$session_wait where event='latch free' and p2=106 and WAIT_TIME>1;
g.Queries identical but aren’t shared.
SELECT address, hash_value, version_count , users_opening , users_executing,
substr(sql_text,1,240) "SQL" FROM v$sqlarea WHERE version_count > 10;
h.Get Biggest chunk of free memory.
select sysdate, decode( sign(ksmchsiz - 812), -1, (ksmchsiz - 16) / 4,
decode(sign(ksmchsiz - 4012),-1, trunc((ksmchsiz + 11924) / 64),
decode(sign(ksmchsiz - 65548), -1, trunc(1/log(ksmchsiz - 11, 2)) + 238,254))) bucket,
sum(ksmchsiz) free_space, count(*) free_chunks, trunc(avg(ksmchsiz)) average_size,
max(ksmchsiz) biggest from x$ksmsp
where inst_id = userenv('Instance') and ksmchcls = 'free' group by
decode(sign(ksmchsiz - 812),-1, (ksmchsiz - 16) / 4,
decode(sign(ksmchsiz - 4012),-1, trunc((ksmchsiz + 11924) / 64),
decode(sign(ksmchsiz - 65548),-1, trunc(1/log(ksmchsiz - 11, 2)) + 238,254 ))) ;
SELECT KSMCHCLS CLASS, COUNT(KSMCHCLS) NUM, SUM(KSMCHSIZ) SIZ,
To_char( ((SUM(KSMCHSIZ)/COUNT(KSMCHCLS)/1024)),’999,999.00′)||’k’ “AVG SIZE”
FROM X$KSMSP GROUP BY KSMCHCLS;
CLASS NUM SIZ AVG SIZE
freeabl 19010 34519404 1.77k
recr 23581 24967956 1.03k
R-freea 68 1632 .02k
perm 22 39801268 1,766.75k
R-free 34 7238192 207.90k
free 2389 36075980 14.75k
Watch for trends using these guidelines:
a) if ‘free’ memory is low (less than 5mb or so) you may need to increase the shared_pool_size and shared_pool_reserved_size. You should expect ‘free’ memory to increase and decrease over time. Seeing trends where ‘free’ memory decreases consistently is not necessarily a problem, but seeing consistent spikes up and down could be a problem.
b) if ‘freeable’ or ‘perm’ memory continually grows then it is possible you are seeing a memory bug.
c) if ‘freeabl’ and ‘recr’ memory classes are always huge, this indicates that you have a lot of cursor info stored that is not releasing.
d) if ‘free’ memory is huge but you are still getting 4031 errors, the problem is likely reloads and invalids in the library cache causing fragmentation.
-Note says that this query can hang database on HP platforms
See the shared pool parameters
column name format a30
select name,value from v$parameter where name like '%shared_pool%' ;
select x.ksppinm, y.ksppstvl from x$ksppi x , x$ksppcv y where x.indx = y.indx and lower(x.ksppinm) like '%spin%';
SELECT count(*) FROM v$latch_children WHERE NAME = 'library cache';
Shrinking and growing operations from V$SGA_RESIZE_OPS dynamic view:
select to_char(end_time, ‘dd-Mon-yyyy hh24:mi’) end, oper_type, initial_size, target_size, final_size from V$SGA_RESIZE_OPS where component=’shared pool’ order by end;
#shared_pool_summary.sql -get an overview of chunks in the shared pool
select
ksmchcom contents,
count(*) chunks,
sum(decode(ksmchcls, 'recr', ksmchsiz)) recreatable,
sum(decode(ksmchcls, 'freeabl', ksmchsiz)) freeable,
sum(ksmchsiz) total
from
sys.x_$ksmsp
where
inst_id = userenv('Instance') and
ksmchcls not like 'R%'
group by
ksmchcom
#reserved_pool_summary.sql - get an overview of chunks in the reserved pool
select
ksmchcom contents,
count(*) chunks,
sum(decode(ksmchcls, 'R-recr', ksmchsiz)) recreatable,
sum(decode(ksmchcls, 'R-freea', ksmchsiz)) freeable,
sum(ksmchsiz) total
from
sys.x_$ksmspr
where
inst_id = userenv('Instance')
group by
ksmchcom
#save_sqlplus_settings.sql -reset sqlplus settings
set termout off
store set sqlplus_settings replace
clear breaks
clear columns
clear computes
set feedback off
set verify off
set termout on
set define "&"
#restore_sqlplus_settings.sql -reset sqlplus settings
set termout off
@sqlplus_settings
clear breaks
clear columns
clear computes
set termout on
i.Check the shared pool reserved size status
SELECT free_space, avg_free_size, used_space, avg_used_size, REQUEST_MISSES, request_failures, last_miss_size FROM v$shared_pool_reserved;
An ORA-04031 error referencing large failed requests, indicates the Reserved Area is too fragmented. The reserved pool is small when: REQUEST_FAILURES > 0 (and increasing), The DBA should Increase shared_pool_reserved_size and shared_pool_size together. It is possible that too much memory has been allocated to the reserved list. The DBA should Decrease shared_pool_reserved_size, If: REQUEST_MISS = 0 or not increasing
FREE_MEMORY = > 50% of shared_pool_reserved_size minimum
col free_space for 999,999,999,999 head “TOTAL FREE”
col avg_free_size for 999,999,999,999 head “AVERAGE|CHUNK SIZE
col free_count for 999,999,999,999 head “COUNT”
col request_misses for 999,999,999,999 head “REQUEST|MISSES
col request_failures for 999,999,999,999 head “REQUEST|FAILURES”
col max_free_size for 999,999,999,999 head “LARGEST CHUNK”
select free_space, avg_free_size, free_count, max_free_size, request_misses, request_failures from v$shared_pool_reserved;
TOTAL FREE AVERAGE
CHUNK SIZE COUNT LARGEST CHUNK REQUEST
MISSES REQUEST
FAILURES
7,238,192 212,888 34 212,888 0 0
You should also use hidden and unsupported parameter “_shared_pool_reserved_pct” to control reserved pool. This parameter controls the allocated percentage of shared pool for reserved pool. By default it is %5 of the shared pool and if you use ASMM for memory management you can set this value higher like 10 to allocate reserved pool dynamically. When you set the parameter you will see the shared_pool_reserved_size parameter will be adjusted to the new setting. The parameter can not be modified when instance is started. You can use the query below to see the current value
select a.ksppinm “Parameter”, b.ksppstvl “Session Value”, c.ksppstvl “Instance Value” from sys.x$ksppi a, sys.x$ksppcv b, sys.x$ksppsv c where a.indx = b.indx and a.indx = c.indx and a.ksppinm = ‘_shared_pool_reserved_pct’;
Parameter Session Value Instance Value
sharedpool_reserved_pct 10 10
j.When having multiple subheaps:
select KSMCHIDX, ksmchcom ChunkComment,
decode(round(ksmchsiz/1000),0,'0-1K', 1,'1-2K', 2,'2-3K', 3,'3-4K',4,'4-5K',5,'5-6k',6,'6-7k',7,'7-8k',8,'8-9k', 9,'9-10k', '> 10K'), count(*), ksmchcls Status, sum(ksmchsiz) Bytes
from x$ksmsp where KSMCHCOM = 'free memory' group by KSMCHIDX,ksmchcom, ksmchcls, decode(round(ksmchsiz/1000),0,'0-1K', 1,'1-2K', 2,'2-3K', 3,'3-4K',4,'4-5K',5,'5-6k',6,'6-7k',7,'7-8k',8,'8-9k', 9,'9-10k','> 10K');
SubPool SGA_HEAP CHUNKCOMMENT size COUNT(*) STATUS BYTES
1 sga heap(1,0) free memory > 10K 34 R-free 7238192
1 sga heap(1,0) free memory 3-4K 2 free 6284
1 sga heap(1,0) free memory > 10K 241 free 35707400
1 sga heap(1,0) free memory 8-9k 1 free 7712
1 sga heap(1,0) free memory 2-3K 4 free 6752
1 sga heap(1,0) free memory 0-1K 2090 free 133288
1 sga heap(1,0) free memory 9-10k 21 free 188676
1 sga heap(1,0) free memory 1-2K 30 free 25868
If you see lack of large chunks it is possible that you can face with ORA-04031 in near future.
k.Check shared pool at first glance quick diagnostics
select 'You may need to increase the SHARED_POOL_RESERVED_SIZE' Description, 'Request Failures = '||REQUEST_FAILURES Logic
from v$shared_pool_reserved where REQUEST_FAILURES > 0
and 0 != (select to_number(VALUE) from v$parameter
where NAME = 'shared_pool_reserved_size')
union
select 'You may be able to decrease the SHARED_POOL_RESERVED_SIZE' Description,'Request Failures = '||REQUEST_FAILURES Logic
from v$shared_pool_reserved where REQUEST_FAILURES < 5
and 0 != (select to_number(VALUE) from v$parameter
where NAME = 'shared_pool_reserved_size')
l.Memory Usage - object list level view
• Owner - Owner of the object
• Object - Name/namespace of the object
• Sharable Memory - Amount of sharable memory in the shared pool consumed by the object
select OWNER, NAME||' - '||TYPE object,SHARABLE_MEM
from v$db_object_cache where SHARABLE_MEM > 10000
and type in ('PACKAGE','PACKAGE BODY','FUNCTION','PROCEDURE')
order by owner asc ,SHARABLE_MEM desc
SELECT * FROM (SELECT ROW_NUMBER () over (PARTITION BY NAMESPACE ORDER BY SHARABLE_MEM DESC) ROW_within , NAMESPACE, SHARABLE_MEM, SUBSTR(NAME,1,40) NAME FROM V$DB_OBJECT_CACHE ORDER BY SHARABLE_MEM DESC) WHERE ROW_WITHIN <= 2 ORDER BY NAMESPACE, ROW_WITHIN;
ROW_WITHIN NAMESPACE SHARABLE_MEM NAME
1 CLUSTER 2794 C_OBJ#_INTCOL#
2 CLUSTER 1684 SMON_SCN_TO_TIME
1 RSRCPLAN 5117 SYS_GROUP -
While installing Clusterware cannot see raw shared partitions
I have made 4 extended logical drives from EMC shared storage to be visible from my two nodes on 64bit windows 2003 server. During Clusterware installation while selecting the disks for OCR and Voting file, I cannot see the raw shared volumes.
The following is the output of cluvfy utility for component shared storage accessibility,
# runcluvfy.exe comp ssa -n node1,node2
Verifying shared storage accessibility
Checking shared storage accessibility...
Shared storage check failed on nodes "node2,node1".
Verification of shared storage accessibility was unsuccessful on all the nodes.
I also get exectask.exe encounter a problem and needed to close meassage aswell.
[email protected]The issue is resolved. I formatted the shared disks with NTFS file system. Then deleted the partition and recreated extended logical volumes and now the shared storage is accessible from the clusterware instalation for the selection of ocr and voting files.
#cluvfy comp ssa -n node1,node2
The above command on 64bit win2003 servers gives error. This is due to bug 6007675. Base Bug number is 4714708. So the solution is to continue with the installation and ignore the error message.
[email protected]
Sami Malik -
Urgent: Cannot see shared volumes while installing Clusterware
I have made 4 extended logical drives from EMC shared storage to be visible from my two nodes on 64bit windows 2003 server. During Clusterware installation while selecting the disks for OCR and Voting file, I cannot see the raw shared volumes.
The following is the output of cluvfy utility for component shared storage accessibility,
# runcluvfy.exe comp ssa -n node1,node2
Verifying shared storage accessibility
Checking shared storage accessibility...
Shared storage check failed on nodes "node2,node1".
Verification of shared storage accessibility was unsuccessful on all the nodes.
I also get exectask.exe encounter a problem and needed to close meassage aswell.
[email protected]The issue is resolved. I formatted the shared disks with NTFS file system. Then deleted the partition and recreated extended logical volumes and now the shared storage is accessible from the clusterware instalation for the selection of ocr and voting files.
Thanks anyways.
[email protected] -
Should I have installed Microsoft Office 2010 Filter Pack 64 bit with Ex 2013 SP1?
I have installed Exchange 2013 SP1 on a 2012R2 server, and all went well (I am at early stages of migration).
Following the pre-reqs listed here: https://technet.microsoft.com/en-us/library/bb691354%28v=exchg.150%29.aspx#WS2012
I installed Microsoft Unified Communications Managed API 4.0, Core Runtime 64-bit only.
Since then I have seen other articles suggesting that I install:
Microsoft Office 2010 Filter Pack 64 bit
Microsoft Office 2010 Filter Pack SP1 64 bit
Given I didn't notice any errors in the install, do I need to install those filter packs or is that outdated advice?
regards
RogaThanks for taking the time to post Ed
I did a bit more research and it appears that there is more than one view on this.
E.G. this blog
Why Exchange 2013 doesn’t need the Microsoft Office Filter Pack says:
"Exchange 2013 swaps MSSearch for the Search Foundation, a component shared with SharePoint 2013. The Search Foundation has no need of the Office Filter Pack because it includes its own filters. Unfortunately, until SP1 came along,
the Exchange 2013 Setup program overlooked this fact and stated that the Office Filter Pack was a prerequisite. Setup would install if the Office Filter Pack was missing, but who’s going to ignore a warning issued by Setup. In any case, that warning seems
to have finally been suppressed."
This blog
Planning and migrating a small organization from Exchange 2007 to 2013 (Part 10) has:
"After choosing the relevant setting needed to begin installation, the Exchange 2013 setup program will now perform readiness checks. Assuming these complete successfully, we'll expect to see just one warning.
This warning relates to the lack of the Office 2010 Filter Packs, which are not required for installation, and are only required to create Transport Rules for OneNote or Publisher files"
And this one
Exchange Server 2013 FAQ: Is the Office Filter Pack Required?
"The Exchange 2013 pre-requisites page on
TechNet, at the time of this writing, does include the Office Filter Packs as a step in the preparation of a server for Exchange 2013. What it doesn’t make clear is that they are not required.
The new Exchange Search already has support for indexing/searching Office file types, as well as a series of other file types including some third party formats such as PDF. You can see a full list
here.
So should you install the Office Filter Pack? If you want to stop seeing that warning message, then yes. If you want to take the approach of only installing required software on your servers, then no. Consider also that installing it means potentially having
to update it later on if there is a bug fix or a security issue."
The final para above is the approach that I have now taken, but if someone can give me a good reason to install office 2010 filter packs on Ex 2013 sp1 I'll revise my view
regards
roga -
Can not install trial PSE6 on Mac 10.5.6
I have downloaded the trial version, but everytime I try to install it, it gets to the end of the process and I get the following message:
Successfully installed: 1 component
Shared components
Errors: 2 components
Adobe Photoshop Elements/component install failed
Shared components/component install failed.
I tried to install on an external drive as well and found Bridge CS3 and Stock Photos CS3 in the folder.
I had installed a trial of CS3 sometime ago, but did not go ahead with it. There is nothing in any folder relating to PSE or CS3 that I can find. Any suggestions? RogerWell, I'm pretty sure that at this point you may not be able to install the trial at all, since they're set up to think you're cheating on the 30 day limit if you try an uninstall/reinstall. The problem is the PS trial you had before. What you need to do is to download and run this:
http://www.adobe.com/support/contact/cs3clean.html
to remove the last bits of the CS3 trial before installing PSE 6. It won't hurt to try it, but whether you'll be able to run the PSE trial will depend on how far the installer got the first time, I'm afraid. -
My harddrive took a dump and now I need to reinstall my CS3. It wont install. I enter the serial # and Autho codes and they dont work! I can't figure it out. I called adobe and they gave me the sales pitch of " we dont offer support for that software anymore because its out dated to far."
Im sorry, this software cost a pretty penny, and I think I should be able to use it. WTF?
Any thoughts?The only thing behind the Adobe window is my Windows Vista Premium desktop. I was able to install from my DVD the Adobe Design Standard CS3 folder. In this folder are Acrobat Distiller 8, Adobe Acrobat 8 Professional and Adobe LiceCyle Designer 8.0. I get the following message, "Component install failed." when I try to install Illustrator CS3, InDesign CS3, Photoshop CS3 and Version Cue CS3 Server. In addition, I get "Successfully installed 1 component: Shared Components." Stangely enough, I also get this message, "Component install failed" for shared components. These are the list of procedures that I have used to install CS3: 1) I untinstalled my antivirus program. 2) Turned off Windows firewall. 3) Ran computer in low-res mode. 4) Ran computer in SAFE mode. 5) Defragmented all hard drive. 6) Ran Adobe Cleaner Tool. 7) Attempted to install from hard drive/desktop. 8) Attempted to install from DVD. 9) Attempted to install on two, different hard drives. 10) Attempted to install using a new user account that has administrative privileges. 11) Removed all versions of Flash Player 12. Ran Chkdsk. 12. Updated my Windows version. 13) Ran Windows Event Viewer, and there is something under MSIInstall, but I cannot figure out what it is. My computer meets installation requirements because I have 17 GB on the boot drive, 414 GB on another drive, and 1 GB RAM.
-
Error deploying EJB on WL 6.0
Hi,
I'm trying to deploy an EJB jar file on WL6.0 in a Solaris environment, but I'm
encoutering the following error. The EJB jar deployed fine on a Windows system,
but I keep on getting this error on a Solaris machine. Any help/info would be
appreciated.
Thanks in advance,
- Jerome
<Dec 10, 2001 5:45:09 PM PST> <Info> <Logging> <Only log messages of severity
"Error" or worse will be displayed in this window. This can be changed at Admin
Console> hats> Servers> myserver> Logging> General> Stdout severity threshold>
java.io.IOException: javac: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.Runtime.exec(Runtime.java:477)
at java.lang.Runtime.exec(Runtime.java:443)
at weblogic.utils.Executable.exec(Executable.java:144)
at weblogic.utils.Executable.exec(Executable.java:108)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy30.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy24.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
at weblogic.management.Admin.finish(Admin.java:493)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
at weblogic.Server.main(Server.java:35)
<Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying EJB Component :
Shared.jar
weblogic.ejb20.EJBDeploymentException: EJB Deployment errors:; nested exception
is:
Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
-d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
-d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:228)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy30.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy24.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
at weblogic.management.Admin.finish(Admin.java:493)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
at weblogic.Server.main(Server.java:35)
>
<Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying application Shared.jar:
Could not deploy: 'Shared.jar':
Compiler failed executable.exec(java.lang.String[javac, -nowarn, -classpath,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
-d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])>I removed the EJB classes from my classpath, but I am now getting the following
error. If I remove the EJB classes from the classpath, how does ejbc know where
to look for the classes when making the jar files?
ERROR: Error from ejbc: java.lang.NoClassDefFoundError: Lcom/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLHome;
at java.lang.Class.getFields0(Native Method)
at java.lang.Class.getDeclaredFields(Class.java:998)
at weblogic.ejb20.compliance.SessionBeanClassChecker.checkEJBContextIsNotTransient(SessionBeanClassChecker.java:61)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.ejb20.compliance.EJBComplianceChecker.check(EJBComplianceChecker.java:230)
at weblogic.ejb20.compliance.EJBComplianceChecker.checkDeploymentInfo(EJBComplianceChecker.java:185)
at weblogic.ejb20.ejbc.EJBCompiler.complianceCheckJar(EJBCompiler.java:309)
at weblogic.ejb20.ejbc.EJBCompiler.checkCompliance(EJBCompiler.java:266)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:136)
at weblogic.ejbc20.runBody(ejbc20.java:707)
at weblogic.utils.compiler.Tool.run(Tool.java:81)
at weblogic.ejbc.main(ejbc.java:20)
ERROR: ejbc found errors
Rob Woollen <[email protected]> wrote:
It looks like you still don't have javac in your $PATH.
You also should remove the EJB classes from your classpath. They should
only be in your jar file.
-- Rob
Jerome Sieng wrote:
Rob,
I am now trying to run weblogic.ejbc(wl6.0) on the jar before deployingit, but
I'm getting the following error. Any ideas?
Thanks
- Jerome
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: Adminhas a class
com.hiwire.ejb.spotmanager.admin.AdminSessionSFBean which is in theclasspath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: Adminhas a class
com.hiwire.ejb.spotmanager.admin.AdminSessionSFHome which is in theclasspath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: Adminhas a class
com.hiwire.ejb.spotmanager.admin.AdminSessionSF which is in the classpath.This
class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.GroupEntityBean which is inthe classpath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.GroupEntityHome which is inthe classpath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.GroupEntity which is in theclasspath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: GroupEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.GroupPK which is in the classpath.This
class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.TunerEntityBean which is inthe classpath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.TunerEntityHome which is inthe classpath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.TunerEntity which is in theclasspath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: TunerEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.TunerPK which is in the classpath.This
class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.UserEntityBean which is inthe classpath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.UserEntityHome which is inthe classpath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.UserEntity which is in theclasspath.
This class should only be located in the ejb-jar file.>
<Dec 10, 2001 7:52:17 PM PST> <Error> <EJB> <EJB Deployment: UserEntityHomehas
a class com.hiwire.ejb.spotmanager.admin.UserPK which is in the classpath.This
class should only be located in the ejb-jar file.>
java.io.IOException: javac: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.Runtime.exec(Runtime.java:477)
at java.lang.Runtime.exec(Runtime.java:443)
at weblogic.utils.Executable.exec(Executable.java:144)
at weblogic.utils.Executable.exec(Executable.java:108)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
at weblogic.ejbc20.runBody(ejbc20.java:707)
at weblogic.utils.compiler.Tool.run(Tool.java:81)
at weblogic.ejbc.main(ejbc.java:20)
Exec failed .. exiting
Rob Woollen <[email protected]> wrote:
It looks like you don't have javac in the solaris path.
FWIW, you might consider just running weblogic.ejbc on the jar before
deploying it.
-- Rob
Jerome Sieng wrote:
Hi,
I'm trying to deploy an EJB jar file on WL6.0 in a Solaris environment,but I'm
encoutering the following error. The EJB jar deployed fine on a
Windows
system,
but I keep on getting this error on a Solaris machine. Any help/infowould be
appreciated.
Thanks in advance,
- Jerome
<Dec 10, 2001 5:45:09 PM PST> <Info> <Logging> <Only log messages
of
severity
"Error" or worse will be displayed in this window. This can be changedat Admin
Console> hats> Servers> myserver> Logging> General> Stdout severitythreshold>
java.io.IOException: javac: not found
at java.lang.UNIXProcess.forkAndExec(Native Method)
at java.lang.UNIXProcess.<init>(UNIXProcess.java:54)
at java.lang.Runtime.execInternal(Native Method)
at java.lang.Runtime.exec(Runtime.java:551)
at java.lang.Runtime.exec(Runtime.java:477)
at java.lang.Runtime.exec(Runtime.java:443)
at weblogic.utils.Executable.exec(Executable.java:144)
at weblogic.utils.Executable.exec(Executable.java:108)
at weblogic.utils.compiler.CompilerInvoker.compileMaybeExit(CompilerInvoker.java:555)
at weblogic.utils.compiler.CompilerInvoker.compile(CompilerInvoker.java:372)
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:180)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy30.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy24.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
at weblogic.management.Admin.finish(Admin.java:493)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
at weblogic.Server.main(Server.java:35)
<Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying EJB
Component
Shared.jar
weblogic.ejb20.EJBDeploymentException: EJB Deployment errors:; nestedexception
is:
Compiler failed executable.exec(java.lang.String[javac,
-nowarn,
-classpath,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
-d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
Compiler failed executable.exec(java.lang.String[javac,
-nowarn,
-classpath,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
-d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])
at weblogic.ejb20.ejbc.EJBCompiler.compileEJB(EJBCompiler.java:228)
at weblogic.ejb20.deployer.Deployer.runEJBC(Deployer.java:228)
at weblogic.ejb20.deployer.Deployer.deploy(Deployer.java:799)
at weblogic.j2ee.EJBComponent.deploy(EJBComponent.java:31)
at weblogic.j2ee.Application.addComponent(Application.java:133)
at weblogic.j2ee.J2EEService.addDeployment(J2EEService.java:115)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployment(DeploymentTarget.java:327)
at weblogic.management.mbeans.custom.DeploymentTarget.addDeployments(DeploymentTarget.java:277)
at weblogic.management.mbeans.custom.DeploymentTarget.updateServerDeployments(DeploymentTarget.java:232)
at weblogic.management.mbeans.custom.DeploymentTarget.updateDeployments(DeploymentTarget.java:192)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy30.updateDeployments(Unknown Source)
at weblogic.management.configuration.ServerMBean_CachingStub.updateDeployments(ServerMBean_CachingStub.java:2299)
at weblogic.management.mbeans.custom.ApplicationManager.startConfigManager(ApplicationManager.java:240)
at weblogic.management.mbeans.custom.ApplicationManager.start(ApplicationManager.java:122)
at java.lang.reflect.Method.invoke(Native Method)
at weblogic.management.internal.DynamicMBeanImpl.invokeLocally(DynamicMBeanImpl.java:562)
at weblogic.management.internal.DynamicMBeanImpl.invoke(DynamicMBeanImpl.java:548)
at weblogic.management.internal.ConfigurationMBeanImpl.invoke(ConfigurationMBeanImpl.java:285)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1555)
at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:439)
at weblogic.management.internal.MBeanProxy.invoke(MBeanProxy.java:180)
at $Proxy24.start(Unknown Source)
at weblogic.management.configuration.ApplicationManagerMBean_CachingStub.start(ApplicationManagerMBean_CachingStub.java:435)
at weblogic.management.Admin.startApplicationManager(Admin.java:1033)
at weblogic.management.Admin.finish(Admin.java:493)
at weblogic.t3.srvr.T3Srvr.start(T3Srvr.java:429)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:170)
at weblogic.Server.main(Server.java:35)
>
<Dec 10, 2001 5:45:32 PM PST> <Error> <J2EE> <Error deploying applicationShared.jar:
Could not deploy: 'Shared.jar':
Compiler failed executable.exec(java.lang.String[javac,
-nowarn,
-classpath,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared:/opt/weblogic6.0/wlserver6.0:/opt/weblogic6.0/wlserver6.0/lib/weblogic_sp.jar:/opt/weblogic6.0/wlserver6.0/lib/weblogic.jar:/usr/java/bin/javac:/opt/weblogic6.0:/home/adserver/current/Library/jce1_2-do.jar:/home/adserver/current/JavaSource:/home/adserver/current/EJBSource:/opt/weblogic6.0/wlserver6.0/./config/hats/applications/.wl_temp_do_not_delete/wl_local_comp12301.jar:/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared,
-d, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared, /opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanHomeImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanEOImpl.java,
/opt/weblogic6.0/wlserver6.0/tmp_ejbdev280/Shared/com/hiwire/ejb/spotmanager/shared/SpotManagerSessionSLBeanImpl.java])> -
Install problems, CS3 Design Premium
Hi,
I'm trying to install Adobe Creative Suite 3 Design Premium on my Windows 7, 64 bit desktop. After running the original installation disk, I get a message that says:
Installation Completed. Some problems occured during installation.
Summary: Successfully installed: 1 component, Shared components.
Errors: 9 components
Adobe Creative Suite 3 Design Premium, Component install failed.
Adobe Dreamweaver CS3, Component install failed.
Adobe Flash CS3, Component install failed.
Adobe Flash Video Encoder, Component install failed.
Adobe Illustrator, Component install failed.
Adobe InDesign CS3, Component install failed.
Adobe Photoshop CS3, Component install failed.
Adobe Version Cue CS3 Server, Component install failed.
Shared Components, Component install failed.
Does anyone know what could be causing this error? Any help would be greatly appreciated.
GeorgeFirst off: Keep in mind that CS3 was never tested or certified for W7. Problems are to be expected - works for many users, but you may be part of the fraction where it doesn't. That said, there's a million things that could go wrong from security stuff like UAC getting in the way to virus scanners to more general permission issues, including with temporary files required for install. I suggest you read this article and see if anything might be relevant. If that doesn't yield any improvment, we may require the install logs (also explained on my pages) and some more info about where you are trying to install and possibly the computer specs....
Mylenium -
Clusterware install cannot see raw partitions during ocr/votedisk selection
I have made 4 extended logical drives from EMC shared storage to be visible from my two nodes on 64bit windows 2003 server. During Clusterware installation while selecting the disks for OCR and Voting file, I cannot see the raw shared volumes.
The following is the output of cluvfy utility for component shared storage accessibility,
# runcluvfy.exe comp ssa -n node1,node2
Verifying shared storage accessibility
Checking shared storage accessibility...
Shared storage check failed on nodes "node2,node1".
Verification of shared storage accessibility was unsuccessful on all the nodes.
I also get exectask.exe encounter a problem and needed to close meassage aswell.
[email protected]One more important point I noticed is that for RAC on windows 2003 Enterpriser Edition Server 64bit it is must that one should automatically mount the shared disks. For this do the following on command prompt.
c:\>Diskpart
Diskpart> automount enable
This command will automount the shared storage on the server. This should be done manually as it is not enabled on windows environment and it should be done only once.
[email protected] -
Windows XP Pro
Adobe Premiere Pro CS3 full version
Because of several problems and conflicts in trying to "export to encore" from Premiere Pro CS3 (mainly, Encore was asking me to put a blank disk in the wrong disk drive [my cd-rw drive instead of my dvd drive]once the encoding was done and burning was about to begin, I decided to uninstall both Premiere Pro CS3 and Encore CS3 from "Add/Remove Programs" from "Control Panel" in preparation for reinstalling both. However, when I clicked on "unistall" for any CS3 application, nothing at all would happen. In frustration I simply started deleting all the program files I could find relating to CS3. I was finally successful in uninstalling both after inserting the respective disks, but a program called "encore stock photos cs3" still wouldn't uninstall so I followed some online advice and started deleting all Adobe cs3 related "uninstall" keys from my registry.
I was able to successfully, re-install premiere pro cs3, but components of the encore cs3 reinstall failed with the following messages:
Summary
Succesfully installed: 1 component
Shared Components
Errors: 4 components
X Adobe encore CS3
Component install failed
X Adobe encore CS3 Codecs
Component install failed
X Adobe encore CS3 Library
Component install failed
X Shared Components
Component install failed
Component install failed. The original installation media has been moved or deleted.
Please replace the media at its original location: [the path . . . Local Settings/Application Data/Installer 3472
payloads\AdobeExtendScriptToolkit2.0.2All\AdobeExtendScriptToolkit2.0.2All.msi
End error message
Two questions I hope someone can answer. 1. How do I replace these two items. 2. Why were they still on my machine in the first place since I deliberately tried to erase all traces of CS3 from my system before reinstalling? Isn't their continued presence considered invasive?
Thanks in advance,
T>2. Why were they still on my machine in the first place since I
>deliberately tried to erase all traces of CS3 from my system before
>reinstalling?
You did not use the CS3 clean scripts. That would have been all that is required. Unfortunately now you will have to run the install again after you've wiped everything "the correct way". In clearer terms: deleting does not remove installer and other registry info or the cached installer packages, hence it causes problems. Only the script will allow you to correctly remove CS3 applications at the cost of wiping them all, of course.
Mylenium -
When I choose 'browse presets' in AE CS4, nothing happens - ie Bridge does not open no matter how long i wait. I can seperately launch Bridge, but of course that does not enable me to "double click apply" effects/presets in my composition.
Many thanks in advanceMmh, Adobe Camera RAW is a component shared between Bridge, Photoshop and other programs. Since the initial release of CS4 it has been updated several times, so indeed an update to one of the programs may have affected Bridge and AE in a wierd way. I'm afraid I can't offer any advise beyond that, as most likely you would have to re-install everything, anyway, to make this work again. As a minor glimpse of hope it may be worthwile to check Bridge's file associations in its prefs as well as check the status of Camera RAW by accessing its options. Maybe it just needs to be reset in some way to produce correct configuration data and not crash.
Mylenium
Maybe you are looking for
-
How to set Focus in a JDialog jdk 1.3.1
I can't get the Focus to the wished component in my JDialogs when "invoke" them with setVisible(boolean) [\code] void mySetVisible() new FocusRequester(some JComponent of this Dialog); setVisible(true); public class FocusRequester implements Runnable
-
Images imported from Aperture showing up 'washed out' in Lightroom.
I am aware that Lightroom uses ProPhoto RBG. When i export images from Aperture to a folder then import into Lightroom the images appear very different. Is there a setting i am missing as the images seem 'washed' out in Lightroom. When i export to th
-
HT204022 how do i remove or delete storage on my icloud
How do I delete storage on my icloud
-
Query to check tablespace size and freespace
hi experts i am using oracle 9i . want ot check freespace and size of tablespace could u plz tell me the query thanks varun
-
How can I reduce potentially unwanted Aurora windows
1. I'm using the auto-update mode for my Aurora. 2. Days ago, the new Aurora made me sad: Before some updates applied, it made me cool, cuz I can open many tabs in one window; and now I had to open some potentially unneeded windows when I tried to la