Exception is thrown when file saving is performed - oracle-sqldeveloper

I trying to save (File > Save) my ERD diagram within Oracle SQL Developer Data Modeller (Version 17.3.0.261) .dmd file but when saving is performed exception is thrown:
2020-10-25 12:57:08,353 [Thread-85] ERROR XMLTransformationManager - Can not write document to file: /private/var/folders/zr/x6pt52n96pj59fcrfpyqk__m0000gn/T/AppTranslocation/01746F71-9829-4974-9624-E9464A2E0B4F/d/OracleDataModeler-17.3.0.261.1529.app/Contents/Resources/datamodeler/datamodeler/types/defaultdomains.xml
java.io.FileNotFoundException: /private/var/folders/zr/x6pt52n96pj59fcrfpyqk__m0000gn/T/AppTranslocation/01746F71-9829-4974-9624-E9464A2E0B4F/d/OracleDataModeler-17.3.0.261.1529.app/Contents/Resources/datamodeler/datamodeler/types/defaultdomains.xml (Read-only file system)
at java.io.FileOutputStream.open0(Native Method)
at java.io.FileOutputStream.open(FileOutputStream.java:270)
at java.io.FileOutputStream.<init>(FileOutputStream.java:213)
at java.io.FileOutputStream.<init>(FileOutputStream.java:162)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.saveDocument(XMLTransformationManager.java:3899)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.saveDefaultDomain(XMLTransformationManager.java:4300)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.saveDomains(XMLTransformationManager.java:4248)
at oracle.dbtools.crest.model.metadata.XMLTransformationManager.saveDesign(XMLTransformationManager.java:301)
at oracle.dbtools.crest.model.design.Design.saveAll(Design.java:2147)
at oracle.dbtools.crest.swingui.ControllerApplication.saveAll(ControllerApplication.java:4025)
at oracle.dbtools.crest.swingui.ControllerApplication.saveAsDesign(ControllerApplication.java:3815)
at oracle.dbtools.crest.swingui.ControllerApplication.access$6200(ControllerApplication.java:121)
at oracle.dbtools.crest.swingui.ControllerApplication$SaveAs$1.run(ControllerApplication.java:3681)
What have I do and what extra details have I provide here? My OS is Mac.

The folder you are saving to, is read only
java.io.FileNotFoundException:
/private/var/folders/zr/x6pt52n96pj59fcrfpyqk__m0000gn/T/AppTranslocation/01746F71-9829-4974-9624-E9464A2E0B4F/d/OracleDataModeler-17.3.0.261.1529.app/Contents/Resources/datamodeler/datamodeler/types/defaultdomains.xml
(Read-only file system)
Just move the SQL dev Data modeler to another folder on which you can write (desktop for instance), or just "Save As" at another place.

Related

java.io.FileNotFoundException:jboss-as-web-7.0.2.Final\standlone\temp\temp_folder\xyz.war

I deployed the war file in jboss-as-web-7.0.2. Final\standlone\deployment\xyz.war file. it deployed successfully. In my war file WEB-INF\classes\xyz.cer file is exist. I used the xyz.cer file for digital signature. It exist in war file. when i call my webservice it will throw the error java.io.FileNotFoundException
This is the log file:
16:49:58,434 ERROR [stderr] (http--0.0.0.0-8080-1)
java.io.FileNotFoundException: C:\Users\Administr
ator\Desktop\jboss-as-web-7.0.2.Final\standalone\tmp\vfs\temp9f2b48049e74ca68\xxx.war-3c4
430f5fbb60e88\WEB-INF\classes\xyz.cer (The system cannot find the file specif ied)
On Windows, this may mean that you do not have permissions to the file, that the file is currently open in another process which prevents writing to it, or that the file is set to read-only. It is occurred simply due to the lack of proper access permission,

Unable to deploy war file to weblogic 12c

When I try to 'Activate' my newly deployed .WAR file on the weblogic - I get an error in the AdminServer log file.
iption here]2]2
weblogic.management.DeploymentException: Exception occured while
downloading files
at weblogic.deploy.internal.targetserver.datamanagement.AppDataUpdate.doDownload(AppDataUpdate.java:49)
at weblogic.deploy.internal.targetserver.datamanagement.DataUpdate.download(DataUpdate.java:57)
at weblogic.deploy.internal.targetserver.datamanagement.Data.prepareDataUpdate(Data.java:117)
at weblogic.deploy.internal.targetserver.BasicDeployment.prepareDataUpdate(BasicDeployment.java:750)
at weblogic.deploy.internal.targetserver.operations.AbstractOperation.prepareDataUpdate(AbstractOperation.java:918)
Caused By:
java.io.IOException: There is not enough space on the disk
at java.io.FileOutputStream.writeBytes(Native Method)
at java.io.FileOutputStream.write(FileOutputStream.java:326)
at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:82)
at java.io.BufferedOutputStream.write(BufferedOutputStream.java:121)
There is lots of space on the E drive where weblogic and application resides. I tried to move the log files out of tmp and restarted one of the instance(there are 2 instances-load balanced) and didn't work.
Any suggestions? Thanks in advance.
I should have checked the both Servers on which my application runs. The A10P002 server disk was out of space. I just deleted old .Log files and server is back to normal and I am able to deploy - No more 'java.io.IOException'.

