Mikael Lönneberg | 2 Nov 2011 06:55
Gravatar

[rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Hi,


I hope one of you nice people will be able to help.
I'm trying to setup Guvnor for development and debugging in eclipse in hopes of being able to contribute. However I have spent a couple of days now trying to get it setup but I keep running into problems.
Now when I try to run it I get
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator

Full stacktrace is included in an attachment. I get the same error when I run mvn gwt:compile on the command line. 
mvn clean install -DskipTests runs fine without errors and reporting success.

Any pointers to other guides that I could follow apart from the droolsjbpm-build-bootstrap/readme 


Kind Regards

Mikael Lönneberg (gwendo)
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator
	at java.net.URLClassLoader$1.run(URLClassLoader.java:217)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:205)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:321)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:294)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:266)
	at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:886)
	at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:495)
	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:616)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
	at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
	at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
	at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
	at com.google.gwt.dev.DevMode.main(DevMode.java:309)
         [ERROR] Failure while parsing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.cfg.ModuleDefSchema$ClassAttrCvt.convertToArg(ModuleDefSchema.java:889)
	at com.google.gwt.dev.util.xml.HandlerArgs.convertToArg(HandlerArgs.java:64)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:221)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:495)
	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:616)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
	at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
	at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
	at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
	at com.google.gwt.dev.DevMode.main(DevMode.java:309)
         [ERROR] Unexpected error while processing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:355)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:495)
	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:616)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
	at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
	at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
	at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
	at com.google.gwt.dev.DevMode.main(DevMode.java:309)
      [ERROR] Line 4: Unexpected exception while processing element 'inherits'
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:283)
	at com.google.gwt.dev.cfg.ModuleDefSchema$BodySchema.__inherits_begin(ModuleDefSchema.java:495)
	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:616)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:230)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
	at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
	at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
	at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
	at com.google.gwt.dev.DevMode.main(DevMode.java:309)
      [ERROR] Failure while parsing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.util.xml.DefaultSchema.onHandlerException(DefaultSchema.java:58)
	at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66)
	at com.google.gwt.dev.util.xml.Schema.onHandlerException(Schema.java:66)
	at com.google.gwt.dev.util.xml.HandlerMethod.invokeBegin(HandlerMethod.java:240)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.startElement(ReflectiveParser.java:274)
	at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source)
	at org.apache.xerces.parsers.AbstractXMLDocumentParser.emptyElement(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanStartElement(Unknown Source)
	at
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source)
	at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
	at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
	at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
	at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:331)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
	at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
	at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
	at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
	at com.google.gwt.dev.DevMode.main(DevMode.java:309)
      [ERROR] Unexpected error while processing XML
com.google.gwt.core.ext.UnableToCompleteException: (see previous log entries)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.parse(ReflectiveParser.java:355)
	at com.google.gwt.dev.util.xml.ReflectiveParser$Impl.access$100(ReflectiveParser.java:48)
	at com.google.gwt.dev.util.xml.ReflectiveParser.parse(ReflectiveParser.java:402)
	at com.google.gwt.dev.cfg.ModuleDefLoader.nestedLoad(ModuleDefLoader.java:280)
	at com.google.gwt.dev.cfg.ModuleDefLoader$1.load(ModuleDefLoader.java:192)
	at com.google.gwt.dev.cfg.ModuleDefLoader.doLoadModule(ModuleDefLoader.java:308)
	at com.google.gwt.dev.cfg.ModuleDefLoader.loadFromClassPath(ModuleDefLoader.java:151)
	at com.google.gwt.dev.DevModeBase.loadModule(DevModeBase.java:979)
	at com.google.gwt.dev.DevMode.loadModule(DevMode.java:548)
	at com.google.gwt.dev.DevMode.doStartup(DevMode.java:436)
	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1045)
	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
	at com.google.gwt.dev.DevMode.main(DevMode.java:309)
