Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Cant start JBoss server
Cant start JBoss server [message #167655] Wed, 26 April 2006 19:38 Go to next message
Eclipse User
Originally posted by: mephtu.yahoo.com

Hi,
I have JBoss 4.0.3SP1 and Eclipse 3.1.2 with the WTP tools installed. I
have configured the JBoss server from with in eclipse but when I try to
start it, I get the following message on the console and the server doesn't
start:

java.lang.NoClassDefFoundError: Files/jboss-4/0/3SP1/bin////lib/endorsed
Exception in thread "main"

Any ideas?

Thanks,
Sam
Re: Cant start JBoss server [message #167672 is a reply to message #167655] Thu, 27 April 2006 08:18 Go to previous messageGo to next message
Fred Grott is currently offline Fred Grott
Messages: 96
Registered: July 2009
Member
Off hand check the jboss wtp settings for the endorsed lib.. the error message is indicating endorsed libs are in bin subdirectory which they are not..
Re: Cant start JBoss server [message #167680 is a reply to message #167655] Thu, 27 April 2006 08:45 Go to previous messageGo to next message
Larry Isaacs is currently offline Larry Isaacs
Messages: 1299
Registered: July 2009
Senior Member
This is bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=128064

One way to fix this is to install JBoss into a location that doesn't
contain spaces. The space in "Program Files" is being seen as an
argument terminator and the remainder of the argument is being used as
the class to load and run (i.e. the
File.jboss-4.0.3SP1.bin....lib.endorsed class), which has zero chance of
success.

An alternative that doesn't involve reinstalling is to fix the
jboss.serverdef file in the "servers" folder of the
org.eclipse.jst.server.generic.serverdefinitions
Web Tools plug-in. Change:

-Djava.endorsed.dirs=${serverRootDirectory}/bin/../lib/endor sed

where it occurs in this file to add quotes around the system property
value, i.e:

-Djava.endorsed.dirs="${serverRootDirectory}/bin/../lib/endorsed "

Restart Eclipse and this problem should be fixed the next time you try
to start the server.

Cheers,
Larry

Samuel Richter wrote:
> Hi,
> I have JBoss 4.0.3SP1 and Eclipse 3.1.2 with the WTP tools installed. I
> have configured the JBoss server from with in eclipse but when I try to
> start it, I get the following message on the console and the server doesn't
> start:
>
> java.lang.NoClassDefFoundError: Files/jboss-4/0/3SP1/bin////lib/endorsed
> Exception in thread "main"
>
> Any ideas?
>
> Thanks,
> Sam
>
>
Re: Cant start JBoss server [message #167714 is a reply to message #167655] Thu, 27 April 2006 10:49 Go to previous messageGo to next message
Eclipse User
Originally posted by: wknauf_NO_._INSIDE_hg-online.de

Hi Samuel !

Do you have blanks in the JBoss path ? It looks like "c:\Program
Files\jboss-4.0.3SP1\...".
Could you try to place it in e.g. c:\temp ?

Best regards

Wolfgang

Samuel Richter wrote:
> Hi,
> I have JBoss 4.0.3SP1 and Eclipse 3.1.2 with the WTP tools installed. I
> have configured the JBoss server from with in eclipse but when I try to
> start it, I get the following message on the console and the server doesn't
> start:
>
> java.lang.NoClassDefFoundError: Files/jboss-4/0/3SP1/bin////lib/endorsed
> Exception in thread "main"
>
> Any ideas?
>
> Thanks,
> Sam
>
>
Re: Cant start JBoss server [message #171175 is a reply to message #167680] Wed, 14 June 2006 11:52 Go to previous message
Eclipse User
Originally posted by: thisisnot.mymail.com

Larry Isaacs wrote:
> This is bug: https://bugs.eclipse.org/bugs/show_bug.cgi?id=128064
>
> One way to fix this is to install JBoss into a location that doesn't
> contain spaces. The space in "Program Files" is being seen as an
> argument terminator and the remainder of the argument is being used as
> the class to load and run (i.e. the
> File.jboss-4.0.3SP1.bin....lib.endorsed class), which has zero chance of
> success.
>
> An alternative that doesn't involve reinstalling is to fix the
> jboss.serverdef file in the "servers" folder of the
> org.eclipse.jst.server.generic.serverdefinitions
> Web Tools plug-in. Change:
>
> -Djava.endorsed.dirs=${serverRootDirectory}/bin/../lib/endor sed
>
> where it occurs in this file to add quotes around the system property
> value, i.e:
>
> -Djava.endorsed.dirs="${serverRootDirectory}/bin/../lib/endorsed "
>
> Restart Eclipse and this problem should be fixed the next time you try
> to start the server.
>
> Cheers,
> Larry
>
> Samuel Richter wrote:
>> Hi,
>> I have JBoss 4.0.3SP1 and Eclipse 3.1.2 with the WTP tools installed. I
>> have configured the JBoss server from with in eclipse but when I try to
>> start it, I get the following message on the console and the server
>> doesn't
>> start:
>>
>> java.lang.NoClassDefFoundError: Files/jboss-4/0/3SP1/bin////lib/endorsed
>> Exception in thread "main"
>>
>> Any ideas?
>>
>> Thanks,
>> Sam
>>
>>
please vote on this bug, it's a trivial issue and should be resolved in
a jiffy.
Srgjan
Previous Topic:Tomcat WebappClassLoader and Project Dependencies
Next Topic:WTP deployment with jar directory entries?
Goto Forum:
  


Current Time: Tue Jul 29 23:05:50 EDT 2014

Powered by FUDForum. Page generated in 0.01831 seconds