Query fot table multi level
I need a query which brings me the suite of result:
Select...
Where to move = 1;
1.1.1.1 planet - country - city - Brazil
1.1.1.2 planet - country - city - France
1.1.1.2 planet - country - city - Costa Rica
Example of data;
PK 2 niveau3 Level4 level 5 level 6 level 1 Description move
___ _____ _____ _____ _____ _____ ______ ____________________ _____
1 1 null null null null nulll planet 0
2 1 1 null null null null country 0
2 1 1 1 null null null City 0
2 1 1 1 1 null null Brazil 1
2 1 1 1 2 null null France 1
2 1 1 1 3 Costa Rica 1 null null
I have test it with (START WITH CONNECT BY)
But I did have the expected result
Help
Thank you
Mike
with dataset as (select 1 pk,1 level1,null level2,null level3,null level4,null level5,null level6,'Planet' description,0 move from dual union all select 2,1,1,null,null,null,null,'Country',0 from dual union all select 3,1,1,1,null,null,null,'City',0 from dual union all select 4,1,1,1,1,null,null,'Brazil',1 from dual union all select 5,1,1,1,2,null,null,'France',1 from dual union all select 6,1,1,1,3,null,null,'Costa Rica',1 from dual union all select 7,2,null,null,null,null,null,'Honda',0 from dual union all select 8,2,1,null,null,null,null,'Accord',1 from dual union all select 9,2,2,null,null,null,null,'Odyssey',1 from dual ) ,dataset_a AS (SELECT level1, LISTAGG(description,'-') WITHIN GROUP (ORDER BY pk) str FROM dataset WHERE MOVE=0 GROUP BY MOVE,level1) SELECT a.level1||'.'||a.level2||'.'||nvl(a.level3,1)||'.'||nvl(a.level4,1) versioning,b.str||'-'||a.description final_str FROM dataset a,dataset_a b where a.level1=b.level1 and move<>0;
Output:
--------------
VERSION MANAGEMENT | FINAL_STR |
1.1.1.1 | Planet-country-city-Brazil |
1.1.1.2 | Planet-country-city-France |
1.1.1.3 | Planet-country-city-Costa Rica |
2.1.1.1 | Honda-Accord |
2.2.1.1 | Honda-Odyssey |
See you soon,.
Manik.
Tags: Database
Similar Questions
-
SQL Query hierarchical select 2 level parent over sheet.
Here, we use Oracle 11 g R1. Here is a sample of our Tables of the employee.
I want you select all managers managers above them (which we call the Site Manager) and direct (that we call the Service Manager)
Here is the example for the base table.
SET DEFINE OFF; CREATE TABLE EMP_SAMPLE ( AGENT_ID VARCHAR2(100 BYTE) , FULL_NAME VARCHAR2(100 BYTE) , AGENT_MANAGER VARCHAR2(100 BYTE) ) ; Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('JS001','JOHN SMITH',null); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('AL001','ANN LEE','JS001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('JD001','JOHN DOE','AL001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('MB002','MARY BAKER','AL001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('HM003','HOWARD MONROE','MB002'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('RM001','ROBYN MILLER','MB002'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('DJ002','DAVID JONES','RM001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('WW001','WENDY WONG','MB002'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('PB001','PETER RABBIT','JS001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('BB002','BEN BUNNY','PB001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('TM001','TONY MILLER','BB002'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('PP002','PETER PARKER','RM001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('PP003','PEPPA PIG','PB001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('DB002','daniel baker','HM003'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('TL001','Tom Lee','WW001'); Insert into EMP_SAMPLE (AGENT_ID,FULL_NAME,AGENT_MANAGER) values ('MS001','Mary Smith',null);
With the example like this data, I would like to that the result looks similar to
Name of the Manager
MARY BAKER - Manager of the Site
HOWARD MONROE - Service Manager
ROBYN MILLER - Service Manager
WENDY WOND - Service Manager
PETER RABBIT Site Manager
BEN BUNNY - Service Manager
I guess I should use the hierarchical query to achieve this. I googled to see all the solutions, I tried this under request
SELECT agent_id, agent_manager, RPAD('.', (level-1)*2, '.') || full_name AS tree, level, CONNECT_BY_ROOT agent_id as root_id ,CONNECT_BY_ISLEAF AS is_leaf FROM EMP_SAMPLE START WITH agent_manager IS NULL CONNECT BY agent_manager = PRIOR agent_id ORDER SIBLINGS BY agent_id;
But it seems that the level always starts from the root at the top of the page. I wonder, is it possible to identify even just the level two above the sheet.
Here is some basic information. We are working on our oracle APEX application. One of the reports can be filtered by the Manager. The list currently shows a little all managers, regardless of what they are 1 senior as general manager, or the first line as a Service Manager Manager. Now, users want to be able to select only Service Manager and Site Manager.
There is a DB work for updating the table Employee of LDAP. And the LDAP structure is not tidy this (we have some staff members who have no Manager, they are not even CEO). The Administrator told us that it is too busy to store it.
We have about 20,000 employees in total including 800 East of managers.
Thanks in advance.
Ann
Hi, Ann.
Ann586341 wrote:
Here, we use Oracle 11 g R1. Here is a sample of our Tables of the employee.
I want you select all managers managers above them (which we call the Site Manager) and direct (that we call the Service Manager)
Here is the example for the base table.
- TOGETHER TO DEFINE
- CREATE TABLE EMP_SAMPLE
- (
- AGENT_ID VARCHAR2 (100 BYTE)
- FULL_NAME VARCHAR2 (100 BYTE)
- AGENT_MANAGER VARCHAR2 (100 BYTE)
- ) ;
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('JS001', 'JOHN SMITH', null);
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('AL001', "ANN LEE", "JS001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('JD001', 'JOHN DOE', "AL001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('MB002', "MARY BAKER", "AL001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('HM003', 'HOWARD MONROE', 'MB002');
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('RM001", 'ROBYN MILLER', 'MB002');
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('DJ002', 'DAVID JONES', "RM001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('WW001', "WENDY WONG", "MB002");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('PB001', 'PETER RABBIT', "JS001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('BB002', "BEN BUNNY", "PB001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('TM001', 'TONY MILLER', "BB002");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('PP002","PETER PARKER","RM001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('PP003', 'PEPPA PIG', "PB001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('DB002', "daniel baker", "HM003");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('TL001', "Tom Lee", "WW001");
- Insert into EMP_SAMPLE (AGENT_ID, FULL_NAME, AGENT_MANAGER) values ('MS001', 'Mary Smith', null);
With the example like this data, I would like to that the result looks similar to
Name of the Manager
MARY BAKER - Manager of the Site
HOWARD MONROE - Service Manager
ROBYN MILLER - Service Manager
WENDY WOND - Service Manager
PETER RABBIT Site Manager
BEN BUNNY - Service Manager
I guess I should use the hierarchical query to achieve this. I googled to see all the solutions, I tried this under request
- SELECT agent_id, agent_manager, RPAD ('.) (', (level 1) * 2, '.') || full_name LIKE tree,
- level, agent_id CONNECT_BY_ROOT as root_id
- CONNECT_BY_ISLEAF AS is_leaf
- OF EMP_SAMPLE
- START WITH agent_manager IS NULL
- CONNECT BY PRIOR agent_id = agent_manager
- Brothers and SŒURS of ORDER BY agent_id;
But it seems that the level always starts from the root at the top of the page. I wonder, is it possible to identify even just the level two above the sheet.
Here is some basic information. We are working on our oracle APEX application. One of the reports can be filtered by the Manager. The list currently shows a little all managers, regardless of what they are 1 senior as general manager, or the first line as a Service Manager Manager. Now, users want to be able to select only Service Manager and Site Manager.
There is a DB work for updating the table Employee of LDAP. And the LDAP structure is not tidy this (we have some staff members who have no Manager, they are not even CEO). The Administrator told us that it is too busy to store it.
We have about 20,000 employees in total including 800 East of managers.
Thanks in advance.
Ann
Here's one way:
WITH leaves LIKE
(
SELECT agent_id
Of emp_sample
LESS
SELECT agent_manager
Of emp_sample
)
got_lvl AS
(
SELECT-full_name agent_id
LEVEL AS lvl
Of emp_sample
START WITH agent_id IN)
SELECT agent_id
Sheets
)
CONNECTION BY agent_id = agent_manager PRIOR
)
SELECT full_name
CASE
WHEN MAX (lvl) = 3
THEN 'Site Manager'
ANOTHER "Service Manager"
END AS title
OF got_lvl
GROUP BY full_name-, agent_id
WITH MIN (lvl) > = 2
AND MAX (lvl)<=>=>
ORDER BY full_name
;
Output:
FULL_NAME TITLE
-------------------- ---------------
BEN BUNNY Service Manager
MONROE HOWARD Service Manager
MARY BAKER Site Manager
PETER RABBIT Site Manager
ROBYN MILLER Service Manager
WENDY WONG Service Manager
Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!
LEVEL does not always begin with the root; It starts with the lines that meet the condition to START WITH. If you have a START WITH condition that only roots meet (as in the query you posted) then, Yes, LEVEL will start with the roots. If you have a condition START WITH answering the criteria only the leaves (as in the query I posted), then LEVEL will start with the leaves.
I guess just some of your needs. If seems that a 'Site Manager' is the grandparent of a leaf, but "John Smith" (which is the grandmother of "John Doe", a sheet) is not considered to be a 'Site Manager'. Similarly, it seems that a 'Service Manager' is the parent (but not the grand-parent) of the leaf, but "Ann Lee" (the mother of "John Doe") is not considered to be a 'Service Manager' for a reason any.
I guess that full_name is unique. If full_name is not unique, but agent_id is, then you will need a comment a few line above ends. (I guess that agent_id is unique and not NULL).
-
Query to retrieve the level 2 supervisors
Hi all
I use the following query to retrieve the people which is under the supervision of a given person_id... Is it possible to modify this query (see below) in order to get two levels of employees? something like:
Supervisor 1
Employee 1
Employee 2
Employee 3
Supervisor 2
Employee 4
Employee 5
Employee 6
The query works if I pass the person_id 1 for example supervisor that I would get used 1 2 and 3. But if I pass an id of the person who, of higher hierarchy, I will just get supervisor 1 supervisor 2... And I need all the people (just two levels down)
Select distinct *)
Select distinct ppf.first_name |' '|| PPF.last_name
ppf.last_name
fu.user_name
fu.user_id
ppf.person_id
papf.person_id Manager
pi.image_id
initcap (hla.description) LOCATION
pb.NAME pay_basis_name
pax.grade_id
haou.name
employment_category
ppos.date_start
of per_assignments_x pax
per_grade_definitions pgd
per_people_x WP
fnd_user fu
per_all_people_f women's wear
per_images pi
hr_locations_all hla
per_pay_bases pb
hr_all_organization_units haou
per_periods_of_service OPP
where ppf.person_id = pax.person_id
and trunc (sysdate) between papf.effective_start_date and papf.effective_end_date
and fu.person_party_id = papf.party_id
and pax.supervisor_id = papf.person_id
and pi.parent_id (+) = ppf.person_id
and pi.table_name (+) = "PER_PEOPLE_F".
and pax.person_id = ppf.person_id
and hla.location_id (+) = pax.location_id
AND ppf.current_employee_flag = 'Y '.
AND pb.pay_basis_id = pax.pay_basis_id
AND haou.organization_id = pax.organization_id
AND ppos.person_id = ppf.person_id
AND pax.grade_id = pgd.grade_definition_id
AND papf.person_id =: inPersonId
UNION ALL
Select ppf.first_name |' '|| PPF.last_name
ppf.last_name
fu.user_name
fu.user_id
ppf.person_id
papf.person_id Manager
pi.image_id
initcap (hla.description) LOCATION
pb.NAME pay_basis_name
pax.grade_id
haou.name
employment_category
ppos.date_start
of per_people_x WP
per_grade_definitions pgd
fnd_user fu
per_all_people_f women's wear
HR_WORKING_PERSON_LISTS HWPL
per_images pi
per_assignments_x pax
hr_locations_all hla
per_pay_bases pb
hr_all_organization_units haou
per_periods_of_service OPP
where
trunc (sysdate) between papf.effective_start_date and papf.effective_end_date
and fu.person_party_id = papf.party_id
AND HWPL.owning_person_id = papf.person_id
and hwpl.selected_person_id = ppf.person_id
AND pi.parent_id (+) = ppf.person_id
and ppf.current_employee_flag = 'Y '.
and pax.person_id = ppf.person_id
AND hla.location_id (+) = pax.location_id
AND pb.pay_basis_id = pax.pay_basis_id
AND haou.organization_id = pax.organization_id
AND ppos.person_id = ppf.person_id
AND pax.grade_id = pgd.grade_definition_id
AND papf.person_id =: inPersonId
) order of last_nameHello Alejandro,
You can play a little bit with one below with what you find most comfortable.
/ * multi level * /.
Select the level
assignment_number
assignment_id
Manager
, (select full_name from per_people_x where person_id = pax.person_id)
, sys_connect_by_path ((sélectionnez employee_number dans per_people_x où person_id = pax.person_id), '-->')
of per_assignments_x pax
where primary_flag = 'Y '.
connect by prior person_id = Manager
Start by person_id = 1523/ * level 2 only * /.
Select (select full_name from per_people_x where person_id = pax1.person_id)
, (select full_name from per_people_x where person_id = pax2.person_id)
of per_assignments_x pax1
per_assignments_x pax2
where pax1.supervisor_id = 1523
and pax1.primary_flag = 'Y '.
and pax1.person_id = pax2.supervisor_id
and pax2.primary_flag = 'Y '. -
Hello
I hope this is the right forum.
I'm doing some coding in Java to monitor a lock. I have a built tool that takes SQL and apply logic to a multi tool so so I never write code more to do what I want to do in our systems - just follow the successive executions of this app and intercept the error codes.
in any case, I'm watching the locks in the database under certain conditions, but I'm not able to get Ibatis query on tables of v$.
If I put ' select * lock in $ v' in Ibatis, it will come out ' select * of vlock' causing an ORA-000942: there is no error table or view.
Real diary of my application:
+ DEBUG [hand] (Log4jImpl.java:26) - declaration of preparation {conn-100000}: select nvl ((sélectionnez '1' de vlock vlock2 où 1 = 1 et vlock1.block=1 et vlock1.id1=vlock2.id1 et vlock1.id2=vlock2.id2 et 0 < vlock2.request et rownum = 1), ' 0') as resulting double +.
+ DEBUG [main] (Log4jImpl.java:26) - {pstm-100001} executing statement: select nvl ((sélectionnez '1' de vlock vlock2 où 1 = 1 et vlock1.block=1 et vlock1.id1=vlock2.id1 et vlock1.id2=vlock2.id2 et 0 < vlock2.request et rownum = 1), ' 0') as resulting double +.
+ DEBUG [hand] (Log4jImpl.java:26) - {pstm-100001} parameters: [] +.
+ DEBUG [main] (Log4jImpl.java:26) - {pstm-100001} Types: [] +.
+ [Hand] DEBUG (Log4jImpl.java:26) - return to connection pool 1156596976. +
+ ERROR [main] (Main.java:101) - com.ibatis.common.jdbc.exception.NestedSQLException: +.
-The error occurred in jdasql.xml.
-The error occurred when applying a parameter map.
-Check the - existf_AsdLockCheck2-InlineParameterMap.
-Check the instruction (failed query).
-Cause: java.sql.SQLException: ORA-00942: table or view does not exist
It's strange. The sqlmap did this:
Select nvl)
Select '1'
v $ lock vlock1
+ v$ lock vlock2 +.
where 1 = 1
and vlock1.block = 1
and vlock1.id1 = vlock2.id1
and vlock1.id2 = vlock2.id2
and 0 & lt; vlock2. Request
(and rownum = 1), '0') as a result of the doubleIn ibatis, you must double pound (#) and the dollar ($) symbols escape them:
select nvl(( select '1' from v$$lock vlock2 where 1=1 and vlock1.block=1 and vlock1.id1=vlock2.id1 and vlock1.id2=vlock2.id2 and 0 < vlock2.request and rownum=1), '0') as results from dual
Max
[My Italian blog Oracle | http://oracleitalia.wordpress.com/2010/01/17/supporto-di-xml-schema-in-oracle-xmldb/] -
How to preserve the multi-level iPhoto in Photos folder directory
If you upgrade OS to Yosemite or El Capitan, how to preserve my folder customized Photos iPhoto multi-level directory? My iPhoto library is 105 GB and contains 41 000 photos, all carefully arranged in a directory of custom and subsidiary subjects.
iPhoto (the beloved and only) has a great power in its ability to custom folders full of full of albums etc. subfolders directories several levels deep, with photos that can be duplicated in different albums, folder & file size info, etc. Unless this can all be kept in the Photos, there is no point me upgrading until Apple gets serious on the needs of demanding photographers, who want the custom control and want as their stuff protected in their hard drive and not on the cloud. Automatically generated 'events' and 'albums' are things of grandmother-and-the-children, useless for people like me. I need a custom control over making inventories of multiple folder levels based on my own custom categories, categories or undated events Apple thinks we should have. Home, school, family, travel, etc. just does not cut it!
Someone really aware with this situation can help me get clarity? Promo stuff on pictures Apple responds to virtually none of my questions.
I would like to begin by asking in the forum of Photos, but until you do, you need to specify your terminology. iPhoto offers events, Albums, and smart Albums for the organization. Thus, by "directories" I can only imagine say you you have files of records nested within other folders? If so, you can do with Photos. There is no need to use the features of cloud Photos. They are not mandatory in any mode.
Regarding your comment, if you're a serious photographer why you use iPhoto? Make sure you used Apple app for photographers, it was called Aperture. Now for photographers you use applications 3rd party - Lightroom, Capture One etc.
-
Explain to me how a multi-level security strategy can be deployed domain LAN-to-WAN and the LAN domain to the domain of the workstation with the use of internal firewalls.
Hello
Your Windows XP question is more complex than what is generally answered in the Microsoft Answers forums. It is better suited for the IT Pro TechNet public. Please ask your question in the following forum.
http://social.technet.Microsoft.com/forums/en-us/itproxpsp/threads -
I CAN QUERY A TABLE EVEN AFTER THE DELETION OF THE DATA FILE
Hello
Can someone explain to me the reason why I am able to interview some tables even after the deletion of the data that are associated with file?
SQL > select table_name, tablespace_name from dba_tables where owner = 'SCOTT ';
TABLE_NAME, TABLESPACE_NAME
------------------------------ ------------------------------
TEST2 USERS
TEST USERS
SALGRADE USERS
USERS OF BONUS
USERS OF THE EMP
USERS OF DEPT
6 selected lines.
SQL > exit
Disconnected from the database to Oracle 11 g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
[oracle@localhost orcl] $ rm /app/oracle/oradata/orcl/users01.dbf
[oracle@localhost orcl] $ sqlplus scott/scott
SQL * more: Production version 11.2.0.1.0 on Mon Mar 30 21:35:54 2015
Copyright (c) 1982, 2009, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - Production
With partitioning, OLAP, Data Mining and Real Application Testing options
SQL > select count (*) from test2;
Select count (*) from test2
*
ERROR on line 1:
ORA-01116: error opening the database file 4
ORA-01110: data file 4: ' / app/oracle/oradata/orcl/users01.dbf'
ORA-27041: could not open the file
Linux error: 2: no such file or directory
Additional information: 3
SQL > select count (*) of the test;
COUNT (*)
----------
5000
SQL >
The first output is as expected. But why am I still able to query the table of test, even if the data file has been deleted.
Hello
The process of database have a file handle for the data file - this remains even when the file is deleted (it disappears from the normal file system navigation)
You can see if you have lsof installed
just try
lsof | grep datafile_name
Once the database is restarted and the released file handle so you will not be able to do this any more - and in fact you will get errors when it can't find the file.
See you soon,.
Rich
-
Hello
I use ATG version 10.2 and you have configured CRS application by IMC. All data import and deployments have been successful.
Applications of short (MDEX 6.4.1, CASE 3.2.1 6.4.1.2, tools and Framework 3.1.2 platform services) are running: port 8006, 8500, race 8888.
Now MY PROBLEM IS in TWO PARTS:
PART 1) Ran the store on jboss, has worked well, core application started without any error. When trying to load the homepage, get following error message:
16:42:25, 926 full repository INFO [SEORepository] SQL boot
16:43:32, 653 ERROR [DynamoServlet]
CAUGHT AT:
Container: ATG.servlet.jsp.ContainerJspException: Cannot find the named component: / atg/registry/Slots/HomeTheme; Source: javax.servlet.ServletException: Cannot find the named component: / atg/registry/Slots/HomeTheme
at atg.taglib.dspjsp.ParamTag.doStartTag(ParamTag.java:419)
at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspx_meth_dsp_005fparam_005f0(homePagePromotions_jsp.java:1021)
at org.apache.jsp.navigation.gadgets.homePagePromotions_jsp._jspService(homePagePromotions_jsp.java:219)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:369)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:322)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:249)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:638)
at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:543)
at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:480)
at atg.servlet.WrappingRequestDispatcher.include(WrappingRequestDispatcher.java:123)
at atg.taglib.dspjsp.IncludeTag.doEndTag(IncludeTag.java:883)
at org.apache.jsp.index_jsp._jspx_meth_dsp_005finclude_005f1(index_jsp.java:633)
to org.apache.jsp.index_jsp.access$ 1 (index_jsp.java:622)
to org.apache.jsp.index_jsp$ Helper.invoke1 (index_jsp.java:685)
to org.apache.jsp.index_jsp$ Helper.invoke (index_jsp.java:711)
at org.apache.jsp.tag.web.store.pageContainer_tag._jspx_meth_c_005fwhen_005f1(pageContainer_tag.java:2757)
at org.apache.jsp.tag.web.store.pageContainer_tag.doTag(pageContainer_tag.java:812)
at org.apache.jsp.index_jsp._jspx_meth_crs_005fpageContainer_005f0(index_jsp.java:598)
at org.apache.jsp.index_jsp._jspx_meth_dsp_005fpage_005f1(index_jsp.java:565)
at org.apache.jsp.index_jsp._jspService(index_jsp.java:127)
at org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
...........................
...........................
...........................
...........................
At this point, the CRS page opens but no short content. Don't load no registration, no image on the home page does display, NO SEARCH BOX displayed in the header.
PART 2) On top of that when I try to run the server pubishing on JBOSS, start does'nt server and responds to error. If the das_id_generator table exists in DB for all 4 patterns.
16:09:41, 082 INFO [ScreenLog] with logging of external for debug messages and trace kernel to avoid hidden kernel logging information. Set the property /atg/dynamo/service/logging/ScreenLog.useInfoForDebug to false nucleus to use external instead trace and debug logging.
16:09:41, 199 INFO [Version] HV000001: Hibernate Validator 4.3.1.Final
16:09:41, 748 Truncating WARN [ClusterBroadcaster] serviceProperties "commandLineModules" key value
16:09:42, size INFO [STDOUT] 345 (ERR_QUERY_TABLE, das_id_generator
16:09:42, 351 ERROR [IdGenerator]
CAUGHT AT:
Container: ATG.service.IdGen.IdGeneratorException; Source: Container: ATG.service.IdGen.IdGeneratorException: Cannot query the table 'das_id_generator '. Please make sure that the table exists and is accessible before you start this service. ; Source: Java.Sql.SQLSyntaxErrorException: ORA-00942: table or view does not exist
at atg.service.idgen.PersistentIdGenerator.initialize(PersistentIdGenerator.java:389)
at atg.service.idgen.AbstractSequentialIdGenerator.doStartService(AbstractSequentialIdGenerator.java:643)
at atg.nucleus.GenericService.startService(GenericService.java:561)
at atg.nucleus.NucleusNameResolver.startService(NucleusNameResolver.java:1726)
at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1397)
at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:928)
at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:667)
at atg.nucleus.NucleusNameResolver.createFromName(NucleusNameResolver.java:648)
at atg.nucleus.NucleusNameResolver.resolveName(NucleusNameResolver.java:493)
at atg.nucleus.ConfigurationRef.getValue(ConfigurationRef.java:119)
at atg.nucleus.SimpleComponentState.setBeanProperty(SimpleComponentState.java:403)
at atg.nucleus.SimpleConfigurationState.saveToBean(SimpleConfigurationState.java:240)
at atg.nucleus.SimpleConfigurationState.configureBean(SimpleConfigurationState.java:263)
at atg.nucleus.BeanConfigurator.configureBean(BeanConfigurator.java:297)
at atg.nucleus.PropertyConfiguration.configureService(PropertyConfiguration.java:984)
at atg.nucleus.SingleNucleusConfigurator.configureService(SingleNucleusConfigurator.java:84)
at atg.nucleus.NucleusNameResolver.configureService(NucleusNameResolver.java:1643)
at atg.nucleus.NucleusNameResolver.configureAndStartService(NucleusNameResolver.java:1368)
........................
........................
........................
An early response would be really useful because we have demo in 10 days.
Kind regards
Ben Milot
Thank you for this comment.
I had created a fresh scheme for publication but the jboss was still pointing to the old.
I've updated this pointers in file @ /server/
atg atg - ds - ds.xml. Worked like a charm! If 2nd EDITION solved.
The QUESTION 1 depended on question 2. Once I ran publishing and completed the full deployment on ICC, 1st edition got resolved.
Thanks to shaik and Grando
Kind regards
Ben Milot
-
Dreamweaver offers a secure connection multi level feature?
Hello:
I am trying to create a connection so multi level when guest log in, they see the content specific to their level of play.
This http://www.kingluddite.com/tools/crud-in-dreamweaver will show you how to do what you want to do using deprecated technology.
-
Problem of multi-level numbered list
I have this situation:
I work in book, with a separate document chapter.
My chapter number is using digital Roman.
I want to make my multi-level list (2nd, 3rd level and so forth) use this chapter number, as normal.
But the result is: IV.1
Instead, what I want is: 4.1
Can I convert this digital Roman (IV) normal digital (4)?
What is alternatives to the list multilevel numbering restarts in each chapter?
Any help would be appreciated.
Thank you!
Check out these 2 points:
1 the document numbering options:
Style (Document chapter numbering): must be set up as "1,2,3,4,...» »
2. variable: chapter number:
must be set up as "I, II, III, IV,...» »
When you create your lists at several levels, simply add the chapter number symbol (^ H).
It must be formatted as seen in point 1.
Let us know if this solves your problem.
Vinny
-
Hi friends,
Can someone guide me to create a better multi level menu using jquery. Most of the plugins that I ran into was not compatible due to the jQuery version...
Please advice...
Kind regards
SitbonDear magneto,
If this is what you need
http://Apex.Oracle.com/pls/Apex/f?p=30734
DDM/ddmthen it will guide you
Re: Create a DHTML Drop downIf the answer to the question, would you please close the thread as answered and give the points where won...
Best regards
Mahmoud -
I use the af: query with table to create a query, but the funny page, is in charge of the query page, the data contained in af:table are not fulfilled automatically. any idea, what the problem is?
Rgds!Hello
Do you use ViewCriteria to build your af:query with table, if yes, go to your ViewObject, then select your viewCriteria and click edit, and then open the data of the user interface tab, then check the query automatically . -
Hello
on 10 g 2, I can not query a table, but it exists:
Thanks for the help.SQL> show user USER is "SYS" SQL> select count(*) from PROP_USER1.Mytable; select count(*) from PROP_USER1.Mytable * ERROR at line 1: ORA-00942: table or view does not exist SQL> select object_name , owner, object_type from dba_objects where object_name like '%Mytable%'; OBJECT_NAME OWNER OBJECT_TYPE ------------------------- ------------------------------ ------------------- Mytable PROP_USER1 TABLE SQL> select count(*) from PROP_USER1.Mytable; select count(*) from PROP_USER1.Mytable * ERROR at line 1: ORA-00942: table or view does not exist
Sign in as PROP_USER1 and check if you are able to query this table?
-
Refresh table-form query on table only for pages in .jsff
I have a group being generated as a presentation of table form. I would like for the page of the table to always refresh, and submit the form to refresh page after.
I saw a thread about how to do this on a .jspx page: Refresh table-form query on table only
Unfortunately, this does not work for me because I use the .jsff pages and they do not have access to the facesContext. Does anyone know how to do this for a .jsff page?
Thank you
MichelleMichelle,
The taskflow 11 ADF in the equivalent of the region of this expression would be
#{jhsPageChanged and controllerContext.currentViewPort.viewId=='/MyGroupTaskFlow/MyGroupTable'}
Unfortunately, this currently does not work because there is an error in the JhsNavigationHandlerImpl class we're going to fix in the next release.
You can apply a work around by creating a subclass of JhsNavigationHandler and replace as follows:' public Sub handleNavigation (FacesContext facesContext, string action,
The string result)
{
String oldPageFragmentId = ControllerContext.getInstance () .getCurrentViewPort () .getViewId ();
super.handleNavigation (facesContext, action, result);
String newPageFragmentId = ControllerContext.getInstance () .getCurrentViewPort () .getViewId ();
If (! oldPageFragmentId.equals (newPageFragmentId))
{
JsfUtils.storeOnRequest (JHS_PAGE_CHANGED, Boolean.TRUE);
}
}To use your subclass, create a custom template for the facesConfig.vm and modify the navigation Manager to use your subclass.
Steven Davelaar,
JHeadstart team. -
Rule of load EAS (multi level attributes)
Hi all
I'm currently building multi level attributes at the same time, associating with the basic dimension with the dimension of the construction base.
because I'm building the multi level attributes of... I made it clear at all levels of the attributes then side of base and associations!
The question is how to set the dimension build property?
If I need to set it as the size of the attribute or dimension of database construction!
I studied the page 308 Ser60...
but the error checking!
suggestions pls!
Thank you
DolarSorry, I was not more clear.
1. build the hierarchy of dimension attribule in a State of charge. then, in the second rule of load associate the basic dimension attribute2. run the two rules above in reverse order.
If you automate this, you can do it in an import statement so you get only a restructuring (so it will look like it is built at the same time)
Maybe you are looking for
-
List of upgrade CPU laptop HP G7 - 2030ca
Hello I would like to know is there is a list of the CPU compatible to your laptop HP G7 - 2030ca. I currently have a Core i3 - 2350 m. I found a document showing a Core i5 - 2450 m should be compatible, but I would like to know if there are any othe
-
Where can I find the passkey for pairing bluetooth on my computer?
I want to associate with my blackberry via blue tooth. I have XP installed on my computer and I have a laptop HP
-
WAP54G as Repeater. PC connected but no internet.
router: WRT160N (v2) AP/Repeater: WAP54G (v3.1) firmware: updated First of all, I read that WAP54G is not listed to support WRT160n (didn't know up to this than purchased). Problem: I got the program to install my router and AP (now coach) as assumed
-
At the end of August, 2011, I put Vista up-to-date with three recommended updates. I've never updated with the optional updates. After the required reboot, my computer did not start, did not start in safe mode or last good configuration mode. Then th
-
HP mini 110-3500 laptop: computer laptop HP mini 110-3500 fails to start after the SSD upgrade
HelloI recently bought a ' crucial 250 gb 2.5 "SSD and 2 GB of RAM (also by crucial), to upgrade my laptop HP mini 110-3500, who has been extremely slow. But unfortunately, the laptop refused to start when turned on. What can I do? I am very worried.