[Beginners Corner] - MyFaces JSF implementation found! This version of JBoss AS
by JGF1
Hi folks.
•I've been trying to deploy a war for the Seam example that comes with source download for Core JSF 2nd edition in JBoss AS4.2.2GA.
In their book they talk about using JBoss Embedded server with Tomcat 5.5.
•As I see it, I've got a couple of options open to me. Try and use embedded server in Tomcat 6 (I'm not going back to earlier version of Tomcat!) or use AS4.2.2GA. I'd prefer to do the latter.
However when I deploy the war, I get the following message from JBoss.
anonymous wrote :
| 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.
|
•Now I've had a quick look in JBoss wiki, and can't seem to navigate to topic in question. One of the search boxes (lower one) appears to be broken and other one gives a Google search and it's like looking for a needle in a haystack..
•Can someone point me to the appropriate documentation?
•Am I correct in assuming the java.net jars are jsf-api/jsf-impl.jar?
•Are the java.net and myfaces implementations significantly different?
•Could I just swap over jsf jars, recompile and redeploy or am I likely to encounter lots of problems?
•Many thanks for your time.
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158189#4158189
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158189
17 years, 10 months
[JBoss jBPM] - why swimlane in start-task not assigned ?
by joy_wind
I am studying jbpm(v3.2.2). I made a simple process as following.To capture who kick start a instance of it ,I set a swimlane in the start-task.
<?xml version="1.0" encoding="UTF-8"?>
| <process-definition xmlns="urn:jbpm.org:jpdl-3.2" name="webflow">
| <swimlane name="initiator" />
| <start-state name="start-state1">
| <task swimlane="initiator" />
| <transition to="waitDecision">
| </start-state>
| ... ...
The following is the test code to create an instance of it
... ...
| context.setActorId("john");
| GraphSession gs = context.getGraphSession();
| ProcessDefinition pdf = gs.findLatestProcessDefinition("webflow");
| ProcessInstance pi = pdf.createProcessInstance();
| pi.signal();
| ... ...
As the code above shows,I set the actor to "john".
After run it,I find jbpm do create a process instance in database.but another test code of
// pi is an instance loaded from db.
| pi.getTaskMgmtInstance().getSwimlaneInstance("initiator"); get null ! The expected result should not be null,and the pi.getTaskMgmtInstance().getSwimlaneInstance("initiator").getActorId() should be john.
Why ?
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4158187#4158187
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4158187
17 years, 10 months