lost custom images after installing ords - oracle-apex-5.1

After installing ORDS with Apache_Tomcat 9 in APEX, all the custom images of my applications have been lost.
I already configured images file in Apache Tomcat, by copying:
[directory_APEX]/images To [directory_ApacheTomcat]/webapps/i
I'm waiting for your help, thanks in advance.
Infos :
- APEX_Version: 5.1.2, ORDS_Version: 3.0.11, ORACLE_DB_Version: 11.2

I get solution while typing this command from ORDS Directory
[ORDS Directory]> java -jar [ordsname].war validate

Related

Heap Dump not working Centos 7

I have added following setting in my catalina.sh file
-XX:+HeapDumpOnOutOfMemoryError -XX:HeapDumpPath="/root/logs".
But still the heap dump file is not created when tomcat is going down. I have this setup on centos 7 on AWS.
Please help me in solving this issue... Thanks in advance.
I would suggest try create it manually if it is not generating automatically by using a JDK bundled tool called jmap, although we recommend that you use the automatic method above for best result.
For Linux/Solaris-based Operating Systems:
Please execute the following command on Linux OS:
$JAVA_HOME/bin/jmap -dump:format=b,file=heap.bin <pid>
More Ref Follow the link below :
https://confluence.atlassian.com/doc/generating-a-heap-dump-219024032.html
the tomcat process is usually set up to run as the tomcat user, who most likely will not have any write access to your /root folder.
Please try to set it to somewhere like /tmp

How do I upgrade Apache Tomcat from 6.0.20 to 6.0.24?

Our security team has scanned our production server and identified vulnerabilities with Apache Tomcat server v 6.0.20.
They have recommended that Apache be upgraded to 6.0.24. Reading through the forums, I believe this is the process to do so
Take a backup of httpd.conf file
Using add remove programs, uninstall version 6.0.20
Install 6.0.24
But, I have some questions depending on a quick test I did to install 6.0.20 and upgrade it to 6.0.24
Where do I get Tomcat administrator login information?
Is it enough just to backup the HTTPD.CONF file? I was thinking to back up everything in the Apache folder instead.
Is it possible not to upgrade 6.0.20 to 6.0.24 by running the MSI installer over the same Apache folder? Is it due to the HTTP/1.1 Connector Port being busy/used that doesn't allow an update of Tomcat on the same port?
Is a restart of the server required after upgrade?
Last but not the least, I am using these executables to test the upgrade. 6.0.20 gets installed fine but when I run 6.0.24, it prompts me for the JRE path and directing it to 6.0.20 JVM Path gives me a message that "JVM is not found". The JVM info on the Apache manager is in this directory
What am I missing here?
I need your thoughts and advice to make this as easy as possible since this is a production server.

Weblogic server

I have installed Weblogic server in my machine.While installing i have configured domain with name MyDomain.At the end of configuration i checked start admin server.Server started successfully without issue.Next day I tried to start the server using C:\ProgramData\Microsoft\Windows\Start Menu\Programs\Oracle Enterprise Pack for Eclipse\User Projects\MyDomain\Start Admin Server for Weblogic Server Domain.lnk
When I Start that it is showing following Error: in Command Prompt
\Java\jre1.6.0_20\bin was unexpected at this time.
C:\Oracle\Middleware\user_projects\domains\MyDomain>
I have Installed oepe-wls-indigo-installer-11.1.1.8.0.201110211138-10.3.6-win
Please help me out on this issue
u can start admin server from
C:\Oracle\Middleware\user_projects\domains\MyDomain/servers/Adminserver/bin
For Best Compatibility Install the bundle provided by oracle.

Install Liferay as Windows 2012R2 service

I am a newbie on Liferay and furthermore 100% Windows infrastructure knowledge based. I installed Liferay 6.2 on my Windows 2012R2 server together with Java jdk-8u5 version. All is running perfect as long as I am logged in as user on the Server via remotedesktop having open the tomcat startup.bat window.
What have I to do exactly to start Liferay and/or tomcat as service?
Thanks in advance for your efforts.
Configuring liferay or tomcat to run as a service on a windows server doesn't differ that much.So in order to do that you have to add some files to the LIFERAY_HOME\tomcat\bin directory.
To get those files you have to download a full version of 64-bitWindows tomcat from here :
http://tomcat.apache.org/download-70.cgi.
Extract the zip and go to the bin directory, copy service.bat , tomcat7.exe and tomcat7w.exe to this location : LIFERAY_HOME\tomcat\bin
Setting Up the service
Open the commad prompt (Make sure you have admin rights or run the command prompt as administrator),In Command Prompt go to LIFERAY_HOME\tomcat\bin and Execute the following command
service.bat install tomcat7
This will install the tomcat6 service in windows.
Now execute following commond to setup additional configuration for the service
tomcat7w.exe ES tomcat7.exe
2 . Extra configuration :
-XX:MaxPermSize=512m
-Dfile.encoding=UTF8
-Duser.timezone=GMT
-Djava.security.auth.login.config="%CATALINA_HOME%/conf/jaas.config"
-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
and make sure to provide enough memory for your service by setting the initial memory pool and the maximum one.
Either go with Rafik Beldi's answer (quite an effort, wow) or just go to tomcat's documentation in case you're still missing some information
I had to delete what was in Java Options completely or it wouldn't start: and then I entered:
-XX:MaxPermSize=512m
-Dfile.encoding=UTF8
-Duser.timezone=America/New_York
-Dorg.apache.catalina.loader.WebappClassLoader.ENABLE_CLEAR_REFERENCES=false
-Djava.net.preferIPv4Stack=true
note that where I am: America/New_York allows for both EST and EDT

installation and configuration of james server on local host

i tried google, youtube for some kind of demo's or instructions .. but couldn't find any..
i tried going through the james server's website and i also tried some article on ibm
http://www.ibm.com/developerworks/java/library/j-james1/index.html
but everything in vain..
i am new to these things and i am trying to host a mail server on my machine to send mails using php code..
i downloaded a source package of stable version of james from
http://james.apache.org/download.cgi#Apache_James_2.3.2_is_the_stable_version
the instructions i found told me to redirect to james/bin and run a file called run.bat
but when i run it all i get is
using phoenix home
using phoenix tmpdir
using java home
and then
shutting sown
phoenix 4.2
i am installing it on windows 7
can someone help me out with it please..
According to described symptoms I suppose that you downloaded wrong version (smth like as james-x.x.x-src.zip).
In your case (windows 7) you need other one james-binary-x.x.x.zip
james-binary-x.x.x.zip has the same easy installation. Just unzip files under any directory. launch [INSTALLDIR]\bin\run.bat

Resources