Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

error in weblogic plugin

 
joseph prabhu
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 162
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 977
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic