Configure Liferay 7.0 and WIldfly with Oracle - database

I have a doubt regarding LIferay 7.0 and Wildfly. I recently found a method to integrate Oracle DB with Liferay but, at least in the example and on my attempts to try it, when I start Wildfly with Liferay it keeps telling me "Unsupported Database Oracle".
The tutorial I followed was this one: https://www.dontesta.it/blog/en/2016/04/13/liferay-7-ce-how-to-add-support-for-oracle-db/
Is that only supported for Tomact? (Like in the example in that tutorial).
Thanks in advance.

The Oracle driver for Liferay 7 CE also works for the bundle with wildfly.
The procedure is very simple:
Build the Oracle Driver for Liferay (by following the guide liferay-portal-oracledb-support)
Download JDBC Oracle driver
Copy JDBC Driver in $LIFERA_HOME/wildfly-10.0.0/modules/com/liferay/portal/main/
Add JDBC Driver ojdbc7.jar as resource in module.xml ($LIFERA_HOME/wildfly-10.0.0/modules/com/liferay/portal/main/)
Copy jar (liferay-portal-oracledb-support-1.0-SNAPSHOT.jar) of the Oracle Driver for Liferay in $LIFERAY_HOME/wildfly-10.0.0/standalone/deployments/ROOT.war/WEB-INF/lib/
Start Liferay
By following the above steps you should be able to install successfully Liferay 7, also you can see this tutorial Liferay 7 Wildfly: How to add support for Oracle DB

