BR
On Sat, Mar 5, 2011 at 5:25 PM, Xinhua Zhu <xhzhu(a)it.uts.edu.au> wrote:
Hi
I am using 5.2.0-M1 under Tomcat6, I tried both way you provided but both
don't work. The error message is still there. How can I debug it?
BR
Xinhua
2011/3/2 A R <andromeda918(a)gmail.com>
> Hopefully this is helpful to someone else...
>
> The reason 5.2.0-M1 wasn't starting under Tomcat was also due to a schema
> problem.
>
> In knowledge-services.xml, I had to change the path to
> drools-spring-1.2.0.xsd from:
>
> <beans
xmlns="http://www.springframework.org/schema/beans"
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
xmlns:drools="http://drools.org/schema/drools-spring"
>
xsi:schemaLocation="http://www.springframework.org/schema/beans
>
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>
http://drools.org/schema/drools-springorg/drools/container/spring/drools-...
>
> to
>
> <beans
xmlns="http://www.springframework.org/schema/beans"
>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
>
xmlns:drools="http://drools.org/schema/drools-spring"
>
xsi:schemaLocation="http://www.springframework.org/schema/beans
>
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>
http://drools.org/schema/drools-spring
>
https://github.com/droolsjbpm/droolsjbpm-integration/raw/master/drools-co...
>
>
/drools-spring/src/main/resources/org/drools/container/spring/drools-spring-1.2.0.xsd">
>
>
> Alternatively, you can also copy the drools-sprin-1.2.0.xsd file to
>
<tomcat>/webapps/drools-server/org/drools/container/spring/drools-spring-1.2.0.xsd,
> and it will just be loaded from the local file system.
>
>
>
> On Tue, Mar 1, 2011 at 1:26 PM, A R <andromeda918(a)gmail.com> wrote:
>
>> Well I was able to get drools server 5.1.1 running under Tomcat 6.0.30,
>> no luck with 5.2.0-M1 or JBoss AS though.
>>
>> The problem with 5.1.1 not starting seems to be with it not being able to
>> download an xsd since I'm in a corp environment and http requests have to be
>> proxyed. So I moved the drools server to a server that could bypass our
>> proxy server, and then it started up.
>>
>> It looks like there's an issue open related to the problem I had here:
>>
https://issues.jboss.org/browse/JBRULES-2905
>>
>>
>>
>> On Mon, Feb 28, 2011 at 2:30 PM, A R <andromeda918(a)gmail.com> wrote:
>>
>>> I'm just using a stock build from
>>>
http://www.jboss.org/drools/downloads.html, and it has
>>> <drools:execution-node> defined in 5.1.1. When I remove it, I just get
a
>>> error on the next xml tag.
>>>
>>> I tried again with the JBoss AS included with Drools Guvnor Standalone
>>> 5.2.0.M1, copying drools-5.2.0.M1-server.war to
>>> jboss-5.1.0.GA/server/default/deploy/drools-server.war, but get the
>>> following error:
>>>
>>> 14:19:57,160 INFO [PersistenceUnitDeployment] Starting persistence unit
>>> persistence.unit:unitName=#org.drools.grid
>>> 14:19:57,165 ERROR [AbstractKernelController] Error installing to Start:
>>> name=persistence.unit:unitName=#org.drools.grid state=Create
>>> java.lang.RuntimeException: Specification violation [EJB3 JPA 6.2.1.2] -
>>> You have not defined a jta-data-source for a JTA enabled persistence context
>>> named: org.drools.grid
>>>
>>>
>>>
>>> On Mon, Feb 28, 2011 at 4:04 AM, Esteban Aliverti <
>>> esteban.aliverti(a)gmail.com> wrote:
>>>
>>>> I'm not sure about this, but I think there is no need to define
>>>> <drools:execution-node> any more. Please try to remove the
definition and
>>>> all its usages from knowledge-services.xml and see what happens. If
somebody
>>>> else could confirm this behaviour, please let us know.
>>>>
>>>> By the way, did you try to deploy drools-server in a JBoss AS?
>>>>
>>>> Best Regards,
>>>>
>>>> XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
>>>>
>>>> Esteban Aliverti
>>>> - Developer @
http://www.plugtree.com
>>>> - Blog @
http://ilesteban.wordpress.com
>>>>
>>>>
>>>> 2011/2/27 A R <andromeda918(a)gmail.com>
>>>>
>>>>> execution-node
>>>>
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> rules-users mailing list
> rules-users(a)lists.jboss.org
>
https://lists.jboss.org/mailman/listinfo/rules-users
>
>