users@glassfish.java.net

Re: EJB remote deployed on GF 3.1 behind a NAT unaccessible

From: <forums_at_java.net>
Date: Thu, 25 Oct 2012 17:36:09 -0500 (CDT)

escuse me .But i you send the tomcat log. I have put all jars from module
directory of glassfsih into web-inf/lib of my project. nb:glassfsihnaming it
is into the classpath i get the following: HTTP Status 500 - type Exception
report message description The server encountered an internal error () that
prevented it from fulfilling this request. exception
javax.servlet.ServletException: Servlet.init() for servlet jsp threw
exception
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619) root cause
java.lang.NoClassDefFoundError: org/apache/jasper/runtime/TldScanner
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697)
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158)
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
java.lang.Thread.run(Thread.java:619) note The full stack trace of the root
cause is available in the Apache Tomcat/6.0.35 logs.
--------------------------------------------------- 26-ott-2012 0.38.54
org.apache.catalina.core.ApplicationContext log GRAVE:
StandardWrapper.Throwable java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619) 26-ott-2012 0.38.54
org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Allocate
exception for servlet jsp java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619) 26-ott-2012 0.40.16
org.apache.catalina.core.ApplicationContext log GRAVE:
StandardWrapper.Throwable java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619) 26-ott-2012 0.40.16
org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Allocate
exception for servlet jsp java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619) 26-ott-2012 0.40.35
org.apache.catalina.core.ApplicationContext log GRAVE:
StandardWrapper.Throwable java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619) 26-ott-2012 0.40.35
org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Allocate
exception for servlet jsp java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619) 26-ott-2012 0.41.03
org.apache.catalina.core.ApplicationContext log GRAVE:
StandardWrapper.Throwable java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619) 26-ott-2012 0.41.03
org.apache.catalina.core.StandardWrapperValve invoke GRAVE: Allocate
exception for servlet jsp java.lang.NoClassDefFoundError:
org/apache/jasper/runtime/TldScanner at
org.apache.jasper.EmbeddedServletOptions.(EmbeddedServletOptions.java:697) at
org.apache.jasper.servlet.JspServlet.init(JspServlet.java:158) at
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1206)
at
org.apache.catalina.core.StandardWrapper.allocate(StandardWrapper.java:827)
at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:129)
at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:859)
at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:602)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489) at
java.lang.Thread.run(Thread.java:619)
------------------------------------------------------------------------- i
have also read that i can put into the meta-inf manifest file the classpath
at library out of tomcat for not include it into web-inf/lib when it is big
size . But i you ask : what i have to set into it? Classpat= ????????' into
the glassfish i have the directory lib and directory module
c:\programfiles\glassfsih3.1.2.2\glassfish\lib\gf-client.jar at same level.
c:\programfiles\glassfsih3.1.2.2\glassfish\module\*.jar into gf-client from
the manifest at classpath it referencies: ../module/nameof.jar(the names of
jars referencied) so if i wold reference a external directory or a directory
relative into the mywebapplication , what i have to write? example: mywebapp/
meta-inf/manifest web-inf/ module/( many jars referencied from gf-client.jar
into the lib directory) lib/gf-client.jar /copied from glassfish/lib) what i
have to write to reference the gf-client and module dir either i have into
the webapplication or exsternal for example into c:\mylib\ module\*.jar
lib\gf-client.jar ------------------------------------- i you send my proget
netbeans into the directory of project you have the glassfish_lib directory .
I CAN PUT INTO THE MODULE DIRECTORY OF GLASSFSIH :BUT HOW I CAN REFERENCE IT
FORM MANIFEST FILE INTO META-INF directory of my web project? mauro i you
send my project: the 3 zip attachmetns contains: - edwininterfacce (the
progect library of the remote interface) - compressedEJBserver (the ejb
deployed on glassfsih 3.1.2.2) - edwin2.zip (the web project deployed on
tomcat6) . I not have put the jars from module dir into it only for send you
the project . Into my pc i have put all jar into the web-inf/lib from the dir
module of glassfsih. TRy it please .......... i have to put also the
gf.client jar into the web.inf/lib ? But next i have the problem of reference
../module/*.jar

--
[Message sent by forum member 'mauro2011']
View Post: http://forums.java.net/node/891564