Payara server not boot after a power failure - java

Payara server not boot after a power failure.
how I can fix and save payaradomain, I have many configurations there.
domain1 works well.

Check for a domain.xml.bak file in the same directory as the domain.xml. You may be able to overwrite the corrupted domain.xml with the autogenerated backup.
This link describes it more for an older version of GlassFish in the "backup" section:
http://docs.oracle.com/cd/E19798-01/821-1753/abhar/index.html

Related

tomcat eclipse error Could not load the Tomcat server configuration at ...The configuration may be corrupt or incomplete

Can anyone give me some advice on this error?
Whenever I try to define a new server on eclipse by using tomcat, I get this error:
Could not load the Tomcat server configuration at C:\gwl\web\apache\conf. The configuration may be corrupt or incomplete.
My Tomcat version is 8.5
Don't use an installed copy of Tomcat. Your user does not have full ownership over its file tree, and the installation layout might have other unanticipated differences. Get a tar/zip file from Apache, or on more recent versions, let the wizard download Tomcat for you.

Connect Weblogic server to Eclipse Error: "does not contain a valid WebLogic Server install or the installed version is not supported"

I'm trying to connect a weblogic server to my eclipse (photon) and I keep getting this error message:
Error
"does not contain a valid WebLogic Server install or the installed version is not supported"
I've tried installing 3 different types of eclipse (Photon, Eclipse IDE for Java Developers - 2021-09 and Eclipse IDE for Enterprise Java and Web Developers - 2021-09) but I have the same error on all of them.
I know that I have configured the weblogic server correctly because I can access it as shown:
Weblogic Server
Shouldn't it be looking for the startWebLogic file or something? Because that's where I'm pointing it at.
I have tried doing what other threads do but they don't work for me.
Basically I have 2 questions:
How do I fix this error?
What file does this pop-up is looking for?
The WebLogc Home Folder must set to point to your WebLogic installation and not to a domain folder (as you did). Locate the wlserver folder under your WebLogic installation and set it up in Eclipse.
You have to look to the "wlserver" folder, I just got it fixed, also with Oracle 12c.
The Server I linked was: C:\WL\wls12213\wlserver
And then you can continue, also the configuration guide will ask you for the domain, that you have to had already configured.
In my case: C:\WL\weblogic_server_12.2.1
I'm using Spring Tools Studio 4.6.1

BEA-160228 LoggerFactory Logback LoggerContext. Either remove Logback... Weblogic springboot

I really lost the way here, i'm trying to deploy a springboot application, when I try to upload .war file in a weblogic 12c returns BEA-160228 with error message in title here is my pom.xml:
https://bitbucket.org/snippets/CPernillo/6eg5oe
I've tried a lot of solutions that I found on forums even here in stack but nothing seems to work for me like disable spring-boot-starter-logging (as you can see in pom.xml), add a weblogic.xml to my webapp/WEB-INF folder (here it is):
https://bitbucket.org/snippets/CPernillo/yed5oA
Please stack-experts, help me and thanks in advance.
Update 1
This project has sucessfully deployed in a dev server, without changing anything, the problem is production server.
Fixed!
I Answer only if in future somebody have to pass this bad luck:
Java versions in both weblogic where diferent, spring 2.0.3.REALEASE only supports java 8, so, production server has jdk 7, client's sysadmins gonna have a long night migrating all old projects to jdk 8.

Running Apache Tomcat 7 in Eclipse

I am trying to run Apache Tomcat 7 on the Eclipse. But I am facing some problems. I configured the tomcat libraries. Then I also imported the war files in the existing workspace. Then I tried running the index jsp page. But I am getting error
"Unable to load page". Cannot resolve proxy hostname. I am not sure why the tomcat is starting now.
Can someone tell me what is this error ?
To run Tomcat, you need to either add a server using Eclipse's tomcat plugin or modify the run/debug configurations to point to your application's server.xml.
The error you're getting suggests that tomcat is not running or that it's not configured properly.
What exactly are you trying to do?
if you are using windows then go to run type services.msc a window will open up from there stop the apache tomcat service and then try to run it from eclipse.
or just change the port numbers it might be used by some other application

Tomcat 6.0 and Eclipse. Multiple instances of the server behave differently

I have Tomcat 6.0 installation on my Win7 PC. I used 64/32bit windows installation.
In Eclipse I was able to set paths and set server to use my Tomcat installation. Everything seems working fine until I run server from inside Eclipse.
I noticed that http://localhost:8080/index.html page is not available (Tomcat default home page). I also can't access http://localhost:8080/axis2. I have Axis2 installed too.
Since I am struggling to make simple axix2 web service for long time, I am thinking maybe this Eclipse instance of Tomcat is adding to my issues?
When I start Tomcat from windows GUI everything works as I expect.
Any ideas?
Thanks.
Eclipse does by default not take control over the Tomcat installation and all of its pre-deployed webapps, instead it just uses its sole server engine and uses the workspace metadata as deploy space. When you start such a server configuration from inside Eclipse, all of the pre-deployed webapps will just be plain ignored, including Tomcat's default homepage.
To let Eclipse take control over the Tomcat installation, you need to doubleclick the Tomcat server entry in Servers view to get its configuration, then at the left column, under Server Locations, you need to select Use Tomcat installation (note, when it is grayed out, read the section leading text! It needs to be published without any projects).
Yes, this is normal. In the Package Explorer, you can click the Servers folder and view the configuration files that the Eclipse instance is using, specifically server.xml and context.xml. You can edit this configuration to match your specific requirements.
You may also want to check out the section titled Tomcat Publishing Options in this link here: http://www.eclipse.org/webtools/releases/2.0/newandnoteworthy/server.php
I favor this approach because when WTP inevitably corrupts my configuration once every two weeks, I don't have to reinstall Tomcat, I can just delete the server and reconfigure it.

Categories

Resources