[Installation, Configuration & DEPLOYMENT] - Expression Language (EL) with JBOSS 4.x
by avinashtauro
I have a jsp page using EL which works fine on Tomcat 6.0. However when i migrate this to a JBoss 4.0 setup, I get the following error for the line containing EL syntax.
----------------------------------------------------------------------------------
org.apache.jasper.JasperException: Exception in JSP: /ManagerReportParameters.jsp:41
38:
39:
40: <form id="frmFilter" method="post"
41: action="managerreports/${param.report}-viewer.jsp">
42:
43:
44:
Stacktrace:
org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:504)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:375)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
----------------------------------------------------------------------------------
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215015#4215015
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215015
15 years, 10 months
[JBoss Messaging] - Client Connection Delegate has Null state
by mmarcuci
I'm trying to start an application running in JBoss 4.0.5 that is to be a client to a JBoss Messaging server running JBoss 4.2.3, Messaging 1.4.0.SP3. I think I've worked out most of the classpath issues, and everything starts up without exception. I create the initial context with JNDI to connect to the messaging server, and have no problem coreating the connection factory. and connection. However, when I try to set an exception listener I get an NPE because the ClientConnectionDelegate has a null state. I've tried using the updated remoting jar, but that doesn't solve the problem. I have no problem running the messaging component of my application outside of the JBoss server, so I'm pretty sure the issue is somewhere either within my jboss config or with one of the client messaging jars I'm using. Anyone been able to resolve a similar issue? Thanks for any help.
Details:
Client Application: server running in JBoss 4.0.5
Messaging Server: JBoss v 4.2.3.GA
WARNING: Exception in constructor
java.lang.NullPointerException
at org.jboss.jms.client.container.ConnectionAspect.getConnectionState(ConnectionAspect.java:254)
at org.jboss.jms.client.container.ConnectionAspect.handleSetExceptionListener(ConnectionAspect.java:118)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:130)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$setExceptionListener_8089029433030319178.invokeNext(ClientConnectionDelegate$setExceptionListener_8089029433030319178.java)
at org.jboss.jms.client.container.ClosedInterceptor.invoke(ClosedInterceptor.java:170)
at org.jboss.aop.advice.PerInstanceInterceptor.invoke(PerInstanceInterceptor.java:117)
at org.jboss.jms.client.delegate.ClientConnectionDelegate$setExceptionListener_8089029433030319178.invokeNext(ClientConnectionDelegate$setExceptionListener_8089029433030319178.java)
at org.jboss.jms.client.delegate.ClientConnectionDelegate.setExceptionListener(ClientConnectionDelegate.java)
at org.jboss.jms.client.JBossConnection.setExceptionListener(JBossConnection.java:117)
Client Jars included in classpath:
jboss-remoting.jar - version 2.2.2.SP4
jboss-aop-jdk50.jar - version jboss-aop-1.5.2.GA
jboss-messaging-client.jar - version 1.4.0.SP3
jbossall-client.jar - version 4.2.3.GA, stripped of all but the following packages javax.jms.*, org.apache.log4j.*, org.jboss.aop.*, org.jboss.aspects.*, org.jboss.injection.*, org.jboss.logging.*, org.jboss.remoting.*, org.jboss.util.*
trove.jar - version 4.2.3.GA
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4215000#4215000
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4215000
15 years, 10 months
[JBoss jBPM] - async execution
by armita
I am trying to execute some of my nodes with built in async approach. I get the messages in the JBPM_JOB table, but nothing happens after this point. The record are just sits in the table forever.
The application is a webbased application running on Tomcat and my jbpm configuration file looks like:
| <jbpm-configuration>
|
| <jbpm-context>
| <service name='persistence' factory='org.jbpm.persistence.db.DbPersistenceServiceFactory' />
| <service name='message' factory='org.jbpm.msg.db.DbMessageServiceFactory' />
| <service name='scheduler' factory='org.jbpm.scheduler.db.DbSchedulerServiceFactory' />
| <service name='logging' factory='org.jbpm.logging.db.DbLoggingServiceFactory' />
| <service name='authentication' factory='org.jbpm.security.authentication.DefaultAuthenticationServiceFactory' />
| <service name="tx" factory="org.jbpm.tx.TxServiceFactory" />
| </jbpm-context>
|
| <!-- configuration resource files pointing to default configuration files in jbpm-{version}.jar -->
| <string name='resource.hibernate.cfg.xml' value='hibernate.cfg.xml' />
|
| <!-- <string name='resource.hibernate.properties' value='hibernate.properties' /> -->
| <string name='resource.business.calendar' value='org/jbpm/calendar/jbpm.business.calendar.properties' />
| <string name='resource.default.modules' value='org/jbpm/graph/def/jbpm.default.modules.properties' />
| <string name='resource.converter' value='org/jbpm/db/hibernate/jbpm.converter.properties' />
| <string name='resource.action.types' value='org/jbpm/graph/action/action.types.xml' />
| <string name='resource.node.types' value='org/jbpm/graph/node/node.types.xml' />
| <string name='resource.parsers' value='org/jbpm/jpdl/par/jbpm.parsers.xml' />
| <string name='resource.varmapping' value='org/jbpm/context/exe/jbpm.varmapping.xml' />
| <string name='resource.mail.templates' value='jbpm.mail.templates.xml' />
|
| <int name='jbpm.byte.block.size' value="1024" singleton="true" />
| <bean name='jbpm.task.instance.factory' class='org.jbpm.taskmgmt.impl.DefaultTaskInstanceFactoryImpl' singleton='true' />
| <bean name='jbpm.variable.resolver' class='org.jbpm.jpdl.el.impl.JbpmVariableResolver' singleton='true' />
| <string name='jbpm.mail.smtp.host' value='localhost' />
| <bean name='jbpm.mail.address.resolver' class='org.jbpm.identity.mail.IdentityAddressResolver' singleton='true' />
| <string name='jbpm.mail.from.address' value='jbpm@noreply' />
|
| <bean name='jbpm.job.executor' class='org.jbpm.job.executor.JobExecutor'>
| <field name='jbpmConfiguration'><ref bean='jbpmConfiguration' /></field>
| <field name='name'><string value='JbpmJobExecutor' /></field>
| <field name='nbrOfThreads'><int value='1' /></field>
| <field name='idleInterval'><int value='5000' /></field>
| <field name='maxIdleInterval'><int value='3600000' /></field> <!-- 1 hour -->
| <field name='historyMaxSize'><int value='20' /></field>
| <field name='maxLockTime'><int value='600000' /></field> <!-- 10 minutes -->
| <field name='lockMonitorInterval'><int value='60000' /></field> <!-- 1 minute -->
| <field name='lockBufferTime'><int value='5000' /></field> <!-- 5 seconds -->
| </bean>
|
| </jbpm-configuration>
What do I miss ?
View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4214996#4214996
Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4214996
15 years, 10 months