[ERROR] shell failed in doStartup method

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Anstis | 2 Nov 2011 10:38
Picon
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Are you using the master branch?

How are you running the application in Eclipse?

Since the move to Seam 3 I have found I need to set the project to use an external WAR folder, rather than simply run as GWT Web Application.

On 2 November 2011 05:55, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Hi,

I hope one of you nice people will be able to help.
I'm trying to setup Guvnor for development and debugging in eclipse in hopes of being able to contribute. However I have spent a couple of days now trying to get it setup but I keep running into problems.
Now when I try to run it I get
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator

Full stacktrace is included in an attachment. I get the same error when I run mvn gwt:compile on the command line. 
mvn clean install -DskipTests runs fine without errors and reporting success.

Any pointers to other guides that I could follow apart from the droolsjbpm-build-bootstrap/readme 


Kind Regards

Mikael Lönneberg (gwendo)

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mikael Lönneberg | 2 Nov 2011 12:41
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Yes I'm running the Master branch. I tried to run it following the instructions in the readme:


Run GWT in hosted mode

  • Open menu Run, menu item Run configurations...
  • In the list, select Web Application, button new launch configuration
  • Tab Main, Project: guvnor-webapp
  • Tab GWT, list Available Modules: Guvnor - org.drools.guvnor
  • Tab GWT, textfield URL: org.drools.guvnor.Guvnor/Guvnor.html
  • Button Run.


In my Run Configuration I have the following arguments -war /home/miklo/workspace-drools/guvnor/guvnor-webapp/target -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl 'org.drools.guvnor.Guvnor/Guvnor.html' -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor

Where do I set it up to use an external WAR folder?

Should I do something different?

Kind Regards

Mikael

On Wed, Nov 2, 2011 at 10:38 AM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
Are you using the master branch?

How are you running the application in Eclipse?

Since the move to Seam 3 I have found I need to set the project to use an external WAR folder, rather than simply run as GWT Web Application.

On 2 November 2011 05:55, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Hi,

I hope one of you nice people will be able to help.
I'm trying to setup Guvnor for development and debugging in eclipse in hopes of being able to contribute. However I have spent a couple of days now trying to get it setup but I keep running into problems.
Now when I try to run it I get
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator

Full stacktrace is included in an attachment. I get the same error when I run mvn gwt:compile on the command line. 
mvn clean install -DskipTests runs fine without errors and reporting success.

Any pointers to other guides that I could follow apart from the droolsjbpm-build-bootstrap/readme 


Kind Regards

Mikael Lönneberg (gwendo)

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Anstis | 2 Nov 2011 12:50
Picon
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

In the project properties, set Google->Web Application->This project has a WAR directory to "target/guvnor-webapp-5.4.0-SNAPSHOT" (will be different with different versions).

My run config is as follows:-

Main class ("Main" tab in the run config)
com.google.gwt.dev.DevMode

Program arguments ("Arguments" tab in the run config)
-war /home/manstis/workspaces/git/droolsjbpm/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl index.jsp -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor org.drools.guvnor.Guvnor

