How do I setup Weblogic as one of my Servers in Netbeans - netbeans

I downloaded the Weblogic .zip file from the oracle's server but when I am trying to add the server to my Netbeans it gives an error that says "The entered installation directory is not properly structured."
I have also attached a screenshot to show it, can you please help me with the issue. I tried to find a solution online but there is nothing that actually solves my problem. For e.g someone said to update the IDE, so that didn't help.

This is a problem permission: https://community.oracle.com/thread/2582875
Just make sure that the user that is running netbeans has the same permissions on weblogic directory.

I'm guessing here, but you probably unpack the zip file but didn't run "configure.sh" to finish the WebLogic configuration.
Run ./configure.sh inside of your WebLogic folder and then try it again.

in netbeans for "Server Location" you should put MW_HOME\wlserver_10.3
presuming that you use "Domain Registration Type" Local Domain
then click Next, and netbeans will detect in Instance Properties
Domain like MW_HOME\user_projects\domains\sw_domain
just enter Username/Password and click Finish

The server location is:
*/Oracle/Middleware/Oracle_Home/user_projects/domains/base_domain

Related

Service 'MongoDB Server' (MongoDB) failed to start

I'm trying to install mongo DB on my local machine with the installer from the official website. But I'm continuously getting this message, can someone help?
I've tried the solution provided here but didn't help.
I suggest doing the following:
Hit Win+R to open up you run.exe then inside of it enter services.msc to open up services. Try locating the service under the name of MongoDB Server and set the Startup Type manually to Automatic - [In addition to that, you could set the username and password manually. If you get a message saying the user was granted login as a service right, try hitting retry on the MSI dialog and see if it starts].
Important:
Don't forget to save and close everything (services.msc) before continuing.
Also very important, you should (must) check your .NET framework version and update it to version 4.5 and above. You could download a software like eg Driver Booster to update all of your drivers and additional components that are outdated.
I ran into the same issue. My problem was the installation location. I was trying to install under C:\MongoDB. I resolved it by installing in the default MongoDb location which is C:\Program Files\MongoDB.
For me this is usually an issue with the configuration file %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
At some time there was an invalid option "snmp" enabled (only valid in enterprise version).
Nowadays, although the installer asks for directories for data and logs it doesn't ALWAYS seem to use these, but defaults to %MONGO_DATA_PATH% or %MONGO_LOG_PATH%, respectively. I don't know where these should be defined, but the server fails at accessing c:\data\db (which doesn't exist). So you have to correct the paths.
I also faced this kind of error. But I just change the Network service to Local system in Log On As tab.
Follow my step-by-step below to resolve it:
Press Win+R, type: services.msc, then looking for MongoDB Server (MongoDB)
Double click on MongoDB Server (MongoDB).
Then it will open properties tab. On that tab click on Log On
After that check two items i.e. Local System account and Allow service to interact with desktop
After that press Apply and OK button. That's it, cheers!!
Open command prompt and copy the following command:-
"C:\Program Files\MongoDB\Server\4.2\bin\mongo.exe"
NOTE: This Tricks is work on my Windows 8.1 PC.
Comment out string with mp: in configuration file: %ProgramFiles%\MongoDB\Server\x.x\bin\mongod.cfg
Like this:
...
#snmp:
#mp:
Click Windows+r, type lusemgr.msc , Go to Groups and double click Administrators, Click Add, Click Advanced and click Find Now. Double click in Network Service (in bottom list) and click OK.
It worked for me.
Installing in the other locations other than the windows directory caused me this error. Reinstalling the setup with the recommended method of "complete" fixed it.
The problem occurs if you have Windows version previous to Windows 10.
Install the following update before installing MongoDB. Click on the link below.
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows
It worked for me.
The problem occurs if you have Windows version previous to Windows 7. Install the following update by going to below link you have to download
Windows6.1-KB2999226-x64.msu
#You have to download and install then go to servies.msu and start MongoDB server by Start also go into log on and set to #local machine
https://support.microsoft.com/en-us/help/2999226/update-for-universal-c-runtime-in-windows

Blank profile name in Eclipse, Websphere Settings

I am trying to add a New Server (WebSphere Application Server 7) to Eclipse (Kelper). I have just installed WebSphere Application Server 7 on the PC but have not changed any settings yet (default settings).
In Eclipse, after New Server -> WebSphere Application Server Settings it shows me the following:
As you can see the Profile name box is empty, with no choices in the drop down box. When I click Configure profiles... I see:
At this point I am stuck. I'm guessing that I already have a profile setup in websphere, but that maybe it doesn't have write permissions yet?
What do I have to do to get this server working in Eclipse?
Based on the second image looks like you dont have any profiles. Check if you have any profiles (folders) e.g. AppSrv01 in the C:\Program files\IBM\WebSphere\AppServer\profiles.
If you have - it means that you dont have write permissions to that folder - try to run Eclipse as Administrator. Did you installed WebSphere with your user or Administrator? In general as a best practice you should avoid installing WebSphere in Program Files.
If you don't have - create it using for example Profile Management Tool - should be available in your Start menu.
You probably don't have rights, because the "Run Profile Management Tool" button should be enabled, if you would highlight WebSphere Runtime in upper table.
I have same issue.
If you install websphere in
C:\IBM\WebSphere\AppServer\profiles
instead of:
C:\Program files\IBM\WebSphere\AppServer\profiles
Then it will solve lots of configuration problems related to access.
Hope it helps
If your C:\Program files\IBM\WebSphere\AppServer\profiles dir is empty go to:
http://www-01.ibm.com/support/docview.wss?uid=swg21442487
Download the attached zip and extract it to WebSphere's bin directory and run the bat/sh.

How to fix Malformed help URL while opening ACC ATG?

I'm using jboss + mysql for running ATG. I'm trying to open Admin Control Center through dyn/admin. However, I'm getting malformed help URL before I get login form. Once I logged in, I'm getting multiple alerts of same exception but with different help ids.
Did any one face this issue and found a workaround?
This issue has been observed because of not having protocol.jar in classpath while starting jboss server. You can follow this workaround to fix the issue.
Copy %DYNAMO_HOME%/DAS/lib/protocol.jar to C:\lib or any folder that is easily accessible to you.
Open Standalone.conf.bat
and add following line in the file.
set "JAVA_OPTS=%JAVA_OPTS% -Djava.endorsed.dirs=C:\lib"
Open the Jboss server after the above update is done. The error will be resolved.
Weblogic:
Copy the protocol.jar form DAS\lib to your domain lib folder and restart weblogic.
Ex: C:\Oracle\Middleware\user_projects\domains\base_domain\lib

GlassFish v3 in Eclipse shows "Wrong username or password" after starting

During the GlassFish installation I have chosen user name and password. These parameters are properly set on the Eclipse Server Adapter setting page. But when I start GlassFish in debug mode from Eclipse, I get "Wrong username and password".
There is nothing in the server log - in fact the server is started and works properly. The message only appears something like 95% of the time, and it is making debugging of the application problematic with the constant restarts and redeploys.
Anybody found how to overcome this problem?
I am using Oracle GlassFish Server 3.0.1 and Eclipse Helios Eclipse Java EE IDE for Web Developers (Helios Service Release 1 Build id: 20100917-0705).
For me the fix was to leave the "Password" field empty. I am however using different versions (but I stumbled upon this thread and maybe someone else will see this as well) of Eclipse and GlassFish(Eclipse Kepler & GlassFish 4.0).
I hope this helps anybody.
EDIT putting together compatibility of this fix from the comments:
Kepler & 4.0
Luna & 4.1
Mars & 4.1
I had this problem too. For me the solution was to disable the "Use Anonymous Connection for Admin Commands" option. To do so, follow these steps:
Right click on the Glassfish entry in the Server tab and click "Open" from the context menu. (Or press F3 while the Glassfish entry is selected.)
Make sure the box "Use Anonymous Connection for Admin Commands" is unselected, see the screenshot.
Don't forget to save before you retry...
If the log refers to full host names, like:
JMXService URL = service:jmx:rmi://my-work-pc.lan:8686/jndi/rmi://my-work-pc.lan:8686/jmxrmi
rather than, for example:
JMXService URL = service:jmx:rmi://localhost:8686/jndi/rmi://localhost:8686/jmxrmi
...then disabling the proxy settings in Eclipse (Preferences, General, Network Connections, Active Provider: Direct) might solve it.
For what I've read the default "Native" proxy setting yields problems as GlassFish by default binds to 0.0.0.0, which causes host name resolution rather than simply "localhost" in the RMI calls above. Given the host name it then finds, Eclipse might then feel it needs to use your proxy (if set) even for what is actually localhost.
My solution was just disable Anonymous Connection for Admin Commands. Auto deploy is another silly enabled default option because on every save freezes eclipse for a while, of course this does not count on small projects so you are good if you are writing only Hello world projects :)
I had the same issue while setting up glassfish4 with eclipse. Below setting resolved the issue:
Keep username as "admin" with a blank password (Unless you changed
anything while installation).
Select - 'Use Anonymous Connection for Admin Commands' checkbox.
Hope this helps.
it seems that the problem is removed when auto-deploy after changes option is removed.
For the first time from your eclipse do not set any username and password as #mgttlinger said. i hope now you can start the server without any issue.
Open admin console by localhost:4848(not it wont ask any credential)
To set admin password, go to Domain -> Administrator Password
Enter New Password and Confirm New Password.
Click on Save button
Restart the server
Try access localhost:4848(now you have to enter username and password to login admin console)
In Eclipse also set username as admin and given password to access glassfish server from your eclipse
If your OS is Windows, and your Glassfish installation location is in root directory (e.g. C:\dev\tool\Glassfish ), then try run Eclipse "as administrator", believe it or not, I know its a bit weird, that does solve the problem.
Had the same problem , did restore default to remove the password set at the time of server installation in eclipse. The server started after that.

