i have downloaded jboss 4.2.0 ga and kept it in the same named folder
now i have set the build path to this folder
but when i start my new server it gives java lang nullpointerexception ?
i tried many times but it doesnt go ?
what could be the issue help required..
Why dont you post the Stack Trace? Maybe the NullPointerException is caused by something else...
nikhil govind
Ranch Hand
Joined: Mar 08, 2011
Posts: 31
posted
0
i checked the console and nothing comes there...the server does not even try starting
on start click itself it gives java lang nullpointerexception
cannot start server
Please keep it to one thread per issue. We closed your duplicate.
Can you change the subject line to something useful? What does this have to do with Eclipse?
OCUP UML fundamental
ITIL foundation
nikhil govind
Ranch Hand
Joined: Mar 08, 2011
Posts: 31
posted
0
hey i started my jboss in eclipde europa adding server and then start...
but as soon as i click the error alert comes
nikhil govind wrote:hey i started my jboss in eclipde europa adding server and then start...
but as soon as i click the error alert comes
Like others have already said, you have to provide more relevant details on exactly what errors what version of JBoss AS and other necessary details. Without that, it's almost impossible for us to guess what's wrong.
nikhil govind
Ranch Hand
Joined: Mar 08, 2011
Posts: 31
posted
0
Iam working in eclipse 3.3 europa edition
My JBOSS version is jboss 4.2.0 GA
I have keprt it on desktop.
I have configured the user library with a name and having all the jars of jboss-server-lib-all
it said jre path missing so i pointed it to jboss on my desktop
now i created a simple jsp file with no lines from my side.
I created the web dynamic project.
Now after i added server on the click of start or debug it gives Java.lang.Nullpointerexcepttion.
with nothing in console or in problems or anywhere.
I checked running the run.bat in the bin of jboss and found the error classpath c:\program files\java\bin\server\jvm.dll missing
i checked it then and found no server folder in java bin folder. so i copied it from programfiles-java-jdk 1.5.0.
and again clicked run.bat of jboss but it started now giving started in 17s....
so again i checked with eclipse but here the same error
java.lang.nullpointerexception.
Hope now you get my problem. I have worked previously with jboss in some other systems and configured them too and never i got such an error. So kindly help with this issue.
Now after i added server on the click of start or debug it gives Java.lang.Nullpointerexcepttion.
with nothing in console or in problems or anywhere.
I am guessing that your Eclipse setup is corrupt, especially since you state that you are seeing no output other than the NPE. I would have expected that when you ran the server in Eclipse that there would be a lot of output in the Console View, and perhaps an NPE among that output. But since that is not happening (I assume you are getting a pop-up with the NPE???), Eclipse is not even getting as far as running JBoss AS. Try reinstalling Eclipse.
By the way, I have no idea what you mean by the following:
>>I have configured the user library with a name and having all the jars of jboss-server-lib-all
What do you mean by "user library"? What is "{ jboss-server-lib-all"?
>>it said jre path missing so i pointed it to jboss on my desktop
What gave this error? I have no idea what "it" is.
What did you point to JBoss AS on your desktop? How did you do this?
>>now i created a simple jsp file with no lines from my side.
What do you mean by "no lines from my side"
>>I created the web dynamic project.
How could you create a JSP before you created the project???
nikhil govind
Ranch Hand
Joined: Mar 08, 2011
Posts: 31
posted
0
yes i am getting the pop-up NPE exception
i will install it again and let you know in case of issues..