[Installation, Configuration & Deployment] - Unable to view JMX Console
by RoyT
Hi,
I am really stuck!!! I installed JBoss 4.0.4 in my Mac OS X having JDK 1.5. The installation went on fine. But when I click on the link "JMX Console" it throws the following exception.
23:59:12,795 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NoSuchMethodError: javax.servlet.ServletContext.getResourcePaths(Ljava/lang/String;)Ljava/util/Set;
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.processTldsInFileSystem(TagLibCache.java:252)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.init(TagLibCache.java:101)
at org.jboss.web.tomcat.tc5.jasper.TagLibCache.getLocation(TagLibCache.java:83)
at org.apache.jasper.JspCompilationContext.getTldLocation(JspCompilationContext.java:526)
at org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:422)
at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:492)
at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1552)
at org.apache.jasper.compiler.Parser.parse(Parser.java:126)
at org.apache.jasper.compiler.ParserController.doParse(ParserController.java:211)
at org.apache.jasper.compiler.ParserController.parse(ParserController.java:100)
at org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:155)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:295)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:276)
at org.apache.jasper.compiler.Compiler.compile(Compiler.java:264)
at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:563)
at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:303)
at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175)
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:613)
23:59:16,406 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
org.apache.jasper.JasperException: Unable to compile class for JSP
Generated servlet error:
The method handlePageException(Exception) in the type PageContext is not applicable for the arguments (Throwable)
I really don't know what is wrong. Any help will be very helpful.
Thanks,
Tanmoy
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976241#3976241
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976241
19 years, 7 months
[JBoss jBPM] - Regarding process variables
by jagadeeshrao
Hi,
I am facing problem while coping process variables into database.
I am not able to store values into database. is there any code sample for this proble?
I am using following code to store process variable into database.
TaskInstance.setVariable(variableName,value);
TaskInstance.setVariable(variableName,value);
TaskInstance.setVariable(variableName,value);
JbpmContext.save(processinstance);
my processdefinition code is
<variable name="Variablename" access="read,write,required" mapped-name="Variablename" />
<variable name="Variablename" access="read,write,required" mapped-name="Variablename" />
<variable name="Variablename" access="read,write,required" mapped-name="Variablename" />
Please guide me.
Thanks in advance.
Jaga
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976232#3976232
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976232
19 years, 7 months
[JBoss Seam] - error when redeploying seam application
by ms57
hello every one
i am developping an application that simply connects to MYSQL and register
user profiles in a table.i use 'jboss-4.0.4.GA' app server and seam framework
with JSF components. when my .ear file doesent exist in 'deploy' subdirectory
in jboss root folder ican deploy my app successfuly.but when i change some
configuration files and try to redeply, the follwing error is reportedto me:
You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.; - nested throwable: (javax.resource.ResourceException: You are trying to use a connection factory that has been shut down: ManagedConnectionFactory is null.)
here is my *-ds.xml file setting:
<local-tx-datasource>
<jndi-name>bookingDatasource</jndi-name>
<connection-url>
jdbc:mysql://localhost:3306/booking?autoReconnect=true&useUnicode=true&characterEncoding=UTF8
</connection-url>
<driver-class>com.mysql.jdbc.Driver</driver-class>
<user-name>root</user-name>
myroot
</local-tx-datasource>
so what happend fo my connection to database?
& what should i do to get successed?
thanks for any feedback.
mahdi
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976231#3976231
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976231
19 years, 7 months
[JBoss jBPM] - Regarding process variables
by jagadeeshrao
Hi,
I am facing problem while coping process variables into database.
I am not able to store values into database. is there any code sample for this proble?
I am using following code to store process variable into database.
TaskInstance.setVariable(variable ,Name);
TaskInstance.setVariable(variable ,Name);
TaskInstance.setVariable(variable ,Name);
JbpmContext.save(processinstance);
my processdefinition code is
<variable name="Broker_Id" access="read,write,required" mapped-name="Broker_Id" />
<variable name="CSLN_Number" access="read,write,required" mapped-name="CSLN_Number" />
<variable name="M-L-Check" access="read,write,required" mapped-name="M-L-Check" />
Please guide me.
Thanks in advance.
Jaga
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3976230#3976230
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3976230
19 years, 7 months