aspose file tools*
The moose likes BEA/Weblogic and the fly likes error in weblogic plugin Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "error in weblogic plugin" Watch "error in weblogic plugin" New topic
Author

error in weblogic plugin

joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
hello joe here

i have installed eclipse 3.0 I.D.E. and download

bea-wls-tools-1.1.3.200803030606.zip and i unzipped and it contains a directory structure as eclipse\features and also eclipse\plugins .

i copied the features folder and move to eclipse(Where I.D.E installed)

and paste there and copied the content of plugins folder and paste inside the plugins (where I.D.E installed).

then i start my eclipse I.D.E.

it has a menu as weblogic, and it has a submenu start

but it shows the following error.

[B]java.lang.NoClassDefFoundError: weblogic/Server
Exception in thread "main" ERROR: JDWP Unable to get JNI 1.2 environment, jvm->GetEnv() return code = -2 ["util.c",L765]
JDWP exit error JVMTI_ERROR_INTERNAL(113):
[/B
]

any can identify the error.

Thanks in advance
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
Hello all

i download the weblogic plugin and installed atlast i got only the error when i start the server. No answered me for that new post. you please answer me.

Thanks in advance
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,

if you're not yet, try using weblogic oficial plugin for eclipse:

https://dev2devclub.bea.com/updates/wls-tools/

if you still get the errors let us know.

regards.
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
Originally posted by Marcos Maia:
Hi,

if you're not yet, try using weblogic oficial plugin for eclipse:

https://dev2devclub.bea.com/updates/wls-tools/

if you still get the errors let us know.

regards.


hello

i used only the url what you mentioned.

from that only error comes
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Originally posted by joseph prabhu:


hello

i used only the url what you mentioned.

from that only error comes


Wich weblogic version are you using? Does the error happens when you try to launch weblogic server inside eclipse?
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
Originally posted by Marcos Maia:


Wich weblogic version are you using? Does the error happens when you try to launch weblogic server inside eclipse?


i am using weblogic 8.1. Error comes when i start the server in eclipse
joseph prabhu
Ranch Hand

Joined: Feb 26, 2008
Posts: 162
Originally posted by joseph prabhu:


i am using weblogic 8.1. Error comes when i start the server in eclipse


java.lang.NoClassDefFoundError: weblogic/Server
Exception in thread "main"
Marcos Maia
Ranch Hand

Joined: Jan 06, 2001
Posts: 977
Hi,

weblogic.Server is the core class for weblogic server. It's the main class for the server. It's on the package weblogic.jar under ${BEA_HOME}/wlserverXXX/server/lib directory. I can't really simulate yor pro blem here because my environment using eclipse europa & weblogic 8, 9 and 10 works with no problems. In your case looks like some classpath problem as eclipse while calling the java command to start the server is not able to find weblogic.Server class, try adding weblogic.jar package to eclipse java classpath prior to start the server.

regards.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: error in weblogic plugin