[JBoss Seam] - Re: Issue with Seam and Tomcat 6 during tomcat startup
by apushadow
Michael--
Yeah, it looks like java:/comp/env/omegaDatasource isn't being found. I never use comp/env, though (I use java:/omegaDatasource)...not sure if that's your problem.
ly--
I have Tomcat 5.5 at work and 6.0 at home...I haven't tried having both on the same box (maybe Tomcat is fighting with itself...ports or Windows Services or something?). I had just emailed myself my code from work and deployed the same code base with no problems at home. Have you tried deploying a non-Seam app to your Tomcat 6 installation to make sure the installation works? By the way, I saw the log...what behavior are you getting when you deploy to Tomcat 6? Mine would start up, show the login page (without the stylesheet loaded...I use Firefox as a browser), and not let me log in because the contexts got dropped. The log looked similar to yours...of course, it may be a completely different problem and I might be just leading you down the Path of Wasted Time. :-/
I just tried installing 6.0 at work and the installation wizard won't properly install the Windows Service. *shrug* Sorry, man.
--Rich
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027250#4027250
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027250
19Â years, 1Â month
[JBoss jBPM] - DelegationException in processInstance.signal()
by bgphp
I am trying to test a simple processDefinition in servlet...i always get ' DelegationException in processInstance.signal();'
org.jbpm.graph.def.DelegationException
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:352)
org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:346)
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:249)
org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
org.jbpm.graph.def.Node.enter(Node.java:301)
org.jbpm.graph.def.Transition.take(Transition.java:119)
org.jbpm.graph.def.Node.leave(Node.java:383)
org.jbpm.graph.node.StartState.leave(StartState.java:70)
org.jbpm.graph.exe.Token.signal(Token.java:178)
org.jbpm.graph.exe.Token.signal(Token.java:123)
org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
org.example.web.WorkflowExcecuteServlet.SimpleNodeActionsFlow(WorkflowExcecuteServlet.java:162)
Servlet code looks like this..
DefnString is :
<process-definition>
<start-state>
<transition to=\'start\'/>
</start-state>
<state name=\'start\'>
<event type=\'node-enter\'>
<action class=\'org.example.web.MyActionHandler\'/>
<event type=\'node-leave\'>
<action class=\'org.example.web.MyActionHandler\'/>
<transition to=\'end\'/>
<end-state name=\'end\' />
</process-definition>
ProcessDefinition processDefinition = ProcessDefinition.parseXmlString( defnString );
ProcessInstance processInstance =
new ProcessInstance(processDefinition);
// The next signal will cause the execution to leave the start
// state and enter the state 's'. So the state 's' is entered
// and hence the action is executed.
processInstance.signal();
Can you someone help me ..what is wrong with this code?
thanks
BG
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027249#4027249
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027249
19Â years, 1Â month
[JBoss jBPM] - Lost retrieving resource bandle in ActionHandler
by slogger
I want to get ResourceBundle in my ActionHandler implementation
code:
| public class ChangeStatus implements ActionHandler{
|
| private static final long serialVersionUID = 1L;
|
| public void execute(ExecutionContext executionContext) throws Exception {
| String tmp = (String)
| ResourceBundle resource = ResourceBundle.getBundle("org.Errors");
| }
|
| }
|
After signal on execution I get following Exception:
| 19:20:22,031 ERROR [GraphElement] action threw exception: Can't find bundle for base name org.Errors, locale en
| java.util.MissingResourceException: Can't find bundle for base name org.Errors, locale en
| at java.util.ResourceBundle.throwMissingResourceException(ResourceBundle.java:836)
| at java.util.ResourceBundle.getBundleImpl(ResourceBundle.java:796)
| at java.util.ResourceBundle.getBundle(ResourceBundle.java:576)
| at rfc.actions.ChangeStatus.execute(ChangeStatus.java:19)
| at org.jbpm.graph.def.Action.execute(Action.java:123)
| 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.Node.enter(Node.java:301)
| 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:205)
| at org.jbpm.graph.def.Node_$$_javassist_46.enter(Node_$$_javassist_46.java)
| at org.jbpm.graph.def.Transition.take(Transition.java:119)
|
| ... more
In other words, classloader couldn't found the resource file Errors.propperties
I was attempt to create process archive using GPD and found Errors.propperties file in classes\org\ directory. in other words, this resource should be
found by classloader.
Please help! Sorry my English!
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027248#4027248
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027248
19Â years, 1Â month
[JBoss Portal] - jboss-4.2.0.CR1 and jboss portal 2.4.1
by grininger.h
jboss-4.2.0.CR1 and jboss portal 2.4.1 -
does/should the combination work?
On my first try I got the following exception (while deploying portal-core-war)
java.lang.ClassNotFoundException: org.apache.myfaces.webapp.StartupServletContextListener
so I downloaded myfaces and copied all myfaces jars into the /server/default/lib, so the ClassNotFoundException was gone. but the jboss-portal still doesnt work, on startup I got the following exception, however I'm not sure if that's the real problem:
| 17:26:07,192 WARN [ServiceController] Problem starting service portal:deployer=Adapter
| org.jboss.portal.server.deployment.CannotCreatePortletWebAppException: JBossWeb cannot handle it
| at org.jboss.portal.server.deployment.PortalWebAppFactory.create(PortalWebAppFactory.java:70)
| at org.jboss.portal.server.deployment.WebAppIntercepter.startService(WebAppIntercepter.java:185)
| at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
| at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
|
So my main question is now, is jboss 4.2.0 CR1 and portal 2.4.1 compatible?
Generally I think this information should be presented at a prominent position, I didn't find it.
Thanks in advance. Hubert
View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4027247#4027247
Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4027247
19Â years, 1Â month