Installation and setup issue in YII2 framework - yii2-basic-app

I am trying to install yii2 basic application and deployed it in weblogic wls10.3.6 server but i am getting the following error i can see in app.log
2017-09-04 11:34:06
[192.168.1.5][-][-][warning][yii\log\Dispatcher::dispatch] Unable to
send log via yii\debug\LogTarget: Exception 'Exception' with message
''yii\web\session_status' is an unknown function.'
in Env.java:6904
Stack trace:
As a result web page is coming blank.
Kindly help me in setting up the yii2 base application in wls server.what parameters do i need to set up and pointer or instructure will reply help me.
I have followed the steps given in installation doc through yii framework site.
Thanks in Advance

To deploy PHP application on Weblogic , you need to use any PHP java bridge.
1.PHP Java Bridge
http://php-java-bridge.sourceforge.net/pjb/
Quercus
http://quercus.caucho.com/quercus-3.1/index.xtp

steps to run the Yii project in weblogic with PHP 5.6 and latest Quercus
Download and Install WAMP or PHP 5.6 independently and add the PHP installed location in PATH environmental variables in windows, so php will work in command prompt
Open command prompt and navigate to your project folder then Run the following command to create Yii application using PHP 5.6
yiic webapp path/to/directory
reference :
http://www.larryullman.com/2009/10/31/getting-started-with-the-yii-framework/
Copying the existing Yii project files to your new project folder as per folder structure.
Download Quercus 4.0.38 war file from http://quercus.caucho.com/
Unzip the Quercus war
Move the META-INF , WEB-INF folders and web.xml file from Quercus to your project root folder location
Download and install latest Java run time environment (Java JDK 1.8)
Create new domain in Weblogic server with referencing Java JDK 1.8
Deploy the application in Weblogic under newly created domain using weblogic console

Related

Error installing JBoss BPM Suite

I have no experience with JBoss BPM Suite I'd like your help.
I'm trying to install the JBoss BPM Suite, downloaded jboss-bpmsuite-6.1.0.GA-installer.jar file in the jboss site, to start the installation and performed the command java -jar jboss-bpmsuite-6.1.0.GA- installer.jar.
The program ran and asked to accept LICENSE later I informed the installation path, but it happened the following error:
"The required product.conf file in.:/home/user/ tools is missing or malformed Please supply Either an empty directory or an EAP installation"
I am unable to resolve this issue, someone help me?
thank you
You first have to install EAP server. Install it into your root folder with any name (EAP-version). After installing it then install BPM suite and provide the installation path the same as the EAP server and you are done.
You have to install the EAP server first. Download the desired version, and install EAP.
Then you should define environment variables for $JAVA_HOME and $PATH (if they are not set).
Finally, execute 'java -jar /jboss-bpmsuite-.0.0.GA-installer.jar'
Create a new folder outside SRC where you have saved all the packages related to JBPM and provide the same path as of new folder. It will be resolved.

Path for Weblogic Home& Java home for adding Oracle server in eclipse

I had installed oracle weblogic tool for in my eclipse luna by simple drag and drop to my workspace from eclipse-marketplace..tool appers when i am going to add a new server in eclipse but Can anyone please tell what to put in
Weblogic home and javaHome here
.............................Do i have to download oacler weblogic server ?????? Tool for oracle server is already there in eclipse. i also crosschecked my computer there is no any weblogic server folder anywhere....??Please Help Thanks in advance...
Yes We have to download the Oracle Weblogic Server from Following path:
1st -- go to http://www.oracle.com/index.html
2nd---then from top menu select downloads...go to Middleware...Expand the + sign of See All The Middleware Downloads..Then expand all previous and current version of weblogic server from WebLogic Server 12c and WebLogic Server 11g Releases.From there select WebLogic Server 12c (any New version you want)..then download according to your window configuration. Run that .exe file while run it will ask for path where you want to place this Middleware folder.Now give that path while sever configuraton in eclipse.
Please go through this youtube video if you have still questions..

Installing websphere application server 7 in eclipse juno

I have followed the instructions given in this link http://blog.webagesolutions.com/archives/538 to install websphere 7 in eclipse juno.Everything went smoothly but when I tried to define the websphere installation directory, it is not accepting the location that I am specifying.I am sure the installation of the server is working fine as I was able to deploy an ear from admin console.The installation path that I am specifying is this
C:\Users\User1\IBM\WebSphere\AppServer
I have added the following in the eclipse configuration file
-vm
C:\Users\User1\IBM\WebSphere\AppServer\java\jre\bin\javaw.exe
You are using wrong path.
Try reference this path bellow:
C:\Program Files\IBM\WebSphere\AppServer

Combine Eclipse Juno and GlassFish server

I am using Eclipse Juno and installed GlassFish Server 3.1.2 on Windows 7 under C:\glassfish3. Glassfish is running fine and I am able to visit the admin panel under localhost:4848/common/index.jsf. Morevoer I am able to deploy a war file and can start the application. My external GlassFish-server seems ok!
If I want to add a new Server to my Eclipse Juno environment I come to a screen where I can pick a GlassFish variant and afterwards I need to set a JRE and an Application Server Directory. I can't set a path for the Application Server Directory that my eclipse wizard lets me finish the configuration. Thanks in advance for further information!
UPDATE: I got this error message in the wizard after setting the application server directory path to C:\glassfish3\glassfish like it is proposed here: https://glassfishplugins.java.net/eclipse36/#1
There is no valid GlassFish installation in the specified directory. Click the Install Server button to download and install to that directory.

Failed to deploy zend application on Elastic Beanstalk

I need help for deploy my aplication into Elastic Beanstalk.
So far, I only want deploy the sample provided by Zend, without BD, services, etc. (base squeleton aplication).
I have followed these steps:
Enter into Elastic Beanstalk console (without application).
Create a PHP 5.4 enviroment.
Change in (Edit/Load Configuration -> Container Tab): Document Root= \public
Clicked "Upload New Version" and configure for deploy to existing enviroment (Default).
Important:
The File uploaded is a .Zip File of the base skeleton path.
My project has been developed under Windows and use xampp with PHP Version 5.4.7.
I used Eclipse for develop, I don't have Zend Studio.
After uploading, a event error is showed (Failed to deploy application version).
What am I being wrong? or what steps missing for do it well?
I put zend folder on LIBRARY inside project
/projectfolder/library/
works for me