SAOP Error running PL/SQL tutorial
I am trying to step through the "Publish PL/SQL as Web Service" tutorial. Every thing works as expected until I reach step 28/29 in the tutorial. I get this exception (I have changed the application name a bit):
[SOAPException: faultCode=SOAP-ENV:Server; msg=[SOAPException: faultCode=SOAP-ENV:Server; msg=]]
void mypackage1.PLSQLWebServiceCompanyWebServiceStub.addemp(PLSQLWebService.Employee)
PLSQLWebServiceCompanyWebServiceStub.java:163
Debugging the code I see the exception is generede here:
Response response = call.invoke(endpointURL, "");
if (!response.generatedFault())
Parameter result = response.getReturnValue();
else
Fault fault = response.getFault();
throw new SOAPException(fault.getFaultCode(), fault.getFaultString());
Enviroment JDev 9.0.3 OC4J 9.0.3 on same W2K machine.
Any suggestions?
Thanks
Flemming G. Jensen
PLSQLWebServiceCompanyWebServiceStub.java:58
Process exited with exit code 0.
Hi Mike,
I was in fact using the wrong jdk, since I start OC4J from a disk-top bat-file. I am aware of the unique key constraint and actions against that.
However, correcting java version from 1.3.1_01 to 1.3.1_02 did not make the program run. I still get the same exception from OC4J. I get these messages when I deploy to OC4J
---- Deployment started. ---- May 17, 2003 3:45:33 PM
Wrote WAR file to C:\JSource\PLSQLWebService\PLSQL\Compagny\WebServices.war
Wrote EAR file to C:\JSource\PLSQLWebService\PLSQL\Compagny\PLSQL-Compagny-WS.ear
Invoking OC4J admin tool...
C:\jdev903\jdk\bin\javaw.exe -jar C:\jdev903\j2ee\home\admin.jar ormi://DK0001FGJREMOTE/ admin **** -deploy -file C:\JSource\PLSQLWebService\PLSQL\Compagny\PLSQL-Compagny-WS.ear -deploymentName PLSQL-Compagny-WS
Auto-unpacking C:\jdev903\j2ee\home\applications\PLSQL-Compagny-WS.ear... done.
Auto-unpacking C:\jdev903\j2ee\home\applications\PLSQL-Compagny-WS\WebServices.war... done.
Auto-deploying PLSQL-Compagny-WS (Assembly had been updated)...
Error initializing data-source 'jdbc/dk0002ocladis1pCoreDS': DriverManagerDataSource driver 'com.ddtek.jdbc.sqlserver.SQLServerDriver' not found
Error initializing data-source 'jdbc/dk0002ocladis1pCoreDS': DriverManagerDataSource driver 'com.ddtek.jdbc.sqlserver.SQLServerDriver' not found
Exit status of OC4J admin tool (-deploy): 0
C:\jdev903\jdk\bin\javaw.exe -jar C:\jdev903\j2ee\home\admin.jar ormi://DK0001FGJREMOTE/ admin **** -bindWebApp PLSQL-Compagny-WS WebServices http-web-site /PLSQL-Compagny-context-root
Exit status of OC4J admin tool (-bindWebApp): 0
Use the following context root(s) to test your web application(s):
http://DK0001FGJREMOTE:8888/PLSQL-Compagny-context-root
Elapsed time for deployment: 12 seconds
---- Deployment finished. ---- May 17, 2003 3:45:45 PM
To me it says that deployment goes fine. Perhaps the problem is caused by the errors I get when OC4J is initializing the datasources. For evaluation purposes I have testet DataDirects JDBC drivers. I have looked over all oc4j xml files and JDev configurations files for these datasources, but I cannot locate them.
Remark the linie in the exception thrown by OC4J
java.lang.NullPointerException
oracle.jdbc.driver.OracleStatement oracle.jdbc.driver.LRUStatementCache.
searchExplicitCache(java.lang.String)
LRUStatementCache.java:654
Has it something to do with this?
Regards
Flemming
Similar Messages
-
Errors running catrep.sql ??
Hi all,
I install oracle 8.0.5 on my redhat 5.2 kernel 2.0.36 I run
root.sh but when I run catrep.sql it gave errors like:
CREATE UNIQUE INDEX system.repcat$_ddl ON
ERROR at line 1:
ORA-00955: name is already used by an existing object
CREATE SEQUENCE system.repcat_log_sequence
ERROR at line 1:
ORA-00955: name is already used by an existing object
CREATE SEQUENCE system.repcat_log_sequence
ERROR at line 1:
ORA-00955: name is already used by an existing object
It succeeded most of the other tasks. what should I do ?
Utku.
nullIf you don't have any configuration worth saving do as follow
cd $ORACLE_HOME/rdbms/admin
svrmgrl sys/password (or connect internal)
@catrepr
@catrep
This will remove all exisiting replication objects and
re-create.
Jaroslaw Sosnicki
Tech. Staff Eng.
Motorola, Inc.
Utku Er (guest) wrote:
: Hi all,
: I install oracle 8.0.5 on my redhat 5.2 kernel 2.0.36 I run
: root.sh but when I run catrep.sql it gave errors like:
: CREATE UNIQUE INDEX system.repcat$_ddl ON
: ERROR at line 1:
: ORA-00955: name is already used by an existing object
: CREATE SEQUENCE system.repcat_log_sequence
: ERROR at line 1:
: ORA-00955: name is already used by an existing object
: CREATE SEQUENCE system.repcat_log_sequence
: ERROR at line 1:
: ORA-00955: name is already used by an existing object
: It succeeded most of the other tasks. what should I do ?
: Utku.
null -
Error running Update SQL, which has a table join
I'm running oracle 10g.
I have two tables (described below):
notes table:
cust - varchar(10)
group -varchar(10)
opportunity_id - varchar (10)
activity table:
cust - varchar(10)
group - varchar(10)
i_ref_no - integer
i_vendor_control - varchar(15)
create_date - date
I want to update the first_name and last_name columns in the notes table with the first_name and last_name columns in the activity, while doing an inner join on the opportunity_id and i_vendor_control. Only update if first_name and last_name are both null in the notes table AND if the create date is greater than 1/1/13 in the activity table and the i_ref_no is between certain values.
Here's my SQL:
update notes
set (notes.i_cust, notes.i_grup) =
(select activity.i_cust, activity.i_grup
from activity
where notes.opportunity_id = activity.i_vendor_control
and activity.d_crea = '04/23/13'
and activity.i_ref_no between 871206 and 871210)
where notes.i_cust IS NULL
and notes.i_grup IS NULL
and notes.opportunity_id in (select activity.i_vendor_control from activity
where activity.d_crea = '04/23/13'
and activity.i_ref_no between 871206 and 871210)
Can someone tell me why this SQL gets a syntax error? I can run the nested select statements separately and they work fine, but when i run this entire SQL, i get a syntax error. Can anyone see the syntax error? Or is there a better way to write this? All i'm doing is updating the first and last names in the first table with that of the second table.I think this should suffice
update notes
set (notes.i_cust, notes.group) =
(select activity.i_cust, activity.group
from activity
where notes.opportunity_id = activity.i_vendor_control
and activity.create_date = '04/23/13'
and activity.i_ref_no between 871206 and 871210)
where notes.i_cust IS NULL
and notes.group IS NULL
and notes.opportunity_id in (select activity.i_vendor_control from activity
where activity.create_date = '04/23/13'
and activity.i_ref_no between 871206 and 871210)
Why do you need an extra clause with IN operator for the same where condition?
Is it because its not an update for the entire table? If so then have the outer clause using exists as it will perform better -
Error running WebCenter Framework tutorial in JDev 11.1.1.1.0
I'm getting an error during deployment early on while working through the tutorial application. Below is the error that is generated:
java.lang.NullPointerException[02:32:36 PM] #### Deployment incomplete. ####
java.lang.NullPointerException
at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.recursiveListDirectories(DirectoryModuleIO.java:103)
at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.removeArchive(DirectoryModuleIO.java:95)
at oracle.jdevimpl.deploy.stripe.DirectoryModuleIO$DeploymentModuleDirectoryIO.write(DirectoryModuleIO.java:146)
at oracle.jdevimpl.deploy.adrs.wls.SplitSourceWarModuleIO$SplitSourceWarModuleDirectoryIO.write(SplitSourceWarModuleIO.java:80)
at oracle.jdevimpl.deploy.fwk.ArchiveIO.write(ArchiveIO.java:24)
at oracle.jdevimpl.deploy.adrs.wls.SplitSourceWarModuleIO.commitImpl(SplitSourceWarModuleIO.java:42)
at oracle.jdevimpl.deploy.stripe.AbstractModuleIO.commit(AbstractModuleIO.java:82)
at oracle.jdevimpl.deploy.stripe.DeploymentModuleImpl.commit(DeploymentModuleImpl.java:187)
at oracle.jdevimpl.deploy.war.WarDeployer.writeWarFile(WarDeployer.java:261)
at oracle.jdevimpl.deploy.war.WarDeployer.deployImpl(WarDeployer.java:100)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.deploy.common.ModulePackagerImpl.deployProfiles(ModulePackagerImpl.java:86)
at oracle.jdeveloper.deploy.common.ModulePackager.deployProfiles(ModulePackager.java:63)
at oracle.jdeveloper.deploy.common.ModulePackager.deployImpl(ModulePackager.java:52)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdeveloper.deploy.common.BatchDeployer.deployImpl(BatchDeployer.java:82)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.WrappedDeployer.deployImpl(WrappedDeployer.java:39)
at oracle.jdeveloper.deploy.common.AbstractDeployer.deploy(AbstractDeployer.java:94)
at oracle.jdevimpl.deploy.fwk.DeploymentManagerImpl.deploy(DeploymentManagerImpl.java:442)
at oracle.jdeveloper.deploy.DeploymentManager.deploy(DeploymentManager.java:209)
at oracle.jdevimpl.runner.adrs.AdrsStarter$6$1.run(AdrsStarter.java:1469)
I am able to run other basic applications (adf) without issue. Has anyone seen an error like this or can suggest possible solution?
Thanks,
ChadHi,
no idea. Its not obvious from the stack trace. Maybe the Webcenter folks can help
WebLogic Server - General
Frank -
Error running PL/SQL with too many parameters
Developer 10g (9.0.5.1 Build 1605) seems to have a memory limitation when running a PL/SQL procedure. The dialog box that is created to allow running and/or debugging of PL/SQL procedures defaults the parameter sizes to 200 bytes. At a certain point the number of parameters causes an oracle error. When I remove the 20th IN parameter the procedure works.
Is there a way to do any of the following:
1) Increase memory used so that more parameters can be used
2) Change the default of 200 to a smaller value
3) Bind the size of the IN parameters (in the procedure definition, not each time you run the procedure)
--Oracle error:
An error was encountered performing the reequested operation:
ORA-01001: invalid cursor
ORA-06512: at "SYS.DBMS_SYS_SQL", line 819
ORA-06512: at "SYS.DBMS_SQL", line 19
ORA-06512: at line 10
ORA-06502: PL/SQL: numeric or value error: character string
buffer too small
-- Example PL/SQL code
CREATE OR REPLACE PACKAGE "PKGTEST" AUTHID
CURRENT_USER AS
TYPE GENCURTYPE IS REF CURSOR;
PROCEDURE EXTRACT (
REQUEST_P1 IN VARCHAR2,
REQUEST_P2 IN VARCHAR2,
REQUEST_P3 IN VARCHAR2,
REQUEST_P4 IN VARCHAR2,
REQUEST_P5 IN VARCHAR2,
REQUEST_P6 IN VARCHAR2,
REQUEST_P7 IN VARCHAR2,
REQUEST_P8 IN VARCHAR2,
REQUEST_P9 IN VARCHAR2,
REQUEST_P10 IN VARCHAR2,
REQUEST_P11 IN VARCHAR2,
REQUEST_P12 IN VARCHAR2,
REQUEST_P13 IN VARCHAR2,
REQUEST_P14 IN VARCHAR2,
REQUEST_P15 IN VARCHAR2,
REQUEST_P16 IN VARCHAR2,
REQUEST_P17 IN VARCHAR2,
REQUEST_P18 IN VARCHAR2,
REQUEST_P19 IN VARCHAR2,
REQUEST_P20 IN GENCURTYPE,
--REQUEST_P21 IN VARCHAR2,
--REQUEST_P22 IN VARCHAR2,
--REQUEST_P23 IN VARCHAR2,
--REQUEST_P24 IN VARCHAR2,
--REQUEST_P25 IN VARCHAR2,
--REQUEST_P26 IN VARCHAR2,
--REQUEST_P27 IN VARCHAR2,
--REQUEST_P28 IN VARCHAR2,
--REQUEST_P29 IN VARCHAR2,
--REQUEST_P30 IN VARCHAR2,
RESPONSE_RETURN_CODE OUT CHAR,
RESPONSE_ERROR_MSG OUT VARCHAR2
END PKGTEST;
CREATE OR REPLACE PACKAGE BODY "PKGTEST" AS
PROCEDURE EXTRACT (
REQUEST_P1 IN VARCHAR2,
REQUEST_P2 IN VARCHAR2,
REQUEST_P3 IN VARCHAR2,
REQUEST_P4 IN VARCHAR2,
REQUEST_P5 IN VARCHAR2,
REQUEST_P6 IN VARCHAR2,
REQUEST_P7 IN VARCHAR2,
REQUEST_P8 IN VARCHAR2,
REQUEST_P9 IN VARCHAR2,
REQUEST_P10 IN VARCHAR2,
REQUEST_P11 IN VARCHAR2,
REQUEST_P12 IN VARCHAR2,
REQUEST_P13 IN VARCHAR2,
REQUEST_P14 IN VARCHAR2,
REQUEST_P15 IN VARCHAR2,
REQUEST_P16 IN VARCHAR2,
REQUEST_P17 IN VARCHAR2,
REQUEST_P18 IN VARCHAR2,
REQUEST_P19 IN VARCHAR2,
REQUEST_P20 IN GENCURTYPE,
--REQUEST_P21 IN VARCHAR2,
--REQUEST_P22 IN VARCHAR2,
--REQUEST_P23 IN VARCHAR2,
--REQUEST_P24 IN VARCHAR2,
--REQUEST_P25 IN VARCHAR2,
--REQUEST_P26 IN VARCHAR2,
--REQUEST_P27 IN VARCHAR2,
--REQUEST_P28 IN VARCHAR2,
--REQUEST_P29 IN VARCHAR2,
--REQUEST_P30 IN VARCHAR2,
RESPONSE_RETURN_CODE OUT CHAR,
RESPONSE_ERROR_MSG OUT VARCHAR2
AS
BEGIN
-- Initialize return variables
RESPONSE_RETURN_CODE := 'F';
RESPONSE_ERROR_MSG := 'Oracle JDeveloper does not work';
RESPONSE_RETURN_CODE := 'S';
RESPONSE_ERROR_MSG := 'Oracle JDeveloper works';
END EXTRACT;
END PKGTEST;Vijay,
It turns out the problem concerns the size of the text buffer that JDeveloper generates (the code we display in the dialog). We inadvertantly limited the size of the code to 2000 characters. So the limitation isn't on the number of parameters, but the amount of code generated for each parameter.
We have fixed the problem; however, this fix will be in the next release of JDeveloper (the production release of 10.1.3) due later this year.
- John McGinnis
Oracle JDeveloper Team -
Error running htmldbins.sql script in a HTML DB installation
Hi !
I did all the pre-install specified in the documentation. the script htmldbins.sql fails when the following error occurs:
VI. I N S T A L L F L O W S
define "^" (hex 5e)
...design time flows
begin wwv_flow.g_import_in_progress := true; end;
ERROR at line 1:
ORA-04063: package body "FLOWS_010600.WWV_FLOW" has errors
ORA-06508: PL/SQL: could not find program unit being called
ORA-06512: at line 1
RDBMS Version: 10.1.0.2
Operating System and Version: Windows 2003
Product Version: HTML DB 1.6
Anybody knows what´s happening ?
Regards
Eduardo P. Niel
OCP Oracle
BrazilI think this thread is something you should look at:
Windows 10G HTMLDB Install Error
Denes Kubicek -
Hi everybody,
I installed AWM 11.1.0.7B and Oracle Database 11g software, version 11.1.0.6.0.
I am trying to install Sample Schemas & Code.
I got an error running global_11g_create_cubes.sql script that I downloaded from the http://www.oracle.com/technology/products/bi/olap/olap_downloads.html#software
Here is an error:
Begin installation
... deleting GLOBAL AW (if it exists)
... creating GLOBAL AW
begin
ERROR at line 1:
ORA-37162: OLAP error
XOQ-00506: Unable to parse XML string sent from the client to the server
ORA-06512: at "SYS.DBMS_CUBE", line 88
ORA-06512: at "SYS.DBMS_CUBE", line 134
ORA-06512: at "SYS.DBMS_CUBE", line 154
ORA-06512: at "SYS.DBMS_CUBE", line 144
ORA-06512: at "SYS.DBMS_CUBE", line 181
ORA-06512: at line 2
The following line in the script gives an error:
dbms_cube.import_xml('GLOBAL_INSTALL', 'GLOBAL_MV.XML');
Any help will be greatly appretiated.
Thank you.
- tI suspect the problem is that you are using an 11.1.0.7 client to access an 11.1.0.6 server. This configuration should work, but there was a bug at some point with new clients and old servers. In any case you would be advised to upgrade your server to either 11.1.0.7 or, at least, the latest 11.1.0.6 OLAP patch.
-
ORA-600 [17069] error while running catrelod.sql to downgrade 11g database
Hi,
We are downgrading our 11.2.0.2 database to 10.2.0.4. We have successfullly run catdwgrd.sql without any errors in 11g env. While running catrelod.sql in 10g env we are facing the following error:
SQL> @?/rdbms/admin/catrelod.sql
TIMESTAMP
COMP_TIMESTAMP RELOD__BGN 2013-04-24 20:15:39 2456407 72939
DOC>#######################################################################
DOC>#######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the database server version is not 10.0.0.
DOC> Shutdown ABORT and use a different script or a different server.
DOC>#######################################################################
DOC>#######################################################################
DOC>#
no rows selected
DOC>#######################################################################
DOC>#######################################################################
DOC> The following statement will cause an "ORA-01722: invalid number"
DOC> error if the database has not been opened for MIGRATE.
DOC>
DOC> Perform a "SHUTDOWN ABORT" and
DOC> restart using MIGRATE.
DOC>#######################################################################
DOC>#######################################################################
DOC>#
no rows selected
Session altered.
Session altered.
no rows selected
DECLARE
ERROR at line 1:
ORA-00600: internal error code, arguments: [17069], [0x170FB8CA8], [], [], [],
[], [], []I have checked the trace file in udump but it dint give any readable information.
Please find below environment details.
OS : RHEL 5 64 bit
11g Database : 11.2.0.2
10g Database : 10.2.0.4
Kindly assist.KR10822864 wrote:
Whenever an ORA-600 error is raised a trace file is generated and an entry written to the alert.log with details of the trace file location. Starting with Oracle Database 11g Release 1, the diagnosability infrastructure was introduced which places the trace and core files into a location controlled by the DIAGNOSTIC_DEST initialization parameter when an incident, such as an ORA-600 is created. For earlier versions, the trace file will be written to either USER_DUMP_DEST (if the error was caught in a user process) or BACKGROUND_DUMP_DEST (if the error was caught in a background process like PMON or SMON). The trace file contains vital information about what led to the error condition
please post 40 lines of alert log info .
MOS Note:ORA-600 [17069] "Failed to pin a library cache object after 50 attempts" [ID 39616.1]
"Look in the trace file for the text 'LIBRARY OBJECT HANDLE: handle=170fb8ca8'"
if not found any massages like above please raise [email protected].
Hi KR,
Thanks for your help. As suggested I have checked the trace file to search and found the below info. I suppose it is some kind of lock but not sure about it. Please let me know if the following makes sense:
SO: 0x21158a6e0, type: 3, owner: 0x211006f28, flag: INIT/-/-/0x00
(call) sess: cur 211572570, rec 211572570, usr 211572570; depth: 0
SO: 0x21158a9b8, type: 3, owner: 0x21158a6e0, flag: INIT/-/-/0x00
(call) sess: cur 211572570, rec 0, usr 211572570; depth: 1
SO: 0x1727a2618, type: 54, owner: 0x21158a9b8, flag: INIT/-/-/0x00
LIBRARY OBJECT PIN: pin=1727a2618 handle=170fb8ca8 mode=S lock=171243e98
user=211572570 session=211572570 count=1 mask=001d savepoint=0x43 flags=[00]
SO: 0x171243e98, type: 53, owner: 0x21158a9b8, flag: INIT/-/-/0x00
LIBRARY OBJECT LOCK: lock=171243e98 handle=170fb8ca8 mode=S
call pin=0x1727a2618 session pin=(nil) hpc=0000 hlc=0000
htl=0x171243f18[0x17278a310,0x17278a310] htb=0x17278a310 ssga=0x172789928
user=211572570 session=211572570 count=1 flags=PNC/[0400] savepoint=0x43
LIBRARY OBJECT HANDLE: handle=170fb8ca8 mtx=0x170fb8dd8(0) cdp=0
name=SYS.STANDARD
hash=51570e225ed8a9a803b7318f191e0a8d timestamp=04-18-2006 00:00:00
namespace=TABL flags=KGHP/TIM/SML/[02000000]
kkkk-dddd-llll=0000-001d-001d lock=S pin=S latch#=3 hpc=0004 hlc=0004
lwt=0x170fb8d50[0x170fb8d50,0x170fb8d50] ltm=0x170fb8d60[0x170fb8d60,0x170fb8d60]
pwt=0x170fb8d18[0x170fb8d18,0x170fb8d18] ptm=0x170fb8d28[0x170fb8d28,0x170fb8d28]
ref=0x170fb8d80[0x170fb8d80,0x170fb8d80] lnd=0x170fb8d98[0x170f05b50,0x170fa6858]
LIBRARY OBJECT: object=170e82de8
type=PCKG flags=EXS/LOC[0005] pflags=NST/IVR[0201] status=VALD load=0
DATA BLOCKS:
data# heap pointer status pins change whr
0 170e831f8 170e82fc0 I/P/A/-/- 0 NONE 00
SO: 0x21158e470, type: 5, owner: 0x21158a6e0, flag: INIT/-/-/0x00
(enqueue) CU-70E88BC0-00000001 DID: 0001-001F-00000004
lv: 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 00 res_flag: 0x2
res: 0x17677adc8, mode: X, lock_flag: 0x0
own: 0x211572570, sess: 0x211572570, proc: 0x211006f28, prv: 0x17677add8
SO: 0x177f82c28, type: 59, owner: 0x21158a6e0, flag: INIT/-/-/0x00
cursor enqueue
child: 170e89348, flag: 53, number: 0
parent: 170e89738 -
I have an Script mostly that is generated by SSMS which works with-out issue on SQL Server 2008, but when I attempt to run it on a new fresh install of SQL Server 2012 I get an Msg 8631. Internal error: Server stack limit has been reached. Please look for
potentially deep nesting in your query, and try to simplify it.
The script itself doesn't seem to be all that deep or nested. The script is large 2600 lines and when I remove the bulk of the 2600 lines, it does run on SQL Server 2012. I'm just really baffled why something that SQL Server generated with very
few additions/changes AND that WORKS without issue in SQL Server 2008 R2 would suddenly be invalid in SQL Server 2012
I need to know why my script which is working great on our current SQL Server 2008 R2 servers suddenly fails and won't run on an new SQL Server 2012 server. This script is used to create 'bulk' Replications on a large number of DBs saving a tremendous
amount of our time doing it the manual way.
Below is an 'condensed' version of the script which fails. I have removed around 2550 lines of specific sp_addarticle statements which are mostly just copy and pasted from what SQL Management Studio 'scripted' for me went I when through the Replication
Wizard and told it to save to script.
declare @dbname varchar(MAX), @SQL nvarchar(MAX)
declare c_dblist cursor for
select name from sys.databases WHERE name like 'dbone[_]%' order by name;
open c_dblist
fetch next from c_dblist into @dbname
while @@fetch_status = 0
begin
print @dbname
SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
use ['+@dbname+']
exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
use ['+@dbname+']
exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
-- Adding the transactional publication
use ['+@dbname+']
exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
'''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
= N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
@immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
@frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
-- There are around 2400 lines roughly the same as this only difference is the tablename repeated below this one
use ['+@dbname+']
exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script =
null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509F, @identityrangemanagementoption = N''manual'', @destination_table = N''TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false'', @ins_cmd = N''CALL sp_MSins_dboTABLE_ONE'',
@del_cmd = N''CALL sp_MSdel_dboTABLE_ONE'', @upd_cmd = N''SCALL sp_MSupd_dboTABLE_ONE''
EXEC sp_executesql @SQL
SET @dbname = REPLACE(@dbname, 'dbone_', 'dbtwo_');
print @dbname
SET @SQL = 'DECLARE @dbname NVARCHAR(MAX); SET @dbname = ''' + @dbname + ''';
use ['+@dbname+']
exec sp_replicationdboption @dbname = N'''+@dbname+''', @optname = N''publish'', @value = N''true''
use ['+@dbname+']
exec ['+@dbname+'].sys.sp_addlogreader_agent @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1, @job_name = null
-- Adding the transactional publication
use ['+@dbname+']
exec sp_addpublication @publication = N'''+@dbname+' Replication'', @description = N''Transactional publication of database
'''''+@dbname+''''' from Publisher ''''MSSQLSRV\INSTANCE''''.'', @sync_method = N''concurrent'', @retention = 0, @allow_push = N''true'', @allow_pull = N''true'', @allow_anonymous = N''false'', @enabled_for_internet
= N''false'', @snapshot_in_defaultfolder = N''true'', @compress_snapshot = N''false'', @ftp_port = 21, @allow_subscription_copy = N''false'', @add_to_active_directory = N''false'', @repl_freq = N''continuous'', @status = N''active'', @independent_agent = N''true'',
@immediate_sync = N''true'', @allow_sync_tran = N''false'', @allow_queued_tran = N''false'', @allow_dts = N''false'', @replicate_ddl = 1, @allow_initialize_from_backup = N''true'', @enabled_for_p2p = N''false'', @enabled_for_het_sub = N''false''
exec sp_addpublication_snapshot @publication = N'''+@dbname+' Replication'', @frequency_type = 1, @frequency_interval = 1, @frequency_relative_interval = 1, @frequency_recurrence_factor = 0, @frequency_subday = 8,
@frequency_subday_interval = 1, @active_start_time_of_day = 0, @active_end_time_of_day = 235959, @active_start_date = 0, @active_end_date = 0, @job_login = N''DOMAIN\DBServiceAccount'', @job_password = N''secret'', @publisher_security_mode = 1
-- There are around 140 lines roughly the same as this only difference is the tablename repeated below this one
use ['+@dbname+']
exec sp_addarticle @publication = N'''+@dbname+' Replication'', @article = N''DB_TWO_TABLE_ONE'', @source_owner = N''dbo'', @source_object = N''DB_TWO_TABLE_ONE'', @type = N''logbased'', @description = null, @creation_script
= null, @pre_creation_cmd = N''drop'', @schema_option = 0x000000000803509D, @identityrangemanagementoption = N''manual'', @destination_table = N''DB_TWO_TABLE_ONE'', @destination_owner = N''dbo'', @vertical_partition = N''false''
EXEC sp_executesql @SQL
fetch next from c_dblist into @dbname
end
close c_dblist
deallocate c_dblist
George P Botuwell, ProgrammerHi George,
Thank you for your question.
I am trying to involve someone more familiar with this topic for a further look at this issue. Sometime delay might be expected from the job transferring. Your patience is greatly appreciated.
Thank you for your understanding and support.
If you have any feedback on our support, please click
here.
Allen Li
TechNet Community Support -
when i try to connect to oracle 11g rdbms, following error occurs -->
1. sql developer version - 4.0.3.16 (jdk - jdk1.7.0_51 externally installed) -- newly installed, giving following error when try to connect to oracle 11g rdbms.
2. sql developer version - 3.1.07.42 (jre1.6.0 included) -- used to run earlier.
java.util.UnknownFormatConversionException: Conversion = '0'
at java.util.Formatter.checkText(Formatter.java:2547)
at java.util.Formatter.parse(Formatter.java:2533)
at java.util.Formatter.format(Formatter.java:2469)
at java.util.Formatter.format(Formatter.java:2423)
at java.lang.String.format(String.java:2797)
at oracle.dbtools.raptor.backgroundTask.internal.SimpleRaptorTaskUI.getFormattedTime(SimpleRaptorTaskUI.java:288)
at oracle.dbtools.raptor.backgroundTask.internal.RaptorTaskUI.setState(RaptorTaskUI.java:43)
at oracle.dbtools.raptor.backgroundTask.internal.SimpleRaptorTaskUI.<init>(SimpleRaptorTaskUI.java:63)
at oracle.dbtools.raptor.backgroundTask.internal.RaptorTaskUI.<init>(RaptorTaskUI.java:36)
at oracle.dbtools.raptor.backgroundTask.ui.TaskProgressViewer$4.<init>(TaskProgressViewer.java:346)
at oracle.dbtools.raptor.backgroundTask.ui.TaskProgressViewer.createTaskUI(TaskProgressViewer.java:346)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.initViewers(RaptorTaskManager.java:373)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.access$400(RaptorTaskManager.java:45)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager$4.run(RaptorTaskManager.java:299)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.invokeInDispatchThreadIfNeeded(RaptorTaskManager.java:313)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.addTask(RaptorTaskManager.java:302)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.addTask(RaptorTaskManager.java:200)
at oracle.dbtools.raptor.backgroundTask.RaptorTaskManager.addTask(RaptorTaskManager.java:161)
at oracle.dbtools.worksheet.editor.OpenWorksheetWizard.invoke(OpenWorksheetWizard.java:425)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:446)
at oracle.ide.wizard.WizardManager.invokeWizard(WizardManager.java:390)
at oracle.dbtools.worksheet.editor.WorksheetOpenController$1.run(WorksheetOpenController.java:84)
at oracle.dbtools.worksheet.editor.WorksheetOpenController.openWorksheetWizard(WorksheetOpenController.java:90)
at oracle.dbtools.worksheet.editor.WorksheetOpenController.handleEvent(WorksheetOpenController.java:49)
at oracle.ide.controller.IdeAction$ControllerDelegatingController.handleEvent(IdeAction.java:1482)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:663)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:1153)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:618)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2018)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2341)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
at javax.swing.AbstractButton.doClick(AbstractButton.java:376)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:833)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:877)
at java.awt.Component.processMouseEvent(Component.java:6505)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3320)
at java.awt.Component.processEvent(Component.java:6270)
at java.awt.Container.processEvent(Container.java:2229)
at java.awt.Component.dispatchEventImpl(Component.java:4861)
at java.awt.Container.dispatchEventImpl(Container.java:2287)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4832)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4492)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4422)
at java.awt.Container.dispatchEventImpl(Container.java:2273)
at java.awt.Window.dispatchEventImpl(Window.java:2719)
at java.awt.Component.dispatchEvent(Component.java:4687)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:735)
at java.awt.EventQueue.access$200(EventQueue.java:103)
at java.awt.EventQueue$3.run(EventQueue.java:694)
at java.awt.EventQueue$3.run(EventQueue.java:692)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
at java.awt.EventQueue$4.run(EventQueue.java:708)
at java.awt.EventQueue$4.run(EventQueue.java:706)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:76)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:705)
at oracle.javatools.internal.ui.EventQueueWrapper._dispatchEvent(EventQueueWrapper.java:169)
at oracle.javatools.internal.ui.EventQueueWrapper.dispatchEvent(EventQueueWrapper.java:151)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:150)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:146)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:138)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:91)Around a month ago, a similar question appeared on Jeff's block... look for checkText in http://www.thatjeffsmith.com/ask-a-question/
There was no resolution there, so (as the SQL Developer code in that area has not changed) I would tend to think it might have something to do with
1. Your Locale affecting the Formatter class's parsing of that pattern; or
2. A bug in the jdk version in use, probably also related to the Locale.
I recommend upgrading to the latest jdk1.7.0_xx update. If that does not solve the issue, then try changing the Locale. -
Errors encountered while running Java EE tutorial SRDemo in JDeveloper
I am using JDeveloper version 10.1.3.1 to run Java EE tutorial (Web Application) - SRDemo for JSF and EJB 3.0, I got the following error messages while running ServiceRequestFacadeClientEmbed to test the data model (tutorial page 44 of 222), please help me fix those errors.
Thanks a lot for your help. Jan
Creating a service request // correct output
setting the status // correct output
setting the timestamp for request date // correct output
2007-01-25 15:12:46.915 // correct output
getting product object with id = 117 // correct output
Jan 25, 2007 3:12:47 PM oracle.j2ee.rmi.RMIMessages //error out EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER
WARNING: Exception returned by remote server: {0}
javax.ejb.EJBException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupExceptionException Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is: oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ServiceRequestFacade_RemoteProxy_p4gp54.findProductById(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:195)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:84)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:127)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:84)
at com.evermind.server.ejb.persistence.PersistenceUnitImpl.createTempPersistenceContext(PersistenceUnitImpl.java:84)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:99)
at com.evermind.server.ejb.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:84)
at com.evermind.server.ejb.persistence.AbstractEntityManagerProxy.createNamedQuery(AbstractEntityManagerProxy.java:110)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createNamedQuery(EntityManagerProxy.java:33)
at org.srdemo.business.ServiceRequestFacadeBean.findProductById(ServiceRequestFacadeBean.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ServiceRequestFacade_RemoteProxy_p4gp54.findProductById(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:167)
... 34 more
javax.ejb.EJBException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is: oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:365)
at com.evermind.server.ejb.EJBUtils.createEJBException(EJBUtils.java:356)
at com.evermind.server.ejb.AbstractEJBObject.OC4J_handleUncheckedException(AbstractEJBObject.java:396)
at ServiceRequestFacade_RemoteProxy_p4gp54.findProductById(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
... 8 more
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:195)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:84)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:127)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:84)
at com.evermind.server.ejb.persistence.PersistenceUnitImpl.createTempPersistenceContext(PersistenceUnitImpl.java:84)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:99)
at com.evermind.server.ejb.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:84)
at com.evermind.server.ejb.persistence.AbstractEntityManagerProxy.createNamedQuery(AbstractEntityManagerProxy.java:110)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createNamedQuery(EntityManagerProxy.java:33)
at org.srdemo.business.ServiceRequestFacadeBean.findProductById(ServiceRequestFacadeBean.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
... 13 more
Caused by: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:167)
... 34 more
javax.ejb.EJBException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is: oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ServiceRequestFacade_RemoteProxy_p4gp54.findProductById(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:195)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:84)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:127)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:84)
at com.evermind.server.ejb.persistence.PersistenceUnitImpl.createTempPersistenceContext(PersistenceUnitImpl.java:84)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:99)
at com.evermind.server.ejb.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:84)
at com.evermind.server.ejb.persistence.AbstractEntityManagerProxy.createNamedQuery(AbstractEntityManagerProxy.java:110)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createNamedQuery(EntityManagerProxy.java:33)
at org.srdemo.business.ServiceRequestFacadeBean.findProductById(ServiceRequestFacadeBean.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ServiceRequestFacade_RemoteProxy_p4gp54.findProductById(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:167)
... 34 more
javax.ejb.EJBException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is: oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at com.evermind.server.rmi.RMICall.EXCEPTION_ORIGINATES_FROM_THE_REMOTE_SERVER(RMICall.java:109)
at com.evermind.server.rmi.RMICall.throwRecordedException(RMICall.java:125)
at com.evermind.server.rmi.RMIClientConnection.obtainRemoteMethodResponse(RMIClientConnection.java:517)
at com.evermind.server.rmi.RMIClientConnection.invokeMethod(RMIClientConnection.java:461)
at com.evermind.server.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:63)
at com.evermind.server.rmi.RecoverableRemoteInvocationHandler.invoke(RecoverableRemoteInvocationHandler.java:28)
at com.evermind.server.ejb.StatelessSessionRemoteInvocationHandler.invoke(StatelessSessionRemoteInvocationHandler.java:43)
at __Proxy1.findProductById(Unknown Source)
at org.srdemo.client.ServiceRequestFacadeClientEmbed.main(ServiceRequestFacadeClientEmbed.java:38)
Caused by: oracle.oc4j.rmi.OracleRemoteException: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed; nested exception is:
javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at com.evermind.server.ejb.EJBUtils.getUserException(EJBUtils.java:346)
at com.evermind.server.ejb.interceptor.system.AbstractTxInterceptor.convertAndHandleMethodException(AbstractTxInterceptor.java:69)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.InvocationContextPool.invoke(InvocationContextPool.java:55)
at com.evermind.server.ejb.StatelessSessionEJBObject.OC4J_invokeMethod(StatelessSessionEJBObject.java:87)
at ServiceRequestFacade_RemoteProxy_p4gp54.findProductById(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.rmi.RmiMethodCall.run(RmiMethodCall.java:53)
at com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
at java.lang.Thread.run(Thread.java:595)
Caused by: javax.persistence.PersistenceException: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.deploy(EntityManagerSetupImpl.java:195)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.getServerSession(EntityManagerFactoryImpl.java:84)
at oracle.toplink.essentials.internal.ejb.cmp3.base.EntityManagerFactoryImpl.createEntityManagerImpl(EntityManagerFactoryImpl.java:127)
at oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerFactoryImpl.createEntityManager(EntityManagerFactoryImpl.java:84)
at com.evermind.server.ejb.persistence.PersistenceUnitImpl.createTempPersistenceContext(PersistenceUnitImpl.java:84)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createEntityManager(EntityManagerProxy.java:99)
at com.evermind.server.ejb.persistence.EntityManagerProxy.allocateEntityManager(EntityManagerProxy.java:84)
at com.evermind.server.ejb.persistence.AbstractEntityManagerProxy.createNamedQuery(AbstractEntityManagerProxy.java:110)
at com.evermind.server.ejb.persistence.EntityManagerProxy.createNamedQuery(EntityManagerProxy.java:33)
at org.srdemo.business.ServiceRequestFacadeBean.findProductById(ServiceRequestFacadeBean.java:51)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at com.evermind.server.ejb.interceptor.joinpoint.EJBJoinPointImpl.invoke(EJBJoinPointImpl.java:35)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.SetContextActionInterceptor.invoke(SetContextActionInterceptor.java:44)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.DMSInterceptor.invoke(DMSInterceptor.java:52)
at com.evermind.server.ejb.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:119)
at com.evermind.server.ejb.interceptor.system.TxRequiredInterceptor.invoke(TxRequiredInterceptor.java:50)
... 13 more
Caused by: Exception [TOPLINK-28013] (Oracle TopLink Essentials - 2006.8 (Build 060829)): oracle.toplink.essentials.exceptions.EntityManagerSetupException
Exception Description: Attempted to deploy PersistenceUnit [Model] for which predeploy method either had not called or had failed
at oracle.toplink.essentials.exceptions.EntityManagerSetupException.cannotDeployWithoutPredeploy(EntityManagerSetupException.java:167)
... 34 more
Process exited with exit code 0.Hmmm ... I'm stuck at exactly the same problem, have you found any workaround by any chance?
-
Error while running awrrpt.sql for Automatic Workload Repository Report
Hi
I am trying to run awrrpt.sql.While running the query in sql*plus it ask me for file format then no of days
& then begin & end snapshot Id & then eventually the sql*plus session get closed . I am unable find
why sql*plus session getting closed automatically.Please tell me How to run awrrpt.sql to generate AWR reports. Please guide.1008032 wrote:
Dear
This is happen due to you are given the begin snap id and end snap id not between the shut down time .EX begin snap it at 12 am 1521 and you shut down at 12:30 am and you you give the 1:00 am snap id 1522 .That time system can not collect the statistics betwwn 1521 and 1522.
Or you should enable statistics_level parameter if it 11gr2 you should enable controlfile_management_pack _access='DIAGNOSTIC+TUNING'
issue not resolved please post your error..........
Thanks®ards
SS.vijaibabuI checked my statistics_level it shows value TYPICAL which I think is right.
SQL> sho parameter statistics_level
NAME TYPE VALUE
statistics_level string TYPICALAlso I given snap id which between single startup & shutdown still the problem is same sqlplus session get closed after asking for snal ids.
If error gets generated where it gets generated? -
Error while running catmetx.sql
Have anybody received an error while running CATMETX.SQL in attempt to fix a known problem in 10gR2 - inconsistent datatype: expected BLOB, CLOB got CHAR?
Any and all ideas appreciated.
Greg
Here is what I've got:
SQL> @catmetx
Package altered.
Index altered.
create or replace force view sys.ku$_xmlschema_view of sys.ku$_xmlschema_t
ERROR at line 1:
ORA-22973: size of object identifier exceeds maximum size allowed
Grant succeeded.
View created.
etc.Before I'm willing to hazard a guess as to what is wrong some more information is required.
1. What version are you on exactly (to 3 or 4 decimal places)
2. What problem led you to decide to run catmex.sql?
3. What metalink doc did you read that indicated you should?
4. What are the results of the following queries?
SELECT comp_name, version, status
FROM dba_registry;
SELECT owner, object_name, object_type
FROM dba_objects
WHERE status = 'INVALID';The alternative is an SR at metalink. -
Hi,
We are in the process of upgrading the database from Oracle version 8.1.7.0 to 8.1.7.4
For that we are applying the patch no. 2376472
As per the patch we have run catproc.sql script.
On running the script we are getting below mentioned errors,
BEGIN
ERROR at line 1:
ORA-24001: cannot create QUEUE_TABLE, SYSTEM.DEF$_AQERROR already exists
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2049
ORA-06512: at "SYS.DBMS_AQADM", line 55
ORA-06512: at line 2
BEGIN
ERROR at line 1:
ORA-24006: cannot create QUEUE, SYSTEM.DEF$_AQERROR already exists
ORA-06512: at "SYS.DBMS_AQADM_SYS", line 2346
ORA-06512: at "SYS.DBMS_AQADM", line 114
ORA-06512: at line 2
PL/SQL procedure successfully completed.
The above error has been generated while creating the Queue and Queue_Table.
Where i have done mistake ?
Kindly provide guidance.
With RegardsIgnore these errors
http://www.cs.uvm.edu/oracle9doc/server.901/a90191/migmumsg.htm#72864 -
Hi,
I can able ran the SSIS package in BIDS, since set to false in Run64BitRuntime property.
Then I created SQL server Agent job I tried the following ways
Step 1:
Type is set as SQL Server Integration Services Packages,
Run as - SQL Server Agent Service Account
Package source - FileSystem
then Execution option tab I selected 32 bit runtime
and then run the job I am getting the below error
Message
Executed as user: CIT\svc_CS_SS2008Agent. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 32-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 7:29:17 AM Error: 2013-11-28
07:29:18.57 Code: 0xC0014020 Source: Example Connection manager "DataSource.DataExtract" Description: An ODBC error -1 has occurred. End Error Error: 2013-11-28 07:29:18.57
Code: 0xC0014009 Source: Imports20_OAC_Gifts Connection manager "DataSource.DataExtract" Description: There was an error trying to establish an Open Database Connectivity (ODBC) connection with the
database server. End Error Error: 2013-11-28 07:29:18.59 Code: 0x0000020F Source: DFT_Example ODBC_SRC Example [11] Description: The AcquireConnection method call to the connection
manager DataSource.DataExtract failed with error code 0xC0014009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2013-11-28 07:29:18.59
Code: 0xC0047017 Source: DFT_Example SSIS.Pipeline Description: ODBC_SRC Example failed validation and returned error code 0x80004005. End Error Error: 2013-11-2
Step 2:
Type - Operating sytem (CmdExec)
Run as - Sql Server agent service account
Command - C:\Program Files\Microsoft SQL Server\110\DTS\Binn\dtexec.exe /FILE "D:\Example\Example.dtsx" /x86 /CHECKPOINTING OFF /REPORTING E
then run the job I am getting the below error
Message
Executed as user: MIS\svc_CS_SS2008Agent. Microsoft (R) SQL Server Execute Package Utility Version 11.0.2100.60 for 64-bit Copyright (C) Microsoft Corporation. All rights reserved. Started: 6:37:58 AM Error: 2013-11-28
06:37:58.94 Code: 0xC0014020 Source: Example Connection manager "DataSource.DataExtract" Description: An ODBC error -1 has occurred. End Error Error: 2013-11-28 06:37:58.96
Code: 0xC0014009 Source: Example Connection manager "DataSource.DataExtract" Description: There was an error trying to establish an Open Database Connectivity (ODBC) connection with the database server.
End Error Error: 2013-11-28 06:37:59.01 Code: 0x0000020F Source: DFT_Example ODBC_SRC Example [11] Description: The AcquireConnection method call to the connection manager DataSource.DataExtract
failed with error code 0xC0014009. There may be error messages posted before this with more information on why the AcquireConnection method call failed. End Error Error: 2013-11-28 06:37:59.07 Code: 0xC0047017
Source: DFT_Example SSIS.Pipeline Description: ODBC_SRC Example failed validation and returned error code 0x80004005. End Error Error: 2013-11-28 06:37:59.12 Code: 0xC004700C
Source: DFT_Example SSIS.Pipeline Description: One or more component failed validation. End Error Error: 2013-11-28 06:37:59.16 Code: 0xC0024107 Source: DFT_Example
Description: There were errors during task validation. End Error DTExec: The package execution returned DTSER_FAILURE (1).Started: 6:37:58 AM Finished: 6:37:59 AM Elapsed: 1.373 seconds. Process Exit Code 1.
The step failed.
Note:
My source server is 32 bit and development environment in 64 bit
if anybody have idea please share your knowledgeHi BIRam,
Based on the current information, the issue may be caused by the factor that the SQL Server Agent Service Account doesn’t have access to the MySQL server. Try to create a SQL Server Agent Proxy account that has sufficient permission on the MySQL server.
In addition, also pay attention to the package protection level setting.
For more information, please see:
http://social.technet.microsoft.com/Forums/sqlserver/en-US/e13c137c-1535-4475-8c2f-c7e6e7d125fc/how-do-i-troubleshoot-ssis-packages-failed-execution-in-a-sql-agent-job?forum=sqlintegrationservices.
Regards,
Mike Yin
TechNet Community Support
Maybe you are looking for
-
Manged Property based on calculated column
Hi, I set a refiner based on a managed property. the managed property is mapped to the crawled property which is based on a document library calculated column with a formula: ="In Process" . In refinement panel i see string;#In Process instead of jus
-
It scrolls about 1 line for every 5 notches I turn the scroll wheel. I have to either use the scroll bar or the arrow keys. All other programs like Internet Explorer and Word, Photoshop, etc. scroll normally with the scroll wheel. Currently I am usin
-
How to use SQL*Loader to load XMLType Column with other columns?
Hi, I am trying to use sqlldr to load an XML file into a table with an XMLType column. I have found plenty of examples where the entire table is an xmltype, but I would like to load many XML objects into a generic table for processing with one XMLTyp
-
Previous button always highlighted
My iTunes player is getting on my nerves. For some reason, the Previous Button is always highlighted. So whenever I press the spacebar, it does not stop the player, but it rewinds the song to the beginning. How do I get this **** button to un-high
-
RMS -- Getting the RecordId of the Current Record
Hello, I need to get the current record Id from recordStore so I can update a count field. Here is the code that updates the count field. // member vars to hold RMS stuff private RecordStore rs; private RecordEnumeration re; private ByteArrayOutputSt