Netbeans Resolve missing server

I've encountered a problem with my Netbeans 6.1 IDE.
After an unsuccessful update, Netbeans stopped recognizing Apache and Glassfish servers and requested me to resolve a missing server error, after which I opened a window to add a server, except there were none listed. Trying to add servers in the list yields no results as there isn't even a single server type to be chosen.
Reinstalling Netbeans didn't fix the problem. Does anyone have any idea how to fix this?
When you reinstalled did you manually delete the "C:\Documents and Settings\omuhammed.netbeans" directory? apart from deleting the folder in "Program Files"? before reinstalling? This usually works for me.
After reinstaling i didn`t done that, and the result was the same. More people had complains about this but i found no direct answer. I have done it the "hard" way and downloaded 6.5 version and everything is ok after instalation.
The same thing happened with me also. As I opened one project which was created by some other user. But here it says, server is missing and I need to resolve it. When select Resolve server missing problem, window with blank list of servers is shown. When I opened 'Server Manager' window, there it is showing Bundled Tomcat. but there is noway to add the same server to the required project. At the same time, some projects, created in the same machine is running properly.
I could not see any proper reason and solution for the problem even in the net resources also.
any and all suggestion are highly appreciated.
Sajan
After uninstalled the netbeans, then i delete the "C:\Documents and Settings.netbeans", "C:\Documents and Settings.nbi", "C:\Documents and Settings.netbeans-derby", and "C:\Documents and Settings.netbeans-registration" directories. After that i reinstall the netbeans. It works! Thank you omer mohammed!
Right click your project and next click resolve missing server. Open dialog box so you will add server in current glash fish server next solve your problem.
While installing select customize button. Select only tomcat, un-check glass fish and then proceed installation. It will work like charm.