[jboss-user] [EJB 3.0 Users] - configure thread passivation
i use a seam app with jboss 4.2.3 GA default. i got some trouble with my SFSB and thread passivation. how can i configure time of passivation? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252919#4252919 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - disable clustering
i use jboss 4.2.3 GA with default config. is there clustering enabled? how to disable it? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252918#4252918 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - performance jbpmContext.getProcessInstance
i got some performance trouble with my application. i use a query to select a list of processinstances. for each processinstance i call jbpmContext.getProcessInstance(id) every time i call my query function the first call to jbpmContext.getProcessInstance(id) lasts around 3 seconds! any idea why ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4241066#4241066 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4241066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - http statistics data
on jmx-console you could view http statistics data. like request count, avg response time. how to get that data? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4222742#4222742 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4222742 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - EARDeployment Apllication1.ear' is not registered.
we have a few applications deployed with JBoss. All applications are packed as ear-files and placed in ...\server\default\deploy for deploying. After deploying all applications are available. But when we try to stop one of the applications via JMX Console. We get an error: javax.servlet.ServletException: Failed to invoke operation org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:269) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause javax.management.InstanceNotFoundException: jboss.j2ee:service=EARDeployment,url='Apllication1.ear' is not registered. org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:523) org.jboss.mx.server.MBeanServerImpl.getMBeanInfo(MBeanServerImpl.java:666) org.jboss.jmx.adaptor.control.Server.invokeOp(Server.java:216) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOp(HtmlAdaptorServlet.java:262) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:100) org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.doPost(HtmlAdaptorServlet.java:82) javax.servlet.http.HttpServlet.service(HttpServlet.java:710) javax.servlet.http.HttpServlet.service(HttpServlet.java:803) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) The application, we try to stop, is still available. Can somebody help? What is wrong here? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4218634#4218634 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4218634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - usage of visual edittor for jsf / seam pages
which tools were used to design the pages of the seam examples? at the moment i use eclipse with jboss tools. but i find it quite hard to design a nice page with it...or may be i do something wrong. for example i got a panelgrid with labels that should be aligned left, and textboxes with all the same size, and one calendar which should also have the same size of the textboxes (including the little image) using the visual editor from jboss tools, it's not really easy to design something like this. or is there a way and i don't know it? i didn't find a tutorial to give me more information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199099#4199099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - deploy over one hundred webapps
i got a web application with customer specific web layout and functionality. but all apps got same base application code. will it be a problem ( performance or anything else ) to deploy over a hundred apps on my jboss? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198821#4198821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - deploy web app to static directory
i got a wep application which is packaged as a war file. i want to dynamically replace some pages in my app, without redeploying the whole app. my idea is to put the unpacked war to a static directory, so i can replace the files there. can this be done? how? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4198033#4198033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4198033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - variable in process definition
is it possible to define a variable and its value in a process definition? for example something like | | | | | | | | Going to the first state! | | | | | | | About to finish! | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4197617#4197617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4197617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: imagelink to absolute path
thank you simply edited the server.xml under jboss-web.deployer and added | | to the host tag... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188299#4188299 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - imagelink to absolute path
i got an jsf application with an h:graphicimage link. the should point to an image on disk and could be replaced whenever i want. how can i let the link point with absolute path to an image? e.g. d:\image\1.jpg View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188272#4188272 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm configuration resource 'jbpm.cfg.xml' is not availa
sorry for asking but does 'D:\eclipse_new\eclipse-SDK-3.4.1-win32\eclipse\workspace\TestEvenNumberjDPL\src\lib\jbpm.cfg.xml' exist? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183754#4183754 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: classcast exception getting tasknode
i need it to create a taskinstance | TaskInstance ti = pi.getTaskMgmtInstance() | .createTaskInstance(t,pi.getRootToken()); | ti.setActorId(actor.toUpperCase()); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183475#4183475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: classcast exception getting tasknode
changed the code to ProcessInstance pi = jbpmContext.getProcessInstance(processid); | Task t = pi.getTaskMgmtInstance().getTaskMgmtDefinition().getTask("mytask"); | now it works... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183457#4183457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - classcast exception getting tasknode
i've written my own command to create tasks at runtime. but when i try to get the tasknode i got an class cast exception 2008-10-20 17:26:23,496 INFO [STDOUT] node name:in Bearbeitung 2008-10-20 17:26:23,496 INFO [STDOUT] node class:class org.jbpm.graph.def.Node_$$_javassist_80 2008-10-20 17:26:23,496 ERROR [STDERR] java.lang.ClassCastException: org.jbpm.graph.def.Node_$$_javassist_80 cannot be cast to org.jbpm.graph.node.TaskNode although it is really a tasknode... what am i doing wrong? here is the code ProcessInstance pi = jbpmContext.getProcessInstance(processid); | | if (cat.isDebugEnabled()) { | cat.debug("add task command"); | cat.debug("token:"+ pi.getRootToken().getId()); | cat.debug("node name:"+ pi.getRootToken().getNode().getName()); | cat.debug("node class:"+ pi.getRootToken().getNode().getClass()); | } | TaskNode tn = (TaskNode) pi.getRootToken().getNode(); | Task t= tn.getTask("mytask"); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4183285#4183285 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4183285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploy jbpm-enterprise.ear on jboss 4.2.2 ga
did you download the code? look at https://www.jboss.org/jbossjbpm/jpdl_sources/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4182025#4182025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4182025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploy jbpm-enterprise.ear on jboss 4.2.2 ga
you must use the name "ejb/CommandServiceBean" look at the sources of jbpm. there are code examples. simply searchthe code for CommandServiceBean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181854#4181854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: dynamically create tasks
great!!! thank you. now it works - i redefined the task node with createtask=false - add also a task in the node - coded the function exactly as in RuntimeTaskCreationTest View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180509#4180509 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: dynamically create tasks
ok here is the test | public void testRuntimeTaskCreation() { | ProcessDefinition processDefinition = ProcessDefinition.parseXmlString( | "" + | "" + | " " + | " " + | " " + | "" + | ""+ | " " + | "" + | ""+ | " "); | | | ProcessInstance processInstance = new ProcessInstance(processDefinition); | processInstance.signal("beginnen"); | | TaskMgmtInstance tmi = (TaskMgmtInstance) processInstance.getInstance(TaskMgmtInstance.class); | TaskInstance ti = tmi.createTaskInstance(); | if ( ti !=null) System.out.println("error creating task"); | else System.out.println("Task created!"); | } | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180408#4180408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: createTaskInstance() nullpointer exception
yes of course. but Pi and TaskMgmtInstance is not null the process definition is | | | | | | | | | | | | | | | the process is signaled to node "in Bearbeitung" and the a task should be created. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180393#4180393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - createTaskInstance() nullpointer exception
i try to dynamically create a taskinstance but calling TaskInstance ti = pi.getTaskMgmtInstance().createTaskInstance() gives the following null pointer exception java.lang.NullPointerException at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:113) at org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:83) at com.workflow.manager.AddTaskCommand.execute(AddTaskCommand.java:55) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180389#4180389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: task node with dynamic created tasks
sorry found the solution. task-node has an attribute signal. signal = "never" solved my problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180387#4180387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - task node with dynamic created tasks
i got a simple workflow. with only one task node. the tasks on this node are created by code, if the user takes a transition other then end on this node. but at first the task node has no tasks and when the workflow enters the node it seems to be automatically to take the transition end. so a task node with no tasks is automatically set to the next node? no interaction is needed? the definition is | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180386#4180386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - java.lang.OutOfMemoryError: PermGen space
i use jboss 4.2.2 ga with seam 2.0.2 on windows 2003 server with jdk 1.6.04 after hours i got java.lang.OutOfMemoryError: PermGen space is there a simple way in jboss to track memory allocation to identify where the problem comes from? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180371#4180371 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: no ClassLoader found for myclass
ok too little information. of course class was just a place holder. the name is WorkflowData i use jboss 4.2.2 GA on windows 2003 server with seam 2.0.2 and jbpm enterprise. i develop under eclipse ganymede with jboss tools. JDK is 1.6.04 i try to test ejb functionality. i run the test with testng plugin for eclipse. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180369#4180369 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: dynamically create tasks
do i need to save the taskinstance seperate? or would jbpmContext.save(pi); be enough? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180335#4180335 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: dynamically create tasks
no it was only called once. but i must call it because i create n tasks. or is there an other way to save it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180303#4180303 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180303 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - dynamically create tasks
i got the following code to generate dynamically tasks on a node. | public Object execute(JbpmContext jbpmContext) throws Exception { | // TODO Auto-generated method stub | // TODO Auto-generated method stub | | Boolean b; | try { | b = Boolean.TRUE; | ProcessInstance pi = jbpmContext | .loadProcessInstance(processid); | for (int i = 0; i < actors.size(); i++) { | String actor = (String) actors.get(i); | TaskInstance ti = pi.getTaskMgmtInstance() | .createTaskInstance(); | ti.setActorId(actor); | jbpmContext.save(ti); | } | jbpmContext.save(pi); | } catch (Exception e) { | // TODO: handle exception | e.printStackTrace(); | b= Boolean.FALSE; | } | return b; | } | | sometimes i got a nullpointer exception on TaskInstance ti = pi.getTaskMgmtInstance() the processid is set correct. any idea what might be wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180295#4180295 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - no ClassLoader found for myclass
while running a TestNG i got the error. | Caused by: java.lang.ClassNotFoundException: No ClassLoaders found for: com.my.class | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:521) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415) | at java.lang.ClassLoader.loadClass(Unknown Source) | at java.lang.ClassLoader.loadClassInternal(Unknown Source) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Unknown Source) | at java.io.ObjectInputStream.resolveClass(Unknown Source) | at org.jboss.invocation.MarshalledValueInputStream.resolveClass(MarshalledValueInputStream.java:109) | at java.io.ObjectInputStream.readNonProxyDesc(Unknown Source) | at java.io.ObjectInputStream.readClassDesc(Unknown Source) | at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) | at java.io.ObjectInputStream.readObject0(Unknown Source) | at java.io.ObjectInputStream.readArray(Unknown Source) | at java.io.ObjectInputStream.readObject0(Unknown Source) | at java.io.ObjectInputStream.readObject(Unknown Source) | at org.jboss.invocation.MarshalledValue.get(MarshalledValue.java:91) | at org.jboss.invocation.MarshalledInvocation.getArguments(MarshalledInvocation.java:509) | at org.jboss.ejb.Container.invoke(Container.java:924) | at sun.reflect.GeneratedMethodAccessor1398.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.jav | at sun.reflect.GeneratedMethodAccessor1397.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at javax.management.MBeanServerInvocationHandler.invoke(Unknown Source) | at $Proxy16.invoke(Unknown Source) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:166) | a:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.invocation.unified.server.UnifiedInvoker.invoke(UnifiedInvoker.java:231) | at sun.reflect.GeneratedMethodAccessor1397.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at javax.management.MBeanServerInvocationHandler.invoke(Unknown Source) | at $Proxy16.invoke(Unknown Source) | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:769) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:573) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:387) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerTh what is the problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180252#4180252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Problems running TestNG
i use JBoss 4.2.2 GA with seam 2.0.2 and jbpm with commandservicebean i tried to run some TestNG cases. I only could use the remoteInterface of EJB, because TestNG runs in a seperate Java Runtinme. although Jboss Server and TestNG were both running under eclipse. is that right? or dir i something wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180251#4180251 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - rich:modalpanel visual editing
i use eclipse ganymede with jboss tools for developping a seam application using richfaces. in the visual editor i can not edit modalpanels. is this normal? or is my installation wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4180223#4180223 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4180223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - generate interace by tools
sorry, but simple question on tools. i implemented a pojo with seam annotations, a session bean. how can i generate the appropiate interface by using eclipse? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4179166#4179166 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4179166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: question on decision
thank you. looked at the test cases. i thought a process variable could only be a primitve datatype not a java class... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178730#4178730 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178730 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - question on decision
i found this example | | | 10}â | /> | | | 5}â /> | | | Customer is a simple bean with getRank(); but how does this java bean and the processinstance come together? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178711#4178711 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178711 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: speed up GetProcessInstancesCommand
i want to give the user or administrator a scrollable list of relevant processinstances. so may be 100 processitems are for a specific user, but he only wants to see the first ten. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178707#4178707 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178707 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - notify depending on user settings?
in the process designer i can define if an actor should be notified vial mail when an task is assigned to an actor. i want it the other way round. the user should define if he will be notified via mail when a task is assigned to him . so could i assign the notify attribute a parameter depending on user settings? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178472#4178472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - general error log
is there a general error log ? suppose a process definition is deployed with errors, may be a cycle or a node with no transition. is there a place where these errors are logged? or suppose a action handler which is involved in the buisness process which throws an error during execution. where does this error appear? only in the server.log? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178417#4178417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - end process instance , action handler executed?
when i end a processinstance , are actionhandlers fired defined in end node? if yes, how can i cancel a processinstance? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178381#4178381 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: speed up GetProcessInstancesCommand
good question. of course never. can i restrict getprocessinstances? is there a max count? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178380#4178380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - speed up GetProcessInstancesCommand
GetProcessInstancesCommand takes one minute on my server. it gets a list of 1000 processinstances... is there a way to speed this up? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4178273#4178273 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4178273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Datasource not deployed or type mapping not initialized
stacktrace is | org.jboss.deployment.DeploymentException: type-mapping is not initialized: java:JbpmDS was not deployed or type-mapping was not configured. | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.getTypeMapping(JDBCEntityMetaData.java:1103) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:427) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:414) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy31.start(Unknown Source) | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:87) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy32.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:8
[jboss-user] [Beginners Corner] - Datasource not deployed or type mapping not initialized
I tried to add a datasource to a jboss 4.2.2 server datasource is: | | | | | | JbpmDS | jdbc:oracle:thin:@server:1521:dms | oracle.jdbc.driver.OracleDriver | user | pass | 1 | 15 | 0 | true | |Oracle9i | | | | in standardjbosscmp-jdbc.xml the type mapping oracle9i is defined. but i still got the error type-mapping is not initialized: java:JbpmDS was not deployed or type-mapping was not configured any idea why ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177998#4177998 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - public files for download
i build a jsf page with an image on the right. the image should be configured by the administrator so it could not be deployed with my application. how can i do this? where must the administrator place his own image and how the link for this must be? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177783#4177783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - no currentsessioncontext configured
i got some trouble deploying jbpm enterprise on jboss 4.2.2 ga with seam. i removed jbpm-jpdl.jar from the jbpm-enterprise.ear and put it in the servers lib now class loadings seems no problem any more. but now i got No CurrentSessionContext configured! stacktrace | 13:55:12,707 ERROR [LogInterceptor] TransactionRolledbackException in method: pu | blic abstract java.lang.Object org.jbpm.ejb.RemoteCommandService.execute(org.jbp | m.command.Command) throws java.rmi.RemoteException, causedBy: | org.hibernate.HibernateException: No CurrentSessionContext configured! | at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactor | yImpl.java:542) | at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence | Service.java:105) | at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersis | tenceService.java:345) | at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571) | at org.jbpm.command.GetProcessDefinitionsCommand.execute(GetProcessDefin | itionsCommand.java:30) | at org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java: | 146) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.invocation.Invocation.performCall(Invocation.java:359) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S | tatelessSessionContainer.java:237) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo | ke(CachedConnectionInterceptor.java:158) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat | elessSessionInstanceInterceptor.java:169) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation | Interceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte | rceptor.java:121) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep | torCMT.java:350) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1 | 81) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor. | java:168) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto | ryFinderInterceptor.java:138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6 | 48) | at org.jboss.ejb.Container.invoke(Container.java:960) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(Loca | lInvoker.java:169) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) | | at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerIntercepto | r.java:209) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav | a:195) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor. | java:61) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7 | 0) | at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi | onInterceptor.java:112) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) | at $Proxy124.execute(Unknown Source) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177642#4177642 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - No CurrentSessionContext configured!
i got some trouble deploying jbpm enterprise on jboss 4.2.2 ga with seam. i removed jbpm-jpdl.jar from the jbpm-enterprise.ear and put it in the servers lib now class loadings seems no problem any more. but now i got No CurrentSessionContext configured! stacktrace | 13:55:12,707 ERROR [LogInterceptor] TransactionRolledbackException in method: pu | blic abstract java.lang.Object org.jbpm.ejb.RemoteCommandService.execute(org.jbp | m.command.Command) throws java.rmi.RemoteException, causedBy: | org.hibernate.HibernateException: No CurrentSessionContext configured! | at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactor | yImpl.java:542) | at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistence | Service.java:105) | at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersis | tenceService.java:345) | at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571) | at org.jbpm.command.GetProcessDefinitionsCommand.execute(GetProcessDefin | itionsCommand.java:30) | at org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java: | 146) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.invocation.Invocation.performCall(Invocation.java:359) | at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(S | tatelessSessionContainer.java:237) | at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo | ke(CachedConnectionInterceptor.java:158) | at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(Stat | elessSessionInstanceInterceptor.java:169) | at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation | Interceptor.java:63) | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte | rceptor.java:121) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep | torCMT.java:350) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1 | 81) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor. | java:168) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto | ryFinderInterceptor.java:138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:6 | 48) | at org.jboss.ejb.Container.invoke(Container.java:960) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. | java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces | sorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch | er.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. | java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(Loca | lInvoker.java:169) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) | | at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerIntercepto | r.java:209) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.jav | a:195) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor. | java:61) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:7 | 0) | at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessi | onInterceptor.java:112) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) | at $Proxy124.execute(Unknown Source) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177641#4177641 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - invalid invocation
i use jboss 4.2.2 with seam and jbpm-enterprise for commandservicebean when i try to execute a command over the commandservicebean i get | 11:45:01,848 ERROR [Manager] User:NoneError executing Command | javax.transaction.TransactionRolledbackException: Invalid invocation, check your deployment packaging, method=public abstract java.lang.Object org.jbpm.ejb.RemoteCommandService.execute(org.jbpm.command.Command) throws java.rmi.RemoteException; nested exception is: | javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract java.lang.Object org.jbpm.ejb.RemoteCommandService.execute(org.jbpm.command.Command) throws java.rmi.RemoteException | at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:274) | at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) | at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) | at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) | at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) | at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:138) | at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) | at org.jboss.ejb.Container.invoke(Container.java:960) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) | at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) | at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:209) | at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:195) | at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) | at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) | at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:112) | at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) | at $Proxy124.execute(Unknown Source) | at de.lorenz.soaworkflow.manager.Manager.executeCommand(Manager.java:363) | at de.lorenz.soaworkflow.manager.Manager.getWorkflowTypes(Manager.java:265) | at de.lorenz.soaworkflow.session.SessionBean.getWorkflowlist(SessionBean.java:436) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:44) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56) | at org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.ConversationInterceptor.aroundInvoke(ConversationInterceptor.java:65) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:42) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.persistence.EntityManagerProxyInterceptor.aroundInvoke(EntityManagerProxyInterceptor.java:26) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.persistence.HibernateSessionProxyInterceptor.aroundInvoke(HibernateSessionProxyInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
[jboss-user] [JBoss jBPM] - deploy jbpm-enterprise.ear on jboss 4.2.2ga with seam applic
i want to use the commandservicebean from my seam application. so i deployed the jbpm-entersprise.ear on the jboss 4.2.2 ga. but both contain the jbpm-jpdl.jartherefore the class loader throws an error, when trying to access the command interface. what is the solution for this ? remove jbpm-jpdl.jar from both seam application and jbpm-enterprise.ear and put it in the lib directory of the server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177455#4177455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: deploy jbpm-enterprise.ear on jboss 4.2.2 ga
when i use jndiview listxml i see LocalCommandServiceBean java:ejb/CommandServiceBean javax.naming.LinkRef CommandServiceBean $Proxy130 why is ther $proxy130? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177306#4177306 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - deploy jbpm-enterprise.ear on jboss 4.2.2 ga
i got a jboss 4.2.2 ga server using seam. i deployed jbpm-enterprise.ear on it. in the server.log i see | 2008-09-17 23:19:48,582 DEBUG [org.jboss.proxy.ejb.ProxyFactory] Proxy Factory for ejb/CommandServiceBean initialized | 2008-09-17 23:19:48,629 DEBUG [org.jboss.system.ServiceController] Creating service jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean | 2008-09-17 23:19:48,629 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Creating jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean | 2008-09-17 23:19:48,629 DEBUG [org.jboss.ejb.plugins.StatelessSessionInstancePool] Created jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean | 2008-09-17 23:19:48,629 DEBUG [org.jboss.system.ServiceController] Creating dependent components for: jboss.j2ee:service=EJB,plugin=pool,jndiName=ejb/CommandServiceBean dependents are: [] | 2008-09-17 23:19:48,629 DEBUG [org.jboss.ejb.StatelessSessionContainer] Created jboss.j2ee:jndiName=ejb/CommandServiceBean,service=EJB but when i try to get the commandservice bean i got error. my function is | | Hashtable p = new Hashtable(); | p.put(InitialContext.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); | p.put(InitialContext.PROVIDER_URL, "jnp://localhost:1099"); | p.put(InitialContext.URL_PKG_PREFIXES, | "org.jboss.naming:org.jnp.interfaces"); | jndiContext = new InitialContext(p); | RemoteCommandServiceHome remoteCommandServiceHome = (RemoteCommandServiceHome) jndiContext | .lookup("ejb/CommandServiceBean"); | remoteCMDService = remoteCommandServiceHome.create(); | i got the error 23:35:17,660 ERROR [Manager] User:NoneError creating remotecmdservice javax.transaction.TransactionRolledbackException: Invalid invocation, check your deployment packaging, method=public abstract org.jbpm.ejb.RemoteCommandService org.jbpm.ejb.RemoteCommandServiceHome.create() throws javax.ejb.CreateException, java.rmi.RemoteException; nested exception is: javax.ejb.EJBException: Invalid invocation, check your deployment packag ing, method=public abstract org.jbpm.ejb.RemoteCommandService org.jbpm.ejb.Remot eCommandServiceHome.create() throws javax.ejb.CreateException,java.rmi.RemoteExc eption please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177255#4177255 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error getting CommandServiceBean
ok i changed it to | RemoteCommandServiceHome remoteCommandServiceHome = (RemoteCommandServiceHome) initialContext | .lookup("ejb/CommandServiceBean"); | remoteCMDService = remoteCommandServiceHome.create(); | but now i got Invalid invocation, check your deployment packaging, method=public abstract org.jbpm.ejb.RemoteCommandService org.jbpm.ejb.RemoteCommandServiceHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException i deployed the jbpm-enterprise.ear on a jboss 4.2.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4177015#4177015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4177015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error getting CommandServiceBean
sorry but still not getting it work iterate through the jndi gives me Name : java:ejb/CommandServiceBean Classe java:ejb/CommandServiceBeanHome and LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initialContext.lookup("java:ejb/CommandServiceBean"); gives me a class cast exception. what am i doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176947#4176947 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176947 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - specify start workflow user
how can i specify which users/swimlane could start which workflow? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176894#4176894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error getting CommandServiceBean
ok what information do you need? i generated the initial context with | Hashtable p = new Hashtable(); | p.put(InitialContext.INITIAL_CONTEXT_FACTORY, | "org.jnp.interfaces.NamingContextFactory"); | p.put(InitialContext.PROVIDER_URL, "jnp://localhost:1099"); | p.put(InitialContext.URL_PKG_PREFIXES, | "org.jboss.naming:org.jnp.interfaces"); | jndiContext = new InitialContext(p); | | i am using an jboss 4.2.2 GA with the jbpm-enterprise.ear deployed View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176453#4176453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Error getting CommandServiceBean
hi i got an error trying to find the CommandServiceBean | String localCommandServiceJndiName | = "java:comp/env/ejb/LocalCommandServiceBean"; | try { | Context initial = new InitialContext(); | LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initial.lookup(localCommandServiceJndiName); | LocalCommandService localCommandService = localCommandServiceHome.create() | | ; | i copied the code from sources. but localCommandService is null when i look at web-console jndiView i see jndiName: ejb/CommandServiceBean what is my error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4176198#4176198 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4176198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - list as variableinstance
is ist possible to have a list of variableinstance? may be a variable named "group" with "group" "G1" "group" "G2" "group" "G3" for a processinstance? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175938#4175938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - enable/disable fields
i am writing a jsf application on top of jbpm i need to write a function to enable / disable fields based on the security in processdefinition. where can i find the information in the database who can edit a process variable? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4175400#4175400 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4175400 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - InvalidRulePackage
i am using jbpm with drools. my rules are defined in an excel sheet. where must i install the class referenced in the excel sheet? org.drools.rule.InvalidRulePackage: Rule Compilation error formular(my class) cannot be resolved View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4174775#4174775 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4174775 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: static variable in actionhandler
thats what i already did i use | public class MySingleton{ | | static MySingletoninstance = new MySingleton(); | | static long count =0; | | public static MySingletongetInstance(){ | return instance; | } | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172646#4172646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: static variable in actionhandler
is there any other solution for this problem? please help. it's urgent... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172576#4172576 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: static variable in actionhandler
ah ok. i understand. i also got an rulesactionhandler and i want the rules to be loaded only once... do you have an idea how to do this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172527#4172527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - static variable in actionhandler
i got a simple actionhandler with a static int var. this should be a counter, so every time the actionhandler is called the counter should be incremented. but it remains zero. is the class completely unloaded after calling? code is | | public class MyHandler implements ActionHandler { | | static int counter=0; | | public void execute(ExecutionContext arg0) throws Exception { | counter++; | System.out.println("Counter:" + counter); | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172514#4172514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - multiple start states
is it possible to have multiple start states? if yes, how can i specify in which start state to start? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4172025#4172025 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4172025 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: cannot be cast to org.jbpm.graph.def.ActionHandler
ok signal in an actionhandler is not possible View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170942#4170942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - sql getting average node duration per node/workflow
i want to get an average duration on each node an process i tried | select | e.name_, a.name_, avg(distinct b.duration_ ) | from jbpm_node a, | jbpm_log b, | jbpm_processinstance d, | jbpm_processdefinition e, | jbpm_token t | | where d.processdefinition_ = e.id_ and a.id_ = b.SOURCENODE_ and d.ROOTTOKEN_ = t.ID_ and t.NODE_ = a.ID_ | group by e.name_, a.name_ | order by 3 desc; | | but there is a mistake. any idea what is wrong with my select? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170936#4170936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: cannot be cast to org.jbpm.graph.def.ActionHandler
ok the was a duplicate but wrong implementation. but now i got error while executing the actionhander org.jbpm.JbpmException: this token is locked by token[1733] so i could not signal the process. where is the error ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170809#4170809 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170809 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - cannot be cast to org.jbpm.graph.def.ActionHandler
i got a simple class implementing the actionhandler. but when i try to execute it i got WaitAndSignal cannot be cast to org.jbpm.graph.def.ActionHandler code is | | import org.jbpm.graph.def.ActionHandler; | import org.jbpm.graph.exe.ExecutionContext; | | | public class WaitAndSignal implements ActionHandler{ | | private final static long serialVersionUID=1l; | | public void execute(ExecutionContext executionContext) throws Exception { | // TODO Auto-generated method stub | try { | System.out.println("Begin WaitAndSignal"); | long dauer = System.currentTimeMillis()% 10; | Thread.sleep(dauer); | executionContext.getProcessInstance().signal(); | System.out.println("pid is = " +executionContext.getProcessInstance().getId() ); | } | catch(Exception e ) { | e.printStackTrace(); | } | System.out.println("end WaitAndSignal"); | | } | | int wait =100; | | public int getWait() { | return wait; | } | | public void setWait(int wait) { | this.wait = wait; | } | | } | the processdefinition is | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170796#4170796 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: setting process variable in process definition
ah quite simple. implemented an actionhandler with getter and setter methods, so the variables could be set in process definition View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170727#4170727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170727 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - setting process variable in process definition
hi, i want to define a process variable which should change on different nodes. the values for the variable i want to define in the process definition. how can i do that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4170715#4170715 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4170715 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: get current state of ProcessInstance
no, reason was lazy hibernate. implementing my own command solved my problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167918#4167918 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: LazyInitializationException on init ProcessInstance.inst
ah ok...at lastthere is some light ;-))) after writing my own command for what i want everything is ok code is | | | public Object execute(JbpmContext jbpmContext) throws Exception { | // TODO Auto-generated method stub | List returnObject=null; | ProcessInstance pi = jbpmContext.getProcessInstance(processInstanceId); | Token t = pi.getRootToken(); | if ( t != null ) { | returnObject= t.getNode().getLeavingTransitions(); | System.out.println("LeavingTransitions= " + returnObject.size()); | Iterator it = returnObject.iterator(); | while ( it.hasNext()) { | Transition ta = (Transition ) it.next(); | System.out.println("Transition " + ta.getName()); | } | } | else { | System.out.println("noroot token!"); | } | | | return returnObject; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167916#4167916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - LazyInitializationException on init ProcessInstance.instance
i got an LazyInitializationException when i try to get the current state of a processinstance. what is wrong? the code is | GetProcessInstanceCommand cmd = new GetProcessInstanceCommand(); | cmd.setProcessInstanceId(process_instance_id); | returnValue = (ProcessInstance) executeCommand(cmd); | System.out.println("Root token:" + returnValue.getRootToken().getName()); | System.out.println("process name:" + returnValue.getProcessDefinition().getName()); | System.out.println("process start:" + returnValue.getStart().toLocaleString()); | TaskInstance taskInstance = (TaskInstance) | returnValue.getTaskMgmtInstance().getTaskInstances().iterator().next(); | | | System.out.println("Task now is "+taskInstance.getName()); | the exception happens on returnValue.getTaskMgmtInstance() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167840#4167840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: get current state of ProcessInstance
i created the processinstances with the newprocessinstancecommand. but the root token is null. is this correct? Process defintion is | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167676#4167676 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167676 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - get current state of ProcessInstance
hi, i want to get the current state of a processinstance, especially which transitionnames are availiable at the current state. how can i get this? i am writing a jsf application on jbpm and need this, so the user can choose which transistion he would like to signal, means a combobox filled with all availiable transistions at the current node, like on tokens view at the jbpm console. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167675#4167675 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167675 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: java.lang.ClassCastException: $Proxy67 cannot be cast t
problem was wrong jbossall-client.jar after replacing it with one of jboss 4.2.2 everythins works fine... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167610#4167610 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - $Proxy67 cannot be cast to org.jbpm.ejb.LocalCommandServiceH
i am trying to execute a command. source code is | Object returnValue; | try { | GetProcessDefinitionsCommand cmd = new GetProcessDefinitionsCommand(); | InitialContext initialContext = new InitialContext(); | Object obj = initialContext | .lookup("ejb/CommandServiceBean"); | System.out.println("Class:" + obj.getClass().getName()); | LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initialContext | .lookup("ejb/CommandServiceBean"); | LocalCommandService localCommandService = localCommandServiceHome.create(); | returnValue = localCommandService.execute(cmd); | localCommandService.remove(); | } catch (Exception e) { | e.printStackTrace(); | throw new RuntimeException("couldn't execute command", e); | } | | but i got an java.lang.ClassCastException: $Proxy67 cannot be cast to org.jbpm.ejb.LocalCommandServiceHome error when executing. i searched everywhere for a duplciate commandservicebean class but can't find it. jbpm and my application runs under the same jvm. please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167581#4167581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - java.lang.ClassCastException: $Proxy67 cannot be cast to or
i am trying to execute a command. source code is | Object returnValue; | try { | GetProcessDefinitionsCommand cmd = new GetProcessDefinitionsCommand(); | InitialContext initialContext = new InitialContext(); | Object obj = initialContext | .lookup("ejb/CommandServiceBean"); | System.out.println("Class:" + obj.getClass().getName()); | LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initialContext | .lookup("ejb/CommandServiceBean"); | LocalCommandService localCommandService = localCommandServiceHome.create(); | returnValue = localCommandService.execute(cmd); | localCommandService.remove(); | } catch (Exception e) { | e.printStackTrace(); | throw new RuntimeException("couldn't execute command", e); | } | but i got an java.lang.ClassCastException: $Proxy67 cannot be cast to org.jbpm.ejb.LocalCommandServiceHome error when executing. i searched everywhere for a duplciate commandservicebean class but can't find it. jbpm and my application runs under the same jvm. please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167578#4167578 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167578 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to integrate commandservicebean
ok finally made it in the jbpm.cfg.xml was jta defined...dont know why or from where i got this file changing it to | | | | | | | | | | | | | | solved the problem... really a lot things to configure View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167356#4167356 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to integrate commandservicebean
ok. added type mapping to the jbpm-ds and datasource mapping in the jbosscmp-jdbc.xml | | | java:JbpmDS | Oracle9i | false | false | false | | | | TimerEntityBean | JBPM_JOB | | timerId | ID_ | | | name | NAME_ | | | tokenId | TOKEN_ | | | processInstanceId | PROCESSINSTANCE_ | | | | | | but now when i execute the following code | | | Object returnValue; | try { | GetProcessDefinitionsCommand cmd = new GetProcessDefinitionsCommand(); | InitialContext initialContext = new InitialContext(); | LocalCommandServiceHome localCommandServiceHome = (LocalCommandServiceHome) initialContext | .lookup("java:ejb/CommandServiceBean"); | LocalCommandService localCommandService = localCommandServiceHome | .create(); | returnValue = localCommandService.execute(cmd); | localCommandService.remove(); | } catch (Exception e) { | e.printStackTrace(); | throw new RuntimeException("couldn't execute command", e); | } | i got 13:53:20,598 ERROR [LogInterceptor] RuntimeException in method: public abstract java.lang.Object org.jbpm.command.CommandService.execute(org.jbpm.command.Command): org.jbpm.JbpmException: couldn't start JTA transaction what is now missing? it's now nearly two days trying to get it work... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167298#4167298 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to integrate commandservicebean
thats what i did. i copied the jbpm-enterprise.ear to the deploy directory but i got the following error 10:06:33,316 WARN [ServiceController] Problem starting service jboss.j2ee:service=EjbModule, module=jbpm-enterprise.jar org.jboss.deployment.DeploymentException: type-mapping is not initialized: java: JbpmDS was not deployed or type-mapping was not configured. at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.getTypeMap ping(JDBCEntityMetaData.java:1103) but in the logs appears 10:05:59,410 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service = DataSourceBinding, name=JbpmDS' to JNDI name 'java:JbpmDS' where is the error? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167252#4167252 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - how to integrate commandservicebean
hi, i installed jbpm suite 3.2.3 i want to use the commandservicebean for my application, but i can't find it. what must i do to install the commandservicebean? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167135#4167135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - error executing GetProcessDefinitionsCommand
i use jbpm 3.2.3 on oracle when i try to execute a GetProcessDefinitionsCommand i got 14:46:35,473 ERROR [STDERR] org.hibernate.MappingException: Could not determine type for: org.jbpm.identity.hibernate.PermissionUserType, for columns: [org.hibe rnate.mapping.Column(CLASS_), org.hibernate.mapping.Column(NAME_), org.hibernate .mapping.Column(ACTION_)] hibernate.cfg.xml is | | | - | - | - | org.hibernate.dialect.Oracle9Dialect | - | oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@server:1521:oracle | admin | admin | - | org.hibernate.cache.HashtableCacheProvider | - | - | - | - | - | - | - | - | - | - | - | - | | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | - | | - | | - | | | | | | | | | - | | | | | | | | | | - | | | - | | | | | - | | - | | - | | - | | | - | | | | | - | | - | | | | | | | | | | | | - | | | | | - | | | | | - | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167012#4167012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Error Keyword from missing
ok found the default data insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values (1,'U','user','[EMAIL PROTECTED]','user'); insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values (2,'U','manager','[EMAIL PROTECTED]','manager'); insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values (3,'U','admin','[EMAIL PROTECTED]','admin'); insert into JBPM_ID_USER (ID_,CLASS_,NAME_,EMAIL_,PASSWORD_) values( 4,'U','shipper','[EMAIL PROTECTED]','shipper'); insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (1,'G','sales','organisation'); insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (2,'G','admin','security-role'); insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (3,'G','user','security-role'); insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (4,'G','hr','organisation'); insert into JBPM_ID_GROUP (ID_,CLASS_,NAME_,TYPE_) values (5,'G','manager','security-role'); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (1,'M',2,4); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (2,'M',3,4); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (3,'M',4,4); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (4,'M',4,3); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (5,'M',1,3); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (6,'M',2,3); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (7,'M',3,3); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (8,'M',3,2); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (9,'M',2,2); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (10,'M',2,5); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (11,'M',2,1); insert into JBPM_ID_MEMBERSHIP (ID_,CLASS_,USER_,GROUP_) values (12,'M',1,1); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4167009#4167009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4167009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Error Keyword from missing
ok i only changed the hibernate.cfg.xml in the directory server/conf...but not in the jbpm-console and jbpm-identity archives. so now i did that. but after starting jbpm the database remains empty, especially jbpm_id_user is empty so i couldn't log in in jbpm-console. is there an insert script for the default data? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166950#4166950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Error Keyword from missing
don't think so configuration is | | | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";> | | | | | | org.hibernate.dialect.Oracle9Dialect | | | oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@server:1521:orcl | admin | admin | | | org.hibernate.cache.HashtableCacheProvider | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166644#4166644 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Oracle Error Keyword from missing
i got an error using oracle with jbpm the statement is | select | job0_.ID_ as ID1_25_, | job0_.VERSION_ as VERSION3_25_, | job0_.DUEDATE_ as DUEDATE4_25_, | job0_.PROCESSINSTANCE_ as PROCESSI5_25_, | job0_.TOKEN_ as TOKEN6_25_, | job0_.TASKINSTANCE_ as TASKINST7_25_, | job0_.ISSUSPENDED_ as ISSUSPEN8_25_, | job0_.ISEXCLUSIVE_ as ISEXCLUS9_25_, | job0_.LOCKOWNER_ as LOCKOWNER10_25_, | job0_.LOCKTIME_ as LOCKTIME11_25_, | job0_.EXCEPTION_ as EXCEPTION12_25_, | job0_.RETRIES_ as RETRIES13_25_, | job0_.NAME_ as NAME14_25_, | job0_.REPEAT_ as REPEAT15_25_, | job0_.TRANSITIONNAME_ as TRANSIT16_25_, | job0_.ACTION_ as ACTION17_25_, | job0_.GRAPHELEMENTTYPE_ as GRAPHEL18_25_, | job0_.GRAPHELEMENT_ as GRAPHEL19_25_, | job0_.NODE_ as NODE20_25_, | job0_.CLASS_ as CLASS2_25_ | from | JBPM_JOB job0_ | where (job0_.LOCKOWNER_ is null | or job0_.LOCKOWNER_=?) | and job0_.RETRIES_>0 | and job0_.DUEDATE_<=? | and job0_.ISSUSPENDED_<>1 | order by job0_.DUEDATE_ asc i could execute it from a database client. no problem but under jbpm i got ORA-00923- FROM keyword not found where expected- what may i have done wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166638#4166638 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166638 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm configuration resource 'jbpm.cfg.xml' is not availa
ok, i thaught i did that...but i put the configuration file in the wrong directory... inspecting the classpath at runtime with System.out.println("Classpath:" + System.getProperty("java.class.path")); gave me the info i needed hrmpf. so easy..sorry View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166571#4166571 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - image of workflow graph
hi, in the jbm-console app you can see an image of the workflow graph with the current state highlighted. i want to implement this in my jsf app on jbpm. how can i do this? which class/function must i use? where can i find documentation on that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166501#4166501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm configuration resource 'jbpm.cfg.xml' is not available
hi, i write a jsf application on top of jbpm. when i try to access jbpmconfiguration i got jbpm configuration resource 'jbpm.cfg.xml' is not available where must i put this file ? tried everywhere whith no success. i use 3.2.3 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4166480#4166480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4166480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - eclipse crashes every 5 minutes
hi, i got some trouble working under under eclipse mit jboss tools installed. i want to develop a jsf application. but eclipse crashes every 5 minutes. i used eclipse wtp-all-in-one-sdk-R-2.0.1-20070926042742-win32.zip JBossTools-2.0.1.GA-ALL-win32.zip as mentioned on http://wiki.jboss.org/wiki/InstallingJBossTools do i have to update ? how? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4152224#4152224 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4152224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: get variables from executionccontext
should work like this | Iterator it = ctx.getTaskInstance().getVariables().keySet().iterator(); | while ( it.hasNext()){ | // key ermitteln | String key = (String) it.next(); | // wert ermitteln | String val = (String) ctx.getTaskInstance().getVariable(key); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150697#4150697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - get variables from executionccontext
hello, i want to write a generic actionhandler which reads all variables from executioncontext and write them in some message. how can i get the variable names from executioncontext if i don't know them? i want to use this actionhandler in every workflow, so i don't know the variablenames. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4150441#4150441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4150441 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: access defaultds
or is there an other way for development? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149762#4149762 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149762 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: access defaultds
ok got my solution. i simply want this to use for development. i use http://wiki.jboss.org/wiki/HowCanIAccessADataSourceFromAClient so i can access the datasource from a client View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149738#4149738 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149738 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: connect to defaultds
thank you. now it works. so i use this configuration for development. and disable it in productin environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149737#4149737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: connect to defaultds
so what can i do? i started jboss from within eclipse. same error. can i change the name from java:/DefaultDS to DefaultDS? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149720#4149720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - access defaultds
hi i am using jbpm-jpdl-suite-3.2.2. i am trying to connect to the defaultds. but i got the error "DefaultDS not bound" when i use the jndiview from web-console i see that it is there i use the following code, what am i doing wrong? | | Hashtable env; | env = new Hashtable(); | env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); | env.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jn.interfaces"); | env.put("java.naming.provider.url","jnp://localhost:1099"); | Context initContext = new InitialContext(env); | DataSource ds = (DataSource)initContext.lookup("java:/DefaultDS"); | | server runs in a seperate window. my code is executed with eclipse View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149694#4149694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149694 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - connect to defaultds
hi i am trying to connect to the defaultds. but i got the error "DefaultDS not bound" when i use the jndiview from web-console i see that it is there i use the following code, what am i doing wrong? | Hashtable env; | env = new Hashtable(); | env.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); | env.put("java.naming.factory.url.pkgs","org.jboss.naming:org.jn.interfaces"); | env.put("java.naming.provider.url","jnp://localhost:1099"); | Context initContext = new InitialContext(env); | DataSource ds = (DataSource)initContext.lookup(dataSourceName); | server runs in a seperate window. my code is executed with eclipse View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4149513#4149513 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4149513 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Problem creating service jboss.aop:service=AspectManager
ok . added set JAVA_OPTS=%JAVA_OPTS% -javaagent:%JBOSS_ENDORSED_DIRS%\pluggable-instrumentor.jar to the run.bat now it works. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148605#4148605 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148605 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Problem creating service jboss.aop:service=AspectManager
Hi, i am using jboss-4.2.2.GA and jdk 5.0 to implement an aop application. I tried running under eclipse with the aop run dialog. everything works fine. but i don't get it work under 4.2.2. GA. i enabled runtime weaving setting | true | copied the pluggable-instrumentor.jar in the class path but when i start i got Problem creating service jboss.aop:service=AspectManager java.lang.NullPointerException at org.jboss.aop.deployment.AspectManagerServiceJDK5.attachTranslator(As pectManagerServiceJDK5.java:42) any idea what am i doing wrong? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148596#4148596 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148596 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: removing the identity component
for me there are two solutions. first - modify the source of the existing component, an delegate the functions to your own component. ( you have to remove the hibernate configuration) this will even work with the sample web app be carfeful with the mail node. you must write some code for resolving the email adress second use your own assignmenthandler. this will not work with the sample app View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147825#4147825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user