[JBoss jBPM] - Re: Version 3.2.3 where art thou?
by jeffj55374
Hi,
Which file(s) contained the fix? I'm having an issue that sounds very similar to this. In our system we have a parent process that has a fork that has transitions to 4 <process-state name="xxxxx" async="true"> nodes that then transition to a join. Periodically we get a StaleObjectException when the sub process completes, signals the parent process so it does the join processing. The transaction is rolled back which includes all the work done in the sub process. The description of the problem and the solution sound like a very good match to the problem I'm seeing. I'd like to apply the fix to our current code base while we wait for 3.2.3 to be released and see if it solves this problem too. If not, it might help me identify the solution to my particular scenario if the root cause isn't the same.
Thanks,
Jeff
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112711#4112711
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112711
18 years, 6 months
[JBoss jBPM] - Re: Connection was lost
by kukeltje
Sure, the jbpm team knows everything about the jbpm config file and how the engine that uses it works. We are *not* specialists in configurations of datasources the way the hibernate and even your DB2 driver behave in maintaining connections and 'we' certainly did not provide the configfile you show, which is *not* a jbpm config file but a datasource config.
jBPM uses the functionality of an appserver that it runs on, in the jbpm starter kit that is JBoss AS. You seem to have a problem with the persistency layer under JBossAS (hibernate). It could either be the datasource config, hibernate itself or even the DB2 driver. So my statement that you'd be best served in the JBoss AS was one to get *you* the *best* help, since I doubt if you will get a helpful answer her.
So.... please try the JBoss AS forum
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112698#4112698
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112698
18 years, 6 months
[JBoss Seam] - Re: External AJAX access to webremote?
by whafrog
"shane.bryzak(a)jboss.com" wrote : Oh, and you also need to override the Seam.Remoting.resourcePath after you import the script. It defaults to "/appname/seam/resource/remoting", so you'll need to give it an absolute url also...
According to the Firefox javascript console, "Seam is not defined". Here's my whole page, which is just a file on my drive (not deployed). It's pointing to a deployed app:
<html>
| <head>
| <script type="text/javascript" src="http://localhost:8080/myapp/seam/resource/remoting/resource/remote.js"></script>
| <script type="text/javascript" src="http://localhost:8080/myapp/seam/resource/remoting/interface.js?myservice"></script>
| <script type="text/javascript">
| function getStuff() {
| alert(Seam.Remoting.resourcePath);
| Seam.Remoting.resourcePath = "http://localhost:8080/myapp/seam/resource/remoting";
| alert(Seam.Remoting.resourcePath);
| Seam.Component.getInstance("myservice").getStuff("param1", "param2", getStuffCallback)
| alert("called");
| }
| function getStuffCallback(result) {
| alert(result);
| }
| </script>
| </head>
| <body>
| Seam Remote Test:<br/>
| <hr/>
| <button onclick="javascript:getStuff()">Get Stuff</button>
| </body>
| </html>
|
I trust my web.xml file is set up properly:
<servlet>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <servlet-class>org.jboss.seam.servlet.SeamResourceServlet</servlet-class>
| </servlet>
|
| <servlet-mapping>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <url-pattern>/seam/resource/*</url-pattern>
| </servlet-mapping>
Anything in there that might get in the way? Security?
Thanks to dakna for the other thread, crossing domains may be an issue in future, but I'd like to prove it can work within-domain :-)
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112692#4112692
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112692
18 years, 6 months
[Installation, Configuration & DEPLOYMENT] - jsf for jboss 4.2
by robert_trudel
hi
with jboss 4.2, i got some problem with jsf
if i remove
myfaces-impl-1.1.4.jar
myfaces-api-1.1.4.jar
i get
| Exception sending context destroyed event to listener instance of class
| (listener) org.jboss.web.jsf.integration.config.JBossJSFConfigureListener
| java.lang.NoClassDefFoundError: javax/el/ELResolver
|
if i don't remove thees files
| [JBossJSFConfigureListener] MyFaces JSF implementation found! This version
| of JBoss AS ships with the java.net implementation of JSF. There are known
| issues when mixing JSF implementations. This warning does not apply to
| MyFaces component libraries such as Tomahawk. However, myfaces-impl.jar
| and myfaces-api.jar should not be used without disabling the built-in JSF
| implementation. See the JBoss wiki for more details.
| 15:58:07,218 ERROR [STDERR] javax.faces.FacesException:
| org.ajax4jsf.framework.DebugLifecycleFactory
| ...
| ...
| Caused by: java.lang.InstantiationException:
| org.ajax4jsf.framework.DebugLifecycleFactory
| at java.lang.Class.newInstance0(Class.java:335)
| at java.lang.Class.newInstance(Class.java:303)
| at
| javax.faces.FactoryFinder.getImplGivenPreviousImpl(FactoryFinder.java:567)
|
my web.xml
| <?xml version="1.0" encoding="UTF-8"?>
|
| <web-app xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
| http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd"
| version="2.5">
|
| <!-- Seam -->
| <listener>
| <listener-class>org.jboss.seam.servlet.SeamListener</listener-class>
| </listener>
| <filter>
| <filter-name>Seam Filter</filter-name>
| <filter-class>org.jboss.seam.web.SeamFilter</filter-class>
| </filter>
| <filter-mapping>
| <filter-name>Seam Filter</filter-name>
| <url-pattern>/*</url-pattern>
| </filter-mapping>
| <filter-mapping>
| <filter-name>Seam Filter</filter-name>
| <url-pattern>*.seam</url-pattern>
| </filter-mapping>
| <filter>
| <display-name>Ajax4jsf Filter</display-name>
| <filter-name>ajax4jsf</filter-name>
| <filter-class>org.ajax4jsf.FastFilter</filter-class>
| <!--
| <filter-class>org.ajax4jsf.Filter</filter-class>
| -->
| </filter>
|
| <filter-mapping>
| <filter-name>ajax4jsf</filter-name>
| <servlet-name>Faces Servlet</servlet-name>
| <dispatcher>REQUEST</dispatcher>
| <dispatcher>FORWARD</dispatcher>
| <dispatcher>INCLUDE</dispatcher>
| </filter-mapping>
|
| <!--
| <context-param>
| <param-name>org.ajax4jsf.VIEW_HANDLERS</param-name>
|
| <param-value>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</param-value>
| </context-param>
| -->
|
| <servlet>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <servlet-class>org.jboss.seam.servlet.ResourceServlet</servlet-class>
| </servlet>
| <servlet-mapping>
| <servlet-name>Seam Resource Servlet</servlet-name>
| <url-pattern>/seam/resource/*</url-pattern>
| </servlet-mapping>
|
| <!-- MyFaces -->
| <!--
| <listener>
|
| <listener-class>org.apache.myfaces.webapp.StartupServletContextListener</listener-class>
|
| </listener>
| -->
|
| <context-param>
| <param-name>javax.faces.STATE_SAVING_METHOD</param-name>
| <param-value>client</param-value>
| </context-param>
| <context-param>
| <param-name>javax.faces.DEFAULT_SUFFIX</param-name>
| <param-value>.xhtml</param-value>
| </context-param>
| <servlet>
| <servlet-name>Faces Servlet</servlet-name>
| <servlet-class>javax.faces.webapp.FacesServlet</servlet-class>
| <load-on-startup>1</load-on-startup>
| </servlet>
| <servlet-mapping>
| <servlet-name>Faces Servlet</servlet-name>
| <url-pattern>*.do</url-pattern>
| </servlet-mapping>
| <!-- Config -->
| <session-config>
| <session-timeout>120</session-timeout>
| </session-config>
| </web-app>
|
|
my faces-config
| <?xml version="1.0" encoding="UTF-8"?>
|
| <!--
|
| <!DOCTYPE faces-config
| PUBLIC "-//Sun Microsystems, Inc.//DTD JavaServer Faces Config 1.0//EN"
|
| "http://java.sun.com/dtd/web-facesconfig_1_0.dtd">
| <faces-config>
| -->
|
|
| <faces-config xmlns="http://java.sun.com/xml/ns/javaee"
| xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
| xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
| http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd"
| version="1.2">
|
|
| <application>
|
| <view-handler>org.jboss.seam.ui.facelet.SeamFaceletViewHandler</view-handler>
| </application>
|
| <!-- Phase listener needed for all Seam applications -->
|
| <lifecycle>
|
| <phase-listener>org.jboss.seam.jsf.SeamPhaseListener</phase-listener>
| </lifecycle>
|
| </faces-config>
|
i searched on the web and mailing list, but found no answer about this problem..
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4112689#4112689
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4112689
18 years, 6 months