starting 12c managed server with Nodemanager in 12C giving java.io.IOException - weblogic12c

I am in the process of upgrading application env from weblogic 9.2 to 12C.
I have nodemanager running in 9.2 env. When managed server is started with nodemanager; no files/dirs are created under domainhome/servers/managed_home/data(nodemanager).
However after upgrading to 12C(separate installation of wls and nodemanager) starting 12C managed server with 12c nodemanager creates files/dir at above location.
I'm not able to figure out why. Any help/thoughts are appreciated.

Related

Eclipse - MariaDB JDBC onnection issue (bug or I messed up something?)

I started learning Java EE, and I decided to develop my small application in simulated "real world production" environment:
I decoupled the development and deployment environment into a laptop (with Eclipse IDE) and a server (Raspberry Pi with Tomcat/TomEE and MariaDB).
With this environment I can learn not only EE development but the deployment phase, too.
The problem
After installation of MariaDB I realized that the MariaDB's JDBC connector doesn't work properly. I successfully made a connection in Eclipse via Generic JDBC (I used MariaDB's default connector). Pinging the server was also successful, but every query returned void results.
I tried the following queries:
show tables in dbName;
select * from tableName;
show databases;
When I tried to make entities from tables in a new JPA project, Eclipse didn't offered any tables.
Can somebody please help me to make a complete working connection to MariaDB.
What did I try (until this moment, without result)?
Updated the Raspbian system by apt-get update, moreover I did the same after installing MariaDB.
Tried to install MySql 5.6 with apt-get and dpkg, but the armhf version is not available on Raspbian Stretch
In Eclipse's Preferences/Data Management/Connectivity/Driver Definitions I tried to install MySql driver instead Generic JDBC
In properties (in Edit Driver Definition) tried the following Connection URL-s:
jdbc:mysql://hostName:port/
jdbc:mariadb://hostName:port/
jdbc:mysql://hostName:port/dbName
jdbc:mariadb://hostName:port/dbName
jdbc:mysql://hostName:port/dbName?user=userName&password=password
jdbc:mariadb://hostName:port/dbName?user=userName&password=password
Tried older version of JDBC connectors, too (mariadb-java-client-2.1.0.jar), without good result.
I installed MySQL on local machine, I could connect it in Eclipse successfully.
I could successfully connect, create, insert, alter tables in MariaDB from locally installed MySqlWorkbench.
I installed MariaDB on local machine. Despite the connection ping was successful in Eclipse, the void query result was the same as the remote MariaDB connection.
I installed NetBeans to check whether I can connect MariaDB with it's driver. The result was SUCCESS (screenshot is attached)
One more weird thing: in Data Source Explorer the tree structure is different between MySQL and MariaDB (see the screenshot)
The environment
Server:
Raspbian Stretch (Debian 9.1)
Java: openJKD 1.8.0_141, OpenJDK Runtime Environment build 1.8.0_141-8u141-b15-1~deb9ul-b15, OpenJDK Zero VM build 25.141-b15-1~deb9ul-b15
MariaDB Ver 15.1 Distrib 10.1.23-MariaDB, for debian-linux-gnueabihf (armv71)
Local machine:
Windows 10 Pro 64bit, version: 1703, build: 15063.674 (Hungarian language local)
MySqlWorkbench 6.3CE, 6.3.9 build 10690321 CE(64 bits)
Eclipse Neon.3 Release (4.6.3), Build id: 20170314-1500
NetBeans IDE 8.2, Build 201705191307
Java: JDK 1.8.0_151 (x86_64 architecture)
JDBC: mariadb-java-client-2.1.2.jar (This worked successfully with NetBeans)
To summarize, in Eclipse I can make a connection to MariaDB via Generic JDBC, the ping is successful, but I cannot get any result from queries (and cannot generate entities from tables).
Solved:
In Eclipse you don't have to use MariaDB's JDBC 2.1.2. connector. It is fully MySQL compatible just use MySQL JDBC 5.1 default (mysql-connector-java-5.1.41-bin.jar). Now it works fine!

ORA-12154: TNS: could not resolve the connect identifier specified (but Net Manager tests fine!)

I am running Lyris ListManager on a Win 2008 server. It connects to Oracle 12c on another machine.
I have successfully configured and tested the connection using the Net Manger (or Net Configuration Assistant). However, when I run ListManger, I receive this Oracle error (TNS: could not resolve the connect identifier specified).
I checked the configuration file for the ListManager (lmcfg.txt), which correctly specifies everything.
Previously, we had Oracle 11g database, and 11g client on this server, which worked fine. DB upgrade to 12c was successful (other applications, on other servers, work fine), and I removed 11g client and installed 12c. It successfully connects to the Oracle server with the correct service ID, but Lyris ListManger application can't connect.
What am I missing here?
The root of the problem was in multiple client installations. At some point during the troubleshooting, I installed, and then uninstalled 64-bit client. After that, I installed 32-bit client and got it to connect through the Net Manager. However, that 64-bit client wasn't correctly and completely removed, and the ODBC driver was still looking at its original path for DLL libraries (which weren't there anymore).
I had to add a new ODBC driver entry for the 32-bit Oracle client. Once this was properly configured, the ListManager application was able to connect to Oracle server.

