[jBPM] - Cannot open some process diagram in guvnor
by Tommy Cheng
Tommy Cheng [http://community.jboss.org/people/tomcheng76] created the discussion
"Cannot open some process diagram in guvnor"
To view the discussion, visit: http://community.jboss.org/message/620013#620013
--------------------------------------------------------------
Hi, i have a variable like this
<itemDefinition id="_mapItem" structureRef="java.util.HashMap" />
After i uploaded it to guvnor, i cannot open it inside. error log is here.
09:40:56,052 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor org.eclipse.emf.ecore.resource.Resource$IOWrappedException: Unresolved reference 'java.util.HashMap'. (inputStream://dummyUriWithValidSuffix.xml, 15, 68)
09:40:56,053 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.handleErrors(XMLLoadImpl.java:83)
09:40:56,053 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.eclipse.emf.ecore.xmi.impl.XMLLoadImpl.load(XMLLoadImpl.java:191)
09:40:56,053 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.eclipse.emf.ecore.xmi.impl.XMLResourceImpl.doLoad(XMLResourceImpl.java:180)
09:40:56,053 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.eclipse.emf.ecore.resource.impl.ResourceImpl.load(ResourceImpl.java:1494)
09:40:56,060 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at com.intalio.web.profile.impl.JbpmProfileImpl.getDefinitions(JbpmProfileImpl.java:218)
09:40:56,060 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at com.intalio.web.profile.impl.JbpmProfileImpl.access$100(JbpmProfileImpl.java:45)
09:40:56,060 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at com.intalio.web.profile.impl.JbpmProfileImpl$2.parseModel(JbpmProfileImpl.java:197)
09:40:56,061 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at com.intalio.web.repository.impl.UUIDBasedJbpmRepository.load(UUIDBasedJbpmRepository.java:38)
09:40:56,061 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at com.intalio.web.server.UUIDBasedRepositoryServlet.doGet(UUIDBasedRepositoryServlet.java:123)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at javax.servlet.http.HttpServlet.service(HttpServlet.java:617)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at com.intalio.web.filter.impl.PluggableFilter.doFilter(PluggableFilter.java:75)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
09:40:56,062 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
09:40:56,063 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:235)
09:40:56,063 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
09:40:56,063 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:190)
09:40:56,063 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:92)
09:40:56,063 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.process(SecurityContextEstablishmentValve.java:126)
09:40:56,064 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.jboss.web.tomcat.security.SecurityContextEstablishmentValve.invoke(SecurityContextEstablishmentValve.java:70)
09:40:56,064 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
09:40:56,064 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
09:40:56,064 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:158)
09:40:56,064 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
09:40:56,065 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:330)
09:40:56,065 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:829)
09:40:56,065 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:598)
09:40:56,065 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
09:40:56,065 ERROR http://community.jboss.org/message/620013#620013#620013/STDERR Cannot open some process diagram in guvnor at java.lang.Thread.run(Thread.java:662)The process run fine, i just cannot open it in guvnor. How to solve this?Also, if i put a "Imports" in the action editor in eclipse BPMN editor, i still need to input the full class name inside script task. Is it useless in script task?Thanks
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620013#620013]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[JBoss AOP] - JBoss AOP using JDK7
by srbhbajaj1411
srbhbajaj1411 [http://community.jboss.org/people/srbhbajaj1411] created the discussion
"JBoss AOP using JDK7"
To view the discussion, visit: http://community.jboss.org/message/617610#617610
--------------------------------------------------------------
Hi,
I am trying to use JDK 7 with JBoss AOP.
I am using precompiled instrumentation approach.
My code is getting compiled with JBoss AOP jars without any error but while running the server I am getting java.lang.VerifyError
java.lang.VerifyError: StackMapTable error: bad offset in method com.test.DAO.ejb.TestBean.com$test$DAO$ejb$TestBean$modifyGroups$aop(Ljava/util/
Vector;)Ljava/util/Hashtable;
at java.lang.Class.getDeclaredMethods0(Native Method)
at java.lang.Class.privateGetDeclaredMethods(Class.java:2442)
at java.lang.Class.privateGetPublicMethods(Class.java:2562)
at java.lang.Class.getMethods(Class.java:1427)
at org.jboss.verifier.strategy.AbstractVerifier.hasEJBCreateMethod(AbstractVerifier.java:686)
at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:848)
at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:78)
at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:181)
at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:594)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:601)
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)
But if I compile my code without AOP precompilation and run its working fine.
Also its working fine with the JDK 6 compilation.
I think there is some compatibility issue here with the JDK7 or I might have to get the JBoss AOP libraries compiled with JDK7
Can you please suggest me whats going wrong here.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/617610#617610]
Start a new discussion in JBoss AOP at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[JBoss Tools] - Server status stuck in "Starting" state
by gbradley17
gbradley17 [http://community.jboss.org/people/gbradley17] created the discussion
"Server status stuck in "Starting" state"
To view the discussion, visit: http://community.jboss.org/message/620211#620211
--------------------------------------------------------------
Hello everyone!
I was hoping to get some help with the configuration of my environment. When I start my JBoss server, everything starts up fine with no errors and I can browse to my application, however the Server still says it is "Starting" in the Server console. When I want to debug, I have to wait for it to finish and this can take 20 minutes. Below I have listed the steps and the software that I have installed.
I have new installations of Eclipse Indigo (3.7), JBoss EAP 5.1.
I have downloaded JBossAS Tools v. 2.2.0 under the JBoss Tools 3.2.x software package (url : http://download.jboss.org/jbosstools/updates/stable/ http://download.jboss.org/jbosstools/updates/stable/).
After the installation of the JBossAS Tools, I restart my Eclipse and then go to Window->Preferences->Server->Runtime Environments.
I click Add and select JBoss Enterprise Middleware, JBoss Enterprise Application Platform 5.x Runtime.
I point my runtime to the location of my JBoss installation and select "default" configuration, click Finish and OK to close the Preferences window.
Next I create a new JBoss Enterprise Application Platform 5.x server using the runtime I previously created.
I double click the new server to examine the properties.
Server Behavior is set to Local. Web Port is set to 8080. Startup Poller is "Web Port Poller". Deployment is set to use the JBoss deploy folder.
I start the server and this is the last message I get:
"17:25:06,153 INFO [ServerImpl] JBoss (Microcontainer) [5.1.0 (build: SVNTag=JBPAPP_5_1_0 date=201009150028)] Started in 23s:216ms"
I can navigate to the server page so I know the server is up and running but it still says it is "Starting".
Any thoughts on why this might be?
Thanks in advance for the help,
Geoff
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620211#620211]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[jBPM] - Re: how to reject a task to the previous task instance?
by Maciej Swiderski
Maciej Swiderski [http://community.jboss.org/people/swiderski.maciej] created the discussion
"Re: how to reject a task to the previous task instance?"
To view the discussion, visit: http://community.jboss.org/message/620190#620190
--------------------------------------------------------------
You could make use of human task life cycle operations - other than the most common. Depending on your scenario you could either user forward or delegate. That of course would change you process a bit, meaning you will have only one task node that once it is done by the first actor, it could be delegated to the other actor for review instead of completing it if you want to operate on the same task instance. The other person could either approve it and move on with the process flow or return it back to the previous assignee.
For more details take a look at task service section of the documentation, especially task client api.
Unfortunately you will not be able to utilize console for that, it does not cover all the task life cycle operations, afaik.
Would that make your case?
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/620190#620190]
Start a new discussion in jBPM at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months
[JBoss Tools] - NullPointerException in Freemarker IDE
by ryounes
ryounes [http://community.jboss.org/people/ryounes] created the discussion
"NullPointerException in Freemarker IDE"
To view the discussion, visit: http://community.jboss.org/message/618888#618888
--------------------------------------------------------------
I have a couple of files that consistently cause the Freemarker IDE in JBoss Tools to throw a NPE. All my other files are fine. The error occurs when I type a "${" prefix to a variable. The error message is:
Problems occurred when invoking code from plug-in: "org.eclipse.jface".
The stack trace is:
java.lang.NullPointerException
at org.eclipse.core.runtime.Path.append(Path.java:261)
at org.jboss.ide.eclipse.freemarker.Plugin.getImageURL(Plugin.java:160)
at org.jboss.ide.eclipse.freemarker.Plugin.getImageDescriptor(Plugin.java:152)
at org.jboss.ide.eclipse.freemarker.Plugin.getImage(Plugin.java:141)
at org.jboss.ide.eclipse.freemarker.ImageManager.getImage(ImageManager.java:38)
at org.jboss.ide.eclipse.freemarker.outline.OutlineLabelProvider.getImage(OutlineLabelProvider.java:44)
at org.eclipse.jface.viewers.WrappedViewerLabelProvider.getImage(WrappedViewerLabelProvider.java:117)
at org.eclipse.jface.viewers.WrappedViewerLabelProvider.update(WrappedViewerLabelProvider.java:165)
at org.eclipse.jface.viewers.ViewerColumn.refresh(ViewerColumn.java:152)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:934)
at org.eclipse.jface.viewers.AbstractTreeViewer$UpdateItemSafeRunnable.run(AbstractTreeViewer.java:102)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.AbstractTreeViewer.doUpdateItem(AbstractTreeViewer.java:1014)
at org.eclipse.jface.viewers.StructuredViewer$UpdateItemSafeRunnable.run(StructuredViewer.java:481)
at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:42)
at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:49)
at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:175)
at org.eclipse.jface.viewers.StructuredViewer.updateItem(StructuredViewer.java:2141)
at org.eclipse.jface.viewers.AbstractTreeViewer.createTreeItem(AbstractTreeViewer.java:829)
at org.eclipse.jface.viewers.AbstractTreeViewer$1.run(AbstractTreeViewer.java:804)
at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:70)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:778)
at org.eclipse.jface.viewers.TreeViewer.createChildren(TreeViewer.java:644)
at org.eclipse.jface.viewers.AbstractTreeViewer.createChildren(AbstractTreeViewer.java:749)
at org.eclipse.jface.viewers.AbstractTreeViewer.internalInitializeTree(AbstractTreeViewer.java:1492)
at org.eclipse.jface.viewers.TreeViewer.internalInitializeTree(TreeViewer.java:833)
at org.eclipse.jface.viewers.AbstractTreeViewer$5.run(AbstractTreeViewer.java:1476)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1422)
at org.eclipse.jface.viewers.TreeViewer.preservingSelection(TreeViewer.java:403)
at org.eclipse.jface.viewers.StructuredViewer.preservingSelection(StructuredViewer.java:1383)
at org.eclipse.jface.viewers.AbstractTreeViewer.inputChanged(AbstractTreeViewer.java:1469)
at org.eclipse.jface.viewers.ContentViewer.setInput(ContentViewer.java:274)
at org.eclipse.jface.viewers.StructuredViewer.setInput(StructuredViewer.java:1664)
at org.jboss.ide.eclipse.freemarker.outline.OutlinePage.update(OutlinePage.java:110)
at org.jboss.ide.eclipse.freemarker.editor.Editor.keyReleased(Editor.java:405)
at org.eclipse.swt.widgets.TypedListener.handleEvent(TypedListener.java:168)
at org.eclipse.swt.widgets.EventTable.sendEvent(EventTable.java:84)
at org.eclipse.swt.widgets.Display.sendEvent(Display.java:3783)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1375)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1398)
at org.eclipse.swt.widgets.Widget.sendEvent(Widget.java:1383)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1412)
at org.eclipse.swt.widgets.Widget.sendKeyEvent(Widget.java:1408)
at org.eclipse.swt.widgets.Canvas.sendKeyEvent(Canvas.java:416)
at org.eclipse.swt.widgets.Control.keyUp(Control.java:2148)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:4987)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Widget.callSuper(Widget.java:220)
at org.eclipse.swt.widgets.Widget.windowSendEvent(Widget.java:1959)
at org.eclipse.swt.widgets.Shell.windowSendEvent(Shell.java:2025)
at org.eclipse.swt.widgets.Display.windowProc(Display.java:5047)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSendSuper(Native Method)
at org.eclipse.swt.widgets.Display.applicationSendEvent(Display.java:4589)
at org.eclipse.swt.widgets.Display.applicationProc(Display.java:4666)
at org.eclipse.swt.internal.cocoa.OS.objc_msgSend(Native Method)
at org.eclipse.swt.internal.cocoa.NSApplication.sendEvent(NSApplication.java:115)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3281)
at org.eclipse.ui.internal.Workbench.runEventLoop(Workbench.java:2640)
at org.eclipse.ui.internal.Workbench.runUI(Workbench.java:2604)
at org.eclipse.ui.internal.Workbench.access$4(Workbench.java:2438)
at org.eclipse.ui.internal.Workbench$7.run(Workbench.java:671)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:332)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:664)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:149)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:115)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:196)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:110)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:79)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:369)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:179)
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.eclipse.equinox.launcher.Main.invokeFramework(Main.java:620)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:575)
at org.eclipse.equinox.launcher.Main.run(Main.java:1408)
Does anyone know what to do about this?
Thanks.
--------------------------------------------------------------
Reply to this message by going to Community
[http://community.jboss.org/message/618888#618888]
Start a new discussion in JBoss Tools at Community
[http://community.jboss.org/choose-container!input.jspa?contentType=1&cont...]
13 years, 3 months