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.EmptyStackExcept ion
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.
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.EmptyStackExcept
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.
Can you show the rest of the exception?
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.EmptyStackExcept ion
java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
"searchFullText.jsp": java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
"selectApplication.jsp": java.util.EmptyStackExcept ion
"sendOther.jsp": java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
"showUserProfile.jsp": java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
"updateUserProfile.jsp": java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
"upload.jsp": java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
"versions.jsp": java.util.EmptyStackExcept ion
"viewCart.jsp": java.util.EmptyStackExcept ion
java.util.EmptyStackExcept ion
....................
But this exception is for every JSP page in the module
"searchFileBased.jsp": java.util.EmptyStackExcept
java.util.EmptyStackExcept
java.util.EmptyStackExcept
"searchFullText.jsp": java.util.EmptyStackExcept
java.util.EmptyStackExcept
"selectApplication.jsp": java.util.EmptyStackExcept
"sendOther.jsp": java.util.EmptyStackExcept
java.util.EmptyStackExcept
"showUserProfile.jsp": java.util.EmptyStackExcept
java.util.EmptyStackExcept
java.util.EmptyStackExcept
"updateUserProfile.jsp": java.util.EmptyStackExcept
java.util.EmptyStackExcept
"upload.jsp": java.util.EmptyStackExcept
java.util.EmptyStackExcept
"versions.jsp": java.util.EmptyStackExcept
"viewCart.jsp": java.util.EmptyStackExcept
java.util.EmptyStackExcept
....................
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Which version of JBuilder do you have: Foundation, Developer or Enterprise?
ASKER
>>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.
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
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I'll get back to this question in a couple of days.
Sorry for the delay
Sorry for the delay
ASKER
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-a nt.jar (The system cannot find the file specified)
D:/jboss/client/jbossjmx-a nt.jar (The system cannot find the file specified)
D:/jboss/client/jbossjmx-a nt.jar (The system cannot find the file specified)
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-a
D:/jboss/client/jbossjmx-a
D:/jboss/client/jbossjmx-a
ASKER
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?
ASKER
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
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.
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)
Have you set up the "Server"?
(in project/properties)
ASKER
yes I is pretty much configured
ASKER
yes it* is pretty much configured
What is in your "required libraries" tab?
ASKER
Jboss 3.x client
Struts
flexdb (contains project specific libraries including oracle driver, jbossall-client.jar, jboss-common-jdbc-wrapper. jar etc)
Struts
flexdb (contains project specific libraries including oracle driver, jbossall-client.jar, jboss-common-jdbc-wrapper.
ASKER
Jboss 3.x client contains all the jars inside jboss/client and it was there by default
strange...
ASKER
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.
The problem is still not solved but I have accepted the answer from Tim as it was definitely useful and solved some other problem.