Re: [rules-users] [drools-wb] how to move an asset to another package ?

2014-07-29 Thread jps
Related Jira : https://issues.jboss.org/browse/GUVNOR-2111






--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-wb-how-to-move-an-asset-to-another-package-tp4030422p4030528.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] Project Explorer has dissappeared in KIE Workbench

2014-07-23 Thread jps
I had the same problem today on
kie-drools-wb-distribution-wars-6.0.1.Final-jboss-as7.0 ... 

Googling a while ... I found this thread with the working workaround for me
: 

https://community.jboss.org/thread/237501
https://community.jboss.org/thread/237501  


--jps







--
View this message in context: 
http://drools.46999.n3.nabble.com/Project-Explorer-has-dissappeared-in-KIE-Workbench-tp4027767p4030460.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] [drools-wb] how to move an asset to another package ?

2014-07-23 Thread jps
Hi, 

Thank you for the reply and the workaround.

Will you add this kind of functionnality in the future ? We expect to deploy
drools-wb to business users so they have a business-user-friendly
environment to author their rules. But you know - we can't ask our business
users to do a git clone + git push :)

This leads me to other questions about git operations, but that's going to
be another post.


Regards, 
--jps




--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-wb-how-to-move-an-asset-to-another-package-tp4030422p4030461.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] [drools-wb] how to move an asset to another package ?

2014-07-22 Thread jps
Hello, 

I'm in the process of refactoring the different packages in my project.
How can I move an asset (a guided decision table in this case) from its
current package to a new package ?
It seems there's no button or action for that in drools-wb ?

Regards.
--jps



--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-wb-how-to-move-an-asset-to-another-package-tp4030422.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] drools-wb 6.1.0.CR2-wildfly - Decision table

2014-07-15 Thread jps
Hello, 

I can't create a Decision Table (Guided Editor) in drools-wb
6.1.0.CR2-wildfly.
/(was working ok with CR1)/


Steps :
- starting with a fresh install, no .niogit, no repostories/kie
- upload 2 jars to repositoy
- create a organisational unit
- create a git repo for the new unit
- create a project
- add my 2 dependencies to the new project
- create a decision table (guided editor) (don't use wizard)
= the name of the decision table is listed in the project explorer panel
but the main editor is empty ... no error log. (see screenshot)

Tries to restart wildfly. No effect.



http://drools.46999.n3.nabble.com/file/n4030354/decision-table.png 



--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-wb-6-1-0-CR2-wildfly-Decision-table-tp4030354.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-14 Thread jps
Hello manstis, 

Thanks for you reply.

Just tried with 6.1.0.CR2 (wildfly-8.1.0.Final + java version 1.7.0_11),
but still the same error :((


10:42:46,359 INFO  [org.guvnor.m2repo.backend.server.M2Servlet] (default
task-14) POST request received.
10:42:46,851 ERROR [io.undertow.request] (default task-14) UT005023:
Exception handling request to
/kie-drools-wb-distribution-wars-6.1.0.CR2-wildfly/maven2:
java.lang.LinkageError:
com/ning/http/client/providers/netty/NettyAsyncHttpProvider
at
org.sonatype.maven.wagon.AhcWagon.openConnectionInternal(AhcWagon.java:150)
[wagon-ahc-1.2.1.jar:]
at
org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
[wagon-provider-api-1.0.jar:1.0]
at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
[wagon-provider-api-1.0.jar:1.0]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:345)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:385)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:571)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
[aether-util-1.13.1.jar:]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_11]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_11]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

10:42:46,856 ERROR [stderr] (pool-15-thread-1) Exception in thread
pool-15-thread-1 java.lang.LinkageError:
com/ning/http/client/providers/netty/NettyAsyncHttpProvider
10:42:46,857 ERROR [stderr] (pool-15-thread-1)  at
org.sonatype.maven.wagon.AhcWagon.openConnectionInternal(AhcWagon.java:150)
10:42:46,858 ERROR [stderr] (pool-15-thread-1)  at
org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
10:42:46,859 ERROR [stderr] (pool-15-thread-1)  at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
10:42:46,859 ERROR [stderr] (pool-15-thread-1)  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:345)
10:42:46,860 ERROR [stderr] (pool-15-thread-1)  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:385)
10:42:46,860 ERROR [stderr] (pool-15-thread-1)  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:571)
10:42:46,860 ERROR [stderr] (pool-15-thread-1)  at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
10:42:46,861 ERROR [stderr] (pool-15-thread-1)  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
10:42:46,861 ERROR [stderr] (pool-15-thread-1)  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
10:42:46,862 ERROR [stderr] (pool-15-thread-1)  at
java.lang.Thread.run(Thread.java:722)



Investigating a little : 

Uploading a mavenized JAR with one dependency and a two-level parent project
= KO (that's my usecase) java.lang.LinkageError
Uploading a mavenized JAR with several dependencies and no parent project =
KO, java.lang.LinkageError
Uploading a mavenized JAR with no dependency and a single-level pom parent
project = upload OK, but with error in log : 


Caused by: org.apache.maven.model.building.ModelBuildingException: 1 problem
was encountered while building the effective model for
group-xxx:artifact-xxx:0.31
[ERROR] Invalid packaging for parent POM group-xxx:artifact-xxx:0.31, must
be pom but is jar @ group-xxx:artifact-xxx:0.31



java.lang.LinkageError should indicate that there is a version mismatch
somewhere with the netty JAR ?? Isn't it ?


For now, my workaround is now to manually install the jar into the local
repository : 

mvn install-file 
-Dfile=path-to-your-artifact-jar \
-DgroupId=your.groupId \
-DartifactId=your-artifactId \
-Dversion=version \ 
-Dpackaging=jar 
   
-DlocalRepositoryPath=*/usr/jboss/wildfly-8.1.0.Final/bin/repositories/kie*


Regards, 
jps






--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-wb-6-1-0-CR1-wildfly-error-when-upload-jar-M2-Repo-tp4030276p4030330.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-14 Thread jps
For reference : https://issues.jboss.org/browse/GUVNOR-2108



--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-wb-6-1-0-CR1-wildfly-error-when-upload-jar-M2-Repo-tp4030276p4030336.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] drools-wb 6.1.0.CR1-wildfly - error when upload jar M2 Repo