Merge Operation Fails -gpload utility greenplum

We would like try to describe my problem below:
We have small gpdb cluster. In that,we are trying for Data integration using Talend tool.
We are trying to load the incremental from a table to another table, quite simple... I thought...
Job Data Flow is
tgreenplumconnection
|
tmssqlinput--->thdfsoutput-->tmap-->tgreenplumgpload--tgreenplumcommit
Getting error
Exception in thread "Thread-1" java.lang.RuntimeException: Cannot run program "gpload": CreateProcess error=2, The system cannot find the file specified
at bigdata.sormaster_stg0_copy_0_1.SorMaster_stg0_Copy$2.run(SorMaster_stg0_Copy.java:6425)
Caused by: java.io.IOException: CreateProcess error=2, The system cannot find the file specified
at java.lang.ProcessImpl.create(Native Method)
at java.lang.ProcessImpl.<init>(ProcessImpl.java:386)
at java.lang.ProcessImpl.start(ProcessImpl.java:137)
at java.lang.ProcessBuilder.start(ProcessBuilder.java:1029)
at java.lang.Runtime.exec(Runtime.java:620)
at java.lang.Runtime.exec(Runtime.java:528)
at bigdata.sormaster_stg0_copy_0_1.SorMaster_stg0_Copy$2.run(SorMaster_stg0_Copy.java:6413)

how solve launching Talend open studio Errors?

I have already installed the talend open studio for a month and suddenly when I open it last morning it gives this error
java.lang.NoClassDefFoundError: org/eclipse/jdt/core/JavaCore at
org.talend.designer.runprocess.java.JavaProcessorUtilities.getTalendJavaProject(JavaProcessorUtilities.java:99)
at
org.talend.designer.runprocess.DefaultRunProcessService.getTalendProcessJavaProject(DefaultRunProcessService.java:514)
at
org.talend.designer.runprocess.RunProcessService.getTalendProcessJavaProject(RunProcessService.java:356)
at
org.talend.designer.runprocess.DeleteAllJobWhenStartUp$1.run(DeleteAllJobWhenStartUp.java:85)
at
org.eclipse.core.internal.resources.Workspace.run(Workspace.java:2313)
at
org.talend.designer.runprocess.DeleteAllJobWhenStartUp.earlyStartup(DeleteAllJobWhenStartUp.java:136)
at
org.talend.designer.runprocess.DeleteAllJobWhenStartUp.startup(DeleteAllJobWhenStartUp.java:56)
at
org.talend.designer.runprocess.RunProcessService.deleteAllJobs(RunProcessService.java:228)
at org.talend.core.CoreService.deleteAllJobs(CoreService.java:318)
at
org.talend.core.repository.model.ProxyRepositoryFactory.logOnProject(ProxyRepositoryFactory.java:1879)
at
org.talend.repository.ui.login.LoginHelper$1.run(LoginHelper.java:426)
at
org.eclipse.jface.operation.ModalContext$ModalContextThread.run(ModalContext.java:122)
How can I deal with please...thanks?
If you read logs (TOS_DI-20170623_1246-V6.4.1\workspace.metadata.log), you can see
Caused by: org.eclipse.core.internal.resources.ResourceException:
Could not read metadata for
'C:\Programmation\TOS_DI-20170623_1246-V6.4.1\workspace.metadata.plugins\org.eclipse.core.resources.root.indexes\properties.index'.
Unexpected version: 0. at
org.eclipse.core.internal.localstore.Bucket.load(Bucket.java:303) at
org.eclipse.core.internal.properties.PropertyBucket.load(PropertyBucket.java:258)
at org.eclipse.core.internal.localstore.Bucket.load(Bucket.java:274)
at
org.eclipse.core.internal.localstore.BucketTree.loadBucketFor(BucketTree.java:115)
at
org.eclipse.core.internal.properties.PropertyManager2.getProperty(PropertyManager2.java:134)
at
org.eclipse.core.internal.resources.Resource.getPersistentProperty(Resource.java:1205)
at
org.eclipse.jdt.internal.core.JavaModelManager.loadVariablesAndContainers(JavaModelManager.java:3265)
at
org.eclipse.jdt.internal.core.JavaModelManager.startup(JavaModelManager.java:5036)
at org.eclipse.jdt.core.JavaCore.start(JavaCore.java:5651) at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:771)
at
org.eclipse.osgi.internal.framework.BundleContextImpl$3.run(BundleContextImpl.java:1)
at java.security.AccessController.doPrivileged(Native Method) at
org.eclipse.osgi.internal.framework.BundleContextImpl.startActivator(BundleContextImpl.java:764)
... 21 more
I just removed 'TOS_DI-20170623_1246-V6.4.1\workspace.metadata.plugins\org.eclipse.core.resources.root.indexes\properties.index' and it worked well
Go to folder TOS_DI-20170623_1246-V6.4.1\workspace.metadata.plugins
Delete metadata.plugin, and restart your system open talend studio. It will take some time for loading plugins+ metadata.
After this we want to create talend projects.
Go to windows + search -> type run -> type %temp%-> remove/ delete all files.

