Meaningless Drivel is fun!*
The moose likes EJB and other Java EE Technologies and the fly likes Netbeans, Glassfish don't want to access my enterprise beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Netbeans, Glassfish don Watch "Netbeans, Glassfish don New topic
Author

Netbeans, Glassfish don't want to access my enterprise beans

Dave Elwood
Ranch Hand

Joined: Dec 27, 2002
Posts: 84
For a week I have been trying to make javaee6 work

I can't get a session bean to show itself in an enterprise application using the netbeans 7.1 IDE

1.
I have the web-application "entmodel7-war"



2.
I have the ejb-application "entmodel7-ejb",

an interface



and an implementation



3.
the entmodel7-ejb.jar is automatically added to the library of the entmodel7-war web app

4.
with entmodel7, the enterprise application project as main project, I say clean and build and :

org.apache.jasper.JasperException: PWC6033: Error in Javac compilation for JSP

PWC6197: An error occurred at line: 1 in the jsp file: /index.jsp

PWC6199: Generated servlet error:
cannot find symbol
symbol: class Sushi
location: package ejb


PWC6197: An error occurred at line: 1 in the jsp file: /index.jsp

PWC6199: Generated servlet error:
cannot find symbol
symbol: class Sushi
location: package ejb

PWC6197: An error occurred at line: 1 in the jsp file: /index.jsp

PWC6199: Generated servlet error:
cannot find symbol
symbol: class Sushi
location: package ejb
at org.apache.jasper.compiler.DefaultErrorHandler.javacError(DefaultErrorHandler.java:129)
at org.apache.jasper.compiler.ErrorDispatcher.javacError(ErrorDispatcher.java:299)
at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:392)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:453)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:625)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:374)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:492)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:378)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1539)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:281)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:655)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:595)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:98)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:91)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:162)
at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:330)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:231)
at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:174)
at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:828)
at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:725)
at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:1019)
at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:225)
at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:137)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:104)
at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:90)
at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:79)
at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:54)
at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:59)
at com.sun.grizzly.ContextTask.run(ContextTask.java:71)
at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:532)
at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:513)
at java.lang.Thread.run(Thread.java:722)

what am I doing wrong??
 
Don't get me started about those stupid light bulbs.
 
subject: Netbeans, Glassfish don't want to access my enterprise beans
 
Similar Threads
IllegalStateException when inserting session attribute into a table
EJB 3.0 and jsp
Jsp Error
Exception occurred in target VM: Invalid operation at current cursor position.
Exception when i am trying to dispatch the request to a Error Page