- This topic has 5 replies, 2 voices, and was last updated 21 years, 4 months ago by Scott Anderson.
-
AuthorPosts
-
bcholmesMemberJust wanted to note a few quirks to see if they’re bugs, or if they’re my ignorance. I’m using the GA version of MyEclipse on Window.
1. When I set up a basic domain in WebLogic 7, the Domain Configuration Wizard puts a bunch of files in D:/bea/user_projects/mydomain . Notably, it does not create a config subdirectory. When I specify this as my domain root in MyEclipse and try to start the WebLogic server, I get a pop-up message telling me that there’s a problem with my domain root. If I create an (empty) config directory, I can bypass this message, and everything seems fine after that.
2. I hate hate hate the debug perspective in Eclipse. Any time I try to start up WebLogic, I get the debug perspective opening. I’ve gone into the preferences Launch page, and told it to start in Run mode rather than Debug mode, but the debug perspective still comes up. Am I missing something?
And a non-WebLogic point:
3. It’s clear to me how to deploy an application as an EAR. Is it not possible to export as an EAR?
Scott AndersonParticipantRe: 1)
When I specify this as my domain root in MyEclipse and try to start the WebLogic server, I get a pop-up message telling me that there’s a problem with my domain root. If I create an (empty) config directory,
Well, I ran the domain creation wizard for WebLogic 7 and created a domain called wizarddomain with a server called myserver. There is no config directory, but the connector never looks for one, anyway. I then configured the WebLogic 7 connector as follows:
-
BEA Home: c:\dev\bea7home
WebLogic Installation dir: c:\dev\bea7home\weblogic700
Execution Domain Root: C:\dev\bea7home\user_projects\wizarddomain
Execution Domain Name: wizarddomain
Exectuion Server Name: myserver
Hostname:Portnumber: localhost:7001The server start correctly, with no issues whatsoever. There is never a config directory created within a WebLogic domain, but it does exist with other server types. Perhaps you’re not using the WebLogic connector, but one of the others?
Re: 2)
I’ve gone into the preferences Launch page, and told it to start in Run mode rather than Debug mode, but the debug perspective still comes up. Am I missing something?
The setting on the Launch page just determines whether or not you’ll be able to debug your code. You should leave it at debug. It has nothing to do with showing the debug perspective, just the launch mode. Since all the perspectives can be customized to your liking, why not add or remove whatever views you want from the Debug Perspective to make it look like whatever you want it to? It can be an exact duplicate of any other perspective if you want it too.
Re: 3)
It’s clear to me how to deploy an application as an EAR. Is it not possible to export as an EAR?
Export is just deployment to a user specified location. However, we haven’t added the ability to specify a location yet. It’s a high priority on the product plan. The work around is to just deploy as an EAR, copy the archive wherever you want, then undeploy. Yes, it’s inelegant, but it will “get you there” until we get the export added in a proper manner. 🙂
–Scott
MyEclipse Support
bcholmesMember@scott wrote:
Well, I ran the domain creation wizard for WebLogic 7 and created a domain called wizarddomain with a server called myserver. There is no config directory, but the connector never looks for one, anyway. I then configured the WebLogic 7 connector as follows:
-
BEA Home: c:\dev\bea7home
WebLogic Installation dir: c:\dev\bea7home\weblogic700
Execution Domain Root: C:\dev\bea7home\user_projects\wizarddomain
Execution Domain Name: wizarddomain
Exectuion Server Name: myserver
Hostname:Portnumber: localhost:7001Well that’s very curious. As an experiment, I just now restarted Eclipse, deleted the config directory from my domain and tried to launch WebLogic 7. I get a message that reads:
A configuration error occured during startup. Please verify the preference field with the prompt: ‘Execution Domain Root’. For WebLogic 6, the Execution Domain Root must be directory containing a subdirectory named ‘config’ that contains all the execution domains. Typically this is the same as the WebLogic installation directory. For more information, see: http://e-docs.bea.com/wls/docs61/adminguide/startstop.html#1040822
I do find it odd that the message refers to WebLogic 6, but I’ve double-checked that I’m using the WebLogic 7 connector (it’s the only Application Server I have enabled).
My information is:
-
BEA Home: D:\bea
WebLogic Installation dir: D:\bea\weblogic700\server
Execution Domain Root: D:\bea\user_projects\mydomain
Execution Domain Name: mydomain
Exectuion Server Name: myserver
Hostname:Portnumber: localhost:7001
Security Policy File: D:\bea\weblogic700\server\lib\weblogic.policI’ve additionally indicated that the server is running standalone, my JDK is the BEA JDK that comes with WebLogic 7 and I don’t have any JVM arguments or additional jars.
(After poking around a bit)
I also get the following message in my .log file:
!SESSION Jul 30, 2003 21:17:27.822 ———————————————
java.version=1.4.1_02
java.vendor=Sun Microsystems Inc.
BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
Command-line arguments: -os win32 -ws win32 -arch x86 -install file:D:/Program Files/eclipse/
!ENTRY com.genuitec.eclipse.easie.weblogic7 1 1 Jul 30, 2003 21:17:27.832
!MESSAGE Error starting WebLogic: ‘Execution Domain Root’. For WebLogic 6, the Execution Domain Root must be a directory containing a subdirectory named ‘config’ that contains all the exectuion domains. Typically this is the same as the WebLogic installation directory. For more information, see: http://e-docs.bea.com/wls/docs61/adminguide/startstop.html#1040822
Scott AndersonParticipantThe problem is that you’re tripping the “isWeblogic6” check because your WebLogic installation dir is set one level too deep:
WebLogic Installation dir: D:\bea\weblogic700\server
Check my settings again and you’ll see the path should be D:\bea\weblogic700. Since the system thinks you’re running WebLogic 6, due to this configuration problem, it’s stopping the launch. Set the directory one level up like mine is, and you’ll be fine.
–Scott
MyEclipse Support
bcholmesMember@scott wrote:
The problem is that you’re tripping the “isWeblogic6” check because your WebLogic installation dir is set one level too deep:
Ah!! That’s it. Thanks.
<Pakled> You are smart! </Pakled>
Scott AndersonParticipantAh!! That’s it. Thanks.
<Pakled> You are smart! </Pakled>You’re certainly welcome. I’ve forwarded your comments to my boss so he never forgets. 😉
–Scott
MyEclipse Support -
AuthorPosts