PIA_INSTALL_FAIL during PeopleSoft Server Administration

I'm following the online installation example (https://www.youtube.com/watch?v=7ElSGLkprkY) to install PeopleSoft with PeopleTools on Windows 7 with SQLServer 2008 R2.
My PS and PT installation version differs from the online videos since I'm using most recent available versions:
PeopleSoft HM 9.2
PeopleTools 8.55
Tuxedo 12.1.3.0.0 with VS2012
WebLogic 12.1.3.0.0 64bit
JDK 7u55 x64
SQL Server 2008 R2
I could install each element with no error, excepted one VIEW during HC database creation (PS_EP_APPRMOB_PNDG), but I could re-create the view manually by slightly modifying the SQL query.
Now I'm trying to configure the Web (PIA) Server and I encounter an error while creating the domain. The piainstall_HC.log file contains following:
Tue Sep 20 09:48:32 CEST 2016:Starting PIA installation...
PS_HOME: c:\PT8.55
Install Action : CREATE_NEW_DOMAIN
Creating Domain...
Deploying Web Applications...
Deploying WebLogic Extension files...
Deploying PeopleSoft Site files...
Deploying PeopleSoft Site Doc files...
Completed.
PS_CFG_HOME: C:\PS_CFG_HOME
PIA_INSTALL_FAIL
After intensive googling, I found that some other people got a similar issue which was caused by a wrong version of the JDK: the JRockit jvm was required.
Of course I tried to use JRockit JDK 64bit, but I still get the same error. I also tried several other oracle JDK versions, among others the JDK 7u55 x64, which is provided with PeopleTools installation elements.
Unfortunately, I definitively get the same error and cannot find any other logfile which could give more information on the root cause.
Did someone experienced the same issue and could fix it ?
Thanks for help
I finally could fix the issue.
It seems that my error was to install the wrong weblogic version: originally, I installed weblogic by using the "setup_fmw_12.1.3.0.0_ohs_win64.exe" installer which was provided with PeopleTools.
It appears that the other one (fmw_12.1.3.0.0_wls.jar) was expected. After installing this version (with "Coherence"), the domain could be created successfully.

IBM MobileFirst IBM DB2 "no DB2 instance found on the server"

Environment:
IBM MobileFirst 7.1
IBM Liberty Core 8.5.5
IBM DB2 10.5
0 Windows Server 2012 R2
While installed the IBM Mobile First 7.1 platform, in Database Creation request step, I am getting message No DB2 instance found on the server.
However on db2ilist it returns default instance as "DB2".
Any idea why it's not listing while Mobile First installation in database creation step?
This question may be a duplicate of: IBM Worklight 6.2 Server Deployement error: DB2 Instance not found on server
As the answer mentions, it seems the Server Configuration Tool may not able to create the database for your specific topology. You should then create it manually before running the tool. For instructions, see: https://www-01.ibm.com/support/knowledgecenter/SSZH4A_6.2.0/com.ibm.worklight.installconfig.doc/admin/t_creating_the_db2_database_for_wladmin.html
For the Project Runtime databases, the doc is here: IBM Worklight 6.2 Server Deployement error: DB2 Instance not found on server

weblogic 12c Please enable the DomainRuntimeMBean Server and the Edit MBean Server in this domain's configuration

On my windows 7 64bit machine, I completely install weblogic 12c but when I log into the admin console it gave me this error:
Please enable the DomainRuntimeMBean Server and the Edit MBean Server in this domain's configuration
I have tried uninstall and do a fresh install but to no avail. Any suggestion will be highly appreciated
Try deleting the pending folder within your domain root and restart the server. The default domain may be corrupted.
http://weblogicfordummies.blogspot.com/2008/10/wls10please-enable-domainruntimembean.html