Ask Questions and Find Answers
Important:
Ask is now read-only. You can review any existing questions and answers, but not add anything new.
But - don't panic! While ask is no more, we've replaced it with discuss - the new Liferay Discussion Forum! Read more here here or just visit the site here:
discuss.liferay.com
RE: I can't run liferay
I've new starting liferay, I created a trial page that didn't have mysql connection but I get this error while running.
please help your me
Regards
please help your me
Regards
Attachments:
Which Liferay Portal version you are on? Which Java version you run it with?
Thank you for responding firstly.My Liferay Portal version 7.2.0 and Java 1.8.0 also i'm using Eclipse.
This sounds like the wrong version of Java is running or you use JRE instead if JDK.
Have you seen https://liferay.dev/forums/-/message_boards/message/77089101
Have you seen https://liferay.dev/forums/-/message_boards/message/77089101
Also: You've installed Liferay under C:/Program Files. I'm not using Windows, but I've heard that (at least some versions of) Windows will prohibit runtime changes to files in that directory. You might want to move it out of that directory in order to be able to run with a nonprivileged user, if this limitation is still active.
Liferay and tomcat have quite a lot of work- or storage directories there, unless you specifically configure them to be elsewhere.
Liferay and tomcat have quite a lot of work- or storage directories there, unless you specifically configure them to be elsewhere.
Didn't work Ms.Olaf, I moved it out of the directory, even C: / Program Files from the other directory as follows: A: \ LR \ LR7 \ liferay-workspace folder I tried to create but did not.Renewed the same error.In the attachment of the error file, I did not understand exactly what the error is giving.
https://liferay.dev/documents/portlet_file_entry/14/error.txt/4b9a90c4-b30b-f9c4-4b01-e4f2934dd40d?download=true
https://liferay.dev/documents/portlet_file_entry/14/error.txt/4b9a90c4-b30b-f9c4-4b01-e4f2934dd40d?download=true
No i didin't, i am using JDK
May I recommend that you start from scratch? While your current installation might be fixed, it would require us to understand, what went wrong. And that's a bit of a guessing game without looking at your whole setup.
Take the Liferay zip file and unpack it to some location.
Create a new mysql or mariadb database (note: Your version is sufficiently high? I think, you need at least MariaDB 10.2 or so and we usually had older versions installed)
Start Liferay, enter the new connection string.
Does that work?
Take the Liferay zip file and unpack it to some location.
Create a new mysql or mariadb database (note: Your version is sufficiently high? I think, you need at least MariaDB 10.2 or so and we usually had older versions installed)
Start Liferay, enter the new connection string.
Does that work?
maybe but my other system is running linux.
windows could not run well.
windows could not run well.
The process I described is independent of the OS. I use Linux and have about a dozen Liferay instances on my computer. And my colleagues use Windows and Macs.
If you want to get Liferay running on a system, do it in steps. If you try to do all at once, the chance to make an error is far higher. Repairing a broken instance can be tedious, if you don't know what could be wrong. It is often better to start from scratch and try to incrementally get there.
If you want to get Liferay running on a system, do it in steps. If you try to do all at once, the chance to make an error is far higher. Repairing a broken instance can be tedious, if you don't know what could be wrong. It is often better to start from scratch and try to incrementally get there.
Problem solved, thank you very much to everyone who tried to help.The problem was that Tomcat was automatically magnifying the windows according to the Turkish keyboard I used when I was running the code, so I wrote the following code to argumants.
-Duser.language = en -Duser.region = US "
Seamless liferays
Samet B.
-Duser.language = en -Duser.region = US "
Seamless liferays
Samet B.
Samet Bulanıkooğlu thanks for reply its made my day.Do you still work with liferay platform ?
You don't run liferay, liferay runs you into a rabbit hole.
Copyright © 2025 Liferay, Inc
• Privacy Policy
Powered by Liferay™