Jervis Liu (jliu, on #guvnor) also has problems running from within Eclipse and we hope to try to work together tomorrow to resolve. I don't know if his problem is identical to yours.

I've seen the error you report, but usually refreshing the project in Eclipse makes it disappear (not sure if it is concidental, but I normally refresh after mvn -clean -install'ing... and don't experience your problem).

Have a try and let me know....

On 2 November 2011 11:41, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Yes I'm running the Master branch. I tried to run it following the instructions in the readme:

Run GWT in hosted mode

  • Open menu Run, menu item Run configurations...
  • In the list, select Web Application, button new launch configuration
  • Tab Main, Project: guvnor-webapp
  • Tab GWT, list Available Modules: Guvnor - org.drools.guvnor
  • Tab GWT, textfield URL: org.drools.guvnor.Guvnor/Guvnor.html
  • Button Run.


In my Run Configuration I have the following arguments -war /home/miklo/workspace-drools/guvnor/guvnor-webapp/target -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl 'org.drools.guvnor.Guvnor/Guvnor.html' -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor

Where do I set it up to use an external WAR folder?

Should I do something different?

Kind Regards

Mikael

On Wed, Nov 2, 2011 at 10:38 AM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
Are you using the master branch?

How are you running the application in Eclipse?

Since the move to Seam 3 I have found I need to set the project to use an external WAR folder, rather than simply run as GWT Web Application.

On 2 November 2011 05:55, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Hi,

I hope one of you nice people will be able to help.
I'm trying to setup Guvnor for development and debugging in eclipse in hopes of being able to contribute. However I have spent a couple of days now trying to get it setup but I keep running into problems.
Now when I try to run it I get
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator

Full stacktrace is included in an attachment. I get the same error when I run mvn gwt:compile on the command line. 
mvn clean install -DskipTests runs fine without errors and reporting success.

Any pointers to other guides that I could follow apart from the droolsjbpm-build-bootstrap/readme 


Kind Regards

Mikael Lönneberg (gwendo)

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mikael Lönneberg | 2 Nov 2011 13:53
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Thanks for your help so far, your advice got me a bit further but now I get the following error:


Starting Jetty on port 8888
   [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload <at> 5b24dfa8{/,/home/miklo/workspace-drools/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT}
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [ <at> Default] at injection point [[field] <at> Inject org.jboss.seam.security.permission.SecurityRuleLoader.log]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
---- 8< ----------------

This seams to be seam related, but as I have never worked with seam before I don't really know how to start troubleshooting it.

/Mikael


On Wed, Nov 2, 2011 at 12:50 PM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
In the project properties, set Google->Web Application->This project has a WAR directory to "target/guvnor-webapp-5.4.0-SNAPSHOT" (will be different with different versions).

My run config is as follows:-

Main class ("Main" tab in the run config)
com.google.gwt.dev.DevMode

Program arguments ("Arguments" tab in the run config)
-war /home/manstis/workspaces/git/droolsjbpm/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl index.jsp -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor org.drools.guvnor.Guvnor

Jervis Liu (jliu, on #guvnor) also has problems running from within Eclipse and we hope to try to work together tomorrow to resolve. I don't know if his problem is identical to yours.

I've seen the error you report, but usually refreshing the project in Eclipse makes it disappear (not sure if it is concidental, but I normally refresh after mvn -clean -install'ing... and don't experience your problem).

Have a try and let me know....


On 2 November 2011 11:41, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Yes I'm running the Master branch. I tried to run it following the instructions in the readme:

Run GWT in hosted mode

  • Open menu Run, menu item Run configurations...
  • In the list, select Web Application, button new launch configuration
  • Tab Main, Project: guvnor-webapp
  • Tab GWT, list Available Modules: Guvnor - org.drools.guvnor
  • Tab GWT, textfield URL: org.drools.guvnor.Guvnor/Guvnor.html
  • Button Run.


In my Run Configuration I have the following arguments -war /home/miklo/workspace-drools/guvnor/guvnor-webapp/target -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl 'org.drools.guvnor.Guvnor/Guvnor.html' -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor

Where do I set it up to use an external WAR folder?

Should I do something different?

Kind Regards

Mikael

On Wed, Nov 2, 2011 at 10:38 AM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
Are you using the master branch?

How are you running the application in Eclipse?

Since the move to Seam 3 I have found I need to set the project to use an external WAR folder, rather than simply run as GWT Web Application.

On 2 November 2011 05:55, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Hi,

I hope one of you nice people will be able to help.
I'm trying to setup Guvnor for development and debugging in eclipse in hopes of being able to contribute. However I have spent a couple of days now trying to get it setup but I keep running into problems.
Now when I try to run it I get
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator

Full stacktrace is included in an attachment. I get the same error when I run mvn gwt:compile on the command line. 
mvn clean install -DskipTests runs fine without errors and reporting success.

Any pointers to other guides that I could follow apart from the droolsjbpm-build-bootstrap/readme 


Kind Regards

Mikael Lönneberg (gwendo)

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Michael Anstis | 2 Nov 2011 14:14
Picon
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Is this error persistent?

Sometimes I get errors relating to Logger on start-up and refreshing the browser causes it to disappear.

I don't get it all the time, just occasionally.

On 2 November 2011 12:53, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Thanks for your help so far, your advice got me a bit further but now I get the following error:

Starting Jetty on port 8888
   [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload <at> 5b24dfa8{/,/home/miklo/workspace-drools/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT}
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [ <at> Default] at injection point [[field] <at> Inject org.jboss.seam.security.permission.SecurityRuleLoader.log]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
---- 8< ----------------

This seams to be seam related, but as I have never worked with seam before I don't really know how to start troubleshooting it.

/Mikael


On Wed, Nov 2, 2011 at 12:50 PM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
In the project properties, set Google->Web Application->This project has a WAR directory to "target/guvnor-webapp-5.4.0-SNAPSHOT" (will be different with different versions).

My run config is as follows:-

Main class ("Main" tab in the run config)
com.google.gwt.dev.DevMode

Program arguments ("Arguments" tab in the run config)
-war /home/manstis/workspaces/git/droolsjbpm/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl index.jsp -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor org.drools.guvnor.Guvnor

Jervis Liu (jliu, on #guvnor) also has problems running from within Eclipse and we hope to try to work together tomorrow to resolve. I don't know if his problem is identical to yours.

I've seen the error you report, but usually refreshing the project in Eclipse makes it disappear (not sure if it is concidental, but I normally refresh after mvn -clean -install'ing... and don't experience your problem).

Have a try and let me know....


On 2 November 2011 11:41, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Yes I'm running the Master branch. I tried to run it following the instructions in the readme:

Run GWT in hosted mode

  • Open menu Run, menu item Run configurations...
  • In the list, select Web Application, button new launch configuration
  • Tab Main, Project: guvnor-webapp
  • Tab GWT, list Available Modules: Guvnor - org.drools.guvnor
  • Tab GWT, textfield URL: org.drools.guvnor.Guvnor/Guvnor.html
  • Button Run.


In my Run Configuration I have the following arguments -war /home/miklo/workspace-drools/guvnor/guvnor-webapp/target -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl 'org.drools.guvnor.Guvnor/Guvnor.html' -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor

Where do I set it up to use an external WAR folder?

Should I do something different?

Kind Regards

Mikael

On Wed, Nov 2, 2011 at 10:38 AM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
Are you using the master branch?

How are you running the application in Eclipse?

Since the move to Seam 3 I have found I need to set the project to use an external WAR folder, rather than simply run as GWT Web Application.

On 2 November 2011 05:55, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Hi,

I hope one of you nice people will be able to help.
I'm trying to setup Guvnor for development and debugging in eclipse in hopes of being able to contribute. However I have spent a couple of days now trying to get it setup but I keep running into problems.
Now when I try to run it I get
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator

Full stacktrace is included in an attachment. I get the same error when I run mvn gwt:compile on the command line. 
mvn clean install -DskipTests runs fine without errors and reporting success.

Any pointers to other guides that I could follow apart from the droolsjbpm-build-bootstrap/readme 


Kind Regards

Mikael Lönneberg (gwendo)

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Mikael Lönneberg | 2 Nov 2011 14:31
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Yes it seems to be persistent, I have attached the startup log. I've tried restarting it a 3-4 times


/Mikael

On Wed, Nov 2, 2011 at 2:14 PM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
Is this error persistent?

Sometimes I get errors relating to Logger on start-up and refreshing the browser causes it to disappear.

I don't get it all the time, just occasionally.


On 2 November 2011 12:53, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Thanks for your help so far, your advice got me a bit further but now I get the following error:

Starting Jetty on port 8888
   [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload <at> 5b24dfa8{/,/home/miklo/workspace-drools/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT}
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type [Logger] with qualifiers [ <at> Default] at injection point [[field] <at> Inject org.jboss.seam.security.permission.SecurityRuleLoader.log]
at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
---- 8< ----------------

This seams to be seam related, but as I have never worked with seam before I don't really know how to start troubleshooting it.

/Mikael


On Wed, Nov 2, 2011 at 12:50 PM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
In the project properties, set Google->Web Application->This project has a WAR directory to "target/guvnor-webapp-5.4.0-SNAPSHOT" (will be different with different versions).

My run config is as follows:-

Main class ("Main" tab in the run config)
com.google.gwt.dev.DevMode

Program arguments ("Arguments" tab in the run config)
-war /home/manstis/workspaces/git/droolsjbpm/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl index.jsp -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor org.drools.guvnor.Guvnor

Jervis Liu (jliu, on #guvnor) also has problems running from within Eclipse and we hope to try to work together tomorrow to resolve. I don't know if his problem is identical to yours.

I've seen the error you report, but usually refreshing the project in Eclipse makes it disappear (not sure if it is concidental, but I normally refresh after mvn -clean -install'ing... and don't experience your problem).

Have a try and let me know....


On 2 November 2011 11:41, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Yes I'm running the Master branch. I tried to run it following the instructions in the readme:

Run GWT in hosted mode

  • Open menu Run, menu item Run configurations...
  • In the list, select Web Application, button new launch configuration
  • Tab Main, Project: guvnor-webapp
  • Tab GWT, list Available Modules: Guvnor - org.drools.guvnor
  • Tab GWT, textfield URL: org.drools.guvnor.Guvnor/Guvnor.html
  • Button Run.


In my Run Configuration I have the following arguments -war /home/miklo/workspace-drools/guvnor/guvnor-webapp/target -remoteUI "${gwt_remote_ui_server_port}:${unique_id}" -startupUrl 'org.drools.guvnor.Guvnor/Guvnor.html' -logLevel INFO -codeServerPort 9997 -port 8888 org.drools.guvnor.FastCompiledGuvnor

Where do I set it up to use an external WAR folder?

Should I do something different?

Kind Regards

Mikael

On Wed, Nov 2, 2011 at 10:38 AM, Michael Anstis <michael.anstis <at> gmail.com> wrote:
Are you using the master branch?

How are you running the application in Eclipse?

Since the move to Seam 3 I have found I need to set the project to use an external WAR folder, rather than simply run as GWT Web Application.

On 2 November 2011 05:55, Mikael Lönneberg <emil <at> snickeboa.com> wrote:
Hi,

I hope one of you nice people will be able to help.
I'm trying to setup Guvnor for development and debugging in eclipse in hopes of being able to contribute. However I have spent a couple of days now trying to get it setup but I keep running into problems.
Now when I try to run it I get
Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Loading inherited module 'org.drools.guvnor.Guvnor'
         [ERROR] Unable to load class 'org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator'
java.lang.ClassNotFoundException: org.drools.guvnor.gwtutil.PerspectiveFactoryGenerator

Full stacktrace is included in an attachment. I get the same error when I run mvn gwt:compile on the command line. 
mvn clean install -DskipTests runs fine without errors and reporting success.

Any pointers to other guides that I could follow apart from the droolsjbpm-build-bootstrap/readme 


Kind Regards

Mikael Lönneberg (gwendo)

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev



_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


Loading modules
   org.drools.guvnor.FastCompiledGuvnor
      Validating <servlet> tags for module 'org.drools.guvnor.Guvnor'
      For additional info see: file:/home/miklo/opt/gwt-2.3.0/doc/helpInfo/servletMappings.html
         [WARN] Module declares a servlet class
'org.gridcc.mce.mceworkflow.servlets.WorkflowManagerServlet' with a mapping to
'/org.drools.guvnor.Guvnor/workflowmanager', but the web.xml has no corresponding mapping; please
add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>WorkflowManagerServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/workflowmanager</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.StandaloneEditorServlet' with a
mapping to '/org.drools.guvnor.Guvnor/standaloneEditorServlet', but the web.xml has no
corresponding mapping; please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>StandaloneEditorServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/standaloneEditorServlet</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.gridcc.mce.mceworkflow.servlets.WSDLParserServlet'
with a mapping to '/org.drools.guvnor.Guvnor/wsdlparser', but the web.xml has no corresponding
mapping; please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>WSDLParserServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/wsdlparser</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.RestAPIServlet' with a
mapping to '/org.drools.guvnor.Guvnor/api', but the web.xml has no corresponding mapping; please add
the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>RestAPIServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/api</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.PackageDeploymentServlet'
with a mapping to '/org.drools.guvnor.Guvnor/package', but the web.xml has no corresponding mapping;
please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>PackageDeploymentServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/package</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.OryxEditorServlet' with a
mapping to '/org.drools.guvnor.Guvnor/oryxeditor', but the web.xml has no corresponding mapping;
please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>OryxEditorServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/oryxeditor</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.WebdavServlet' with a
mapping to '/org.drools.guvnor.Guvnor/webdav', but the web.xml has no corresponding mapping; please
add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>WebdavServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/webdav</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.FeedServlet' with a mapping
to '/org.drools.guvnor.Guvnor/feed', but the web.xml has no corresponding mapping; please add the
following lines to your web.xml:
<servlet-mapping>
  <servlet-name>FeedServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/feed</url-pattern>
</servlet-mapping>
   org.drools.guvnor.Guvnor
      Validating <servlet> tags for module 'org.drools.guvnor.Guvnor'
      For additional info see: file:/home/miklo/opt/gwt-2.3.0/doc/helpInfo/servletMappings.html
         [WARN] Module declares a servlet class
'org.gridcc.mce.mceworkflow.servlets.WorkflowManagerServlet' with a mapping to
'/org.drools.guvnor.Guvnor/workflowmanager', but the web.xml has no corresponding mapping; please
add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>WorkflowManagerServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/workflowmanager</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.StandaloneEditorServlet' with a
mapping to '/org.drools.guvnor.Guvnor/standaloneEditorServlet', but the web.xml has no
corresponding mapping; please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>StandaloneEditorServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/standaloneEditorServlet</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.gridcc.mce.mceworkflow.servlets.WSDLParserServlet'
with a mapping to '/org.drools.guvnor.Guvnor/wsdlparser', but the web.xml has no corresponding
mapping; please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>WSDLParserServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/wsdlparser</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.RestAPIServlet' with a
mapping to '/org.drools.guvnor.Guvnor/api', but the web.xml has no corresponding mapping; please add
the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>RestAPIServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/api</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.PackageDeploymentServlet'
with a mapping to '/org.drools.guvnor.Guvnor/package', but the web.xml has no corresponding mapping;
please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>PackageDeploymentServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/package</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.OryxEditorServlet' with a
mapping to '/org.drools.guvnor.Guvnor/oryxeditor', but the web.xml has no corresponding mapping;
please add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>OryxEditorServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/oryxeditor</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.WebdavServlet' with a
mapping to '/org.drools.guvnor.Guvnor/webdav', but the web.xml has no corresponding mapping; please
add the following lines to your web.xml:
<servlet-mapping>
  <servlet-name>WebdavServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/webdav</url-pattern>
</servlet-mapping>
         [WARN] Module declares a servlet class 'org.drools.guvnor.server.files.FeedServlet' with a mapping
to '/org.drools.guvnor.Guvnor/feed', but the web.xml has no corresponding mapping; please add the
following lines to your web.xml:
<servlet-mapping>
  <servlet-name>FeedServlet</servlet-name>
  <url-pattern>/org.drools.guvnor.Guvnor/feed</url-pattern>
</servlet-mapping>
SLF4J: This version of SLF4J requires log4j version 1.2.12 or later. See also http://www.slf4j.org/codes.html#log4j_version
[WARN] Server class 'javax.el.ExpressionFactory' could not be found in the web app, but was found on the
system classpath
   [WARN] Adding classpath entry
'file:/home/miklo/.m2/repository/javax/el/el-api/1.2/el-api-1.2.jar' to the web app classpath
for this session
   For additional info see: file:/home/miklo/opt/gwt-2.3.0/doc/helpInfo/webAppClassPath.html
Nov 2, 2011 2:27:55 PM org.jboss.weld.util.ServiceLoader loadClass
WARNING: Could not load service class org.jboss.seam.transaction.TransactionExtension
Nov 2, 2011 2:27:55 PM org.jboss.weld.util.ServiceLoader loadClass
WARNING: Could not load service class org.jboss.seam.transaction.scope.TransactionScopeExtension
[WARN] Server class 'org.jboss.solder.bean.ContextualLifecycle' could not be found in the web app, but
was found on the system classpath
   [WARN] Adding classpath entry
'file:/home/miklo/.m2/repository/org/jboss/solder/solder-impl/3.1.0.Beta4/solder-impl-3.1.0.Beta4.jar'
to the web app classpath for this session
   For additional info see: file:/home/miklo/opt/gwt-2.3.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'com.google.gwt.dev.HostedMode' could not be found in the web app, but was found on
the system classpath
   [WARN] Adding classpath entry 'file:/home/miklo/opt/gwt-2.3.0/gwt-dev.jar' to the web app classpath
for this session
   For additional info see: file:/home/miklo/opt/gwt-2.3.0/doc/helpInfo/webAppClassPath.html
[WARN] Server class 'org.jboss.seam.remoting.annotations.WebRemote' could not be found in the web
app, but was found on the system classpath
   [WARN] Adding classpath entry
'file:/home/miklo/.m2/repository/org/jboss/seam/remoting/seam-remoting/3.1.0.Beta4/seam-remoting-3.1.0.Beta4.jar'
to the web app classpath for this session
   For additional info see: file:/home/miklo/opt/gwt-2.3.0/doc/helpInfo/webAppClassPath.html
Starting Jetty on port 8888
   [WARN] Failed startup of context com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload <at> 444cc84d{/,/home/miklo/workspace-drools/guvnor/guvnor-webapp/target/guvnor-webapp-5.4.0-SNAPSHOT}
org.jboss.weld.exceptions.DeploymentException: WELD-001408 Unsatisfied dependencies for type
[Logger] with qualifiers [ <at> Default] at injection point [[field]  <at> Inject org.jboss.seam.security.permission.SecurityRuleLoader.log]
	at org.jboss.weld.bootstrap.Validator.validateInjectionPoint(Validator.java:270)
	at org.jboss.weld.bootstrap.Validator.validateBean(Validator.java:106)
	at org.jboss.weld.bootstrap.Validator.validateRIBean(Validator.java:129)
	at org.jboss.weld.bootstrap.Validator.validateBeans(Validator.java:351)
	at org.jboss.weld.bootstrap.Validator.validateDeployment(Validator.java:336)
	at org.jboss.weld.bootstrap.WeldBootstrap.validateBeans(WeldBootstrap.java:404)
	at org.jboss.weld.environment.servlet.Listener.contextInitialized(Listener.java:206)
	at org.drools.guvnor.server.repository.SafeWeldListener.contextInitialized(SafeWeldListener.java:54)
	at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:543)
	at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
	at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1220)
	at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:513)
	at org.mortbay.jetty.webapp.WebAppContext.doStart(WebAppContext.java:448)
	at com.google.gwt.dev.shell.jetty.JettyLauncher$WebAppContextWithReload.doStart(JettyLauncher.java:463)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.handler.RequestLogHandler.doStart(RequestLogHandler.java:115)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
	at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
	at org.mortbay.jetty.Server.doStart(Server.java:222)
	at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:39)
	at com.google.gwt.dev.shell.jetty.JettyLauncher.start(JettyLauncher.java:667)
	at com.google.gwt.dev.DevMode.doStartUpServer(DevMode.java:500)
	at com.google.gwt.dev.DevModeBase.startUp(DevModeBase.java:1055)
	at com.google.gwt.dev.DevModeBase.run(DevModeBase.java:804)
	at com.google.gwt.dev.DevMode.main(DevMode.java:309)
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
ge0ffrey | 2 Nov 2011 17:21
Picon
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Master should be on seam beta4, which fixed that logmanager thing from beta3
Pls verify the seam version in your classpath

--
View this message in context: http://drools.46999.n3.nabble.com/Problem-setting-up-Guvnor-to-run-in-hosted-mode-in-eclipse-tp3472952p3474312.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

Mikael Lönneberg | 2 Nov 2011 20:03
Gravatar

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

Beta4 is the version on my classpath, I also tried deploying the built WAR file on a standalone jboss as 7 server and that failed as well.. 


/Mikael

On Wed, Nov 2, 2011 at 5:21 PM, ge0ffrey <ge0ffrey.spam <at> gmail.com> wrote:
Master should be on seam beta4, which fixed that logmanager thing from beta3
Pls verify the seam version in your classpath

--
View this message in context: http://drools.46999.n3.nabble.com/Problem-setting-up-Guvnor-to-run-in-hosted-mode-in-eclipse-tp3472952p3474312.html
Sent from the Drools: Developer (committer) mailing list mailing list archive at Nabble.com.
_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev
Jervis Liu | 3 Nov 2011 12:08
Picon
Favicon

Re: [rules-dev] Problem setting up Guvnor to run in hosted mode in eclipse

I've spent a day on this. What I found is that I can run guvnor from 
Eclipse using the WAR configuration as Mike mentioned. Below is the 
configuration that works:

Linux, Eclipse 3.6.2, Jdk 1.6.0_29, Google plugin for Eclipse 2.4.2 (the 
latest version from the update site), GWT SDK 2.3.0.

The configuration does not work is:
Windows 7, Eclipse 3.6.2, Jdk 1.6.0_25, Google plugin for Eclipse 2.4.2, 
GWT SDK 2.3.0.

I still have not figured out yet if this issue is a platform specific one.

Cheers,
Jervis

Mikael Lönneberg wrote:
> Beta4 is the version on my classpath, I also tried deploying the built 
> WAR file on a standalone jboss as 7 server and that failed as well.. 
>
> /Mikael
>
> On Wed, Nov 2, 2011 at 5:21 PM, ge0ffrey <ge0ffrey.spam <at> gmail.com 
> <mailto:ge0ffrey.spam <at> gmail.com>> wrote:
>
>     Master should be on seam beta4, which fixed that logmanager thing
>     from beta3
>     Pls verify the seam version in your classpath
>
>     --
>     View this message in context:
>     http://drools.46999.n3.nabble.com/Problem-setting-up-Guvnor-to-run-in-hosted-mode-in-eclipse-tp3472952p3474312.html
>     Sent from the Drools: Developer (committer) mailing list mailing
>     list archive at Nabble.com.
>     _______________________________________________
>     rules-dev mailing list
>     rules-dev <at> lists.jboss.org <mailto:rules-dev <at> lists.jboss.org>
>     https://lists.jboss.org/mailman/listinfo/rules-dev
>
>
> ------------------------------------------------------------------------
>
> _______________________________________________
> rules-dev mailing list
> rules-dev <at> lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/rules-dev
>   

_______________________________________________
rules-dev mailing list
rules-dev <at> lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-dev


Gmane