ORA-00942 Error when trying to deploy a mapping in Paris
Hey all,
I am encountering a "Table or view does not exist" and "SQL Statement Ignored" Error when I deploy a mapping. I have granted all the necessary privileges for each schema but still keep getting the errors, hence the deployment remains invalid. Any thoughts on why this is happening?
The situation is I have created a mapping that maps data from an external table in the source module to a staging table in the staging module, and besides the regular column length and data type mismatch warning, the mapping is valid. The problem is not being able to deploy this mapping.
Any feedback would be appreciated. Thanks.
Did you register your target schema with the WB repository? I found that this happened to me sometimes when I forgot to do that.
HTH,
--oswaldo
[osantos]
Similar Messages
-
Ora 12154 error when trying to add a database to VS Server Explorer
Hi Everyone,
I get the Ora 12154 error when trying to add a database to VS Server Explorer.
How do I get around this problem.
The database service is running and I can connect to the database with pl/sql.
I can also tnsping the database and that is also ok.
Looks like a problem with the odp.net software.
I am running the 32 bit Oracle 11g on a Windows7 Home Premium 64 bit PC.
I am new to this stuff so please help me step by step.
Thanks.
EmadHi J. B.
I have a question related to this. After you told me about the //host:1521/database alias I tried it in a VB 2008 program and it worked and returned data. At least I know that it can be used in a VB program without issues. I just now need to be able to add a connection with the Server Explorer.
Anyway here is the VB coding I used. I'm new to this and still learning:
Imports Oracle.DataAccess.Client ' Visual Basic ODP.NET Oracle managed provider
Public Class Form1
' String to connect to the database.
Dim strConnectionString As String = _
"Data Source=//emad-pc:1521/emadeva;User ID=scott;Password=tiger;" '
' Associate the connection string with a connection object.
Dim objOracleConnection As New OracleConnection(strConnectionString)
' SQL query for returning data rows.
Dim strSqlQuery As String = _
"Select dname, deptno " & _
"From dept " & _
"Where deptno = 10" '
' Command object to make this query work.
Dim objOracleCommand As New OracleCommand(strSqlQuery, objOracleConnection)
Private Sub Form1_Load(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles MyBase.Load
' Identify what type of command is being used.
objOracleCommand.CommandType = CommandType.Text
Try
objOracleConnection.Open()
' Set up a Data Reader and load it with data.
Dim objOracleDataReader As OracleDataReader = _
objOracleCommand.ExecuteReader()
objOracleDataReader.Read()
' Convert the department number to a string.
lblDepartmentNumberFromOracle.Text = _
CStr(objOracleDataReader.Item("deptno"))
Catch ex As Exception
MessageBox.Show(ex.Message, "Error")
End Try
End Sub
End Class
I still want to thank you for the help you are providing.
Truly,
Emad -
Getting bad host error when trying to deploy simple web sample application
hi,
Can someone tell me why I'm getting this error when trying to deploy the simple web application from samples
This is what it said:
deploy_common:
[echo] Deploying ../assemble/war/webapps-simple.war.
[exec] java.net.MalformedURLException: Bad host: station_1
thanksHi,
Another update on this issue.
To remove the error that we were getting (java.lang.LinkageError: Class javax/xml/transform/Source violates loader constraints), we tried some searching around and found out that the way to fix it is to provide correct versions of xalan.jar, xml-apis.jar and xercesImpl.jar. We downloaded the required version from the apache site and added it to our WEB-INF/lib folder in the WAR file.
Now, we are getting this error:
XPathFactory#newInstance() failed to create an XPathFactory for the default object model: http://java.sun.com/jaxp/xpath/dom with the XPathFactoryConfigurationException: javax.xml.xpath.XPathFactoryConfigurationException: No XPathFctory implementation found for the object model: http://java.sun.com/jaxp/xpath/dom
What else we might be missing in our libs or do we need to check some other configurations?
Any help on this would be much appreciated.
Thanks,
Gaurav -
A report that uses tablix returns error when trying to deploy to Report Server 2005
We have some reports that have been built using tablixes, and tested in a 2008 Report Server. When trying to deploy to Report Server 2005 (don't ask why) we get an error saying
The report definition is not valid. Details: The element 'ReportItems' in namespace 'XXXXXX' has invalid child element 'Tablix'
So.. what is the issue? I guess 2005 does not support tablixes.. And we cannot upgrade the server version. So the real question is.. is there a workaround for this to avoid having to remake those reports for 2005??
Thanks!
Juan Pablo Realini .Net Developer in developement, musician, Star Wars fan, married, father of 2 1/2Hi Shei Pi,
Unfortunately Microsoft provide upgrade option only, not downgrade .
SSRS 2005 report can be seen in 2008.. but 2008 report cant seen in 2005.
One guy created the utility which is paid, to convert the report from 2008 version to 2005.
You can see similar thread in MSDN here, you can find the paid utility link also for this issue.
https://social.msdn.microsoft.com/forums/sqlserver/en-US/bc5fbe11-531a-4a9d-861f-24625a9f4599/converting-rdl-file-of-ssrs-2008-to-ssrs-2005
Thanks
Prasad -
Error when trying to deploy Async Binary Update Sample
Hi,
I have installed WLI 8.5 in linux machine,
When trying to deploy the AsyncBinaryUpdate sample provided at http://edocs.bea.com/wli/download_samples/index.html), i
get error.
I am following as per the instructions in the readme of the sample. I am able to successfully create domain and build the sample but Error occurs at the step of deployment of sample ie when the cmd 'ant deploy' is done.
Error message is given below . Any help on this will be appreciated.
create_jmsqs:
[java] Connecting ....
[java] Connecting to weblogic server instance running at t3://localhost:7001 as username weblogic ...
[java] Successfully connected to Admin Server 'cgServer' that belongs to domain 'acmeintg'.
[java] Traceback (innermost last):
[java] File "genqueues.py", line 199, in ?
[java] File "genqueues.py", line 179, in main
[java] IndexError: index out of range: 0
[java] Server ==
BUILD FAILED
file:/home/appadurai/WLI_Samples/AsyncBinSample/scripts/build.xml:158: Java returned: -1Hi,
I have installed WLI 8.5 in linux machine,
When trying to deploy the AsyncBinaryUpdate sample provided at http://edocs.bea.com/wli/download_samples/index.html), i
get error.
I am following as per the instructions in the readme of the sample. I am able to successfully create domain and build the sample but Error occurs at the step of deployment of sample ie when the cmd 'ant deploy' is done.
Error message is given below . Any help on this will be appreciated.
create_jmsqs:
[java] Connecting ....
[java] Connecting to weblogic server instance running at t3://localhost:7001 as username weblogic ...
[java] Successfully connected to Admin Server 'cgServer' that belongs to domain 'acmeintg'.
[java] Traceback (innermost last):
[java] File "genqueues.py", line 199, in ?
[java] File "genqueues.py", line 179, in main
[java] IndexError: index out of range: 0
[java] Server ==
BUILD FAILED
file:/home/appadurai/WLI_Samples/AsyncBinSample/scripts/build.xml:158: Java returned: -1 -
ORA-01552 Error when trying to import data
I get the following error when trying to import data into my database. My version is as follows:
Oracle9i Enterprise Edition Release 9.2.0.6.0 - Production
PL/SQL Release 9.2.0.6.0 - Production
CORE 9.2.0.6.0 Production
TNS for Solaris: Version 9.2.0.6.0 - Production
NLSRTL Version 9.2.0.6.0 - Production
and I get the following error:
ORA-01552: cannot use system rollback segment for non-system tablespace
Any help would be appreciated.
Also when I upgraded my database I received the following error message but continued without fixing:
Warnings Ignored: Your database is using US7ASCII as the NCHAR type. In Oracle9i, the NCHAR datatypes (NCHAR, NVARCHAR2, and NCLOB) are limited to the Unicode character set encoding (UTF8 AND AL16UTF16) only. Refer to the Oracle 9i Database Upgrade Guide to change NCHAR columns in user tables to one of the supported types.
Can I fix this via an sql statement or what?Hi, i think that the problem is around the rollback segments.The solution is bring other rollback segments ONLINE state, if not exist others rollbackup,then you need create the other rollback segments and bring online state.
If you need more information, you will must see the next DOC-ID on Metalink site,
Note:121971.1
Luck.
Have a good day.
Regards. -
Schema doesn't belong to the control center when trying to deploy a mapping
I tried to deploy a mapping to a locale environment where OWB is installed on the same instance than the source and target environment. Then I tried to deploy the same objects to another instance on another machine.
It appears that when trying to compile the package, the following function contains objects that doesn't exist in the db: FUNCTION Main(p_env IN WB_RT_MAPAUDIT.WB_RT_NAME_VALUES) RETURN NUMBER;
Does anyone have a solution?
Laurent.
Message was edited by:
user523812Hi Laurent.
To create a runtime repository, you must run "OWB Runtime Assistant", installed togheter with OWB Client. Go to Start -> Programs -> Oracle - OWB_HOME -> Warehouse Builder -> OWB Runtime Assistant.
But if I understood you correctly... are you able to deploy objects such as dimensions and tables but you cannot deploy your mappings? Is that true?
Read the "Implementing a Remote Runtime" section in OWB install guide. Maybe you can find some pointers there.
Regards,
Marcos -
ORA-00604 error when trying to insert into a XMLTYPE stored as BINARY
Hi. Here's the scenario.
Here's my Oracle version:
Oracle Database 11g Enterprise Edition Release 11.1.0.7.0 - 64bit Production
With the Partitioning, OLAP, Data Mining and Real Application Testing options
The database is encoded as AL32UTF8.
First I create the table...
create table binary_table (the_field XMLTYPE) XMLTYPE COLUMN the_field STORE AS BINARY XML;
Now I try and do an insert like this...
insert into binary_table values (xmltype('<?xml version="1.0" encoding="AL32UTF8"?>' || chr(10) || '<a>b</a>' || chr(10)));
and I get this error:
SQLState: 60000
ErrorCode: 604
Position: 122
Error: ORA-00604: error occurred at recursive SQL level 1
ORA-00942: table or view does not exist
If I create the table with a CLOB storage option for the XMLTYPE, the insert works fine. If I repeat these steps in another database instance, same Oracle version, that's encoded as WE8ISO8859P1, it also works fine. It behaves the same in several clients. I also tried it with several different values for NLS_LANG and that didn't help.
I do want to say that this database instance has just been set up especially for me so I can do some R&D on AL32UTF8 and XMLTYPE to see if it fits our needs. So it might be a problem with the database instance.
Thanks for taking a look at this.
Ralph
Edited by: stryder100 on Jul 24, 2009 12:11 PMHi,
Use this
Load data
append Into TABLE HS_HRMIG_EMP_PER_20MAR07 fields terminated by "," optionally enclosed by '"'
TRAILING NULLCOLS.
Here optional enclosed by is for doubles quotes which should needs to place in single quotes.
like '"'.
try with this.
--Basava.S -
Getting ora-01092 and ora-00600 error when trying to startup database
hi friends,plz help me i am in serious problem i dont know what happen to my database oracle 11g R2 when trying to startup it
its showing the below error
SQL> startup
ORA-32004: obsolete or deprecated parameter(s) specified for RDBMS instance
ORACLE instance started.
Total System Global Area 7482626048 bytes
Fixed Size 2214416 bytes
Variable Size 4697622000 bytes
Database Buffers 2751463424 bytes
Redo Buffers 31326208 bytes
Database mounted.
ORA-01092: ORACLE instance terminated. Disconnection forced
ORA-00600: internal error code, arguments: [12620], [6], [7], [], [], [], [],
Process ID: 18088
Session ID: 96 Serial number: 3This seems to be a Jumbo issue. Either you have to open a Service Request(SR) to oracle or you have to uninstall and again install the oracle DB to solve this ISSUE
Regards
cks
Edited by: 874782 on Jan 17, 2012 2:58 PM -
ORA-00942 error when exporting db
Hi,
Has anyone encountered the following error before? Kindly help.
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
EXP-00008: ORACLE error 942 encountered
ORA-00942: table or view does not exist
EXP-00024: Export views not installed, please notify your DBA
EXP-00000: Export terminated unsuccessfully
My exp parameters are full=y grants=y indexes=y rows=yHi,
I have executed catexp.sql but when I run the exp it produced the ff error:
Connected to: Oracle9i Enterprise Edition Release 9.2.0.7.0 - Production
With the Partitioning, OLAP and Oracle Data Mining options
JServer Release 9.2.0.7.0 - Production
Export done in WE8MSWIN1252 character set and AL16UTF16 NCHAR character set
About to export the entire database ...
. exporting tablespace definitions
. exporting profiles
. exporting user definitions
. exporting roles
. exporting resource costs
. exporting rollback segment definitions
. exporting database links
. exporting sequence numbers
. exporting directory aliases
. exporting context namespaces
. exporting foreign function library names
. exporting PUBLIC type synonyms
. exporting private type synonyms
. exporting object type definitions
. exporting system procedural objects and actions
. exporting pre-schema procedural objects and actions
EXP-00008: ORACLE error 21779 encountered
ORA-21779: duration not active
ORA-06512: at "SYS.DBMS_AW", line 106
ORA-06512: at "SYS.DBMS_AW", line 222
ORA-06512: at "SYS.DBMS_AW_EXP", line 264
ORA-06512: at line 1
EXP-00083: The previous problem occurred when calling SYS.DBMS_AW_EXP.schema_info_exp
. exporting cluster definitions
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
ORA-06512: at "SYS.DBMS_METADATA", line 836
ORA-06512: at line 1
EXP-00056: ORACLE error 31600 encountered
ORA-31600: invalid input value EMIT_SCHEMA for parameter NAME in function SET_TRANSFORM_PARAM
ORA-06512: at "SYS.DBMS_SYS_ERROR", line 105
ORA-06512: at "SYS.DBMS_METADATA_INT", line 3926
ORA-06512: at "SYS.DBMS_METADATA_INT", line 4050
ORA-06512: at "SYS.DBMS_METADATA", line 836
ORA-06512: at line 1
EXP-00000: Export terminated unsuccessfully -
When I try to install and configure the Oracle JDriver v.2.0 to work with Commerce
Server 3.5 SP1 and WebLogic Server 6.0 SP2, on starting up the commerce server,
I get the exceptions that follow this message. I cannot run the dbping utility
because it says it cannot find the BEA license file to verify that JDriver is
licensed for use. I looked over previous discussion threads on this particular
Oracle error, and the problem in the previous cases appears to have been use of
the wrong TNS name. I am referencing the same TNS name that is in my server's
tnsnames.ora file. I can connect to the database using SQLNet and the same connection
parameters that I have set up in weblogic. My Oracle home directory is set to
the directory just above the client install. I am trying to configure Commerce
Server on a Sun SPARC system running Solaris 8. Any help would be greatly appreciated.
Thanks,
Jon Morgan
---------- LOGIN ERROR CODE: 24327
java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
(WEBLOGIC/********@ARBR.intelixinc)
at weblogic.db.oci.OciConnection.getLDAException(OciConnection.java:161)
at weblogic.jdbcbase.oci.Driver.connect(Driver.java:92)
at com.beasys.commerce.axiom.contact.security.RDBMSDelegate.init(RDBMSDe
legate.java:194)
at com.beasys.commerce.axiom.contact.security.RDBMSDelegate.<init>(RDBMS
Delegate.java:139)
at com.beasys.commerce.axiom.contact.security.RDBMSDelegate$DFactory.get
Instance(RDBMSDelegate.java:975)
at com.beasys.commerce.util.Pool.<init>(Pool.java:37)
at com.beasys.commerce.axiom.contact.security.RDBMSRealm.<init>(RDBMSRea
lm.java:127)
at java.lang.Class.newInstance0(Native Method)
at java.lang.Class.newInstance(Class.java:237)
at weblogic.security.acl.Realm.getRealm(Realm.java:84)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:265)
at weblogic.security.SecurityService.initialize(SecurityService.java:123
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
<Aug 7, 2001 11:50:29 AM EDT> <Emergency> <Server> <Unable to initialize the ser
ver: 'Fatal initialization exception
Throwable: java.lang.IllegalAccessError: com.beasys.commerce.axiom.contact.secur
ity.RDBMSException: realm initialization failed, action 'Driver.connect', - wit
h nested exception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
java.lang.IllegalAccessError: com.beasys.commerce.axiom.contact.security.RDBMSEx
ception: realm initialization failed, action 'Driver.connect', - with nested
ex
ception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:265)
at weblogic.security.SecurityService.initialize(SecurityService.java:123
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
'>
The WebLogic Server did not start up properly.
Exception raised: java.lang.IllegalAccessError: com.beasys.commerce.axiom.contac
t.security.RDBMSException: realm initialization failed, action 'Driver.connect',
- with nested exception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
java.lang.IllegalAccessError: com.beasys.commerce.axiom.contact.security.RDBMSEx
ception: realm initialization failed, action 'Driver.connect', - with nested
ex
ception:
[java.sql.SQLException: Error while trying to retrieve text for error ORA-24327
- (WEBLOGIC/********@ARBR.intelixinc)]
at weblogic.security.acl.Realm.getRealm(Realm.java:91)
at weblogic.security.acl.Realm.getRealm(Realm.java:62)
at weblogic.security.SecurityService.initializeRealm(SecurityService.jav
a:265)
at weblogic.security.SecurityService.initialize(SecurityService.java:123
at weblogic.t3.srvr.T3Srvr.initialize(T3Srvr.java:343)
at weblogic.t3.srvr.T3Srvr.run(T3Srvr.java:169)
at weblogic.Server.main(Server.java:35)
Reason: Fatal initialization exceptionWrong Forum, you want the APEX LISTENER support forum, this is the APEX support forum..
Thank you,
Tony Miller
LuvMuffin Software -
Error when trying to deploy ADF application in Java Cloud Service - SaaS Extension
Hello guys,
I'm trying to deploy a simple ADF application in "Oracle Java Cloud Service - SaaS Extension" and i'm still having the error below
The job turns to Failed at "Deploy Application" step:
Did someone already got this error ?
Thanks at advance
Sid
2014-12-10 11:06:20 PST: Starting action "Deploy Application"
2014-12-10 11:06:20 PST: Deploy Application started
2014-12-10 11:06:28 PST: weblogic.application.ModuleException: weblogic.application.ModuleException:
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1531)
at weblogic.servlet.internal.WebAppModule.start(WebAppModule.java:488)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.ScopedModuleDriver.start(ScopedModuleDriver.java:200)
at weblogic.application.internal.flow.ModuleListenerInvoker.start(ModuleListenerInvoker.java:247)
at weblogic.application.internal.flow.ModuleStateDriver$3.next(ModuleStateDriver.java:425)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.flow.ModuleStateDriver.start(ModuleStateDriver.java:119)
at weblogic.application.internal.flow.StartModulesFlow.activate(StartModulesFlow.java:27)
at weblogic.application.internal.BaseDeployment$2.next(BaseDeployment.java:671)
at weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:52)
at weblogic.application.internal.BaseDeployment.activate(BaseDeployment.java:212)
at weblogic.application.internal.SingleModuleDeployment.activate(SingleModuleDeployment.java:44)
at weblogic.application.internal.DeploymentStateChecker.activate(DeploymentStateChecker.java:161)
at weblogic.deploy.internal.targetserver.AppContainerInvoker.activate(AppContainerInvoker.java:80)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.activate(AbstractOperation.java:573)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.activateDeployment(ActivateOperation.java:150)
at weblogic.deploy.internal.targetserver.operations.ActivateOperation.doCommit(ActivateOperation.java:116)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.commit(AbstractOperation.java:327)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleDeploymentCommit(DeploymentManager.java:844)
at weblogic.deploy.internal.targetserver.DeploymentManager.activateDeploymentList(DeploymentManager.java:1253)
at weblogic.deploy.internal.targetserver.DeploymentManager.handleCommit(DeploymentManager.java:440)
at weblogic.deploy.internal.targetserver.DeploymentServiceDispatcher.commit(DeploymentServiceDispatcher.java:163)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.doCommitCallback(DeploymentReceiverCallbackDeliverer.java:195)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer.access$100(DeploymentReceiverCallbackDeliverer.java:13)
at weblogic.deploy.service.internal.targetserver.DeploymentReceiverCallbackDeliverer$2.run(DeploymentReceiverCallbackDeliverer.java:68)
at weblogic.work.SelfTuningWorkManagerImpl$WorkAdapterImpl.run(SelfTuningWorkManagerImpl.java:545)
at weblogic.work.ExecuteThread.execute(ExecuteThread.java:256)
at weblogic.work.ExecuteThread.run(ExecuteThread.java:221)
Caused by: java.security.AccessControlException: access denied ("java.net.NetPermission" "specifyStreamHandler")
at java.security.AccessControlContext.checkPermission(AccessControlContext.java:372)
at java.security.AccessController.checkPermission(AccessController.java:559)
at java.lang.SecurityManager.checkPermission(SecurityManager.java:549)
at java.net.URL.checkSpecifyHandler(URL.java:649)
at java.net.URL.<init>(URL.java:373)
at weblogic.application.io.MergedDescriptorFinder.getSource(MergedDescriptorFinder.java:46)
at weblogic.application.io.DescriptorFinder.getSource(DescriptorFinder.java:44)
at weblogic.utils.classloaders.MultiClassFinder.getSource(MultiClassFinder.java:67)
at weblogic.application.utils.CompositeWebAppFinder.getSource(CompositeWebAppFinder.java:71)
at weblogic.servlet.internal.War$ResourceFinder.getSource(War.java:1213)
at weblogic.servlet.internal.War$ResourceFinder.getSource(War.java:1203)
at weblogic.servlet.internal.War.getResourceAsSource(War.java:512)
at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppServletContext.java:3436)
at weblogic.servlet.internal.WebAppServletContext.getResourceAsSource(WebAppServletContext.java:3427)
at weblogic.servlet.internal.WebAppServletContext.getResourceAsStream(WebAppServletContext.java:872)
at com.sun.faces.config.ConfigureListener$WebXmlProcessor.scanForFacesServlet(ConfigureListener.java:805)
at com.sun.faces.config.ConfigureListener$WebXmlProcessor.<init>(ConfigureListener.java:768)
at com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:178)
at weblogic.servlet.internal.EventsManager$FireContextListenerAction.run(EventsManager.java:481)
at weblogic.security.acl.internal.AuthenticatedSubject.doAs(AuthenticatedSubject.java:321)
at weblogic.security.service.SecurityManager.runAs(SecurityManager.java:120)
at weblogic.servlet.internal.EventsManager.notifyContextCreatedEvent(EventsManager.java:181)
at weblogic.servlet.internal.WebAppServletContext.preloadResources(WebAppServletContext.java:1871)
at weblogic.servlet.internal.WebAppServletContext.start(WebAppServletContext.java:3173)
at weblogic.servlet.internal.WebAppModule.startContexts(WebAppModule.java:1529)
2014-12-10 11:06:28 PST: WL action state: failed
2014-12-10 11:06:28 PST: Action FAILED with WL action state: failed
2014-12-10 11:06:28 PST: Check the server log of your Java cloud service for more info about the failure.
2014-12-10 11:06:28 PST: Application deployment failed.
2014-12-10 11:06:28 PST: "Deploy Application" complete: status FAILEDThe Application does nothing, it's just a simple page (the button does nothing too) the aim is to deploy a jsf page with ADF forms.
The deployment log is on the first message.
I'm using Jdeveloper and i note the Jdev inserts some servlets into the web.xml file ! is it possible that the probleme is related to this ? (below the web.xml file)
Sid
<?xml version = '1.0' encoding = 'windows-1252'?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
version="2.5">
<servlet>
<servlet-name>Faces Servlet</servlet-name>
<servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet>
<servlet-name>resources</servlet-name>
<servlet-class>org.apache.myfaces.trinidad.webapp.ResourceServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<servlet-class>oracle.adf.view.faces.bi.webapp.GraphServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>BIGAUGESERVLET</servlet-name>
<servlet-class>oracle.adf.view.faces.bi.webapp.GaugeServlet</servlet-class>
</servlet>
<servlet>
<servlet-name>MapProxyServlet</servlet-name>
<servlet-class>oracle.adf.view.faces.bi.webapp.MapProxyServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>Faces Servlet</servlet-name>
<url-pattern>/faces/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/adf/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/afr/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGRAPHSERVLET</servlet-name>
<url-pattern>/servlet/GraphServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>BIGAUGESERVLET</servlet-name>
<url-pattern>/servlet/GaugeServlet/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>MapProxyServlet</servlet-name>
<url-pattern>/servlet/mapproxy/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>resources</servlet-name>
<url-pattern>/bi/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>trinidad</filter-name>
<filter-class>org.apache.myfaces.trinidad.webapp.TrinidadFilter</filter-class>
</filter>
<filter>
<filter-name>ServletADFFilter</filter-name>
<filter-class>oracle.adf.share.http.ServletADFFilter</filter-class>
</filter>
<filter-mapping>
<filter-name>trinidad</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
<dispatcher>ERROR</dispatcher>
</filter-mapping>
<filter-mapping>
<filter-name>ServletADFFilter</filter-name>
<servlet-name>Faces Servlet</servlet-name>
<dispatcher>FORWARD</dispatcher>
<dispatcher>REQUEST</dispatcher>
</filter-mapping>
<context-param>
<param-name>javax.faces.STATE_SAVING_METHOD</param-name>
<param-value>client</param-value>
</context-param>
<context-param>
<param-name>javax.faces.PARTIAL_STATE_SAVING</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>If this parameter is true, there will be an automatic check of the modification date of your JSPs, and saved state will be discarded when JSP's change. It will also automatically check if your skinning css files have changed without you having to restart the server. This makes development easier, but adds overhead. For this reason this parameter should be set to false when your application is deployed.</description>
<param-name>org.apache.myfaces.trinidad.CHECK_FILE_MODIFICATION</param-name>
<param-value>false</param-value>
</context-param>
<context-param>
<description>Whether the 'Generated by...' comment at the bottom of ADF Faces HTML pages should contain version number information.</description>
<param-name>oracle.adf.view.rich.versionString.HIDDEN</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<description>Security precaution to prevent clickjacking: bust frames if the ancestor window domain(protocol, host, and port) and the frame domain are different. Another options for this parameter are always and never.</description>
<param-name>org.apache.myfaces.trinidad.security.FRAME_BUSTING</param-name>
<param-value>differentOrigin</param-value>
</context-param>
<context-param>
<param-name>javax.faces.VALIDATE_EMPTY_FIELDS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>oracle.adf.view.rich.geometry.DEFAULT_DIMENSIONS</param-name>
<param-value>auto</param-value>
</context-param>
<context-param>
<param-name>oracle.adf.view.rich.SYNCROWS</param-name>
<param-value>enable</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_SKIP_COMMENTS</param-name>
<param-value>true</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_DECORATORS</param-name>
<param-value>oracle.adfinternal.view.faces.facelets.rich.AdfTagDecorator</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_RESOURCE_RESOLVER</param-name>
<param-value>oracle.adfinternal.view.faces.facelets.rich.AdfFaceletsResourceResolver</param-value>
</context-param>
<context-param>
<param-name>javax.faces.FACELETS_VIEW_MAPPINGS</param-name>
<param-value>*.jsf;*.xhtml</param-value>
</context-param>
<mime-mapping>
<extension>swf</extension>
<mime-type>application/x-shockwave-flash</mime-type>
</mime-mapping>
<mime-mapping>
<extension>amf</extension>
<mime-type>application/x-amf</mime-type>
</mime-mapping>
<listener>
<listener-class>oracle.adf.mbean.share.config.ADFConfigLifeCycleCallBack</listener-class>
</listener>
<login-config />
</web-app> -
Security problem? (ORA-00942 error when creating procedure)
First, in SQL*Plus connect as system user:
SQL>connect system/oracle
Then, create table proctest for user scott and insert records:
SQL>create table scott.proctest ( name varchar2(10)) ;
SQL>insert into scott.proctest values ( 'bigboy' ) ;
SQL>select * from scott.proctest ;
NAME
bigboy
Then, create procedure testproc for user system using table scott.proctest:
SQL>CREATE OR REPLACE PROCEDURE testproc AS
2 v_name VARCHAR2(10) ;
3 BEGIN
4 SELECT Name INTO v_name FROM scott.proctest WHERE rownum < 2 ;
5 DBMS_OUTPUT.PUT_LINE( 'Name: ' || v_name ) ;
6 END ;
7 /
Then, errs report:
SQL>show err;
LINE/COL ERROR
4/2 PL/SQL: SQL
4/2 PL/SQL: SQL Statement ignored
4/37 PL/SQL: ORA-00942: Table or view does not exist
Then, explicitly grant select privilege on proctest to system:
SQL>grant select on scott.proctest to system ;
And at this time compile the above precedure again, there's no errors.
I have got some instruction that if a procedure wants to use some table,
the owner of this procedure has to have corresponding privileges to use this table and
these privileges have to be granted directly to the user. It doesn't work if
the privileges are granted i.e. through roles.
And in the example above the user has select on scott.proctest privilege but
this privilege is granted through DBA role. So it doesn't work if
I do not explicitly grant select privilege to system.
My question is:
Why does Oracle define this rule? Is it a kind of security consideration?Since stored procedures rely on privileges that are granted directly to the user, Oracle only needs to re-validate stored procedures when direct grants to the schema owner change. In general, the rate at which the privileges assigned to roles are changed is much higher than the rate at which privileges assigned to a particular user are changed, so this cuts down on on the cost of revalidating procedures.
More importantly, Oracle roles can be assigned to users, but a user can also have non-default roles and password-protected roles. If Oracle allowed privileges through roles to affect the privileges of a stored procedure, handling these sorts of cases would be quite difficult and would result in far more confusion than in today's implementation.
Justin
Distributed Database Consulting, Inc.
http://www.ddbcinc.com/askDDBC -
Getting error when trying to deploy the SQL project after making some changes
I’m getting the below error message, when I’m trying to deploy the project by making some changes.
In detail, The project was deployed successfully at first time. Later I did some changes(Added 1 more table) and I tried to deploy, but it was not sucess. I'm getting the below error message
Error message:Cannot upgrade the DAC for database CTR_FIN_FINNOTE_DB because the compatibility level is 70 or lower. Alter the database to support a compatibility level of 80 or higher
I checked in SQL, the compatibility level is 110 which is higher than 70.
Can any one help me out to overcome with this.
Regards
Sk.Try to uninstall you application and then deploy again with the new changes.
jdweng -
Getting OERR: ORA 12705 error when trying to connect.
I have tomcat running on red hat and I'm trying to connect to a remote server running Oracle 10g using a thin driver. But I keep getting this error when I try to connect. I've tried setting NLS_LANG=AMERICAN_AMERICA.UTF8, NLS_LANG=AMERICAN_AMERICA.US7ASCII, and NLS_LANG=.
I'm not doing any ALTER SESSIONS. I wrote a test app and all it does is connect and does 1 simple select query.Unset it on the client and try again.
Also see if Note:294104.1 will help you
Maybe you are looking for
-
Darstellung von Mails in PDF aus Acrobat 9
Hallo, seit der Umstellung auf Windows 7 funktioniert die Erstellung von PDFs aus E-Mails nicht mehr korrekt. Das PDF wird wie folgt angezeigt: Eine Reparatur und ein Deinstallieren mit anschließender Neuinstallation brachte leider keinen Erfolg. Wer
-
Belle: No WLAN and Packet Data log.Filter options ...
In Nokia N8, with Symbian Anna, WLAN and Packet Data logging wasn't possible, even though there were options in the log filtering settings. See below: http://i44.tinypic.com/9kxbfa.png After updating to Belle, log isn't still working, and both WLAN a
-
Facing issues while executing LDAPBind command in Unix
Dear All, We are trying to invoke a shell script from PeopleCode(which is having the ldapbind command) through exec command. We are able to invoke the shell script but the ldapbind command fails to execute. It throws the below error +"/usr/bin/ldapbi
-
How achieve highest playback quality from shared iMovie HDV Project?
I have a Sony HDR-HC9 1080i HDV tape camcorder and I am able to play back HD video to either a Mac computer or to a Panasonic Full HD 1080p TV. Playback quality of unedited HD holiday video footage to TV using HDMI cable and to the computer via Firew
-
Facebook does not appear in my social accounts subscriptions
In the new Safari 8, there is a left sidebar for bookmarks, reading list, and subscriptions. On the subscriptions tab I can see my LinkedIn and Twitter feeds but not my Facebook feed. When I click on the Subscriptions button I see the two accounts li