How does Eclipse start weblogic? - eclipse

I'm asking a slightly different question here: How does Eclipse start/stop weblogic when you right click on the server in Eclipse's server pane?
I ask, because this is the only way that I can actually stop and start my server. The .CMD files that come with weblogic don't work. They never have.
It doesn't help that I'm running my own command-line (JPSoft's TakeCommand/4NT), but even if I go into cmd.exe... The scripts don't work. They never have. 25 years of shell scripting and I can't get them to work. I've spent upwards of 4 hours.
So in the end, I want to just do "Whatever it is that Eclipse does", but Eclipse is not forthright about how it's stopping and starting the server.

Related

Having problems with installing AnyLogic PE on Windows 10

I am having problem with installing the PE version on a Windows 10 machine. Even if I skip this error, several other errors pop up. Any idea how to proceed?
I have similar problems on client machines. Skipping all errors usually works, actually. In my case, they are caused by the installer trying to copy example models into a part of Windows that is locked.
Skipping still lets me use AnyLogic, just no example models.
See if you can install as an admin (right-click the installer and launch as admin)

Which Wildfly version to use with Windows10 and Eclipse Mars?

I'm a beginner at Java EE. Please advise me which is the good Wildfly verson for Eclipse Mars and Windows10? Thanks for help
Hi follow the simple steps below, there is no problem at all with any version on windows, 8 works well, 9 or even 10.
Make sure you have java properly installed on your machine, for example if you open a Command prompt and press 'java -version' you get something back.
Download the latest version of wildfly from here as a zip.
Unzip the file and you have the app server folder. Go to the /bin folder and try to start the app server using the /bin/standalone.bat (does it start? is it booting?). If yes stop it by pressing Ctrl +C.
Once you make sure the above steps work, then you can go to your eclipse and add the Application server, installation, to your list of servers for example see here for specific details .
To cut a long story short, wildfly is the easiest app server to install, it is just a zip, you unzip it and if you have setup java properly on your machine it justs runs - no installers not a big deal actually :)
Hope that helps.

Run Eclipse EPIC Perl Plugin on Remote Project/Files

I recently started a new job, where all development is done on a remote dev server. I really like Eclipse as a centralized development environment for all the different stuff I'm working on, and am not a particularly big fan of emacs or vi. I'll use emacs if I have to change something quickly, but after really trying to like it for normal development, I'm really starting to miss Eclipse.
That said, is there any way I can use Eclipse with EPIC for Perl development on a remote server? I can live without debugging functionality, but proper syntax highlighting, and the ability to create projects would be really, really nice. So far, I've tried using a remote browser plugin for Eclipse to peruse the remote dev server and open stuff into Eclipse that way, but it is far from ideal. Anyone have any better ideas?
Answering my own question (which no one seems to have looked at or care about, but what the hell-- maybe someone will have the same issue):
Grab Remote Systems Explorer from here.
Setup RSE to ssh into your remote server.
Create a new empty EPIC project (or using whatever plugin/ language you want).
Right click the project, select "New Folder," then
Advanced >> Link to alternate location (Linked Folder)
Switch file system to RSE, then just browse to some folder on your remote system you'd like to become a project, and add it.
That's it, you're done. Now when you open your project in Eclipse, you'll see that folder with all the code you wanted, and you can use it just like you would locally.
The main problem I'm seeing with this right now is that currently I can't get it to do any error checking, which is too bad. I'll work on finding a work around for that and update here if I do.
If you're on linux, you can also mount the remote drive/folder with sshfs and use the same "linked folder technique". I do this all the time for Java EE development. sshfs is also very reliable, unlike Windows network shares mounted on linux with Samba-Client. (Sometimes the Windows sharing service gets confused. And needs to be restarted on the remote server. I use a powershell one liner for this "restart-service -name 'sharing service' " or something likeĀ“that.)

How can I restart JBoss 5.1 on AIX from a shell script?

I need to restart JBoss from my script?
I tried to call
jboss-5.1.0.GA\bin\shutdown.sh
and then
jboss-5.1.0.GA\bin\run.sh
But unfortunately shutdown.sh works asynchronously.
Is it possible to restart JBoss from shell script?
I have a restart script, posted at https://serverfault.com/questions/56595/jboss-restart-script, written for red hat linux. I am sure it can be easily adapted to AIX.
One problem though - it still has problems with starting again, it seems that the jboss process hangs until the script is off. Running it again starts jboss immediately.
As far as I know there is no built-in support for this in JBoss. But...
This message on the jboss-user mailing list might help you to build your own script: Re: [jBoss-User] Starting jBoss as a service on Linux
EDIT: Just found another (very similar) post: Running JBoss-5.1.0.GA as a service on Red Hat? which could be a good source of inspiration.

How do I get Time Lapse View in P4Win?

In the past, on Windows XP machines, I was able to install P4V (the stupid platform-independent Perforce visual client that Perforce tries to shove down your throats), then after that, install P4Win (the wonderful clean robust mature visual client that Perforce is stupidly trying to deprecate).
If I did the installs in that order (and only in that order), I would get an option for "time lapse view" of a file when I right-clicked on it in a Perforce depot in P4Win. This would launch the time lapse view app that came with P4V, and everyone would be happy.
I just did those steps in Vista and... no dice. I don't see the Time Lapse View option when I right-click on a file.
Anyone know what wonky sequence of install steps I need to do under Vista to get this option?
Okay I did this myself. The steps I followed were:
1. Uninstall every single Perforce product on my machine.
2. Reboot.
3. Install P4V.
4. Reboot.
5. Insteall P4Win.
6. Reboot.
Then the Time-Lapse View (and the Revision Graph, another useful tool you can only get from the P4V tools) show up in P4Win. Huzzah!
By the way I tried uninstalling them all, then reinstalling in the right order WITHOUT any of those reboot steps... no dice. Probably not all of those reboot steps are necessary, but I wanted to be sure, and it worked.
I'd like to take this space to say once more: P4V is donkey feces, and Perforce needs to stop trying to shove it down our throats and continue to build on the fantastic product they have in P4Win. kthxbye.
This method also works for Windows 7 64 bit with 64 bit versions of P4V and P4Win