[JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
by egandt
The problem is that the portlets are registered with the portal, but in the display they have only got an id and no name, there are 4 columns: id, name, remote, remote able
The last 2 remote, remotable are check boxes, my portlets only have an id and no name so I can not create an instance. Even when I create a portlet-instance.xml file:
<?xml version="1.0" standalone="yes"?>
<instance-id>ActiveContentInstance</instance-id>
<portlet-ref>ActiveContent</portlet-ref>
<instance-id>ActiveDocumentsInstance</instance-id>
<portlet-ref>ActiveDocuments</portlet-ref>
I get instances of portlets, but the instance point to '-' because the portlet name field is not filled in and apparently the name field is used to map to an instance. This makes no sense to me as my portlets have a name, its just not being used. Also in Portal 2.2.1 this was not a problem.
ERIC
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991392#3991392
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991392
19 years, 7 months
[Security & JAAS/JBoss] - Re: Programmatic Login Advice
by pander
OK,
One of the "Admins" is bound to know what this is given this TRACE output.
Here is where you can clearly see that the programmatic login is working. It's calling my DBLoginModule, then calling the ClientLoginModule and finally forwarding to the user's homepage.
| 2006-12-05 16:58:39,703 INFO [cc.livewire.jboss.login.DBLoginModule] Entering DBLoginModule !!!!!!!!!!!!!!!!!!!!!!!!!!!!
| 2006-12-05 16:58:39,705 INFO [cc.livewire.jboss.login.DBLoginModule] Logged in user paul OK !!
| 2006-12-05 16:58:39,705 INFO [cc.livewire.jboss.login.DBLoginModule] SESSION_ID:CC617D5EB33DDF849FCCE011CC7F2661
| 2006-12-05 16:58:39,725 TRACE [org.jboss.security.ClientLoginModule] Security domain: AMIRealm
| 2006-12-05 16:58:39,725 TRACE [org.jboss.security.ClientLoginModule] Enabling restore-login-identity mode
| 2006-12-05 16:58:39,725 TRACE [org.jboss.security.ClientLoginModule] Enabling useFirstPass mode
| 2006-12-05 16:58:39,725 TRACE [org.jboss.security.ClientLoginModule] Begin login
| 2006-12-05 16:58:39,728 TRACE [org.jboss.security.ClientLoginModule] commit, subject=Subject:
| Principal: paul
| Principal: Roles(members:ami.reseller)
|
| 2006-12-05 16:58:39,728 TRACE [org.jboss.security.SecurityAssociation] pushSubjectContext, subject=Subject:
| Principal: paul
| Principal: Roles(members:ami.reseller)
| , sc=org.jboss.security.SecurityAssociation$SubjectContext@1e13ce3{principal=,subject=6592395}
| 2006-12-05 16:58:39,728 INFO [org.apache.jsp.test_jsp] Got past the login call !!.....
| 2006-12-05 16:58:39,729 DEBUG [org.apache.catalina.core.ApplicationDispatcher] servletPath=/homePage.do, pathInfo=null, queryString=null, name=null
| 2006-12-05 16:58:39,729 DEBUG [org.apache.catalina.core.ApplicationDispatcher] Path Based Forward
However, the next click that is made shows some strange things in the server log. It's like the ClientLoginModule never passed on any details at all as when I click on the Logindetails.do?action=change link it automatically is refering me to login.jsp and booting me back to the login page.
| 2006-12-05 17:05:50,400 DEBUG [org.apache.catalina.connector.CoyoteAdapter] Requested cookie session id is CC617D5EB33DDF849FCCE011CC7F2661
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Process request for '/AMI/LoginDetails.do'
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] Checking for SSO cookie
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.core.ContainerBase.[jboss.web].[localhost]] SSO cookie is not present
| 2006-12-05 17:05:50,401 TRACE [org.jboss.web.tomcat.security.FormAuthValve] Enter, j_username=null
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Security checking request GET /AMI/LoginDetails.do
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure Content]' against GET /LoginDetails.do --> true
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure Content]' against GET /LoginDetails.do --> true
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.realm.RealmBase] Checking constraint 'SecurityConstraint[Secure Content]' against GET /LoginDetails.do --> true
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling hasUserDataPermission()
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.realm.RealmBase] User data constraint already satisfied
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Calling authenticate()
| 2006-12-05 17:05:50,401 DEBUG [org.apache.catalina.authenticator.FormAuthenticator] Save request in session 'CC617D5EB33DDF849FCCE011CC7F2661'
| 2006-12-05 17:05:50,402 DEBUG [org.apache.catalina.core.ApplicationDispatcher] servletPath=/login.jsp, pathInfo=null, queryString=null, name=null
| 2006-12-05 17:05:50,402 DEBUG [org.apache.catalina.core.ApplicationDispatcher] Path Based Forward
| 2006-12-05 17:05:50,402 TRACE [org.jboss.web.tomcat.security.RunAsListener] jsp, runAs: null
| 2006-12-05 17:05:50,402 TRACE [org.jboss.web.tomcat.security.RunAsListener] jsp, runAs: null
| 2006-12-05 17:05:50,409 TRACE [org.jboss.web.tomcat.security.RunAsListener] jsp, runAs: null
| 2006-12-05 17:05:50,409 TRACE [org.jboss.web.tomcat.security.RunAsListener] jsp, runAs: null
| 2006-12-05 17:05:50,409 DEBUG [org.apache.catalina.core.ApplicationDispatcher] Disabling the response for futher output
| 2006-12-05 17:05:50,409 DEBUG [org.apache.catalina.authenticator.AuthenticatorBase] Failed authenticate() test
| 2006-12-05 17:05:50,409 TRACE [org.jboss.web.tomcat.security.FormAuthValve] SessionID: CC617D5EB33DDF849FCCE011CC7F2661
| 2006-12-05 17:05:50,409 TRACE [org.jboss.web.tomcat.security.FormAuthValve] SecurityAssociation.exception: null
| 2006-12-05 17:05:50,409 TRACE [org.jboss.web.tomcat.security.FormAuthValve] Exit, username: null
| 2006-12-05 17:05:50,409 TRACE [org.jboss.security.SecurityAssociation] clear, server=true
|
Surely this must be enough info for someone to have a clue as to what the problem is?
Here's hoping.
Kind Regards,
Paul.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991381#3991381
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991381
19 years, 7 months
[JBoss Seam] - Re: Possible component.xml problem in 1.1.0 CR2
by quilleashm
Cheers for the quick reply.
My components.xml
| <components>
|
| <component name="referenceSession"
| class="org.jboss.seam.core.ManagedHibernateSession"/>
|
| <component name="hibernateSessionFactory"
| class="org.jboss.seam.core.HibernateSessionFactory"/>
|
| </components>
|
Components.xml from jboss-seam.jar
| <!DOCTYPE components PUBLIC
| "-//JBoss/Seam Component Configuration DTD 1.1//EN"
| "http://jboss.com/products/seam/components-1.1.dtd">
|
| <components>
| <factory scope="stateless" auto-create="true" name="actor" value="#{org.jboss.seam.core.actor}"/>
| <factory scope="stateless" auto-create="true" name="applicationContext" value="#{org.jboss.seam.core.applicationContext}"/>
| <factory scope="stateless" auto-create="true" name="businessProcess" value="#{org.jboss.seam.core.businessProcess}"/>
| <factory scope="stateless" auto-create="true" name="businessProcessContext" value="#{org.jboss.seam.core.businessProcessContext}"/>
| <factory scope="stateless" auto-create="true" name="conversation" value="#{org.jboss.seam.core.conversation}"/>
| <factory scope="stateless" auto-create="true" name="conversationContext" value="#{org.jboss.seam.core.conversationContext}"/>
| <factory scope="stateless" auto-create="true" name="conversationList" value="#{org.jboss.seam.core.conversationList}"/>
| <factory scope="stateless" auto-create="true" name="conversationStack" value="#{org.jboss.seam.core.conversationStack}"/>
| <factory scope="stateless" auto-create="true" name="eventContext" value="#{org.jboss.seam.core.eventContext}"/>
| <factory scope="stateless" auto-create="true" name="events" value="#{org.jboss.seam.core.events}"/>
| <factory scope="stateless" auto-create="true" name="expressions" value="#{org.jboss.seam.core.expressions}"/>
| <factory scope="stateless" auto-create="true" name="facesContext" value="#{org.jboss.seam.core.facesContext}"/>
| <factory scope="stateless" auto-create="true" name="facesMessages" value="#{org.jboss.seam.core.facesMessages}"/>
| <factory scope="stateless" auto-create="true" name="httpError" value="#{org.jboss.seam.core.httpError}"/>
| <factory scope="stateless" auto-create="true" name="interpolator" value="#{org.jboss.seam.core.interpolator}"/>
| <factory scope="stateless" auto-create="true" name="isUserInRole" value="#{org.jboss.seam.core.isUserInRole}"/>
| <factory scope="stateless" auto-create="true" name="locale" value="#{org.jboss.seam.core.locale}"/>
| <factory scope="stateless" auto-create="true" name="localeSelector" value="#{org.jboss.seam.core.localeSelector}"/>
| <factory scope="stateless" auto-create="true" name="messages" value="#{org.jboss.seam.core.messages}"/>
| <factory scope="stateless" auto-create="true" name="jbpmContext" value="#{org.jboss.seam.core.jbpmContext}"/>
| <factory scope="stateless" auto-create="true" name="pageContext" value="#{org.jboss.seam.core.pageContext}"/>
| <factory scope="stateless" auto-create="true" name="pageflow" value="#{org.jboss.seam.core.pageflow}"/>
| <factory scope="stateless" auto-create="true" name="pojoCache" value="#{org.jboss.seam.core.pojoCache}"/>
| <factory scope="stateless" auto-create="true" name="pooledTask" value="#{org.jboss.seam.core.pooledTask}"/>
| <factory scope="stateless" auto-create="true" name="pooledTaskInstanceList" value="#{org.jboss.seam.core.pooledTaskInstanceList}"/>
| <factory scope="stateless" auto-create="true" name="processInstance" value="#{org.jboss.seam.core.processInstance}"/>
| <factory scope="stateless" auto-create="true" name="redirect" value="#{org.jboss.seam.core.redirect}"/>
| <factory scope="stateless" auto-create="true" name="resourceBundle" value="#{org.jboss.seam.core.resourceBundle}"/>
| <factory scope="stateless" auto-create="true" name="sessionContext" value="#{org.jboss.seam.core.sessionContext}"/>
| <factory scope="stateless" auto-create="true" name="switcher" value="#{org.jboss.seam.core.switcher}"/>
| <factory scope="stateless" auto-create="true" name="taskInstance" value="#{org.jboss.seam.core.taskInstance}"/>
| <factory scope="stateless" auto-create="true" name="taskInstanceList" value="#{org.jboss.seam.core.taskInstanceList}"/>
| <factory scope="stateless" auto-create="true" name="taskInstanceListForType" value="#{org.jboss.seam.core.taskInstanceListForType}"/>
| <factory scope="stateless" auto-create="true" name="timeZone" value="#{org.jboss.seam.core.timeZone}"/>
| <factory scope="stateless" auto-create="true" name="timeZoneSelector" value="#{org.jboss.seam.core.timeZoneSelector}"/>
| <factory scope="stateless" auto-create="true" name="transition" value="#{org.jboss.seam.core.transition}"/>
| <factory scope="stateless" auto-create="true" name="uiComponent" value="#{org.jboss.seam.core.uiComponent}"/>
| <factory scope="stateless" auto-create="true" name="userPrincipal" value="#{org.jboss.seam.core.userPrincipal}"/>
|
| <factory scope="stateless" auto-create="true" name="currentTime" value="#{org.jboss.seam.framework.currentTime}"/>
| <factory scope="stateless" auto-create="true" name="currentDate" value="#{org.jboss.seam.framework.currentDate}"/>
| <factory scope="stateless" auto-create="true" name="currentDatetime" value="#{org.jboss.seam.framework.currentDatetime}"/>
|
| <factory scope="stateless" auto-create="true" name="theme" value="#{org.jboss.seam.theme.theme}"/>
| <factory scope="stateless" auto-create="true" name="themeSelector" value="#{org.jboss.seam.theme.themeSelector}"/>
|
| <factory scope="stateless" auto-create="true" name="queueSession" value="#{org.jboss.seam.jms.queueSession}"/>
| <factory scope="stateless" auto-create="true" name="topicSession" value="#{org.jboss.seam.jms.topicSession}"/>
| </components>
|
Bit more info.
In the Component.getInstanceFromFactory() the String name passed in is org.jboss.seam.core.localeSelector
Which is then used to call init.getFactory()/getFactoryMethodBinding()/getFactoryValueBinding(). I am guessing that the getFactoryValueBinding() should return something. The map factoryValueBindings in Init is populated but the keys are the short versions e.g. localeSelector, so null is returned from all 3 methods.
Any specific info I can give to track this down please let me know.
Cheers.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991376#3991376
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991376
19 years, 7 months
[JBoss Portal] - Re: Creating a portlet instance of an unamed portlet
by egandt
Here it is:
<?xml version="1.0" encoding="UTF-8"?>
<portlet-app version="1.0" xmlns="http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/portlet">
<portlet-name>ActiveContent</portlet-name>
<portlet-class>com.fatwire.flame.portlets.MyActiveList</portlet-class>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage
OpenMarket/Flame/MyActiveList/View
</init-param>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.mode
WCM
</init-param>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-info>
Active Content
</portlet-info>
<portlet-name>ActiveDocuments</portlet-name>
<portlet-class>com.fatwire.flame.portlets.MyActiveList</portlet-class>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage
OpenMarket/Flame/MyActiveList/View
</init-param>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.mode
DM
</init-param>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-info>
Active Documents
</portlet-info>
<portlet-name>CheckedoutContent</portlet-name>
<portlet-class>com.fatwire.flame.portlets.MyCheckouts</portlet-class>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage
OpenMarket/Flame/MyCheckouts/View
</init-param>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.mode
WCM
</init-param>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-info>
Checked-out Content
</portlet-info>
<portlet-name>CheckedoutDocuments</portlet-name>
<portlet-class>com.fatwire.flame.portlets.MyCheckouts</portlet-class>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage
OpenMarket/Flame/MyCheckouts/View
</init-param>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.mode
DM
</init-param>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-info>
Checked-out Documents
</portlet-info>
<portlet-name>ContentAssignments</portlet-name>
<portlet-class>com.fatwire.flame.portlets.MyAssignments</portlet-class>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.renderpage
OpenMarket/Flame/MyAssignments/View
</init-param>
<init-param>
com.fatwire.cs.portals.portlet.CSPortlet.config.mode
WCM
</init-param>
<mime-type>text/html</mime-type>
<portlet-mode>view</portlet-mode>
<portlet-info>
Content Assignments
</portlet-info>
</portlet-app>
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991374#3991374
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991374
19 years, 7 months
[JBoss Seam] - Possible component.xml problem in 1.1.0 CR2
by quilleashm
Config:
Tomcat 6.0.0
JSF RI 1.2
Facelets 1.1.11
Hibernate 3.2.1
Seam 1.1.0 CR2
I have just downloaded CR2 and been trying to get a hibernate session auto-managed by Seam.
I've got everything starting up ok in the Tomcat server but when I hit my test page I get the following.
| java.lang.NullPointerException
| at org.jboss.seam.jsf.SeamViewHandler.calculateLocale(SeamViewHandler.java:32)
| at com.sun.facelets.FaceletViewHandler.calculateLocale(FaceletViewHandler.java:771)
| at com.sun.faces.application.ViewHandlerImpl.createView(ViewHandlerImpl.java:356)
| at org.jboss.seam.jsf.SeamViewHandler.createView(SeamViewHandler.java:43)
| at com.sun.facelets.FaceletViewHandler.createView(FaceletViewHandler.java:782)
| at com.sun.faces.lifecycle.RestoreViewPhase.execute(RestoreViewPhase.java:218)
| at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:244)
| at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:113)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
| at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:270)
| at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:191)
| at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:227)
| at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:174)
| at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
| at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
| at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:108)
| at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:211)
| at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:817)
| at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:623)
| at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:444)
| at java.lang.Thread.run(Thread.java:595)
|
Which boils down to this call returning null
| Component.getInstance(LocaleSelector.class, ScopeType.SESSION)
|
I've done some investigation and the problem looks to me to be in the component.xml in the META-INF/ of the jboss-seam.jar.
The factory entries in there are of the form...
| <factory scope="stateless" auto-create="true" name="localeSelector" value="#{org.jboss.seam.core.localeSelector}"/>
|
But if I take a look at the LocaleSelector class the @Name annonation is this..
| @Name("org.jboss.seam.core.localeSelector")
|
The code in Init, where the factory maps are, is trying to match the name annotation value to the value in the xml which don't match. One has the package and the other does not.
Am I doing something wrong here? I've stepped through the code and nothing funny is going on that I can see, just looks like the factoryValueBindings Map in Init uses different keys to the annotations specified in the classes.
Any help/suggestions appreciated.
Cheers.
Mike.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991364#3991364
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991364
19 years, 7 months
[JBoss Seam] - JPDL + EL
by MelampO
Hello.
I have some problems with EL in a JPDL file. I am trying to use EL in an action inside my Process Definition file, but it doesn't work:
JPDL:
| <?xml version="1.0" encoding="UTF-8"?>
|
| <process-definition
| xmlns="" name="estadosProcess">
| <start-state name="Disponible">
| <transition name="cambiarEstado" to="Elegir estado" />
| </start-state>
| <decision name="Elegir estado" expression="#{decidirEstado.estadoInicial}">
| <transition name="prestado" to="Prestado">
| <action expression="#{actualizarEstadoLibro.actualizar(actualizarEstadoLibro.disponible)}" />
| </transition>
| <transition name="sugerido" to="Sugerido"></transition>
| <transition name="eliminado" to="Eliminado"></transition>
| </decision>
| <task-node name="Prestado">
| <task name="devolver">
| <assignment actor-id="#{actor.id}"/>
| </task>
| <transition name="devuelto" to="Fin"></transition>
| </task-node>
|
| ....
|
| </process-definition>
|
Action:
| public class ActualizarEstadoLibroImpl implements Serializable,
| ActualizarEstadoLibro {
|
| private static final long serialVersionUID = 0L;
|
| private Estados disponible = Estados.DISPONIBLE;
|
| public Estados getDisponible() {
| return disponible;
| }
|
| public void actualizar(Estados estado) {
| try {
| System.out.println ("//////////////// Actualizando " + estado.toString());
| } catch (Exception e) {
| System.out.println(e.getMessage());
| }
| }
|
| /**
| * @see org.fundacion.actions.libro.ActualizarEstadoLibro#destroy()
| */
| @Remove
| @Destroy
| public void destroy() {
| }
| }
|
StrackTrace:
| 17:34:47,384 ERROR [GraphElement] action threw exception: couldn't evaluate expression '#{actualizarEstadoLibro.actualizar(actualizarEstadoLibro.disponible)}'
| org.jbpm.JbpmException: couldn't evaluate expression '#{actualizarEstadoLibro.actualizar(actualizarEstadoLibro.disponible)}'
| at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:38)
| at org.jbpm.graph.def.Action.execute(Action.java:119)
| at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
| at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
| at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
| at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
| at org.jbpm.graph.def.Transition.take(Transition.java:106)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136)
| at org.jbpm.graph.node.Decision.execute(Decision.java:146)
| at org.jbpm.graph.def.Node.enter(Node.java:316)
| 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:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208)
| at org.jbpm.graph.def.Node_$$_javassist_310.enter(Node_$$_javassist_310.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.graph.node.StartState.leave(StartState.java:70)
| 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:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208)
| at org.jbpm.graph.def.Node_$$_javassist_310.leave(Node_$$_javassist_310.java)
| at org.jbpm.graph.exe.Token.signal(Token.java:174)
| at org.jbpm.graph.exe.Token.signal(Token.java:123)
| at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
| at org.jboss.seam.core.BusinessProcess.createProcess(BusinessProcess.java:117)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.afterInvocation(BusinessProcessInterceptor.java:94)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:50)
| 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:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49)
| 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:585)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| at $Proxy362.prestar(Unknown Source)
| at org.fundacion.actions.libro.PrestarLibro$$FastClassByCGLIB$$9ae75dd6.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:69)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| 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:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:28)
| 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:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:78)
| at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:47)
| at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$b44c2084.prestar(<generated>)
| 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:585)
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
| at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:59)
| at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIData.broadcast(UIData.java:338)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
| 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:595)
| Caused by: org.jbpm.jpdl.el.ELException: Encountered "(", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||", "?"]
| at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:321)
| at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:251)
| at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:191)
| at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:34)
| ... 131 more
| 17:34:47,396 INFO [STDOUT] Hibernate: select exceptionh0_.TRANSITION_ as TRANSITION8_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_385_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_385_0_, exceptionh0_.TYPE_ as TYPE3_385_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_385_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.TRANSITION_=?
| 17:34:47,405 INFO [STDOUT] Hibernate: select node0_.ID_ as ID1_381_0_, node0_.NAME_ as NAME3_381_0_, node0_.PROCESSDEFINITION_ as PROCESSD4_381_0_, node0_.ISASYNC_ as ISASYNC5_381_0_, node0_.ACTION_ as ACTION6_381_0_, node0_.SUPERSTATE_ as SUPERSTATE7_381_0_, node0_.SUBPROCESSDEFINITION_ as SUBPROCE8_381_0_, node0_.DECISIONEXPRESSION_ as DECISION9_381_0_, node0_.DECISIONDELEGATION as DECISIO10_381_0_, node0_.SIGNAL_ as SIGNAL11_381_0_, node0_.CREATETASKS_ as CREATET12_381_0_, node0_.ENDTASKS_ as ENDTASKS13_381_0_, node0_.CLASS_ as CLASS2_381_0_ from JBPM_NODE node0_ where node0_.ID_=?
| 17:34:47,449 INFO [STDOUT] Hibernate: select exceptionh0_.PROCESSDEFINITION_ as PROCESSD5_1_, exceptionh0_.ID_ as ID1_1_, exceptionh0_.GRAPHELEMENTINDEX_ as GRAPHELE6_1_, exceptionh0_.ID_ as ID1_385_0_, exceptionh0_.EXCEPTIONCLASSNAME_ as EXCEPTIO2_385_0_, exceptionh0_.TYPE_ as TYPE3_385_0_, exceptionh0_.GRAPHELEMENT_ as GRAPHELE4_385_0_ from JBPM_EXCEPTIONHANDLER exceptionh0_ where exceptionh0_.PROCESSDEFINITION_=?
| 17:34:47,457 INFO [STDOUT] Hibernate: insert into JBPM_VARIABLEINSTANCE (NAME_, CONVERTER_, TOKEN_, TOKENVARIABLEMAP_, PROCESSINSTANCE_, DATEVALUE_, CLASS_) values (?, ?, ?, ?, ?, ?, 'D')
| 17:34:47,461 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, VARIABLEINSTANCE_, CLASS_) values (?, ?, ?, ?, ?, 'R')
| 17:34:47,470 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, VARIABLEINSTANCE_, OLDDATEVALUE_, NEWDATEVALUE_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'E')
| 17:34:47,473 INFO [STDOUT] Hibernate: insert into JBPM_BYTEARRAY (NAME_) values (?)
| 17:34:47,477 INFO [STDOUT] Hibernate: insert into JBPM_VARIABLEINSTANCE (NAME_, CONVERTER_, TOKEN_, TOKENVARIABLEMAP_, PROCESSINSTANCE_, BYTEARRAYVALUE_, CLASS_) values (?, ?, ?, ?, ?, ?, 'B')
| 17:34:47,480 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, VARIABLEINSTANCE_, CLASS_) values (?, ?, ?, ?, ?, 'R')
| 17:34:47,484 INFO [STDOUT] Hibernate: insert into JBPM_BYTEARRAY (NAME_) values (?)
| 17:34:47,488 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, VARIABLEINSTANCE_, OLDBYTEARRAY_, NEWBYTEARRAY_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'B')
| 17:34:47,492 INFO [STDOUT] Hibernate: insert into JBPM_VARIABLEINSTANCE (NAME_, CONVERTER_, TOKEN_, TOKENVARIABLEMAP_, PROCESSINSTANCE_, STRINGVALUE_, CLASS_) values (?, ?, ?, ?, ?, ?, 'S')
| 17:34:47,495 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, VARIABLEINSTANCE_, CLASS_) values (?, ?, ?, ?, ?, 'R')
| 17:34:47,500 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, VARIABLEINSTANCE_, OLDSTRINGVALUE_, NEWSTRINGVALUE_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'U')
| 17:34:47,504 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, TRANSITION_, CLASS_) values (?, ?, ?, ?, ?, 'S')
| 17:34:47,508 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, TRANSITION_, SOURCENODE_, DESTINATIONNODE_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'T')
| 17:34:47,513 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, NODE_, ENTER_, LEAVE_, DURATION_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, ?, 'N')
| 17:34:47,525 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, TRANSITION_, SOURCENODE_, DESTINATIONNODE_, CLASS_) values (?, ?, ?, ?, ?, ?, ?, 'T')
| 17:34:47,529 INFO [STDOUT] Hibernate: insert into JBPM_LOG (INDEX_, DATE_, TOKEN_, PARENT_, EXCEPTION_, ACTION_, CLASS_) values (?, ?, ?, ?, ?, ?, 'A')
| 17:34:47,544 INFO [STDOUT] Hibernate: insert into JBPM_MODULEINSTANCE (PROCESSINSTANCE_, TASKMGMTDEFINITION_, CLASS_) values (?, ?, 'T')
| 17:34:47,560 INFO [STDOUT] Hibernate: insert into JBPM_MODULEINSTANCE (PROCESSINSTANCE_, CLASS_) values (?, 'C')
| 17:34:47,565 INFO [STDOUT] Hibernate: insert into JBPM_TOKENVARIABLEMAP (TOKEN_, CONTEXTINSTANCE_) values (?, ?)
| 17:34:47,610 INFO [STDOUT] Hibernate: update JBPM_TOKEN set VERSION_=?, NAME_=?, START_=?, END_=?, NODEENTER_=?, NEXTLOGINDEX_=?, ISABLETOREACTIVATEPARENT_=?, ISTERMINATIONIMPLICIT_=?, ISSUSPENDED_=?, NODE_=?, PROCESSINSTANCE_=?, PARENT_=?, SUBPROCESSINSTANCE_=? where ID_=? and VERSION_=?
| 17:34:47,613 INFO [STDOUT] Hibernate: update JBPM_PROCESSINSTANCE set VERSION_=?, START_=?, END_=?, ISSUSPENDED_=?, PROCESSDEFINITION_=?, ROOTTOKEN_=?, SUPERPROCESSTOKEN_=? where ID_=? and VERSION_=?
| 17:34:47,615 INFO [STDOUT] Hibernate: update JBPM_VARIABLEINSTANCE set NAME_=?, CONVERTER_=?, TOKEN_=?, TOKENVARIABLEMAP_=?, PROCESSINSTANCE_=?, DATEVALUE_=? where ID_=?
| 17:34:47,618 INFO [STDOUT] Hibernate: update JBPM_VARIABLEINSTANCE set NAME_=?, CONVERTER_=?, TOKEN_=?, TOKENVARIABLEMAP_=?, PROCESSINSTANCE_=?, BYTEARRAYVALUE_=? where ID_=?
| 17:34:47,630 INFO [STDOUT] Hibernate: update JBPM_VARIABLEINSTANCE set NAME_=?, CONVERTER_=?, TOKEN_=?, TOKENVARIABLEMAP_=?, PROCESSINSTANCE_=?, STRINGVALUE_=? where ID_=?
| 17:34:47,633 INFO [STDOUT] Hibernate: insert into JBPM_BYTEBLOCK (PROCESSFILE_, INDEX_, BYTES_) values (?, ?, ?)
| 17:34:47,635 INFO [STDOUT] Hibernate: insert into JBPM_BYTEBLOCK (PROCESSFILE_, INDEX_, BYTES_) values (?, ?, ?)
| 17:34:47,635 INFO [STDOUT] Hibernate: insert into JBPM_BYTEBLOCK (PROCESSFILE_, INDEX_, BYTES_) values (?, ?, ?)
| 17:34:47,636 INFO [STDOUT] Hibernate: insert into JBPM_BYTEBLOCK (PROCESSFILE_, INDEX_, BYTES_) values (?, ?, ?)
| 17:34:47,638 INFO [STDOUT] Hibernate: update JBPM_MODULEINSTANCE set PROCESSINSTANCE_=?, NAME_=? where ID_=?
| 17:34:47,641 INFO [STDOUT] Hibernate: update JBPM_MODULEINSTANCE set PROCESSINSTANCE_=?, NAME_=? where ID_=?
| 17:34:47,654 INFO [ExceptionInterceptor] no exceptions.xml file found
| 17:34:47,670 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception
| javax.faces.FacesException: Error calling action method of component with id _id12_0:_id31
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
| at javax.faces.component.UICommand.broadcast(UICommand.java:106)
| at javax.faces.component.UIData.broadcast(UIData.java:338)
| at javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
| at javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
| at org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
| at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
| at javax.faces.webapp.FacesServlet.service(FacesServlet.java:106)
| 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:595)
| Caused by: javax.faces.el.EvaluationException: Exception while invoking expression #{prestarLibro.prestar}
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
| at org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:59)
| at org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:71)
| at org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
| ... 25 more
| Caused by: java.lang.reflect.UndeclaredThrowableException
| at $Proxy362.prestar(Unknown Source)
| at org.fundacion.actions.libro.PrestarLibro$$FastClassByCGLIB$$9ae75dd6.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:45)
| at org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:69)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:55)
| at org.jboss.seam.interceptors.RemoveInterceptor.removeIfNecessary(RemoveInterceptor.java:39)
| 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:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.interceptors.ExceptionInterceptor.handleExceptions(ExceptionInterceptor.java:28)
| 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:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.ClientSideInterceptor.interceptInvocation(ClientSideInterceptor.java:78)
| at org.jboss.seam.intercept.ClientSideInterceptor.intercept(ClientSideInterceptor.java:47)
| at org.jboss.seam.intercept.Proxy$$EnhancerByCGLIB$$b44c2084.prestar(<generated>)
| 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:585)
| at org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:129)
| ... 28 more
| Caused by: java.lang.reflect.InvocationTargetException
| 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:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208)
| at org.jbpm.graph.def.Node_$$_javassist_310.leave(Node_$$_javassist_310.java)
| at org.jbpm.graph.exe.Token.signal(Token.java:174)
| at org.jbpm.graph.exe.Token.signal(Token.java:123)
| at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
| at org.jboss.seam.core.BusinessProcess.createProcess(BusinessProcess.java:117)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.afterInvocation(BusinessProcessInterceptor.java:94)
| at org.jboss.seam.interceptors.BusinessProcessInterceptor.manageBusinessProcessContext(BusinessProcessInterceptor.java:50)
| 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:585)
| at org.jboss.seam.util.Reflections.invoke(Reflections.java:18)
| at org.jboss.seam.intercept.Interceptor.aroundInvoke(Interceptor.java:169)
| at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:64)
| at org.jboss.seam.intercept.RootInterceptor.createSeamInvocationContext(RootInterceptor.java:144)
| at org.jboss.seam.intercept.RootInterceptor.invokeInContexts(RootInterceptor.java:129)
| at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:102)
| at org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:49)
| 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:585)
| at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:118)
| at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.ExtendedPersistenceContextPropagationInterceptor.invoke(ExtendedPersistenceContextPropagationInterceptor.java:57)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
| at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
| at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
| at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:188)
| at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98)
| ... 61 more
| Caused by: java.lang.reflect.InvocationTargetException
| 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:585)
| at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208)
| at org.jbpm.graph.def.Node_$$_javassist_310.enter(Node_$$_javassist_310.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.graph.node.StartState.leave(StartState.java:70)
| ... 112 more
| Caused by: org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
| at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:249)
| at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
| at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
| at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
| at org.jbpm.graph.def.Transition.take(Transition.java:106)
| at org.jbpm.graph.def.Node.leave(Node.java:383)
| at org.jbpm.graph.exe.ExecutionContext.leaveNode(ExecutionContext.java:136)
| at org.jbpm.graph.node.Decision.execute(Decision.java:146)
| at org.jbpm.graph.def.Node.enter(Node.java:316)
| ... 121 more
| Caused by: org.jbpm.JbpmException: couldn't evaluate expression '#{actualizarEstadoLibro.actualizar(actualizarEstadoLibro.disponible)}'
| at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:38)
| at org.jbpm.graph.def.Action.execute(Action.java:119)
| at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
| ... 129 more
| Caused by: org.jbpm.jpdl.el.ELException: Encountered "(", expected one of ["}", ".", ">", "gt", "<", "lt", "==", "eq", "<=", "le", ">=", "ge", "!=", "ne", "[", "+", "-", "*", "/", "div", "%", "mod", "and", "&&", "or", "||", "?"]
| at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.parseExpressionString(ExpressionEvaluatorImpl.java:321)
| at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:251)
| at org.jbpm.jpdl.el.impl.ExpressionEvaluatorImpl.evaluate(ExpressionEvaluatorImpl.java:191)
| at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:34)
| ... 131 more
|
I think that the problem is in the param of the method and the EL, but I dont know how to solve it.
Any ideas?
Thanks.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991363#3991363
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991363
19 years, 7 months
[JBossWS] - Service Not Found Issue:Axis1.1-WS conflict running into JBo
by bertrand.njiipwo
Hello everyone,
i'm facing the following Problem. I'm trying to integrate Web Services running in the pass on Axis 1.1 in JBoss. My Configurations: I'm using JBoss AS 4.0.4.AG and the jpbm-bpel-1.1.beta1, jwsdp-1.6, ant-1.6.5 and java.1.5.0_06.
I have a BPEL-Process invocing some Schufa service running on Axis1.1. The deploying steps go well but kicking the Process with an SOAPMessage generate by XMLSPy generate Runtime Exceptions. I have tested the Schufa service alone by the same way and i can get an response from the Axis-Service running on JBoss. When the process instance ist running it can't succefully invoce the Schufa Service. See following stack trace:
2006-12-04 16:19:41,907 DEBUG [org.jbpm.bpel.relation.jms.StartListener] caught exception while passing control to process, searching for handler
| org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:88)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:382)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:148)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
| at org.jbpm.bpel.def.Receive.accept(Receive.java:64)
| at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$dca8bbaa.accept(<generated>)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:82)
| at org.jbpm.bpel.def.Sequence.accept(Sequence.java:84)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:29)
| at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:110)
| at org.jbpm.bpel.relation.jms.StartListener.onMessage(StartListener.java:94)
| at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
| at java.lang.Thread.run(Unknown Source)
| Caused by: org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:88)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:382)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:148)
| at org.jbpm.bpel.def.Assign.execute(Assign.java:41)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:83)
| ... 16 more
| Caused by: java.lang.RuntimeException: service not found: service={urn:samples:schufa}SchufaService
| at org.jbpm.bpel.service.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:131)
| at org.jbpm.bpel.service.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:84)
| at org.jbpm.bpel.relation.jms.RelationContext.getPortConsumer(RelationContext.java:191)
| at org.jbpm.bpel.relation.jms.JmsRelationService.invoke(JmsRelationService.java:134)
| at org.jbpm.bpel.def.Invoke.execute(Invoke.java:28)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:83)
| ... 21 more
| 2006-12-04 16:19:41,917 ERROR [org.jbpm.bpel.relation.jms.StartListener] could not start process instance
| org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.bpel.relation.jms.StartListener.onMessage(StartListener.java:98)
| at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694)
| at java.lang.Thread.run(Unknown Source)
| Caused by: org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:88)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:382)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:148)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43)
| at org.jbpm.bpel.def.Receive.accept(Receive.java:64)
| at org.jbpm.bpel.def.Receive$$FastClassByCGLIB$$516412f0.invoke(<generated>)
| at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
| at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:163)
| at org.jbpm.bpel.def.Receive$$EnhancerByCGLIB$$dca8bbaa.accept(<generated>)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:82)
| at org.jbpm.bpel.def.Sequence.accept(Sequence.java:84)
| at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:29)
| at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:110)
| at org.jbpm.bpel.relation.jms.StartListener.onMessage(StartListener.java:94)
| ... 2 more
| Caused by: org.jbpm.graph.def.DelegationException
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:88)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
| at org.jbpm.graph.def.Node.leave(Node.java:382)
| at org.jbpm.bpel.def.Activity.leave(Activity.java:148)
| at org.jbpm.bpel.def.Assign.execute(Assign.java:41)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:83)
| ... 16 more
| Caused by: java.lang.RuntimeException: service not found: service={urn:samples:schufa}SchufaService
| at org.jbpm.bpel.service.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:131)
| at org.jbpm.bpel.service.exe.SoapEndpointReference.selectPort(SoapEndpointReference.java:84)
| at org.jbpm.bpel.relation.jms.RelationContext.getPortConsumer(RelationContext.java:191)
| at org.jbpm.bpel.relation.jms.JmsRelationService.invoke(JmsRelationService.java:134)
| at org.jbpm.bpel.def.Invoke.execute(Invoke.java:28)
| at org.jbpm.bpel.def.Activity.enter(Activity.java:83)
| ... 21 more
| 2006-12-04 16:19:42,097 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
| 2006-12-04 16:19:42,097 DEBUG [org.jbpm.svc.Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@1a83205
| 2006-12-04 16:19:42,097 DEBUG [org.jbpm.persistence.db.DbPersistenceService] rolling back hibernate transaction
| 2006-12-04 16:19:42,097 DEBUG [org.hibernate.transaction.JDBCTransaction] rollback
| 2006-12-04 16:19:42,127 DEBUG [org.hibernate.transaction.JDBCTransaction] re-enabling autocommit
| 2006-12-04 16:19:42,127 DEBUG [org.hibernate.transaction.JDBCTransaction] rolled back JDBC Connection
| 2006-12-04 16:19:42,127 DEBUG [org.hibernate.jdbc.ConnectionManager] aggressively releasing JDBC connection
| 2006-12-04 16:19:42,127 DEBUG [org.hibernate.jdbc.ConnectionManager] releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open ResultSets: 0, globally: 0)]
| 2006-12-04 16:19:42,127 DEBUG [org.jbpm.persistence.db.DbPersistenceService] closing hibernate session
| 2006-12-04 16:19:42,137 DEBUG [org.jbpm.svc.Services] closing service 'relation': org.jbpm.bpel.relation.jms.JmsRelationService@16c2195
| 2006-12-04 16:20:33,751 DEBUG [org.jbpm.bpel.service.provider.PortProvider] response timeout expired: JMS_TQ1
| 2006-12-04 16:20:33,751 DEBUG [javax.xml.rpc.soap.SOAPFaultException] new SOAPFaultException [code={http://schemas.xmlsoap.org/soap/envelope/}Server,string=The service is not in an appropiate state for the requested operation,actor=null,detail=null]
| 2006-12-04 16:20:33,761 DEBUG [org.jbpm.bpel.service.provider.PortProvider] request caused a fault
| javax.xml.rpc.soap.SOAPFaultException: The service is not in an appropiate state for the requested operation
| at org.jbpm.bpel.service.provider.PortProvider.receiveResponse(PortProvider.java:460)
| at org.jbpm.bpel.service.provider.PortProvider.handleRequest(PortProvider.java:204)
| at org.jboss.webservice.handler.HandlerWrapper.handleRequest(HandlerWrapper.java:121)
| at org.jboss.webservice.handler.HandlerChainBaseImpl.handleRequest(HandlerChainBaseImpl.java:231)
| at org.jboss.webservice.handler.ServerHandlerChain.handleRequest(ServerHandlerChain.java:67)
| at org.jboss.webservice.server.InvokerProviderJSE.invokeTarget(InvokerProviderJSE.java:87)
| at org.jboss.axis.providers.java.RPCProvider.processMessage(RPCProvider.java:121)
| at org.jboss.axis.providers.java.JavaProvider.invoke(JavaProvider.java:358)
| at org.jboss.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:73)
| at org.jboss.axis.SimpleChain.doVisiting(SimpleChain.java:160)
| at org.jboss.axis.SimpleChain.invoke(SimpleChain.java:123)
| at org.jboss.axis.handlers.soap.SOAPService.invoke(SOAPService.java:560)
| at org.jboss.webservice.server.ServerEngine.invokeInternal(ServerEngine.java:215)
| at org.jboss.webservice.server.ServerEngine.invoke(ServerEngine.java:104)
| at org.jboss.axis.transport.http.AxisServlet.doPost(AxisServlet.java:911)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
| at org.jboss.axis.transport.http.AxisServletBase.service(AxisServletBase.java:370)
| at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
| 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(Unknown Source)
| 2006-12-04 16:20:33,761 DEBUG [org.jbpm.JbpmContext] closing JbpmContext
| 2006-12-04 16:20:33,761 DEBUG [org.jbpm.svc.Services] closing service 'persistence': org.jbpm.persistence.db.DbPersistenceService@67211b
| 2006-12-04 16:20:33,761 DEBUG [org.jbpm.persistence.db.DbPersistenceService] committing hibernate transaction
| 2006-12-04 16:20:33,761 DEBUG [org.hibernate.transaction.JDBCTransaction] commit
I found out that there are some compatiblity issues when migrating Axis-Web services specially Axis 1.1 on JBoss. I tried first to use jbossws. After i tried the downgrade to jboss.ws4ee. With both i can't successfully call the Schufa service.
But there is something strage hier. The first time i send a SOAPMessage to the process(WS) the server can't start a process instance. For the second time a process instance is started but his excecution stops when calling the schufa service. Some system.out.println in the jbpm-code gives the following trace while saving some process logs:
| 16:49:10,637 INFO [STDOUT] JbpmContext: Ready save Processinstance with ID:18
| 16:49:10,647 INFO [STDOUT] DBLoggingService: saving following ProcessLog :processinstance[create]
| 16:49:10,958 INFO [STDOUT] DBLoggingService: saving following ProcessLog :tokencreate[/implicit]
| 16:49:11,068 INFO [STDOUT] DBLoggingService: saving following ProcessLog :tokencreate[/normalFlow]
| 16:49:11,088 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varcreate[${s:instance}]
| 16:49:11,599 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varupdate[${s:instance}=org.jbpm.bpel.exe.ScopeInstance@13276cc[name=<null>,id=9]]
| 16:49:11,609 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varcreate[${schufaResponse}]
| 16:49:11,779 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varupdate[${schufaResponse}=org.jbpm.bpel.data.exe.MessageValue@a029[type=MessageType(id=26),parts=<null>,id=33]]
| 16:49:11,789 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varcreate[${applyRequest}]
| 16:49:11,839 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varupdate[${applyRequest}=org.jbpm.bpel.data.exe.MessageValue@112e9e6[type=MessageType(id=25),parts=<null>,id=34]]
| 16:49:11,839 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varcreate[${schufaRequest}]
| 16:49:11,869 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varupdate[${schufaRequest}=org.jbpm.bpel.data.exe.MessageValue@ba3b30[type=MessageType(id=27),parts=<null>,id=35]]
| 16:49:11,889 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varcreate[${applyResponse}]
| 16:49:11,939 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varupdate[${applyResponse}=org.jbpm.bpel.data.exe.MessageValue@83fff9[type=MessageType(id=28),parts=<null>,id=36]]
| 16:49:11,989 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varcreate[${p:SchufaLink}]
| 16:49:12,119 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varupdate[${p:SchufaLink}=org.jbpm.bpel.service.exe.PartnerLinkInstance@1d6c275[name=SchufaLink,id=17]]
| 16:49:12,129 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varcreate[${p:LoanProcessing}]
| 16:49:12,149 INFO [STDOUT] DBLoggingService: saving following ProcessLog :varupdate[${p:LoanProcessing}=org.jbpm.bpel.service.exe.PartnerLinkInstance@78b73f[name=LoanProcessing,id=18]]
| 16:49:12,159 INFO [STDOUT] DBLoggingService: saving following ProcessLog :token end[/normalFlow]
| 16:49:12,169 INFO [STDOUT] DBLoggingService: saving following ProcessLog :token end[/implicit]
| 16:49:12,179 INFO [STDOUT] DBLoggingService: saving following ProcessLog :processinstance[end]
I don't know if this issue is related somewhere with the generated service artefacte using jwsdp. But there is some thing wring with the generated Endpoint implementation of the schufa service.
All my files (Similar to the example i described hier http://www.jboss.com/index.html?module=bb&op=viewtopic&t=89839). I have just change the approverService to Schufa Service:
loanapproval.wsdl:
<?xml version="1.0" encoding="UTF-8"?>
| <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:loanapproval" xmlns:loanapproval="urn:samples:loanapproval"
| xmlns:schufa="urn:samples:schufa" xmlns:types="urn:samples:loanapprovalTypes" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" targetNamespace="urn:samples:loanapprova">
| <import namespace="urn:samples:schufa" location="interface/schufa.wsdl"/>
| <types/>
| <types>
| <schema targetNamespace="urn:samples:loanapprovalTypes" xmlns="http://www.w3.org/2001/XMLSchema">
| <element name="loanProcessFault" type="types:loanProcessFaultType"/>
| <complexType name="loanApplicationType">
| <sequence>
| <element name="firstName" type="string"/>
| <element name="lastName" type="string"/>
| <element name="amount" type="float"/>
| </sequence>
| </complexType>
| <complexType name="approvalDecisionType">
| <sequence>
| <!--element name="approved" type="boolean"/-->
| <element name="approved" type="string"/>
| </sequence>
| </complexType>
| <complexType name="loanProcessFaultType">
| <sequence>
| <element name="ErrorCode" type="int"/>
| <element name="ErrorMessage" type="string"/>
| </sequence>
| </complexType>
| </schema>
| </types>
| <message name="applyRequest">
| <part name="loanRequestParameters" type="types:loanApplicationType"/>
| </message>
| <message name="applyResponse">
| <part name="loanResponse" type="types:approvalDecisionType"/>
| </message>
| <message name="applyLoanProcessFault">
| <part name="loanFault" element="types:loanProcessFault"/>
| </message>
| <portType name="LoanProcessPortType">
| <operation name="apply">
| <input message="tns:applyRequest"/>
| <output message="tns:applyResponse"/>
| <fault name="LoanProcessFault" message="tns:applyLoanProcessFault"/>
| </operation>
| </portType>
| <plt:partnerLinkType name="LoanProcessingPLT">
| <plt:role name="lender">
| <plt:portType name="tns:LoanProcessPortType"/>
| </plt:role>
| </plt:partnerLinkType>
| </definitions>
|
loanapproval.bpel:
<?xml version="1.0" encoding="UTF-8"?>
| <process name="loanapproval" suppressJoinFailure="yes" targetNamespace="urn:samples:loanapproval" xmlns="http://schemas.xmlsoap.org/ws/2003/03/business-process/"
| xmlns:tns="urn:samples:loanapproval" xmlns:loanapproval="urn:samples:loanapproval" xmlns:schufa="urn:samples:schufa" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:bpel="http://schemas.xmlsoap.org/ws/2003/03/business-process/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://schemas.xmlsoap.org/ws/2003/03/business-process/
| http://schemas.xmlsoap.org/ws/2003/03/business-process/">
| <partnerLinks>
| <partnerLink name="LoanProcessing" partnerLinkType="loanapproval:LoanProcessingPLT" myRole="lender"/>
| <partnerLink name="SchufaLink" partnerLinkType="schufa:SchufaPLT" partnerRole="schufa"/>
| </partnerLinks>
| <variables>
| <variable name="applyRequest" messageType="loanapproval:applyRequest"/>
| <variable name="applyResponse" messageType="loanapproval:applyResponse"/>
| <variable name="schufaRequest" messageType="schufa:validCustomerRequest"/>
| <variable name="schufaResponse" messageType="schufa:validCustomerResponse"/>
| </variables>
| <sequence>
| <receive createInstance="yes" name="LoanApplication" operation="apply" partnerLink="LoanProcessing" portType="loanapproval:LoanProcessPortType" variable="applyRequest"/>
| <assign name="AssignLoanInfo_forApproval">
| <copy>
| <from variable="applyRequest" query="/loanRequestParameters/lastName" part="loanRequestParameters"/>
| <to variable="schufaRequest" part="_surname"/>
| </copy>
| <copy>
| <from variable="applyRequest" query="/loanRequestParameters/firstName" part="loanRequestParameters"/>
| <to variable="schufaRequest" part="_firstname"/>
| </copy>
| </assign>
| <invoke inputVariable="schufaRequest" name="SchufaCheck" operation="validCustomer" outputVariable="schufaResponse" partnerLink="SchufaLink" portType="schufa:SchufaWS"/>
| <assign name="AssignSchufaDecision">
| <copy>
| <from variable="schufaResponse" part="validCustomerReturn"/>
| <to variable="applyResponse" query="/loanResponse/approved" part="loanResponse"/>
| </copy>
| </assign>
| <reply name="ApprovalDecision" operation="apply" partnerLink="LoanProcessing" portType="loanapproval:LoanProcessPortType" variable="applyResponse"/>
| </sequence>
| </process>
The following file remain unchanged from the above link: jboss-web.xml, web.xml, webservices.xml, wscompile.xml, jboss-client.xml.
For the Schufa Web Service as partner.
schufa.wsdl:
| <?xml version="1.0" encoding="UTF-8"?>
| <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:schufa" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:plt="http://schemas.xmlsoap.org/ws/2003/05/partner-link/" targetNamespace="urn:samples:schufa"
| name="SchufaService">
| <message name="validCustomerRequest">
| <part name="_surname" type="xsd:string"/>
| <part name="_firstname" type="xsd:string"/>
| </message>
| <message name="validCustomerResponse">
| <part name="validCustomerReturn" type="xsd:string"/>
| </message>
| <portType name="SchufaWS">
| <operation name="validCustomer" parameterOrder="_surname _firstname">
| <input name="validCustomerRequest" message="tns:validCustomerRequest"/>
| <output name="validCustomerResponse" message="tns:validCustomerResponse"/>
| </operation>
| </portType>
| <plt:partnerLinkType name="SchufaPLT">
| <plt:role name="schufa">
| <plt:portType name="tns:SchufaWS"/>
| </plt:role>
| </plt:partnerLinkType>
| </definitions>
|
|
schufa.svc.wsdl:
<?xml version="1.0" encoding="UTF-8"?>
| <definitions xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="urn:samples:schufa" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
| xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| targetNamespace="urn:samples:schufa" xsi:schemaLocation="http://schemas.xmlsoap.org/wsdl/ http://schemas.xmlsoap.org/wsdl/">
| <import namespace="urn:samples:schufa" location="schufa.wsdl"/>
| <binding name="SchufaSOAPBinding" type="tns:SchufaWS">
| <soap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/>
| <operation name="validCustomer">
| <soap:operation soapAction="urn:samples:schufa:validCustomer"/>
| <input>
| <soap:body use="literal" namespace="urn:samples:schufa"/>
| </input>
| <output>
| <soap:body use="literal" namespace="urn:samples:schufa"/>
| </output>
| </operation>
| </binding>
| <service name="SchufaService">
| <port name="SchufaPort" binding="tns:SchufaSOAPBinding">
| <soap:address location="REPLACE_WITH_ACTUAL_URI"/>
| </port>
| </service>
| </definitions>
|
web.xml
<?xml version="1.0" encoding="UTF-8"?>
| <web-app version="2.4" xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
| http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
| <servlet>
| <servlet-name>schufaServlet</servlet-name>
| <servlet-class>org.jbpm.bpel.tutorial.schufa.SchufaWS_Impl</servlet-class>
| </servlet>
| <servlet-mapping>
| <servlet-name>schufaServlet</servlet-name>
| <url-pattern>/schufaWS</url-pattern>
| </servlet-mapping>
| </web-app>
|
webservices.xml
<?xml version="1.0" encoding="UTF-8"?>
| <webservices version="1.1" xmlns="http://java.sun.com/xml/ns/j2ee"
| xmlns:impl="urn:samples:schufa"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
| http://java.sun.com/xml/ns/j2ee/j2ee_web_services_1_1.xsd">
| <webservice-description>
| <webservice-description-name>SchufaService</webservice-description-name>
| <wsdl-file>WEB-INF/wsdl/schufa.svc.wsdl</wsdl-file>
| <jaxrpc-mapping-file>WEB-INF/jaxrpc-mapping.xml</jaxrpc-mapping-file>
| <port-component>
| <port-component-name>SchufaPort</port-component-name>
| <wsdl-port>impl:SchufaPort</wsdl-port>
| <service-endpoint-interface> <!-- org.jbpm.bpel.tutorial.serviceName.portTypeName -->
| org.jbpm.bpel.tutorial.schufa.SchufaWS
| </service-endpoint-interface>
| <service-impl-bean>
| <servlet-link>schufaServlet</servlet-link>
| </service-impl-bean>
| </port-component>
| </webservice-description>
| </webservices>
|
wscompile
<?xml version="1.0" encoding="UTF-8"?>
| <configuration xmlns="http://java.sun.com/xml/ns/jax-rpc/ri/config">
| <wsdl location="wsdl/schufa.svc.wsdl"
| packageName="org.jbpm.bpel.tutorial.schufa"/>
| </configuration>
Hier are some example of generated SOAPMessage send to the process and the schufa services:
SOAPMessage + SOAPResponse to the Loanapproval Process
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
| <SOAP-ENV:Body>
| <m:apply xmlns:m="urn:samples:loanapproval">
| <loanRequestParameters>
| <firstName>MyFirstname</firstName>
| <lastName>MyLastName</lastName>
| <amount>1000</amount>
| </loanRequestParameters>
| </m:apply>
| </SOAP-ENV:Body>
| </SOAP-ENV:Envelope>
|
| <env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/">
| <env:Header/>
| <env:Body>
| <env:Fault>
| <faultcode>env:Server</faultcode>
| <faultstring>The service is not in an appropiate state for the requested operation</faultstring>
| </env:Fault>
| </env:Body>
| </env:Envelope>
SOAPMessage to the Schufa Service
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
| <SOAP-ENV:Body>
| <m:validCustomer xmlns:m="urn:samples:schufa">
| <_surname xsi:type="xsd:string">MyName</_surname>
| <_firstname xsi:type="xsd:string">MyFirstName</_firstname>
| </m:validCustomer>
| </SOAP-ENV:Body>
| </SOAP-ENV:Envelope>.
I have also tried to substituate the jboss.org.axis libraries to the original org.apache.axis. ..... like describeb hier http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876437:
Please any one has an idea how to solve this problem?
Thanks for your advise.
Regards
Bertrand
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3991356#3991356
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3991356
19 years, 7 months