- This topic has 7 replies, 3 voices, and was last updated 12 years, 2 months ago by support-tony.
-
AuthorPosts
-
venakatasreekanthMemberHi,
I am websphere 7 with fix pack 21. Initially, I had two profiles
profile 1: configured to connect to dev environment.
profile 2: configured to connect to test environment.Why I need to connect to two environments is completely different issue, but when I added the two profiles to myeclipse blue I was able to only start one profile. I am unable to start the two profiles one after the other or at the same time etc.
I am able to start the two profiles independent of myeclipse from command line.
Since websphere installs as windows service, I thought I would try installing to separate instances of websphere and did it. Now my eclipse blue will let me install only one instance of websphere.
why can’t I connect to two instances of webpshere in myeclise blue ?
I am using windows 7 as operating system.
support-swapnaModeratorvenakatasreekanth,
Sorry that you are seeing this issue.
Can you answer some more questions for us to investigate further ?
1. Can you please let us know what exactly happens when you try to start a second profile when the other one is running ?
2. Also make sure both the profiles are not using the same ports or ports which are already in use, which will not work.
3. Can you also try checking the same after disabling the Windows service for both the profiles ?
Let us know how it works for you.
venakatasreekanthMemberAnswer 1 : When I try to start the second profile it basically says error starting service or something like that. I have now created two instances of the websphere so I do not have the second profile as of now on my machine.
Answer 2: Both profiles are set to different ports. I made sure of that.
Answer 3: When I created a second profile, there is still only one service. After I disabled that service none of the profiles would load.
Like I said there is only one service for both profiles and both profiles can be started independent of myeclipse. But when starting them from myeclipse the second profile does not start. I think you should look into how myeclipse starts multiple profiles because they seem to work when they are not started from with in myeclipse.
support-tonyKeymastervenakatasreekanth,
Sorry for the delay in responding.
There is no way to configure two server connectors for the same brand of application server. However, it is possible to set up multiple profiles on WebSphere and have MyEclipse deploy to them and to start them as independent servers. I have tried this on Linux and Windows 7, without any problems.
Can you add a second profile again and let us know exactly what the symptoms are for the problem with multiple profiles. In this way, we might be able to help get you running with multiple instances of WebSphere Application Server.
Regarding the disabling of the service, this was to avoid the complication of starting the server via a service during development. This also should work and certainly shouldn’t stop profiles being loaded in the WebSphere connector configuration. An alternative to disabling the Windows service for the profile is to create a profile without selecting the option to run the profile as a service.
venakatasreekanthMemberI have multiple profiles and they worked yesterday. Today for some reason websphere is having startup issues from myeclipse(it always had). Forget startup, every I ask myeclipse to deploy it will show a redploy icon and if I redploy it seems fine until I start the server and once I start it, it will fail.
Even if I remove the application from the server,the server will not start. If I start it manually both profiles run fine. It is something to do with myeclipse.
venakatasreekanthMemberHere are the server logs
Attachments:
You must be logged in to view attached files.
support-tonyKeymastervenakatasreekanth,
Thanks for the log files. They seem to show a problem with running the server in debug mode. I tried running two profiles in debug mode on Windows 7 and didn’t have a problem, even with a breakpoint set.
The only difference between our set-ups seems to be that you have created the profile to run as Windows services (though I assume you disabled the service) and I have not. I’ll see if I can try to replicate your problem with profiles that run as services.
Can you confirm that you can run one profile, in debug mode, without problems, but see problems with a second profile that you try to run, in debug mode, when the first is still running? Did you let the first server start completely, before trying to launch the second profile?
Does the problem occur without any applications deployed?
support-tonyKeymastervenakatasreekanth,
Having tried various combinations of profiles definitions and starting sequence, I still have not been able to replicate your problem.
In addition to the questions I asked in my previous reply, I have another question.
Did you make any changes to the server connector definitions other than the defaults? Such changes may affect how MyEclipse starts the servers but wouldn’t affect starting them outside of MyEclipse. If possible, could you attach the connector settings file, which can be found at the .metadata/.plugins/org.eclipse.core.runtime/.settings/com.genuitec.eclipse.blue.websphere7.prefs folder, under your workspace directory?
-
AuthorPosts