• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Tim Cooke
  • Devaka Cooray
Sheriffs:
  • Liutauras Vilda
  • paul wheaton
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Piet Souris
  • Mikalai Zaikin
Bartenders:
  • Carey Brown
  • Roland Mueller

error in weblogic plugin

 
Ranch Hand
Posts: 162
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
 
Ranch Hand
Posts: 977
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
I can't take it! You are too smart for me! Here is the tiny ad:
We need your help - Coderanch server fundraiser
https://coderanch.com/wiki/782867/Coderanch-server-fundraiser
reply
    Bookmark Topic Watch Topic
  • New Topic