Link to home
Start Free TrialLog in
Avatar of thomas908
thomas908

asked on

java.util.EmptyStackException

I am trying to make a open source project run using Jbuilder X.
It contains a lot of JSP files. When I try to make the the module containig JSP's it gives me a error

"about.jsp": java.util.EmptyStackException

for every JSP page.
Can someone please tell me what this error means.
I have compiled and run this project using ant build file (that came with the code) but compiling it using Jbuilder X gives this error.
All other beans and EJB's compile fine.


Avatar of bloodredsun
bloodredsun
Flag of Australia image

Can you show the rest of the exception?
Avatar of thomas908
thomas908

ASKER

thats the only thing I get in JBuilder's message tab.
But this exception is for every JSP page in the module

"searchFileBased.jsp": java.util.EmptyStackException
java.util.EmptyStackException
java.util.EmptyStackException
"searchFullText.jsp": java.util.EmptyStackException
java.util.EmptyStackException
"selectApplication.jsp": java.util.EmptyStackException
"sendOther.jsp": java.util.EmptyStackException
java.util.EmptyStackException
"showUserProfile.jsp": java.util.EmptyStackException
java.util.EmptyStackException
java.util.EmptyStackException
"updateUserProfile.jsp": java.util.EmptyStackException
java.util.EmptyStackException
"upload.jsp": java.util.EmptyStackException
java.util.EmptyStackException
"versions.jsp": java.util.EmptyStackException
"viewCart.jsp": java.util.EmptyStackException
java.util.EmptyStackException

....................
SOLUTION
Avatar of bloodredsun
bloodredsun
Flag of Australia image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Which version of JBuilder do you have: Foundation, Developer or Enterprise?
>>Are you trying to get the JSPs to run inside JBuilder (assuming you have more than the Foundation version)
Yes
I have Jbuilder X Enterprise version and I have configured Jbuilder X to work with Jboss3.2.x
I want to use the Tomcat which is cobundled with Jboss.

i have tried a sample "Hello World" Jsp page using Jboss and JBuilderX and it works. So the prob is in this particular module.

 

ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
I'll get back to this question in a couple of days.
Sorry for the delay
Sorry for the deplayed reply.
I disabled "Do not check for errors at compile time" as suggested by Tim above
Now I am getting the following error

D:/jboss/client/jbossjmx-ant.jar (The system cannot find the file specified)
D:/jboss/client/jbossjmx-ant.jar (The system cannot find the file specified)
D:/jboss/client/jbossjmx-ant.jar (The system cannot find the file specified)
I am using Jboss 3.2.6 and Jbuilder X
have you added that library to your "Project Libraries" bit?
And does that library exist?
it does not exist in the client folder.
So i copied it from jboss/docs/example/jmx

I dont know why is jbuilder looking for it. It is not needed by the project. Also after coping this file I am getting a new error following error

D:/jboss/client/jbossmqha.jar (The system cannot find the file specified)

This file does not exist anywhere in the jboss directory
sounds like you have JBuilder set up to use a "Server" version of JBoss that isn't the version you are using...

Have you set up the "Server"?

(in project/properties)
yes I is pretty much configured
yes it* is pretty much configured
What is in your "required libraries" tab?
Jboss 3.x client
Struts
flexdb (contains project specific libraries including oracle driver, jbossall-client.jar, jboss-common-jdbc-wrapper.jar etc)
Jboss 3.x client contains all the jars inside jboss/client and it was there by default
strange...
Thanks for helping
The problem is still not solved but I have accepted the answer from Tim as it was definitely useful and solved some other problem.