mule service start script raises exception with log file

I'm trying to rewrite the mule start script so it works as a service on a RHEL.
Currently I have it mostly done.
It is starting and I have the most of the log files being successfully written where I want them.
But there's a file named literally .log that I do not know what is for, neither where to configure (its name and path).
Such file is adding the following nasty lines in the mule_ee.log upon start up:
log4j:ERROR setFile(null,true) call failed.
java.io.FileNotFoundException: .log (Permission denied)
at java.io.FileOutputStream.openAppend(Native Method)
at java.io.FileOutputStream.<init>(FileOutputStream.java:207)
at java.io.FileOutputStream.<init>(FileOutputStream.java:131)
at org.apache.log4j.FileAppender.setFile(FileAppender.java:294)
at org.apache.log4j.FileAppender.activateOptions(FileAppender.java:165)
at org.apache.log4j.config.PropertySetter.activate(PropertySetter.java:307)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:172)
at org.apache.log4j.config.PropertySetter.setProperties(PropertySetter.java:104)
at org.apache.log4j.PropertyConfigurator.parseAppender(PropertyConfigurator.java:809)
at org.apache.log4j.PropertyConfigurator.parseCategory(PropertyConfigurator.java:735)
at org.apache.log4j.PropertyConfigurator.configureRootCategory(PropertyConfigurator.java:615)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:502)
at org.apache.log4j.PropertyConfigurator.doConfigure(PropertyConfigurator.java:547)
at org.mule.module.launcher.log4j.ApplicationAwareRepositorySelector.configureFrom(ApplicationAwareRepositorySelector.java:166)
at org.mule.module.launcher.log4j.ApplicationAwareRepositorySelector.getLoggerRepository(ApplicationAwareRepositorySelector.java:95)
at org.apache.log4j.LogManager.getLoggerRepository(LogManager.java:208)
at org.apache.log4j.LogManager.getLogger(LogManager.java:228)
at org.mule.module.logging.MuleLoggerFactory.getLogger(MuleLoggerFactory.java:77)
at org.mule.module.logging.DispatchingLogger.getLogger(DispatchingLogger.java:419)
at org.mule.module.logging.DispatchingLogger.isInfoEnabled(DispatchingLogger.java:191)
at org.apache.commons.logging.impl.SLF4JLog.isInfoEnabled(SLF4JLog.java:78)
at org.mule.module.launcher.application.DefaultMuleApplication.init(DefaultMuleApplication.java:188)
at org.mule.module.launcher.application.PriviledgedMuleApplication.init(PriviledgedMuleApplication.java:46)
at org.mule.module.launcher.application.ApplicationWrapper.init(ApplicationWrapper.java:64)
at org.mule.module.launcher.DefaultMuleDeployer.deploy(DefaultMuleDeployer.java:46)
at org.mule.module.launcher.DeploymentService.guardedDeploy(DeploymentService.java:398)
at org.mule.module.launcher.DeploymentService.start(DeploymentService.java:181)
at org.mule.module.launcher.MuleContainer.start(MuleContainer.java:157)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:616)
at org.mule.module.reboot.MuleContainerWrapper.start(MuleContainerWrapper.java:56)
at org.tanukisoftware.wrapper.WrapperManager$12.run(WrapperManager.java:3925)`
What is that .log file for? Where is the conf file to set it up to be written in a place where the mule user has permissions to write?
It seems that log4j can't find that file because OS permissions. You can chmod to add permissions in your MULE_HOME dir. And also review your log4j config to see why is trying to read .log file.
The .log file seems to be from the 00_mmc-agent app.
The problem therefore was in the log4j.properties file located in ./apps/00_mmc-agent/classes such file has the following appender configured: log4j.appender.file.File=${app.name}.log
That ${app.name} variable seem to be not properly configured (not even in the default not modified mule starting script). hence the .log file name.
In ./apps/mmc/webapps/mmc/WEB-INF/classes/log4j.properties the appender is configured like this log4j.appender.R.File=${mule.home}/logs/mmc-console-app.log
So, to fix the startup error I modified the appender of the log4j.properties file located in ./apps/00_mmc-agent/classes to have this path:
log4j.appender.file.File=${mule.home}/logs/00_mmc-agent.log