Cannot Start Weblogic Managed Server, - weblogic

We are running Weblogic 7sp6. We have a working single node cluster with an Admin and two Managed servers. We are re-creating a 2nd standalone cluster on a 2nd server. We reinstalled Weblogic and have copied over all the configuration files to make thing. Its the same on both clusters. We changed all the references to IP and hostnames. We have used this method before without problems.
In the current case I can startup the Admin which listens on port 7001,7002. But when I try and startup either of the Managed servers it tells me that myserver1/2 is already up. (Managed Servers). I confirmed that myserver is configured to use port 7012,7013 and I cannot find any port conflicts especially because these exact ports worked on the first cluster. Any ideas of what else to look at? I have logged in the admin console and can see the ports are all unique. Thanks

The current version of WebLogic is 10.3. I'd strongly urge you to upgrade your WebLogic as soon as possible, especially if you're still using the version of JDK that it was certified for. If you're running JDK 1.4, you're crazy.

Related

Redis Configuration settings are changing dynamically after couple of hours

I installed Redis Server on the cloud machine (Ubuntu 18.0) where it contains SSD.
In the configuration file, I changed the dir to /temp and the dbfilename to dump.rdb
I restarted the server and checked the runtime settings with CONFIG GET.
It is showing the values what I set in the redis.conf file.
After 6 Hours, I checked it again. The strange thing is, these values got changed dir=/var/spool/cron"
and dbfilename=root.
I am sure, nobody attacked my server and it is under our own VPN and not publicly accessible.
Now, I did one more test, I installed a Docker Container (Ubuntu 18.0) in that cloud instance (Same instance) and did the test in the container. There is no change in the configuration at runtime after couple of hours.
Also, suspect if the cloud machine is built with magnetic HDD redis seems working fine. If I built with SSD then redis not working after couple of hours.
Can anybody help in this regard.
Thanks
I had a similar situation on the my Redis server.
If your Redis server is accessible from the public network, It might be an attack.
In my case, I changed the default port of Redis servers and add password protection.
After that, the same situation does not happen.
Check the below issue in Redis GitHub, You can get more information about your case.
https://github.com/redis/redis/issues/3594

How do I change my localhost application server from Apache httpd to the Tomcat that is built into ColdFusion 10?

Backstory: A couple of years ago my group changed the server on which coldfusion runs to Apache instead of IIS. I changed my dev environment to run CF on Apache httpd and everything was fine. Later we changed the session variables to j2ee, but I have never been able to get j2ee to work on dev so I am still using regular session variables on dev. Lately I am getting session persistence failure on test but I can't reproduce on dev. In looking for differences in CF server settings between test and dev I discovered that test is running on Tomcat while dev is running on Apache httpd.
My problem real problem is how to get j2ee session vars to work on dev. My question right now is how do I change my server from Apache httpd to the Tomcat that is built in with CF 10? Is there a way to do this without starting over with a fresh install of CF 10 as those are the only instructions I can find?
System: Windows 7
IIS and Apache are not (for Coldfusion, anyway) application servers. They are your front-end web servers. Your 'application server' in this setup is the software running the "application" of Coldfusion via servlets, and that's Tomcat.
While it is possible to use CF's builtin Tomcat server as your front-end web server, it isn't advisable, and it's almost certainly got nothing to do with your problem. Apache is more than capable of doing what you need and a problem with J2EE session variables is going to be related either to your JVM (are you using more-or-less the same version as your production server?) or to Tomcat itself.
Think about how J2EE sessions work. A request comes in and hits your front-end server (httpd), which, presumabl through mod_proxy or mod_jk, hands that connection over to Tomcat. Until this happens, that your system is even running a JVM isn't relevant -- neither Apache nor IIS care about Java. I wouldn't go so far as to say that it's impossible for an Apache problem to be monkeying with your session variables, but it would be pretty low on my list of suspects.
Once Tomcat (and then CF) get involved, then your JVM is doing all the work, so that's where I'd look. I'd also have a look at CF logs and Tomcat logs.
To properly answer your question, though, if you want to remove Apache from the loop, you're looking at Tomcat's server.xml and web.xml in /cfusion/runtime/conf - you'd need it running on port 80 (or else reconfigure Apache to just pass all requests to Tomcat instead of only CFML, but that doesn't really do what you asked about since Apache is still involved). You'd also have to reproduce your entire Apache configuration in Tomcat, which I've never done and wouldn't recommend, but that's the direction you'd need to investigate.
Much better to work on solving your session problem. Killing Apache is just collateral damage here.

weblogic AS: application deployed on a cluster with two managed servers

I'm on Weblogic AS 10.3.5, I have two managed servers pointed to a cluster, so I have two url, one for the first managed server, the other one for the second.
I will deploy my application on the cluster, so will I reach it on both the url? will the application deployed and running on both the servers?
How does it work? Can you give me some references, please?
Is it clear?
Thanks a lot!
First, you shouldn't be using WebLogic 10.3.5 anymore since it has reached the last stage of support called Sustained Support. Consider to upgrade at least to WebLogic 10.3.6.
Related to your question, I believe you are talking about a Web Application and how to access it. First you need to read about Load Balancing in a Cluster. For the web part (JSP and Servlets) basically you have to options: setup a Web Server (like Apache HTTP) to make use of the WebLogic Plug-in, that will then be connected to the WebLogic cluster. The other easier option is to simply use an LBR (load balance router hardware).
These are the "software" solutions you have for Load Balancing your web application in a clustered WebLogic:
WebLogic Server supports the following Web servers and associated
proxy plug-ins:
WebLogic Server with the HttpClusterServlet
Netscape Enterprise Server with the Netscape (proxy) plug-in
Apache with the Apache Server (proxy) plug-in
Microsoft Internet Information Server with the Microsoft-IIS (proxy) plug-in
You can read more about this options at the Configure Proxy Plug-ins documentation page for WebLogic 10.3.6.

can i backup domain from one glassfish installation to another?

i have 2 machines on which same version of glassfish is installed say A and B. they are nix based. on both the machines glassfish is hosting same applications. glasfish B is facing some issue which we are not able to sort. glassfish A and applications on it are working perfectly. can i take a backup-domain on glassfish A and restore it on glassfish B. ? in other words do domain configuration contains machine specific information or anything that might make this thing not possible ?
Yes. You should be able to do that. We went to lengths to make the configuration not machine-specific.
I recommend that you first backup GF "B" just to be safe.
If you have GF server instances (not domain) running on another machine, they have a config file that points back to the domain's host. You would need to edit that file if the domain host changed.

Installing uberSVN on a server with an existing Apache server

I'm installing uberSVN on an Ubuntu server with an existing Apache installation. Rather than using uberSVN's built-in Apache server on a different port to access the SVN repositories, I'd like to use a vhost on the currently running one.
Are there any ways I can achieve this?
As uberSVN is meant to be able to run 'out of the box' it will use it's own instance of Apache even if you have another one already installed. This is not something configurable (at least not from the UI), and is not recommended to be changed as it can cause problems if there are different uses or port conflicts. Is there a specific reason that using uberSVN's instance is an issue?