Errors when running Liferay through Eclipse - eclipse

I'm currently going through the liferay back-end development course and I'm trying to run the server however this is what shows up in the console.
2-Oct-2019 11:12:29.376 INFO [main] org.apache.catalina.startup.Catalina.start Server startup in 189635 ms
2019-10-22 11:12:35.625 ERROR [http-nio-8080-exec-2][JSONWebServiceServiceAction:97] Access denied to com.liferay.portal.workflow.kaleo.service.KaleoDefinitionService#getKaleoDefinitions
I've already investigated to see what the Access denied has popped up but I haven't found anything relevant for my issue.
If it's of any help, I've already changed the JRE to a JDK in the runtime environment and it's not changed anything as far as I'm aware.
I've loaded the workspace they've used and there are a couple of issues inside of it but the same errors show up in the video and it doesn't seem to affect how they proceeded.

Related

Eclipse connecting errors

I'm new to using Eclipse and my experiance with it so far has been shocking. It wouldnt even install from the Exe provided on the site... Every time it tries to connect for an update or a plugin I want to install it just throws an error saying it can't connect to the site or theres an error authenticating or theres an error reading signed content. Is there something ive missed while searching the internet to resolve these issues...
I have already tried disabling firewall, disabling antivirus, setting 'Active Provider' under network connections to Manual and the default of Native, Deleting the artifacts.xml file, deleting cache.
Just as an example of the error I have included an error I've just made it create by reloading Oxygen in Available Software Sites of the settings:
Unable to read repository at http://download.eclipse.org/releases/oxygen.
Unable to read repository at http://download.eclipse.org/releases/oxygen.
Unable to read repository at http://download.eclipse.org/releases/oxygen/201712201001.
Input is not in the XZ format
Also when Installing WindowBuilder from this URL http://download.eclipse.org/windowbuilder/WB/integration/4.7/ which is clearly working:
Unknown Host: http://http/download.eclipse.org/windowbuilder/WB/integration/4.7/content.xml
Unknown Host: http://http/download.eclipse.org/windowbuilder/WB/integration/4.7/content.xml
http

Deploying to Wildfly admin console stuck

Im running on the latest Mac OS. I installed wildly and it is starting up with no errors. Im trying to deploy a small enterprise application, I exported it as jar file from eclipse. Im following a online course, I double checked the code it looks exactly like in the videos.
The problem is: When I deploy from the admin console, it just tells me: Your request is being processed ... waiting more then 20 minutes, no errors not even a warning, it just won't deploy and I have no clue what is the problem....

Eclipse with Worklight studio and Android hangs with "The User operation is waiting for 'Startup preview server listener' to complete"

I have been successfully developing on Eclipse Keplerwith Worklight Studio 6.1 on Windows 7 for several months now.
When suddenly I have started getting the following error message every time I try do deploy my app to the embedded worklight Server: "The User operation is waiting for 'Startup preview server listener' to complete". It hangs and never completes. See screen capture below.
I know that similar errors have been logged on StackOverflow, but I have never seen a clearcut answer for how to fix it.
Would appreciate any suggestions.
Have you tried the steps described in this stackoverflow question, it has a few steps that should address the problem.
The problem is likely to be caused by some specific configuration in your workspace so trying a new workspace should reset all settings to default, and it will also allow you to compare the different environments to identify the root cause.
Please report back to your results.

Why can't I download any plugins through Install New Software?

I am unable to download any plugins for Eclipse through Install New Software, or via Marketplace. The specific plugin I am after is Run-Jetty-Run, but after some testing, I noticed I couldn't download anything, even from the Eclipse update sources.
I'm running the latest version of Indigo, and am using Win7 64-bit. My machine is behind a router and running AVG Free.
Things I have already tried:
Forwarding port 4000
Running Eclipse as Administrator
Adding exception for Eclipse in Windows Firewall
When trying to download the sources for RJR, I get a "Provisioning exception" in the error log, but no pop-up message. The trace is huge, will post if necessary. Eventually I get to the screen where I accept the license agreement, and the download starts but hangs at a step labeled Fetching [repository URL]. After a time, I get this pop-up error:
An error occurred while collecting items to be installed
session context was:(profile=SDKProfile, phase=org.eclipse.equinox.internal.p2.engine.phases.Collect, operand=, action=).
Unable to read repository at http://run-jetty-run.googlecode.com/svn/trunk/updatesite/plugins/runjettyrun_1.3.3.201203161919.jar.
Read timed out
Unable to read repository at http://run-jetty-run.googlecode.com/svn/trunk/updatesite/plugins/runjettyrun.jetty7_1.3.3.201203161919.jar.
Read timed out
[The last three lines are repeated again, but my reputation is too low to post another link]
I know this is not the repository itself that is failing - every plugin I have tried to load has failed in an analogous way with the same sort of error message, and I can download the jars just fine through my browser.
This is exactly the problem that one gets when there is some kind of firewall or if your proxies are not set up properly. Have you gone to Preferences -> General -> Network Settings and set up your proxy configuration there?
If this doesn't work, then some projects have archived update sites that you can download. Try looking for one of them, downloading and installing from the local update site.

Launching from Eclipses causes errors in browser

I've got a strange situation; when I run a Flex app from Eclipse (i.e. click run as web app), my remote calls always hang.
In Firefox, they return as failed.
But when I open up a browser and browse to my .html file in the bin-debug folder, the remote calls work.
Why is that?
Thanks for any helpful tips!
p.s. I'm accessing a websphere server and authentication is required but a Java developer hardcoded his ID in.
One thing to check:
Do you have a breakpoint set in your code somewhere? Eclipse may be waiting for you to interact with it so the program execution can continue. On my Win7 machine, when the debugger takes over, eclipse often does not take over focus; so I have to manually minimize IE.
My problem was solved today and the issue was getting through to the IBM websphere server; the authentication was still in place and the java developers had to create a cloned environment where authentication was not required. Thank you everyone for their helpful answers.