I point out the project https://github.com/amusarra/liferay-portal-database-all-in-one-support which groups the support for the three commercial databases for versions 7.0, 7.1 and 7.2 of Liferay.
This project add support to the Oracle Database, SQL Server and IBM DB2 database. Liferay has performed refactorting the code so that it is possible and easy to add support for databases no longer supported OOTB (out-of-the-box). The last version (1.1.4) of the driver works with the Liferay 7.2.1 CE GA2.
You can download the latest version binary jar from Maven Central Repository liferay-portal-database-all-in-one-support (https://search.maven.org/#search%7Cga%7C1%7Cit.dontesta), by doing so you can avoid doing the build.
I invite you to read the article How to build a Docker Liferay 7.2 image with the Oracle Database support (https://www.dontesta.it/en/2019/08/21/how-to-build-a-docker-liferay-7-2-image-with-the-oracle-database-support/) which may be interesting for you.

Related

Legacy SSMigrationAssistant for Oracle 7.3?

Im unable to get any connectivity to Oracle 7.3 using the current SSMA from Microsoft. There is no legacy download anymore and i think i need an older version, 6.0. I keep getting two-task connection potocol errors when I use the tnsnames method to define a service. This works with the schema manager in the legacy oracle tools but no matter what i try Im unable to get a connection in the new SSMA without seeing that error. I should say im on a windows 7 vm for legacy reasons.
I have tried using a linked server in sql 2008 and 2012 which would allow me to make views. I could then bring it into Entity Framework, which is the ultimate goal, but same result as above.
Anyone had a similar issue and happen to have an older SSMA?
Client/Server Interoperability Support [ID 207303.1]
For Oracle Server 7.3 you need oracle client 7.3 or 8.0.5-8.1.7 or 9.0
Oracle8 i 8.1.7 Documentation
To configure oracle client SQL*Net V1, V2 ,tnsnames.ora read SQL*Net FAQ
I installed Oracle 7.3 very long ago in 1996 :).
Update
You can migrate to the free version of the Oracle 11 XE version or use an RDS instance of Oracle in the Amazon cloud with free 1-year service .
Use the utility exp and imp. These utilities are no longer being developed and are not supported, but are necessary for migration from very old versions.
Migration plan:
Define the necessary schemes and users for migration in the source
database, table spaces.
Install the free version of Oracle 11 or create an RDS instance of Oracle in the Amazon cloud with free 1-year service.
Create the required tablespaces.
Create profiles, users and roles.
Import the dump file.
Make the migration in mssql.

Oracle Database versions supported by Weblogic 12c

I have been trying to find all the Oracle Databases that is supported with Weblogic 12c.
I have been trying to find it on web, but unable to get the proper list.
Any help would be appreciated.
have a look at these Oracle certification matrix for 12c releases :
For weblogic Version 12.1.1
For weblogic Version 12.1.2
For weblogic Version 12.1.3
Weblogic 12.1.3 contains ojdbc6.jar and ojdbc7.jar (checked locally, but also documented here)
This means compability with 11g and 12g releases of Oracle Databases (see also http://www.oracle.com/technetwork/database/enterprise-edition/jdbc-faq-090281.html#01_03)

How do you connect WSO2 IS to SQL Server 2012

Following the instructions from WSO2 IS on setting it up with Microsoft SQL Server (https://docs.wso2.com/display/ML111/Setting+up+Microsoft+SQL), I continue to get the following error when running WSO2 IS:
ERROR (com.microsoft.sqlserver.jdbc.SQLServerConnection) - Java
Runtime Environment (JRE) version 1.7 is not supported by this driver.
Use the sqljdbc4.jar class library, which provides support for JDBC
4.0. ERROR (org.wso2.carbon.user.core.util.DatabaseUtil) - Database Error - Java Runtime Environment (JRE) version 1.7 is not
supported by this driver. Use the sqljdbc4.jar class library, which
provides support for JDBC 4.0.
I made sure that there were no extra sqljdbc libraries in the paths (to rule out ambiguity). I followed the instructions exactly, but did note that they referenced SQL Server 2005 (yikes!).
I am working on a Windows 7 machine, JRE 8, JDK 1.7, SQL Server 2012/2014, and WSO2 IS 5.1.0.
Any help would be greatly appreciated.
I assume you are using the JDK 1.7, so according to the documentation from microsoft you need to have Sqljdbc41.jar. Can you check you have the correct version in the lib folder?
Sqljdbc41.jar requires a JRE of 7 and supports the JDBC 4.1 API
Also make sure that the dropins folder don't have any mssql libs before restarting the server (Jars from lib are copied to dropins at the startup, so there is a chance you have mssql jars copied from an earlier startup).
Also note that WSO2 IS has a separate page for setting up databases. Please follow that doc instead which contains the documentation specific to IS.

ColdFusion 11 with Standalone Solr Pre-install

I need to install Solr on its own server for scalability/multiple CF connections. However I am confused as to how CF 11 does this. The Standalone services installer seems to be for the Express Install.
Adobe does not support a non-ColdFusion Solr install. So do I need to install a full CF 11 install on my Solr server and open it up for remote connection?
Or do I use CF Express with the stand-alone installer?
This is running a legacy application, and I need to mimic a normal coldfusion install as much as possible.
You can in fact use a non-ColdFusion Solr install with ColdFusion. Using the CFSolrLib library, you can interact with an external Solr server using the component included in the library. I'm personally running Solr 5.2 with a ColdFusion 11 application using this library.
http://cfsolrlib.riaforge.org/

How to install oracle 10g in Fedora 19?

The link given in the official page of oracle for linux or fedora is broken. So, I am unable to install oracle 10g from the official website. Please give me any other ideas to install oracle 10g.
According to this database download page:
Oracle Database 10.2 and 11.1 are no longer available for download.
The software is available as a media or FTP request for those
customers who own a valid Oracle Database product license for any
edition. To request access to these releases, follow the instructions
in Oracle Support Document 1071023.1 (Requesting Physical Shipment or
Download URL for Software Media) from My Oracle Support. NOTE: for
Oracle Database 10.2, you should request 10.2.0.1 even if you want to
install a later patch set. Once you install 10.2.0.1 you can then
apply any 10.2 patch set. Similarly, for 11.1 request 11.1.0.6 which
must be applied before installing 11.1.0.7. Patch sets can be
downloaded from the Patches and Updates tab on My Oracle Support.

Resources