Query Error - Schema Does Not Exist
I get the following error when creating stored procedure:
Msg 2797, Level 16, State 1, Procedure SearchAllTables, Line 90
The default schema does not exist.
CREATE PROC SearchAllTables
@SearchStr nvarchar(100)
AS
BEGIN
CREATE TABLE #Results(TableName nvarchar(370), KeyValues nvarchar(3630), ColumnName nvarchar(370), ColumnValue nvarchar(3630))
SET NOCOUNT ON
DECLARE @TableName nvarchar(256), @ColumnName nvarchar(128), @SearchStr2 nvarchar(110)
,@TableShortName nvarchar(256)
,@TableKeys nvarchar(512)
,@SQL nvarchar(3830)
SET @TableName = ''
SET @SearchStr2 = QUOTENAME('%' + @SearchStr + '%','''')
WHILE @TableName IS NOT NULL
BEGIN
SET @ColumnName = ''
-- Scan Tables
SET @TableName =
SELECT MIN(QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME))
FROM INFORMATION_SCHEMA.TABLES
WHERE TABLE_TYPE = 'BASE TABLE'
AND QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME) > @TableName
AND OBJECTPROPERTY(
OBJECT_ID(
QUOTENAME(TABLE_SCHEMA) + '.' + QUOTENAME(TABLE_NAME)
), 'IsMSShipped'
) = 0
Set @TableShortName=PARSENAME(@TableName, 1)
-- print @TableName + ';' + @TableShortName +'!' -- *** DEBUG LINE ***
-- LOOK Key Fields, Set Key Columns
SET @TableKeys=''
SELECT @TableKeys = @TableKeys + '''' + QUOTENAME([name]) + ': '' + CONVERT(nvarchar(250),' + [name] + ') + ''' + ',' + ''' + '
FROM syscolumns
WHERE [id] IN (
SELECT [id]
FROM sysobjects
WHERE [name] = @TableShortName)
AND colid IN (
SELECT SIK.colid
FROM sysindexkeys SIK
JOIN sysobjects SO ON
SIK.[id] = SO.[id]
WHERE
SIK.indid = 1
AND SO.[name] = @TableShortName)
If @TableKeys<>''
SET @TableKeys=SUBSTRING(@TableKeys,1,Len(@TableKeys)-8)
-- Print @TableName + ';' + @TableKeys + '!' -- *** DEBUG LINE ***
-- Search in Columns
WHILE (@TableName IS NOT NULL) AND (@ColumnName IS NOT NULL)
BEGIN
SET @ColumnName =
SELECT MIN(QUOTENAME(COLUMN_NAME))
FROM INFORMATION_SCHEMA.COLUMNS
WHERE TABLE_SCHEMA = PARSENAME(@TableName, 2)
AND TABLE_NAME = PARSENAME(@TableName, 1)
AND DATA_TYPE IN ('char', 'varchar', 'nchar', 'nvarchar')
AND QUOTENAME(COLUMN_NAME) > @ColumnName
) -- Set ColumnName
IF @ColumnName IS NOT NULL
BEGIN
SET @SQL='
SELECT
''' + @TableName + '''
,'+@TableKeys+'
,''' + @ColumnName + '''
,LEFT(' + @ColumnName + ', 3630)
FROM ' + @TableName + ' (NOLOCK) ' +
' WHERE ' + @ColumnName + ' LIKE ' + @SearchStr2
--Print @SQL -- *** DEBUG LINE ***
INSERT INTO #Results
Exec (@SQL)
END -- IF ColumnName
END -- While Table and Column
END --While Table
SELECT TableName, KeyValues, ColumnName, ColumnValue FROM #Results
END
Here is the code from my blog post:
CREATE PROCEDURE spSearchStringInTable
(@SearchString NVARCHAR(MAX),
@Table_Schema sysname,
@Table_Name sysname)
AS
BEGIN
DECLARE @Columns NVARCHAR(MAX), @Cols NVARCHAR(MAX), @PkColumn NVARCHAR(MAX)
-- Get all character columns
SET @Columns = STUFF((SELECT ', ' + QUOTENAME(Column_Name)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE IN ('text','ntext','varchar','nvarchar','char','nchar')
AND TABLE_NAME = @Table_Name
ORDER BY COLUMN_NAME
FOR XML PATH('')),1,2,'')
IF @Columns IS NULL -- no character columns
RETURN -1
-- Get columns for select statement - we need to convert all columns to nvarchar(max)
SET @Cols = STUFF((SELECT ', cast(' + QUOTENAME(Column_Name) + ' as nvarchar(max)) as ' + QUOTENAME(Column_Name)
FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE IN ('text','ntext','varchar','nvarchar','char','nchar')
AND TABLE_NAME = @Table_Name
ORDER BY COLUMN_NAME
FOR XML PATH('')),1,2,'')
SET @PkColumn = STUFF((SELECT N' + ''|'' + ' + ' cast(' + QUOTENAME(CU.COLUMN_NAME) + ' as nvarchar(max))'
FROM INFORMATION_SCHEMA.TABLE_CONSTRAINTS TC
INNER JOIN INFORMATION_SCHEMA.CONSTRAINT_COLUMN_USAGE CU ON TC.TABLE_NAME = CU.TABLE_NAME
AND TC.TABLE_SCHEMA = CU.TABLE_SCHEMA
AND Tc.CONSTRAINT_NAME = CU.CONSTRAINT_NAME
WHERE TC.CONSTRAINT_TYPE ='PRIMARY KEY' AND TC.TABLE_SCHEMA = @Table_Schema AND TC.TABLE_NAME = @Table_Name
ORDER BY CU.COLUMN_NAME
FOR XML PATH('')),1,9,'')
IF @PkColumn IS NULL
SELECT @PkColumn = 'cast(NULL as nvarchar(max))'
-- set select statement using dynamic UNPIVOT
DECLARE @SQL NVARCHAR(MAX)
SET @SQL = 'select *, ' + QUOTENAME(@Table_Schema,'''') + 'as [Table Schema], ' + QUOTENAME(@Table_Name,'''') + ' as [Table Name]' +
' from
(select '+ @PkColumn + ' as [PK Column], ' + @Cols + ' FROM ' + QUOTENAME(@Table_Schema) + '.' + QUOTENAME(@Table_Name) + ' )src UNPIVOT ([Column Value] for [Column Name] IN (' + @Columns + ')) unpvt
WHERE [Column Value] LIKE ''%'' + @SearchString + ''%'''
--print @SQL
EXECUTE sp_ExecuteSQL @SQL, N'@SearchString nvarchar(max)', @SearchString
END
GO
IF OBJECT_ID('TempDB..#Result', N'U') IS NOT NULL DROP TABLE #Result;
CREATE TABLE #RESULT ([PK COLUMN] NVARCHAR(MAX), [COLUMN VALUE] NVARCHAR(MAX), [COLUMN Name] sysname, [TABLE SCHEMA] sysname, [TABLE Name] sysname)
DECLARE @Table_Name sysname, @SearchString NVARCHAR(MAX), @Table_Schema sysname
SET @SearchString = N'Cost'
DECLARE curAllTables CURSOR LOCAL FORWARD_ONLY STATIC READ_ONLY
FOR
SELECT Table_Schema, Table_Name
FROM INFORMATION_SCHEMA.Tables
WHERE TABLE_TYPE = 'BASE TABLE'
ORDER BY Table_Schema, Table_Name
OPEN curAllTables
FETCH curAllTables
INTO @Table_Schema, @Table_Name
WHILE (@@FETCH_STATUS = 0) -- Loop through all tables in the database
BEGIN
INSERT #RESULT
EXECUTE spSearchStringInTable @SearchString, @Table_Schema, @Table_Name
FETCH curAllTables
INTO @Table_Schema, @Table_Name
END -- while
CLOSE curAllTables
DEALLOCATE curAllTables
-- Return results
SELECT * FROM #RESULT ORDER BY [Table Name]
It works OK for me.
I also posted another code today which searches a single column in all tables of the database. I spent about an hour working on that code and it works fine for me too.
For every expert, there is an equal and opposite expert. - Becker's Law
My blog
My TechNet articles
Similar Messages
-
Error Infoobject does not exists in Infoprovider
Hi Friends,
I am getting "Error Infoobject does not exists in Infoprovider" in Quality. Actually Fiscal Period and Variant are not showing up in Query designer left panel (where we can see infoprovider structure). This problem is only in Quality, the query works fine in Development and training system.
Any thoughts why am I getting this and way to rectify it? I tried transporting the query again by collecting query elements. Still it gives same error.
Thanks and regards,
BalarajProbably your data provider has been changed and transported to quality and your query is still using those objects. Please check the info provider in both system if they are in sink or not.
Regards,
Kams -
Full import error : "user does not exists"
Hi all,
I had 5 separated windows based servers (32bit) with oracle database 9i. I decided to centralize them into one server. So, I configured a new Linux (64bit) and install an Oracle 10gR2. Then I configured a starter database with dbca. I prepared a full dump file from one of old servers and successfully full imported it into starter database on new Linux (10g) server. After that I configured another database using dbca. But when I wanted to full import the previous dump file into new database I have got the error "user does not exists" regarding some demo schema and import terminated unsuccessfully.
I decided to create users regarding the errors and restart the import. After each user creation I was getting a new error for a new user account.
My main question is why first time import terminated successfully without any error but second one in new database raised error?
Thank
Iman
Edited by: Iman.Jam on Aug 25, 2009 9:38 AMHi yingkuan,
imp full=y file=.... log=..... userid=system/manager@orcl
ALTER SESSION SET CURRENT_USER = "HR"
ORA-.... : user does not exists
And I know that import will create users that are not exists. Actually, all my specified schema are created but not some of accounts
Regards,
Iman
Edited by: Iman.Jam on Aug 25, 2009 9:59 AM -
List View webpart from subsite to Top site shows random error "List Does not exist"
Hi All,
We have a list in subsite and we are creating a view for that list which we are showing in one of the top site home page. We have taken care of changing the web and list guid of list view webpart when we added on top site. Its working fine but some time
shows error "list does not exist" but when we refresh the error goes. Is it known issue or if there is any workaround for this? because we cannot go live with this random error.
Rohit Pasrijatry these links:
http://mroffice365.com/2012/01/sharepoint-display-a-list-or-library-from-subsite-to-the-top-level-site/
http://sharepoint.stackexchange.com/questions/37140/display-list-or-library-on-another-site-as-webpart -
Error: SNAP_ADT does not exist in the database - manual check required
Hello Friends,
We are performing an upgrade+migration to HDB using the DMO option(Oracle to HANA).
We are getting below error in the phase MAIN_SHDCRE/SUBMOD_SHDDBCLONE/DBCLONE!
Also find the output of SE11 & SE14 attached.
SE14->
Please help us with the manual check.
Regards
SuryHi Sury,
In regards to the error below:
1EETGCLN Error: SNAP_ADT does not exist in the database -> manual check
required
1EETGCLN SNAP_ADT
1EETGCLN Table does not exist
Could you please try to activate the following tables via SE11?
- SNAP_ADT
Once they are activated, Could you please repeat the phase and update the result?
Thanks and Regards,
James Wong
Follow us:
SAP System Upgrade & Update Troubleshooting Wiki Space.
SAP Product Support Twitter ( Hashtag: #NWUPGRADE) -
Creating BADI for Virtual Key fig: Error: RSR_OLAP_BADI does not exist
Hi,
I am following some instructions to test the implementation of virtual key figure and came to the point to create the BADI.
Intructions on page 5:
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/e051fda8-71a9-2a10-ac9e-8d17414a8c8c
SE19
Create Implementation; New BADI; Enhancement Spot: RSR_OLAP_BADI
At this point I get an error that RSR_OLAP_BADI does not exist.
I then chose at random APB_LAUNCHPAD but this works in the sense that it took me to the next screen
1. What does it mean by RSR_OLAP_BADI not existing?
2. I know the instructions points to choose RSR_OLAP_BADI, but why that particular program and how does one gets to know that it is the one to use for virtual key figure/char implementation?
3. When I tested with APB_LAUNCHPAD, I did not get the same screen on page 5 of the link, is it different for BI 7? Or, am I missing a point?
ThanksHi,
thanks for the guidance.
Yes, I tried to implement exactly as in the article.
Yes, I defined the filter for the Infoprovider, as ZV*
Are you suggesting that at this point, if in the method if_ex_rsr_olap_badi~define, I change the value of
"ZV_ZIPER" to my DSO or Cube, I should now see the virtual key figure in my query?
Based on this understanding, I modified the method as follows, (my cube name is 2LIS_11_VASCL):
method IF_EX_RSR_OLAP_BADI~DEFINE.
DATA: l_s_chanm TYPE rrke_s_chanm,
l_kyfnm TYPE rsd_kyfnm.
FIELD-SYMBOLS:
<l_s_chanm> TYPE rrke_s_chanm.
Insert Code
CASE i_s_rkb1d-infocube.
CASE i_s_rkb1d-2LIS_11_VASCL.
WHEN '2LIS_11_VASCL'.
l_s_chanm-chanm = 'ZVAR_SHPR'.
l_s_chanm-mode = rrke_c_mode-read.
APPEND l_s_chanm TO c_t_chanm.
l_s_chanm-chanm = 'ZVARDT'.
l_s_chanm-mode = rrke_c_mode-read.
APPEND l_s_chanm TO c_t_chanm.
APPEND 'ZV_20DV' TO c_t_kyfnm.
ENDCASE.
endmethod. "if_ex_rsr_olap_badi~define
After activation, I checked the query and still I am not seeing the virtual key figure in the query for selection.
Any more ideas?
Thanks
Edited by: Amanda Baah on May 24, 2009 8:01 AM -
WIS 10006 error: object does not exist in report...
Hello All,
I've been having trouble with this particular formula that i'm using as a variable for parent-child report linking:
="<a href=\"../../opendoc/openDocument.jsp?iDocID=AVMeLBMmFrdJkNpCFp33vjs&sDocName=Open+Incident+Details+Report+-+Owning+Group&sIDType=CUID&sType=wid&sWindow=Same&lsSDateOpened-YearMonth="+[Date Opened - YearMonth]+"&lsSResolutionTimeCategorization="+[Resolution Time Categorization]+"&lsSOpCatTier1="+[Op Cat Tier 1]+"&lsSOwningGroup="+[Ticket Owner]+"\"target=\"_blank\">"+""+[Ticket Count]+"</a>"
The object in question is [Op Cat Tier 1]. This object is in query filter of the child report. All the other values pass from the parent to child report w/o issues but as soon as I add [Op Cat Tier 1], the error message appears:
The object '[Op Cat Tier 1]' at position 302 does not exist in the report. (Error: WIS 10006).
I've tried passing the value using both &lsS and &lsM and using 'in list' or 'equal to' in the child report. I've been struggling at this for a while. Any ideas?
Thanks,
CarterWhen do you get the issue? Is it when you refresh the Parent report or when you click on the link to go to the child?
Also assuming it is when you click on the link, try hard coding the value for instance
"&lsOpCatTier1=Test"
If this works then the problem is with the parent not the child.
Regards
Alan -
API Error: table does not exists
Hello every one,
I have a procedure to load the learning management data history through API. I get error that the table or view does not exists which I don't know why.
Here is my procedure:
CREATE OR REPLACE PROCEDURE OLM_CLASS_HISTORY
AUTHID CURRENT_USER AS
lv_BOOKING_ID NUMBER;
lv_BOOKING_STATUS_TYPE_ID NUMBER;
lv_EVENT_ID NUMBER;
lv_PERSON_ID NUMBER;
lv_DATE_BOOKING_PLACED DATE;
lv_OBJECT_VERSION_NUMBER NUMBER;
lv_FINANCE_LINE_ID NUMBER;
CURSOR C1 IS
SELECT OLM_NUMBER,
OLM_DATE_OF_CLASS,
OLM_CLASS
FROM OLM_HISTORY_CLASS;
BEGIN
FOR C1_REC IN C1
LOOP
begin
select PAF.PERSON_ID INTO lv_PERSON_ID
from PER.PER_ALL_PEOPLE_F PAF
where PAF.EMPLOYEE_NUMBER= C1_REC.OLM_NUMBER
and to_date (C1_REC.OLM_DATE_OF_CLASS, 'DD-Mon-YY HH24:MI:SS ')
between to_date(paf.effective_start_date, 'DD-Mon-YY HH24:MI:SS')
and to_date (paf.effective_end_date, 'DD-Mon-YY HH24:MI:SS');
exception
WHEN OTHERS THEN
DECLARE
error_code NUMBER :=SQLCODE;
error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
BEGIN
DBMS_OUTPUT.PUT_LINE('.');
DBMS_OUTPUT.PUT_LINE('PID Error: ' || error_code || ' - ' || error_msg);
DBMS_OUTPUT.PUT_LINE('.');
END;
END;
lv_DATE_BOOKING_PLACED:= C1_REC.OLM_DATE_OF_CLASS;
BEGIN
SELECT DISTINCT AOET.EVENT_ID INTO lv_EVENT_ID
FROM APPS_APPLMGR.ota_events_tl AOET
WHERE
AOET.TITLE = C1_REC.OLM_CLASS;
exception
WHEN OTHERS THEN
DECLARE
error_code NUMBER :=SQLCODE;
error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
BEGIN
DBMS_OUTPUT.PUT_LINE('.');
DBMS_OUTPUT.PUT_LINE('EID Error: ' || error_code || ' - ' || error_msg);
DBMS_OUTPUT.PUT_LINE('.');
END;
END;
dbms_output.put_line('Event id:'||lv_event_id);
dbms_output.put_line('Person id:'||lv_person_id);
dbms_output.put_line('Booking date:'||lv_date_booking_placed);
dbms_output.put_line('Ovn:'||lv_object_version_number);
dbms_output.put_line('Finance line id:'||lv_finance_line_id);
BEGIN
APPS_APPLMGR.OTA_DELEGATE_BOOKING_API.CREATE_DELEGATE_BOOKING (P_VALIDATE => FALSE,
P_EFFECTIVE_DATE => trunc(sysdate),
P_BOOKING_ID => lv_BOOKING_ID,
P_BOOKING_STATUS_TYPE_ID => '1016',
p_delegate_person_id => lv_PERSON_ID,
p_contact_id => NULL,
P_BUSINESS_GROUP_ID => '0',
P_EVENT_ID => lv_EVENT_ID,
P_DATE_BOOKING_PLACED => lv_DATE_BOOKING_PLACED,
P_INTERNAL_BOOKING_FLAG => 'Y',
p_number_of_places => '1',
P_OBJECT_VERSION_NUMBER => lv_OBJECT_VERSION_NUMBER,
P_SUCCESSFUL_ATTENDANCE_FLAG => 'Y',
P_FINANCE_LINE_ID => lv_FINANCE_LINE_ID);
exception
WHEN OTHERS THEN
DECLARE
error_code NUMBER :=SQLCODE;
error_msg varchar2 (200) :=SUBSTR(SQLERRM,1,200);
BEGIN
DBMS_OUTPUT.PUT_LINE('.');
DBMS_OUTPUT.PUT_LINE('API Error: ' || error_code || ' - ' || error_msg);
DBMS_OUTPUT.PUT_LINE('.');
END;
END;
END LOOP;
COMMIT;
--rollback;
END;
and now when I run this procedure,I am getting this error:
PID Error: 100 - ORA-01403: no data found
Event id:5684
Person id:12530
Booking date:14-DEC-11 00:00:00
Ovn:
Finance line id:
API Error: -942 - ORA-00942: table or view does not exist
I don't know if it is API which is making problem or my code. Please advice.
Thanks,You are creating the procedure in which schema.
does this user has permission to access the objects specified in the code.
the issue must be with your code not the ebs api -
Dunning error (form does not exist)
Hi,
While performing the dunning after selection the Individual dunning notice for printout the system shwoing error that '''FORM F150_DUNN_01''' DOES NOT EXISTS.
When I tried several times to performance the dunning it showing the same error message as above said.
Can any one let me know why does this happening. please give your valuable solution regarging on the above said issue.
Thanks in Advance.
Regards,
SureshHi
In Dunning Procedure --- FBMP
you will select new entries and give Dunning procedure , name , dunning intervals in days , No. of dunning levels , line item grace periods , interest indicator , select standard transaction dunning checkbox , reference dunning procedure for texts(dunning procedure) and save.
select Dunning texts button and give company code and select customer radio button and enter.
select new company code button and give company code and enter.
select seperate notice per dunning level checkbox
Deselect Dunning by Dunning Area checkbox and save.
select back arrow and select yes for the message to save the data.
select dunning texts button once again , give company code , select customer and enter.
Dunning level (1) Form (F150_DUNN_01)
Dunning level (2) Form (F150_DUNN_01)
Dunning level (3) Form (F150_DUNN_02)
Dunning level (4) Form (F150_DUNN_02)
select dunning levels button and under print parameters , select Always Dun CheckBox's.
select charges button , give currency and enter.
select back arrow and save
Assign the Dunning procedure in Customer Master.
Check with the Dunning Procedure you had created.
Regards
Venkat -
Dunning Print Error: F150_DUNN_01 does not exist
Hi,
I have assigned F150_DUNN_01 via FBMP T-code for Dunning texts. While performing the Dunning print I am getting an error "Text object does not exist" or F150_DUNN_01" does not exist.
The Event settings via T-code BF31 for event 1720 is "FI_PRINT_DUNNING_NOTICE_PDF"
Any suggestion will be highly appreciated
Thank you
VigneshHi Eli,
Form F150_DUNN_01 is a SAP script form and not Smartform.
I am able to print preview the form text via se71 by print testing. So I do not think we need to reimport it. Can you identify any other reason for the error
Thanks
Vignesh -
PowerOn Failed Error: Domain Does Not Exist
[Simon Thorpe's blog |http://blogs.oracle.com/simonthorpe/2009/07/migrating_a_vmware_server_2_wi.html] I'm new to OracleVM. The wizard through OVM Manager successfully converted a windows VMWare vm to ovm. I was able to start up the VM once and get the driver updates loaded. I was following Simon Thorpe's blog and other documents to complete this.
Upon reboot, I get the following error:
Start - /OVS/running_pool/ECM_Xmonth_2010_vm
PowerOn Failed : Result - failed:<Exception: return=>failed:<Exception: ['xm', 'create', '/var/ovs/mount/69D37D3828A040A08A7E01E5DE43C1D8/running_pool/ECM_Xmonth_2010_vm/vm.cfg'] => Error: Domain 'ECM_Xmonth_2010_vm' does not exist.
>
StackTrace:
File "/opt/ovs-agent-2.3/OVSXXenVM.py", line 57, in xen_start_vm
run_cmd(args=cmd)
File "/opt/ovs-agent-2.3/OVSCommons.py", line 69, in run_cmd
raise Exception('%s => %s' % (cmdlist, p.childerr.read()))
>
StackTrace:
File "/opt/ovs-agent-2.3/OVSSiteVM.py", line 113, in start_vm
raise e
Here's my vm.cfg
acpi = 1
apic = 1
builder = 'hvm'
device_model = '/usr/lib/xen/bin/qemu-dm'
disk = ['file:/var/ovs/mount/69D37D3828A040A08A7E01E5DE43C1D8/running_pool/ECM_Xmonth_2010_vm/ECM_XMonth_2010_disk.img,hda,w',
',hdc:cdrom,r',
kernel = '/usr/lib/xen/boot/hvmloader'
maxmem = 2999
memory = 2999
name = 'ECM_Xmonth_2010_vm'
on_crash = 'restart'
on_reboot = 'restart'
pae = 1
sdl = 1
serial = 'pty'
timer_mode = '0'
usbdevice = 'tablet'
uuid = '4d3f3741-e29c-472a-bfaf-7416d31d21e8'
vcpus = 1
vif = ['bridge=xenbr0,mac=00:16:3E:4C:BF:71,type=ioemu']
vif_other_config = []
vncconsole = 1
vnclisten = '0.0.0.0'
vncpasswd = '****'
Any advice?
Edited by: dierardi on Jan 6, 2010 9:21 AM
Edited by: dierardi on Jan 6, 2010 9:24 AM
Edited by: dierardi on Jan 6, 2010 10:00 AMdierardi wrote:
PowerOn Failed : Result - failed:<Exception: return=>failed:<Exception: ['xm', 'create', '/var/ovs/mount/69D37D3828A040A08A7E01E5DE43C1D8/running_pool/ECM_Xmonth_2010_vm/vm.cfg'] => Error: Domain 'ECM_Xmonth_2010_vm' does not exist.Check /var/log/xen/xend.log for errors during boot: Essentially, the domain is failing to be created properly on startup.
If this is a linux guest, try running xm create -c vm.cfg from the ECM_Xmonth_2010_vm directory to start the guest with the console immediately attached. You may be able to see a boot/GRUB related error. If this is a Windows guest, you could start it paused with xm create -p vm.cfg and then attach a VNC console. Once you have a VNC session, you can resume the guest and it will begin booting. -
Error, package does not exist, thrown when calling jsp page
Hi
I have downloaded sample jsp pages for interaction with Crystal reports. When I compile these jsp pages in NetBeans 3.6 there are no problems. When I deploy these pages and associated libraries to Tomcat 5, I get the following error when attempting to call the jsp page, but all the jars used in NetBeans are present in the web-inf/lib directory and I have looked in the jars and found classes in the com.crystaldecisions.report.web.viewer package. I have been unable to find any information after googling and looking at the jakarta bug database. What am I doing wrong?
The error...
2004-09-22 17:40:30 StandardWrapperValve[jsp]: Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
Generated servlet error:
[javac] Compiling 1 source file
E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:9: package com.crystaldecisions.report.web.viewer does not exist
import com.crystaldecisions.report.web.viewer.*;
^
E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
symbol : class CrystalReportInteractiveViewer
location: class org.apache.jsp.SimplePreviewReport_jsp
CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
^
An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
Generated servlet error:
E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java:180: cannot resolve symbol
symbol : class CrystalReportInteractiveViewer
location: class org.apache.jsp.SimplePreviewReport_jsp
CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
^
An error occurred at line: 1 in the jsp file: /CrystalReportsInteractiveViewer.jsp
Generated servlet error:
Note: E:\Tomcat5\work\Catalina\localhost\crystal\org\apache\jsp\SimplePreviewReport_jsp.java uses or overrides a deprecated API.
Note: Recompile with -deprecation for details.
3 errors
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:127)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:351)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:415)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:458)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:439)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:552)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:291)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:301)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:248)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:856)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:284)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:204)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:245)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:199)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:195)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:164)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:149)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:156)
at org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:151)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:564)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:972)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:211)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:805)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:696)
at org.apache.tomcat.util.net.TcpWorkerThread.runIt(PoolTcpEndpoint.java:605)
at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:677)
at java.lang.Thread.run(Thread.java:534)
The offending page is ....
<%
/*==========================================================================
INSTANTIATE THE VIEWER AND DISPLAY THE REPORT THROUGH THE INTERACTIVE VIEWER
============================================================================
- Create a Viewer object
- Set the source for the viewer to the client documents report source
- Process the http request to view the report
- Dispose of the viewer object
// Create an Interactive Viewer
CrystalReportInteractiveViewer viewer = new CrystalReportInteractiveViewer();
// Set the name for the interactive viewer
viewer.setName("Crystal_Report_Interactive_Viewer");
// Set the source for the interacive viewer to the client documents report source
viewer.setReportSource(clientDoc.getReportSource());
// Process the http request to view the report
viewer.processHttpRequest(request, response, getServletConfig().getServletContext(), out);
// Dispose of the viewer object
viewer.dispose();
%>included in...
<%@ page import="com.crystaldecisions.sdk.occa.report.application.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.data.*"%>
<%@ page import="com.crystaldecisions.sdk.occa.report.lib.*"%>
<%@ page import="com.crystaldecisions.report.web.viewer.*"%>
<html>
<head>
<title>Begin Here - Simple Preview Report</title>
</head>
<body>
<%
/*=================================================================
WORKING WITH THE REPORT APPLICATION SERVER AND JSP TO VIEW REPORTS
===================================================================
Authors Name: Ken Andony
Technology supported by the app: Report Application Server
ALWAYS REQUIRED STEPS
- Create a new Report Application Session
- Create a Report Application Server (RAS) Service
- Set the RAS Server to be used for the service
- Initialize the RAS Service
- Create the report client document object
- Set the RAS Server to be used for the report client document
- Open the report, and set the open type to Read Only
INSTANTIATE THE REPORT VIEWER
- Create a Viewer object
- Set the source for the viewer to the client documents report source
- Process the http request to view the report
- Dispose of the viewer object
==================================================================*/
* This line creates a string variable called reportname that we will use to pass
* the Crystal Report filename (.rpt file) to the OpenReport method contained in
* the AlwaysRequiredSteps.jsp.
String reportName ="SimplePreviewReport.rpt";
%>
<%
/* ALWAYS REQUIRED STEPS
Include the file AlwaysRequiredSteps.jsp which contains the code
for steps:
- Create a new Report Application Session
- Create a Report Application Server (RAS) Service
- Set the RAS Server to be used for the service
- Initialize the RAS Service
- Create the report client document object
- Set the RAS Server to be used for the report client document
- Open the report, and set the open type to Read Only */
%>
<%@ include file="AlwaysRequiredSteps.jsp"%>
<%
/* INSTANTIATE THE REPORT VIEWER
There are three Report Viewers:
1. Crystal Reports Interactive Viewer
2. Crystal Reports Viewer
3. Crystal Reports Parts Viewer
The choices are CrystalReportsInteractiveViewer.jsp, CrystalReportsViewer.jsp,
CrystalReportsPartsViewer.jsp
Note that to use this include you must have the appropriate .jsp file in the
same virtual directory as the main jsp page.
=============================================================================
DISPLAY THE REPORT
- display the report using one of the Thin Client DHTML viewers
Include one of the DHTML Viewers.
- Crystal Reports Interactive Viewer = CrystalReportsInteractiveViewer.jsp
- Crystal Reports Viewer = CrystalReportsViewer.jsp
- Crystal Reports Parts Viewer = CrystalReportsPartsViewer.jsp
Note** - To use the report parts viewer successfully you are required to
choose and name three objects in the report to Node0, Node1 and Node2.
You can access an objects name by using the Format Editor dialog box.
For more information on the Format Editor Dialog Box and setting objects
names, please refer to the Help Contents (Help Menu->Crystal Reports Help)
or by pressing F1
=============================================================================*/
%>
<%@ include file="CrystalReportsInteractiveViewer.jsp" %>
</body>
</html>Thanks Tien-Chih Wang. It worked...well I'm getting a new set of errors, but progress has been made!
I understand that if placed in the common directory the jar will be available to all webapps but why does it make a difference whether a jar file is placed under the $TOMAT_HOME/common/lib or $TOMAT_HOME/webapps/appname/web-inf/lib directory if I only need to access the jar from one webapp? -
Error: File does not exist (while trying to get Petstore and demos to run)
Hi all,
I have been trying in vain to get the Petstore demo and other servlet demo HelloWorld to run. It seems to install okay cause it creates the directories and extracts the .ear or .war files. My problem is connecting to the application. When I run http://my.host:7778/estore or http://my.host/7778/HelloWorld/HelloWorld I get and error in the Apache error_log that says: File does not exist: c:/oracle/components/apache/apache/htdocs/helloworld/helloworld and File does not exist: c:/oracle/components/apache/apache/htdocs/estore
I have looked and searched everywhere for help but to no avail. Under the WebModule the URL Binding is /HelloWorld and /estore.
Please help me!!! I am going crazy with this.
Thanks,
Grant
PS. I am running 9iAS 9.0.2.0.1 and everything is on 1 Windows 2000 (sp1) machine. Infrastructure and Components in separate dirs with port 7777 and 7778 for each.I'm having the same problem under a solaris system did anyone ever find the solution to this problem. For some reason the server just wants to use the document root instead of the deployed application directory.
-
Error file does not exist /oa_servlets/appslogin
Thanks in advance
We tried to open application in 11.5.2.0 but it shows the following error message in error log file.
File does not exist : /oa_servlets/appslogin
In home url,
Not Found
The requested URL /oa_servlets/AppsLogin was not found on this server.
In OAM,
Not Found
The requested URL /servlets/weboam/oam/oamLogin was not found on this server.
But application exiting status with 0.
ThanksHi;
Please see:
File Not Found /oa_servlets/AppsLogin [ID 344379.1]
Unable to Login. Page Can Not be Found Error When Connecting Via Appslogin [ID 748228.1]
Regard
Helios -
Transport error - rsds does not exists
I getting error " Target RSDS Z_ZDDP_HISTORY QASCLNT400 does not exist" while transporting some DSO with "before" option. It is strange because:
1. data source Z_ZDDP_HISTORY DO EXISTS in QAS system!
2. it is also exists on ECC side
3. the option "conversion of logical system" is checkedHi,
As Mansi said, you need to make sure that you transport Active datasource from ECC and BW end as well. After ECC transport perform Replication in BW and then transport BW datasource replica.
This should resolve your problem.
Regards,
Viren
Maybe you are looking for
-
How do i get my contacts from my iphone 4 to addr. book on mac book pro
i got songs and photos to sync but it just deleted my contacts
-
Ok I've got a 5 min 10 second video I want to export to .wmv...for some reason the option is not in my export options...tried it in the render que for .wmv and it came out over 45gb file with choppy animation and such. My friend gave me the specs she
-
Regading Implementing BADI's in ECC 6.0
Hi Experts, I am new to ECC 6.0 can any one guide me how to Implement or create a BADI in ECC 6.0. What is Enhancement Category?.
-
I got a new laptop and when I went to download a calendar reminder (ics file), something came up on my screen with a file name I didn't know. I looked it up online and it said it was a real file but that I could delete it (or reject it). I did and
-
IOS text performance,slow at first run
Hi, (iPod4 / GPU rendering) I have a dynamic textField (non-TLF) with numbers which increment +1 on each ENTER_FRAME...like a fast counter. For example 'tally' the score at the end of a game level, quickly counting up the scores. My issue: It ofte