2014-07-09 Thread jps
Hello, 

I've installed kie-drools-wb-distribution-wars-6.1.0.CR1-wildfly with all
the defaults - i.e m2 repo is in WIDLFLY_HOME/bin/repositories/kie) and
everything works fine so, except that I can't manage to upload a JAR. 

The JAR I'm trying to upload is a mavenized JAR, it has no dependencies but
a parent pom. I get this Exception in the logs : 

 16:33:54,459 ERROR [io.undertow.request] (default task-9) UT005023:
Exception handling request to
/kie-drools-wb-distribution-wars-6.1.0.CR1-wildfly/org.kie.workbench.drools.KIEDroolsWebapp/m2repo/file:
java.lang.LinkageError:
com/ning/http/client/providers/netty/NettyAsyncHttpProvider
at
org.sonatype.maven.wagon.AhcWagon.openConnectionInternal(AhcWagon.java:150)
[wagon-ahc-1.2.1.jar:]
at
org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
[wagon-provider-api-1.0.jar:1.0]
at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
[wagon-provider-api-1.0.jar:1.0]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:345)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:385)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:571)
[aether-connector-wagon-1.13.1.jar:]
at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
[aether-util-1.13.1.jar:]
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
[rt.jar:1.7.0_11]
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
[rt.jar:1.7.0_11]
at java.lang.Thread.run(Thread.java:722) [rt.jar:1.7.0_11]

16:33:54,463 ERROR [stderr] (pool-14-thread-1) Exception in thread
pool-14-thread-1 java.lang.LinkageError:
com/ning/http/client/providers/netty/NettyAsyncHttpProvider
16:33:54,464 ERROR [stderr] (pool-14-thread-1)  at
org.sonatype.maven.wagon.AhcWagon.openConnectionInternal(AhcWagon.java:150)
16:33:54,464 ERROR [stderr] (pool-14-thread-1)  at
org.apache.maven.wagon.AbstractWagon.openConnection(AbstractWagon.java:105)
16:33:54,471 ERROR [stderr] (pool-14-thread-1)  at
org.apache.maven.wagon.AbstractWagon.connect(AbstractWagon.java:207)
16:33:54,472 ERROR [stderr] (pool-14-thread-1)  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.connectWagon(WagonRepositoryConnector.java:345)
16:33:54,473 ERROR [stderr] (pool-14-thread-1)  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector.pollWagon(WagonRepositoryConnector.java:385)
16:33:54,473 ERROR [stderr] (pool-14-thread-1)  at
org.sonatype.aether.connector.wagon.WagonRepositoryConnector$GetTask.run(WagonRepositoryConnector.java:571)
16:33:54,474 ERROR [stderr] (pool-14-thread-1)  at
org.sonatype.aether.util.concurrency.RunnableErrorForwarder$1.run(RunnableErrorForwarder.java:60)
16:33:54,474 ERROR [stderr] (pool-14-thread-1)  at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
16:33:54,474 ERROR [stderr] (pool-14-thread-1)  at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
16:33:54,475 ERROR [stderr] (pool-14-thread-1)  at
java.lang.Thread.run(Thread.java:722)


I also try to upload my parent pom ... but I get an error message The JAR
does not contain a valid pom ... of course it's not a JAR, it's just a
pom.xml

Can someone give me some hints on how to do this ? 

Can I workaround and do a mvn install to put the JAR in the REPO under
WIDLFLY_HOME/bin/repositories/kie ?

Any help or hint would be appreciated.


Regards
-JPS




--
View this message in context: 
http://drools.46999.n3.nabble.com/drools-wb-6-1-0-CR1-wildfly-error-when-upload-jar-M2-Repo-tp4030276.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


Re: [rules-users] kie-drools-wb-6.0.1 : view artifact repository is empty

2014-07-09 Thread jps
Reinstalled ok !



--
View this message in context: 
http://drools.46999.n3.nabble.com/kie-drools-wb-6-0-1-view-artifact-repository-is-empty-tp4028957p4030277.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users


[rules-users] kie-drools-wb-6.0.1 : view artifact repository is empty

2014-03-25 Thread jps
Hello, 

The artifact repository view in drools-wb is suddenly empty :( after having
uploaded a new jar. Before this operation, I had 3 artifacts that were
listed ..

I try to redeploy the app, restart jboss, delete JBOSS_HOME/bin/repository
and start again ... but still the list of artifact in the repository is
empty, although i can see it's not empty on the disk in
JBOSS_HOME/bin/repository/kie/... 


Something has been corrupted somewhere. But I'm stuck. Any idea or
suggestions ?
What can prevent drools-wb from getting the repo data ?

Thanks
jps



--
View this message in context: 
http://drools.46999.n3.nabble.com/kie-drools-wb-6-0-1-view-artifact-repository-is-empty-tp4028957.html
Sent from the Drools: User forum mailing list archive at Nabble.com.
___
rules-users mailing list
rules-users@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/rules-users