Facing error while exporting a table from command prompt.
Hi Everyone,
Please see the below error and suggest me what to do? My database is 11g.
SQL> connect system/manager;
Connected.
SQL> expdp scott directory=test_dir dumpfile=scott.dmp tables=emp;
SP2-0734: unknown command beginning "expdp scot..." - rest of line ignored.Regards,
BS2012.
Edited by: BS2012 on Apr 29, 2013 1:57 PM
BS2012 wrote:
Hi Jeneesh,
Thanks for correcting me. I've never done import and export before. if I'll have to do that from sqlplus then what should I write?
Regards,
BS2012.Could you explain your business requirements?
You cannot do export/import as it is from sqlplus...
You may be able to write pl/sql code using DBMS_DATAPUMP package..
Explain your requirements, people will be able to help..
Similar Messages
-
Error while executing ODI scenario from command prompt
Hi all,
I am trying to execute a scenario of a package( that I have created in designer) in OS command prompt in Windows in the following way-
C:\ODIHOME\oracledi\bin>Startscen DIM_TECHNOLOGY_PACKAGE 001 Global LEVEL5
However I am getting the following message:-
OracleDI: Starting scenario DIM_TECHNOLOGY_PACKAGE 001 in context Global ...
com.sunopsis.core.SnpsInexistantObjectException: SnpScen.getScenarioByCodeAndVer
sion ; SnpScen does not exist
at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.j
ava)
at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
io.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.t(e.java)
at com.sunopsis.dwg.cmd.e.y(e.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
com.sunopsis.core.SnpsInexistantObjectException: SnpScen.getScenarioByCodeAndVer
sion ; SnpScen does not exist
at com.sunopsis.dwg.dbobj.SnpScen.getScenarionByCodeAndVersion(SnpScen.j
ava)
at com.sunopsis.dwg.cmd.DwgCommandScenario.b(DwgCommandScenario.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
io.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.prepare(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.t(e.java)
at com.sunopsis.dwg.cmd.e.y(e.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
Please tell me what can be the possible reason?
Thanks in advance
PBHi PB ,
Use the following syntax
C:\ODIHOME\oracledi\bin>startscen DIM_TECHNOLOGY_PACKAGE 001 <CONTEXT_CODE> "-v=5"
Also make sure that the repository connection details are all correct before running scenario via startscen script
Thanks,
Sutirtha
Edited by: Sutirtha Roy on May 14, 2010 12:18 PM -
Error while exporting a table - EXP-00091
I am doing an export of a table. The table has 1000838 rows. After the export is completed,
when I checked the log - it said
Connected to: Oracle9i Enterprise Edition Release 9.2.0.4.0 - 64bit Production
With the Partitioning option
JServer Release 9.2.0.4.0 - Production
Export done in US7ASCII character set and AL16UTF16 NCHAR character set
About to export specified tables via Conventional Path ...
. . exporting table FIDA_LABEL 1000838 rows exported
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
EXP-00091: Exporting questionable statistics.
Export terminated successfully with warnings.
I looked in the Oracle error messages document and found this out ---
EXP-00091 Exporting questionable statistics
Cause: Export was able to export statistics, but the statistics may not be useable. The statistics are questionable because one or more of the following happened during export: a row error occurred, client character set or NCHARSET does not match with the server, a query clause was specified on export, only certain partitions or subpartitions were exported, or a fatal error occurred while processing a table.
Action: To export non-questionable statistics, change the client character set or NCHARSET to match the server, export with no query clause, or export complete tables. If desired, import parameters can be supplied so that only non-questionable statistics will be imported, and all questionable statistics will be recalculated.
And this how my export command looks like -
exp vincent/passphr query=\"where state in \(\'MD\',\'CA\',\'WI\'\)\" file=$EXPDIR/fida_label_9i.dmp tables=vincent.fida_label
log=$LOGDIR/fida_label_exp.log
Ofcourse, I am using the query clause because I really need to and it has always worked when we were in the Oracle 8i environment. We recently moved to the 9i. And this happens in this 9i version...
And I certainly do not want to specify the import parameters to ignore the questionable statistics as no changes are desired in that area...(my hands are tied..).
What could " a fatal error occurred while processing a table " mean? And how can this be traced and troubleshooted ? Or how can I find out if any row errors occurred ? And if required, how do I check the character sets and other likes ?? (I have no idea in this area)
Thanks. All I needed was to get around this error. Your suggesions/responses would be highly appreciatedWhat version of Oracle 9i are you using? Do you have a standard 'NLS_LANG' environment variable set on client's machines? Or do you set it to different values on different machines?
Here is one of way you could get around it.
Could you specify the export parameter 'STATISTICS=NONE' while exporting the table data?
Try this and see.
If this is successful, you could use the import utility as usual. You could always compute or estimate statistics on the table after import. -
Test Execution hangs while executing a test from Command prompt option
I have done the following
1) Created a script Test driver
2) Added different scripts as Script->Properties->Assets to the driver script
3) Call each of this asset script from TestDriver using command getScript("<<ScrptName>>".run(1, true, true, true);
4) Now calling this TestDriver script from command prompt with command
e:\\OracleATS\\agent
runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriver
TestDriver.jwg
The script execution hangs at "Initializing VU 1 for Script TestDriver. After few mintues of seeing this message i get error "Execution Timed Out".
Do I need to keep openscript UI open for script execution from command line ?
Is there any way to increase this Execution Time out ? May be it is taking time to load the internal script assets. AS other scripts are running fine on the same machine from command prompt itself.
Complete error is as follows
C:\Documents and Settings\oracle>e:\\OracleATS\\agent\\runScript.bat E:\\INTEGRATION_SERVICES\\Identity_management\\Automation\\Scripts\\MasterScripts\\TestDriv
er\\TestDriver.jwg
Running "TestDriver" ...
Agent started. Available commands:
stop - Stop the virtual user after it finishes the current iteration.
abort - Abort the virtual user cleanly, before it finishes the current itera
tion.
exit - Terminate the process immediately
You may type the above commands at any time.
12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.utilities.api.UtilitiesService"
12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.browser.api.BrowserService"
12:17:53,418 INFO [1] Initialized script service "oracle.oats.scripting.modules.functionalTest.api.FunctionalTestService"
12:17:53,465 INFO [1] Initialized script service "oracle.oats.scripting.modules.webdom.api.WebDomService"
12:17:53,856 INFO [1] Initialized script service "oracle.oats.scripting.modules.datatable.api.DataTableService"
12:17:53,856 INFO [1] Initializing VU 1 for script TestDriver
Execution Timed Out.Hi e_raja_sekar,
You wrote:
public static void main(String args){should be
public static void main(String args[]){Granted, the below code was tested on Windows XP using J2SE SDK 1.4.1_02 (and not 1.2.2 like Sridhar is using), but when I compiled and executed this code:
public class BadMain {
public static void main(String args) {
System.out.println("Hello World");
}The output I got was:
Exception in thread "main" java.lang.NoSuchMethodError: mainSo I don't think this is Sridhar's problem (but I could be wrong) since he says that he gets no error message.
Cheers,
Avi. -
Error while importing the tables from MySQL using the data source connection
Hi,
I am trying to import tables from MySQL into Powerpivot using the data source connection, if use the import using the Query option its working fine but not with the select list of table option.
when i click on the select list of tables option, i get the below error after selecting all the tables to be imported:
OLE DB or ODBC error.
An error occurred while processing table 'XXXXXXXXXX'.
The current operation was cancelled because another operation in the transaction failed.Hi Bharat17an,
Please provide the detail information when create the MySQL connection in your PowerPivot model. Here is a good article regarding "how to Use MySQL and Microsoft PowerPivot Together" for your reference, please see:
http://www.datamensional.com/2011/09/how-to-use-mysql-and-microsoft-powerpivot-together-2/
If this issue still persists, please help to collection windows event log information. It maybe helpful for us to troubleshoot this issue.
Regards,
Elvis Long
TechNet Community Support -
Error while exporting/uploading taskflow from JDeveloper 11.1.1.6.0
Hi all,
From WebCenter Spaces Administration I downloaded a taskflow (mashup ->taskflow) as an .ear and imported it into JDeveloper.
I applied a few changes then right-clicked taskflow-definition.xml on the application navigator and picked "Upload portal resource to server".
JDeveloper crashes with an error, which I paste later.
JDeveloper will return a similar crash/error when exporting the taskflow as an EAR.
JDeveloper will work when uploading a skin (skin.css) to the very same server.
It is a brand new installation of JDeveloper with the addition of the components/scripts found in the DesignWebCenterSpaces_PS5.zip package.
I tried googling the errors and found no hits at all.
Your help would be greatly appreciated, thank you.
Here follow the errors,
When uploading to the server:
Performing action About[ from oracle.ide.navigator.ProjectNavigatorWindow ]
Invoking command: [ from oracle.ide.navigator.ProjectNavigatorWindow ]
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:09:41 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:09:41 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:09:56 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:09:56 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:10:56 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:10:56 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:14:01 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:14:01 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
Performing action Upload Portal Resource to server...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
May 10, 2012 7:14:03 PM oracle.webcenter.lifecycle.operation.ExportOperation doExport
SEVERE: Operation aborted because of an exception thrown by subunit (oracle.webcenter.lifecycle.siteresource.handler.InitializeUnit)
oracle.webcenter.lifecycle.LifecycleException
at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:168)
at oracle.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.initExport(SiteResourceLifecycleHandler.java:123)
at oracle.webcenter.lifecycle.siteresource.handler.InitializeUnit.doExport(InitializeUnit.java:83)
at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport(SiteResourceExportOperation.java:148)
at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport_DT(SiteResourceExportOperation.java:265)
at oracle.webcenter.lifecycle.LifecycleSiteResourceService.doExport_DT(LifecycleSiteResourceService.java:191)
at oracle.webcenter.portal.dt.appnav.SiteResourcesDTLifecycleHandler.doExport_DT(SiteResourcesDTLifecycleHandler.java:410)
at oracle.webcenter.portal.dt.appnav.PortalMenuController.handleUploadSiteRes(PortalMenuController.java:1225)
at oracle.webcenter.portal.dt.appnav.PortalMenuController.handleEvent(PortalMenuController.java:190)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.doExportForGivenScope(TaskFlowLifecycleHandler.java:200)
at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:164)
... 49 more
oracle.webcenter.lifecycle.LifecycleException
o.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:168)
o.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.initExport(SiteResourceLifecycleHandler.java:123)
o.webcenter.lifecycle.siteresource.handler.InitializeUnit.doExport(InitializeUnit.java:83)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport(SiteResourceExportOperation.java:148)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport_DT(SiteResourceExportOperation.java:265)
o.webcenter.lifecycle.LifecycleSiteResourceService.doExport_DT(LifecycleSiteResourceService.java:191)
o.webcenter.portal.dt.appnav.SiteResourcesDTLifecycleHandler.doExport_DT(SiteResourcesDTLifecycleHandler.java:410)
o.webcenter.portal.dt.appnav.PortalMenuController.handleUploadSiteRes(PortalMenuController.java:1225)
o.webcenter.portal.dt.appnav.PortalMenuController.handleEvent(PortalMenuController.java:190)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:357)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by:
java.lang.NullPointerException
o.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.doExportForGivenScope(TaskFlowLifecycleHandler.java:200)
o.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:164)
o.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.initExport(SiteResourceLifecycleHandler.java:123)
o.webcenter.lifecycle.siteresource.handler.InitializeUnit.doExport(InitializeUnit.java:83)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport(SiteResourceExportOperation.java:148)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport_DT(SiteResourceExportOperation.java:265)
o.webcenter.lifecycle.LifecycleSiteResourceService.doExport_DT(LifecycleSiteResourceService.java:191)
o.webcenter.portal.dt.appnav.SiteResourcesDTLifecycleHandler.doExport_DT(SiteResourcesDTLifecycleHandler.java:410)
o.webcenter.portal.dt.appnav.PortalMenuController.handleUploadSiteRes(PortalMenuController.java:1225)
o.webcenter.portal.dt.appnav.PortalMenuController.handleEvent(PortalMenuController.java:190)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:357)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
When exporting as an EAR file:
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:14:18 PM oracle.adf.share.logging.ADFLogger doLog
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:14:18 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:14:19 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl:May 10, 2012 7:14:19 PM oracle.webcenter.portalframework.genericsiteresources.internal.model.GenericSiteResourcesManagerImpl matchMDSResource
WARNING: Error in getting resource bundle : oracle.webcenter.webcenterapp.resource.WebCenterResourceBundle
Performing action Export Portal Resource...[ from oracle.ide.navigator.ProjectNavigatorWindow ]
May 10, 2012 7:14:30 PM oracle.webcenter.lifecycle.operation.ExportOperation doExport
SEVERE: Operation aborted because of an exception thrown by subunit (oracle.webcenter.lifecycle.siteresource.handler.InitializeUnit)
oracle.webcenter.lifecycle.LifecycleException
at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:168)
at oracle.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.initExport(SiteResourceLifecycleHandler.java:123)
at oracle.webcenter.lifecycle.siteresource.handler.InitializeUnit.doExport(InitializeUnit.java:83)
at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport(SiteResourceExportOperation.java:148)
at oracle.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport_DT(SiteResourceExportOperation.java:265)
at oracle.webcenter.lifecycle.LifecycleSiteResourceService.doExport_DT(LifecycleSiteResourceService.java:191)
at oracle.webcenter.portal.dt.appnav.SiteResourcesDTLifecycleHandler.doExport_DT(SiteResourcesDTLifecycleHandler.java:410)
at oracle.webcenter.portal.dt.appnav.PortalMenuController.handleExportSiteRes(PortalMenuController.java:1029)
at oracle.webcenter.portal.dt.appnav.PortalMenuController.handleEvent(PortalMenuController.java:186)
at oracle.ide.controller.IdeAction.performAction(IdeAction.java:529)
at oracle.ide.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
at oracle.ide.controller.IdeAction.actionPerformed(IdeAction.java:501)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
at javax.swing.AbstractButton.doClick(AbstractButton.java:357)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
at java.awt.Component.processMouseEvent(Component.java:6289)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3267)
at java.awt.Component.processEvent(Component.java:6054)
at java.awt.Container.processEvent(Container.java:2041)
at java.awt.Component.dispatchEventImpl(Component.java:4652)
at java.awt.Container.dispatchEventImpl(Container.java:2099)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)
at java.awt.Container.dispatchEventImpl(Container.java:2085)
at java.awt.Window.dispatchEventImpl(Window.java:2478)
at java.awt.Component.dispatchEvent(Component.java:4482)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:644)
at java.awt.EventQueue.access$000(EventQueue.java:85)
at java.awt.EventQueue$1.run(EventQueue.java:603)
at java.awt.EventQueue$1.run(EventQueue.java:601)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
at java.awt.EventQueue$2.run(EventQueue.java:617)
at java.awt.EventQueue$2.run(EventQueue.java:615)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:614)
at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by: java.lang.NullPointerException
at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.doExportForGivenScope(TaskFlowLifecycleHandler.java:200)
at oracle.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:164)
... 49 more
oracle.webcenter.lifecycle.LifecycleException
o.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:168)
o.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.initExport(SiteResourceLifecycleHandler.java:123)
o.webcenter.lifecycle.siteresource.handler.InitializeUnit.doExport(InitializeUnit.java:83)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport(SiteResourceExportOperation.java:148)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport_DT(SiteResourceExportOperation.java:265)
o.webcenter.lifecycle.LifecycleSiteResourceService.doExport_DT(LifecycleSiteResourceService.java:191)
o.webcenter.portal.dt.appnav.SiteResourcesDTLifecycleHandler.doExport_DT(SiteResourcesDTLifecycleHandler.java:410)
o.webcenter.portal.dt.appnav.PortalMenuController.handleExportSiteRes(PortalMenuController.java:1029)
o.webcenter.portal.dt.appnav.PortalMenuController.handleEvent(PortalMenuController.java:186)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:357)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)
Caused by:
java.lang.NullPointerException
o.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.doExportForGivenScope(TaskFlowLifecycleHandler.java:200)
o.webcenter.portalframework.genericsiteresources.model.lifecycle.TaskFlowLifecycleHandler.initSiteResourceExport(TaskFlowLifecycleHandler.java:164)
o.webcenter.lifecycle.siteresource.SiteResourceLifecycleHandler.initExport(SiteResourceLifecycleHandler.java:123)
o.webcenter.lifecycle.siteresource.handler.InitializeUnit.doExport(InitializeUnit.java:83)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport(SiteResourceExportOperation.java:148)
o.webcenter.lifecycle.siteresource.operation.SiteResourceExportOperation.doExport_DT(SiteResourceExportOperation.java:265)
o.webcenter.lifecycle.LifecycleSiteResourceService.doExport_DT(LifecycleSiteResourceService.java:191)
o.webcenter.portal.dt.appnav.SiteResourcesDTLifecycleHandler.doExport_DT(SiteResourcesDTLifecycleHandler.java:410)
o.webcenter.portal.dt.appnav.PortalMenuController.handleExportSiteRes(PortalMenuController.java:1029)
o.webcenter.portal.dt.appnav.PortalMenuController.handleEvent(PortalMenuController.java:186)
o.i.controller.IdeAction.performAction(IdeAction.java:529)
o.i.controller.IdeAction.actionPerformedImpl(IdeAction.java:897)
o.i.controller.IdeAction.actionPerformed(IdeAction.java:501)
jx.s.AbstractButton.fireActionPerformed(AbstractButton.java:1995)
jx.s.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)
jx.s.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)
jx.s.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)
jx.s.AbstractButton.doClick(AbstractButton.java:357)
jx.s.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:809)
jx.s.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:850)
j.a.Component.processMouseEvent(Component.java:6289)
jx.s.JComponent.processMouseEvent(JComponent.java:3267)
j.a.Component.processEvent(Component.java:6054)
j.a.Container.processEvent(Container.java:2041)
j.a.Component.dispatchEventImpl(Component.java:4652)
j.a.Container.dispatchEventImpl(Container.java:2099)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.LightweightDispatcher.retargetMouseEvent(Container.java:4577)
j.a.LightweightDispatcher.processMouseEvent(Container.java:4238)
j.a.LightweightDispatcher.dispatchEvent(Container.java:4168)
j.a.Container.dispatchEventImpl(Container.java:2085)
j.a.Window.dispatchEventImpl(Window.java:2478)
j.a.Component.dispatchEvent(Component.java:4482)
j.a.EventQueue.dispatchEventImpl(EventQueue.java:644)
j.a.EventQueue.access$000(EventQueue.java:85)
j.a.EventQueue$1.run(EventQueue.java:603)
j.a.EventQueue$1.run(EventQueue.java:601)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:98)
j.a.EventQueue$2.run(EventQueue.java:617)
j.a.EventQueue$2.run(EventQueue.java:615)
j.security.AccessController.doPrivileged(Native Method)
j.security.AccessControlContext$1.doIntersectionPrivilege(AccessControlContext.java:87)
j.a.EventQueue.dispatchEvent(EventQueue.java:614)
j.a.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)
j.a.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)
j.a.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)
j.a.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)
j.a.EventDispatchThread.run(EventDispatchThread.java:122)I did not touch any jars. They should be in their place. What I see from the project properties is that JSF 1.2 libraries are attached as before..
Any idea? I am stuck.
Do anyone have any idea about this matter? I really don't know where to look at.
Edited by: user10047839 on 9-mar-2011 6.51 -
Error when running a scenario from Command Prompt
Hi I edited the parameter file and I am trying to run an interface that joins two tables from HR schema and loads into a table in different schema. I am able to run this in the Designer, but I receive an error message when I try to run it through command prompt.
Here is the error message I get when I try to run it
09/09/2009 11:58:42 AM(main): Creating session for scenario:DEMO_INTERFACE - 001
09/09/2009 11:58:42 AM(main): Session : 88010 is running
com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this
logical schema/context pair:HR / GLOBAL
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContex
t(SnpConnect.java)
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java)
at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.getConLst(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
io.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.e.y(e.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
09/09/2009 11:58:43 AM(main): Session : 88010 finished with return code : -1
com.sunopsis.core.SnpsInexistantObjectException: There is no connection for this
logical schema/context pair:HR / GLOBAL
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnectByLSchemaNameAndContexur
t(SnpConnect.java)
at com.sunopsis.dwg.dbobj.SnpConnect.getSnpConnect(SnpConnect.java)
at com.sunopsis.dwg.dbobj.SnpSession.getDwgConnectLst(SnpSession.java)
at com.sunopsis.dwg.dbobj.SnpSession.getConLst(SnpSession.java)
at com.sunopsis.dwg.cmd.DwgCommandScenario.treatCommand(DwgCommandScenar
io.java)
at com.sunopsis.dwg.cmd.DwgCommandBase.execute(DwgCommandBase.java)
at com.sunopsis.dwg.cmd.e.i(e.java)
at com.sunopsis.dwg.cmd.e.y(e.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
DwgJv.main: Exit. Return code:-1
Thank you for your help.
KranthiHello,
Try to remove and recreate your package and scenario, I had the same issue and solved doing it.
It seems for me that the package cannot update its contents, for example, if you change something in your interface, you must recreate your package and scenario to update the changes.
What ODI version do you use? If you use an old version, try to update to ODI 10.1.3.5
Regards,
Wallace Galvão
São Paulo - Brazil -
Errors while Executing a scenario thruogh command prompt...Pls help!!
hi,
i am trying to execute a scenario in my command prompt.i am using windows operating system.
i am getting the the following error when i run this command..
startscen COM_IFLEX_LIMITS 001 GLOBAL "-V=2"OracleDI: Starting scenario COM_IFLEX_LIMITS 001 in context GLOBAL ...
java.sql.SQLException: ORA-00942: table or view does not exist
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java
:125)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:316)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:282)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:639)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.
java:185)
at oracle.jdbc.driver.T4CPreparedStatement.execute_for_describe(T4CPrepa
redStatement.java:503)
at oracle.jdbc.driver.OracleStatement.execute_maybe_describe(OracleState
ment.java:965)
at oracle.jdbc.driver.T4CPreparedStatement.execute_maybe_describe(T4CPre
paredStatement.java:535)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStateme
nt.java:1051)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePrep
aredStatement.java:2984)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePrepare
dStatement.java:3026)
at com.sunopsis.sql.SnpsQuery.executeQuery(SnpsQuery.java)
at com.sunopsis.dwg.DwgObject.refresh(DwgObject.java)
at com.sunopsis.dwg.cmd.e.h(e.java)
at com.sunopsis.dwg.cmd.e.g(e.java)
at com.sunopsis.dwg.cmd.e.y(e.java)
at com.sunopsis.dwg.DwgJv.treatCmd(DwgJv.java)
at com.sunopsis.dwg.DwgJv.main(DwgJv.java)
at oracle.odi.Agent.main(Agent.java)
DwgJv.main: Exit. Return code:-1
Regards
AshwinSo we can understand where the error occurs, can you tell us where the processings gets up to in the log?
-
Encountering a RunTime error when I try running from command prompt
When I try to load my class from the command prompt I get the error:
Exception in thread "main" java.lang.NoClassDefFoundError: MiniTriangle
Since this seems like a pretty basic error, I'm hoping there's a black and white solution to it. Unfortunatly I don't have the slightest idea what that might be.
Any help would be appreciated, thanks in advance!!!I'm pretty new to this myself but have encountered this error before. I've found it happens when you try to run the programme and the class name isn't the same as the file name. So if you named the text file when you wrote the code MiniTriangle when you compile it you will get a file called MiniTriangle.class which is what you are trying to run. However if you inadvertently misspelled the class definition in the code and entered say
class MiniTringle {
you would get the error you are experiencing when you try to run MiniTriangle.class
Hope this helps -
Got an error while import script run in command prompt in R12
hi '
i am running the below script in command prompt in R12, but it will give an error
that error name:
'import' is not recognized as internal or external command,
operable program or batch file.
import C:\JDeveloper10g\jdevhome\jdev\myprojects\flsm\oracle\apps\po\per\webui\FlsmCreationPG.xml -rootdir C:\JDeveloper10g\jdevhome\jdev\myprojects -username XXFLS -password xxfls -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=cph-oadb-tst22.dk.flsmidth.net)(PORT=1543))(CONNECT_DATA=(SID=TST22)))"
could you please help me on this.
Regards,
MuthuMuthu,
The import file directory is not in the path,
So run the script with full path,
<JDEV_DIR>\jdevbin\jdev\bin\import
Eg.
<JDEV_DIR>\jdevbin\jdev\bin\import <JDEV_DIR>\jdevbin\jdev\myclasses\xxt\oracle\apps\pon\registration\webui\XXTSupplierRegistrationPG.xml -username apps -password apps -dbconnection "(DESCRIPTION=(ADDRESS=(PROTOCOL=tcp)(HOST=<DB_HOST_NAME>)(PORT=<DB_PORT>))(CONNECT_DATA=(SID=<DB_SID>)))" -rootDir <JDEV_DIR>\jdevbin\jdev\myclasses\ -rootPackage /
For scripts check this URL,
http://apps2fusion.com/at/61-kv/331-oa-framework-scripts
Thanks,
With regards,
Kali
OSSI. -
Exporting Business Rules from command prompt
Hi,
I'm wondering if there is any way to export Business Rules to XML automatically through command prompt (instead of manually doing it through EAS Console).
Thanks,
RyanThe documentation is availabe at - http://www.oracle.com/technetwork/middleware/performance-management/documentation/index.html
Go to Foundation Services > Lifecycle Management Guide > "Using Lifecycle Management Utility"
Cheers
John
http://john-goodwin.blogspot.com/ -
Error while Exporting large data from Reportviewer on azure hosted website.
Hi,
I have website hosted on azure. I used SSRS reportviewer control to showcase my reports. while doing so i faced an issue.
Whenever i export large amount of data as Excel/PDF/word/tiff it abruptly throw following error:
Error: Microsoft.Reporting.WebForms.ReportServerException: The remote server returned an error: (401) Unauthorized. ---> System.Net.WebException: The remote server returned an error: (401) Unauthorized.
at System.Net.HttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
at Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
--- End of inner exception stack trace ---
at Microsoft.Reporting.WebForms.SoapReportExecutionService.ServerUrlRequest(AbortState abortState, String url, Stream outputStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.SoapReportExecutionService.Render(AbortState abortState, String reportPath, String executionId, String historyId, String format, XmlNodeList deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.InternalRender(Boolean isAbortable, String format, String deviceInfo, NameValueCollection urlAccessParameters, Stream reportStream, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerReport.Render(String format, String deviceInfo, NameValueCollection urlAccessParameters, String& mimeType, String& fileNameExtension)
at Microsoft.Reporting.WebForms.ServerModeSession.RenderReport(String format, Boolean allowInternalRenderers, String deviceInfo, NameValueCollection additionalParams, Boolean cacheSecondaryStreamsForHtml, String& mimeType, String& fileExtension)
at Microsoft.Reporting.WebForms.ExportOperation.PerformOperation(NameValueCollection urlQuery, HttpResponse response)
at Microsoft.Reporting.WebForms.HttpHandler.ProcessRequest(HttpContext context)
at System.Web.HttpApplication.CallHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
at System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously)
It works locally (developer machine) or having less data. But it didn't work with large data when publish on azure.
Any help will be appreciated.
Thanks.Sorry, let me clarify my questions as they were ambiguous:
For a given set if input, does the request always take the same amount of time to fail? How long does it take?
When it works (e.g. on local machine using same input), how big is the output file that gets downloaded?
Also, if you can share your site name (directly or
indirectly), and the UTC time where you made an attempt, we may be able to get more info on our side. -
Getting Error while exporting EAR file from Weblogic workshop 10.3
Hi All,
I have one Enterprise project with reference to one Web services web module.
When I tried to export web module it export correctly but when I try to export the Enterprise project then it throws following error.
!ENTRY com.bea.workshop.wls.ui 4 0 2009-04-15 11:14:12.801
!MESSAGE The selected archive: C:\RNEAR.ear does not exist.
!ENTRY org.eclipse.wst.common.frameworks 4 0 2009-04-15 11:14:13.035
!MESSAGE Extended Operation failure: org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation
!STACK 0
org.eclipse.core.commands.ExecutionException: Error exportingEAR
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:103)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:401)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:352)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:242)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:214)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:202)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1$CatchThrowableRunnableWithProgress.run(DataModelWizard.java:211)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Error opening archive for export..
at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:66)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:95)
... 10 more
Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException
at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:66)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:247)
at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:43)
... 11 more
Caused by: java.lang.NullPointerException
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.isEJBArchive(JavaEEArchiveUtilities.java:466)
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:362)
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:267)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.openArchive(ArchiveFactoryImpl.java:45)
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:115)
at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.addModulesAndUtilities(EARComponentArchiveLoadAdapter.java:78)
at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.getArchiveResources(EARComponentArchiveLoadAdapter.java:54)
at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getArchiveResources(ArchiveImpl.java:167)
at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.getArchiveResourcesForSave(AbstractArchiveSaveAdapter.java:74)
at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:40)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:248)
... 12 more
!SUBENTRY 1 org.eclipse.wst.common.frameworks 4 0 2009-04-15 11:14:13.035
!MESSAGE Extended Operation failure: org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation
!STACK 0
org.eclipse.core.commands.ExecutionException: Error exportingEAR
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:103)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl$1.run(DataModelPausibleOperationImpl.java:376)
at org.eclipse.core.internal.resources.Workspace.run(Workspace.java:1797)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:401)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.runOperation(DataModelPausibleOperationImpl.java:352)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.doExecute(DataModelPausibleOperationImpl.java:242)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.executeImpl(DataModelPausibleOperationImpl.java:214)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.cacheThreadAndContinue(DataModelPausibleOperationImpl.java:89)
at org.eclipse.wst.common.frameworks.internal.datamodel.DataModelPausibleOperationImpl.execute(DataModelPausibleOperationImpl.java:202)
at org.eclipse.wst.common.frameworks.internal.datamodel.ui.DataModelWizard$1$CatchThrowableRunnableWithProgress.run(DataModelWizard.java:211)
at org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:113)
Caused by: org.eclipse.jst.j2ee.commonarchivecore.internal.exception.SaveFailureException: Error opening archive for export..
at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:66)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.execute(J2EEArtifactExportOperation.java:95)
... 10 more
Caused by: org.eclipse.jst.jee.archive.ArchiveSaveFailureException: java.lang.NullPointerException
at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:66)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:247)
at org.eclipse.jst.j2ee.internal.archive.operations.EARComponentExportOperation.export(EARComponentExportOperation.java:43)
... 11 more
Caused by: java.lang.NullPointerException
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.isEJBArchive(JavaEEArchiveUtilities.java:466)
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.refineForJavaEE(JavaEEArchiveUtilities.java:362)
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:267)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.openArchive(ArchiveFactoryImpl.java:45)
at org.eclipse.jst.j2ee.internal.archive.JavaEEArchiveUtilities.openArchive(JavaEEArchiveUtilities.java:115)
at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.addModulesAndUtilities(EARComponentArchiveLoadAdapter.java:78)
at org.eclipse.jst.j2ee.internal.archive.EARComponentArchiveLoadAdapter.getArchiveResources(EARComponentArchiveLoadAdapter.java:54)
at org.eclipse.jst.jee.archive.internal.ArchiveImpl.getArchiveResources(ArchiveImpl.java:167)
at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.getArchiveResourcesForSave(AbstractArchiveSaveAdapter.java:74)
at org.eclipse.jst.jee.archive.AbstractArchiveSaveAdapter.save(AbstractArchiveSaveAdapter.java:40)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.save(ArchiveFactoryImpl.java:114)
at org.eclipse.jst.jee.archive.internal.ArchiveFactoryImpl.saveArchive(ArchiveFactoryImpl.java:76)
at org.eclipse.jst.j2ee.internal.archive.operations.J2EEArtifactExportOperation.saveArchive(J2EEArtifactExportOperation.java:248)
... 12 more
!ENTRY com.bea.workshop.webservices.export 2 2 2009-04-15 11:32:13.836
!MESSAGE Skipping Annotation Manifest Generation since control required classes are not on the build path.
Any help on this is really appreciable
Regards,
Kal.Hi All,
problem is resolved for me.
After removing unnecessary jar from APP-INF/lib folder it resolve my problem.
Regards,
kal.
Edited by: kalyan Pasupuleti on May 17, 2009 10:28 AM -
EXP-00015: error while exporting a table !!!
Hi
I was trying to take table backup by exp and import method.
Got the following error
Please adivse.
EXP-00015: error on row 7548444 of table LOADER_POS, column VERSIONDATE, datatype 12
From
PJaffar
Appreciate your response.
There is enough space.
When u say analyze table structure ..
Are you talking about the Updating the statistics. ?
Please explain.
Thanks again.
From
PBy "analyze table structure", you can see if you have any corruptions of block :
analyze table table_name validate structure;[pre]
or
[pre]analyze index index_name validate structure;[pre]
Nicolas. -
Error while exporting to excel from a JSP page on Win XP
Hi,
I have used the below code to output the content from jsp to excel file, its working fine until we noticed an error on computers with Windows XP installed. The application is working fine on Win 2k systems. Please help.
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-disposition", "attachment;filename=Report.xls");My problem was somewhat similar....
I got some help from...http://www.javaworld.com/javaworld/jw-10-2006/jw-1019-xmlexcel.html?page=1...
This is my code in servlet...
HSSFWorkbook wb = new HSSFWorkbook();
HSSFSheet spreadSheet = wb.createSheet("Users");
spreadSheet.setColumnWidth((short) 0, (short) (256 * 25));
spreadSheet.setColumnWidth((short) 1, (short) (256 * 25));
// Creating Rows
HSSFRow row = spreadSheet.createRow(0);
HSSFCell cell = row.createCell((short) 1);
cell.setCellValue("Year 2005");
cell = row.createCell((short) 2);
cell.setCellValue("Year 2004");
HSSFRow row1 = spreadSheet.createRow(1);
HSSFCellStyle cellStyle = wb.createCellStyle();
cellStyle.setBorderRight(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderTop(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderLeft(HSSFCellStyle.BORDER_MEDIUM);
cellStyle.setBorderBottom(HSSFCellStyle.BORDER_MEDIUM);
cell = row1.createCell((short) 0);
cell.setCellValue("Revenue ($)");
cell = row1.createCell((short) 1);
cell.setCellValue("25656");
cell = row1.createCell((short) 2);
cell.setCellValue("15457");
FileOutputStream output = new FileOutputStream(new File("/tmp/Users.xls"));
response.setContentType("application/vnd.ms-excel");
response.setHeader("Content-Disposition", "attachment;filename=Users.xls");
ServletOutputStream out = response.getOutputStream();
wb.write(output);
output.flush();
output.close();
forward = null;
In firefox i get the download dialog box but not able to open in from there,i need to save it and then open. In IE i dont get the dialog box instead the excell open inside the browser......Please help me to open a excel sheet onclick on a link "Export to excel" in jsp......
Thanks in advance...
Maybe you are looking for
-
I had a visit from General Error
Not an army guy in uniform but a very 'uninformative' error message when doing media management. After 20 mins of creating files etc FCP 7 just stopped with this error "general error" message. So what was it telling me? "Sorry, computer says 'NO' so
-
Hello All, I am trying to implement the GOF Adapter Pattern and I have the following classes. The purpose is to read the database name from a properties file and instantiate the correct database class. For example if the properties file reads databas
-
How to shorten number of decimals
I need to show only 2 decimals and can't because i'm using double variables. Can anyone tell me how to get readout of only 2? Here is my code: public class Applet public static void main(String [] args) int pValue =200000; int nPeriod = 30*12; double
-
Selecting multiple keyframes in edit window
i am trying to figure out how select multiple keyframes at once in the edit window, to drag either to start or end of a clip instead of doing it one by one, i have used premiere for a long time, and i am used to just dragging a marquee box over the d
-
Problem with file downloads - please help
Good morning. Since upgrading to BT Infinity 2, I have been experiencing the following problems: Cannot update Sonos firmware to version 5 - download times out and gives error 30 Cannot download most files from safari - all start for the first few kb