| Author |
Message |
|
|
|
Post subject: [Closed] Integrating MyEclipse 4 with Weblogic 8.1
Posted: Nov 16, 2005 - 10:45 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
Hi,
I am trying to integrate MyEclipse and weblogic8.0, but my server is not starting up.
These are my server configurations.
BEA Home Directory: C:\bea81SP4
Weblogic installation directory: C:\bea81SP4\weblogic81
Admin username: weblogic
Admin password: weblogic
Execution domain root: C:\bea81SP4\user_projects\domains\dibdomain
Execution domain name: dibdomain
Execution server name: dibServer
Hostnumber:Portnumber: localhost:7001
Security policy: C:\bea81SP4\weblogic81\server\lib\weblogic.policy
Error Message:
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration - with nested exception:
[weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration]'
Reason: weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration - with nested exception:
[weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration]
***************************************************************************
I appreciate any help or view on this error.
thank you
Regards |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 16, 2005 - 10:47 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
|
|
|
 |
|
|
Post subject:
Posted: Nov 17, 2005 - 06:59 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
Try and compare your settings to the working WebLogic config here: http://www.myeclipseide.com/FAQ+index-myfaq-yes-id_cat-18.html#13
notice your execution domain root looks quite different
Can you please post all the information we request in the Posting Guidelines thread at the top of this forum? That will give us some context so that we can determine if this is an installation issue, a configuration problem, or a bug. Thanks. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 17, 2005 - 07:36 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
I compared my weblogic config file with MyEclipse settings they are perfect.
As per your request here are the details of MyEclipse,
MyEclipse Configuration Information
*** Date: Thu Nov 17 14:21:52 EST 2005
*** System properties:
OS=WindowsXP
OS version=5.1
Java version=1.5.0_04
*** MyEclipse details:
MyEclipse Enterprise Workbench
Version: 4.0.2 GA
Build id: 20051010-4.0.2-GA
*** Eclipse details:
Eclipse SDK
Version: 3.1.0
Build id: I20050627-1435
Eclipse Platform
Version: 3.1.0
Build id: I20050627-1435
Eclipse RCP
Version: 3.1.0
Build id: I20050627-1435
Eclipse Java Development Tools
Version: 3.1.0
Build id: I20050627-1435
Eclipse Plug-in Development Environment
Version: 3.1.0
Build id: I20050627-1435
Eclipse Project SDK
Version: 3.1.0
Build id: I20050627-1435
Eclipse startup command=-os
win32
-ws
win32
-arch
x86
-launcher
C:\dev\eclipse\eclipse.exe
-name
Eclipse
-showsplash
600
-exitdata
f64_58
-vm
C:\WINDOWS\system32\javaw.exe
I didn't see any message in the log files related to this issue.
Thank you
Sunil |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 17, 2005 - 08:48 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
What happens when you change your domain execution root to just: C:\bea81SP4\user_projects
Also did you create those custom domains and servers using the WEbLogic admin console? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 17, 2005 - 09:18 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
With C:\bea81SP4\user_projects domain root , I get an error. With this domain root setup if i try to start the server.
There is a popup with error message: "A configuration error occured during setup Please verify the preference field with the prompt. A specified working directory doesn't exist or is not a directory:C:\bea81SP4\user_projects\dibdomain"
Yes i created the domain using bea weblogic workshop and server through weblogic admin console.
thank you |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 04:12 AM
|
|
Moderator


Joined: May 06, 2003
Posts: 6799
|
|
Actually, what we should have asked you to do is set the domain root to C:\bea81SP4\user_projects\domains
Does that work? |
_________________ --Scott
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 02:46 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
<Nov 18, 2005 9:42:54 AM EST> <Info> <WebLogicServer> <BEA-000377> <Starting WebLogic Server with Java HotSpot(TM) Client VM Version 1.4.2_04-b05 from Sun Microsystems Inc.>
<Nov 18, 2005 9:42:55 AM EST> <Info> <Configuration Management> <BEA-150016> <This server is being started as the administration server.>
***************************************************************************
The WebLogic Server did not start up properly.
Exception raised: 'weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration - with nested exception:
[weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration]'
Reason: weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration - with nested exception:
[weblogic.management.configuration.ConfigurationException: Invalid MBeanType: ApplicationConfiguration]
***************************************************************************
<Nov 18, 2005 9:42:55 AM EST> <Info> <Management> <BEA-141107> <Version: WebLogic Server 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647
WebLogic XMLX Module 8.1 SP4 Mon Nov 29 16:21:29 PST 2004 471647 >
<Nov 18, 2005 9:42:55 AM EST> <Notice> <Management> <BEA-140005> <Loading domain configuration from configuration repository at C:\bea81SP4\user_projects\domains\dibdomain\config.xml.>
this is what i see in the console, when i set the domain root to C:\bea81SP4\user_projects\domains |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 02:51 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
Wait, sunil, doesn't WebLogic ship with it's own JDK under it's install dir? Configure the WebLogic connector to use that JDK, not the JDK you installed on your system yourself. These app servers are *very* picky what JDK you use to launch them, especially WebSphere. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 03:20 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
I don't see any change even if i point the connector to JDK under weblogic.
Do i need to add any libraries or set classpaths because my weblogic server has portal and integration projects on it. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 03:30 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
That could be, the goal here is to reproduce all the settings that the default WEbLogic startup script creates within the MyEclipse WebLogic connector. That includes adding any non-default libraries and settings. |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 05:22 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
I don't know why, but am getting the same error. I added all the libraries and drivers. We are using oracle as our database.
Any thing that u want me to try. |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 07:29 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
:) i got the connector to work.
Thank you for your time.
sunil |
|
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 09:44 PM
|
|
Registered Member

Joined: Jan 06, 2004
Posts: 23855
|
|
Sunil,
Could you describe the steps you took to get it working so other people possibly in the same situation could use this thread as help? |
_________________ Riyad
MyEclipse Support
|
| |
|
|
|
 |
|
|
Post subject:
Posted: Nov 18, 2005 - 10:02 PM
|
|

Joined: Nov 16, 2005
Posts: 14
|
|
Instead of setting the classpath to the lib folder in Server and common directories of weblogic. I added all the required jars separatly.
Same with libraries. I also added oracle driver.
Its not working if i just point it to the lib directories.
Hope this helps.
Thanks for your time guys.
Sunil |
|
|
| |
|
|
|
 |
|
|