[rules-users] BRL rule parsing
Hi, is there any API using which we can create BRL in XML format and POST using REST API and vice versa, i.e an API that can parse the BRL and show it without any XML tags. -- View this message in context: http://drools.46999.n3.nabble.com/BRL-rule-parsing-tp4022060.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] Guvnor rule validation using Java Code?
Hi All, I have a requirement where I need to validate my rules mainly drls from java code without using guvnor interface. Is there any way to do that? Any king of validation in Package level is also acceptable. Thanks in Advance. -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-rule-validation-using-Java-Code-tp4021291.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] Customizing Drools Guvnor
Hi all, Can u tell me how can i add a fresh rule using Rest api to the guvnor??? -- View this message in context: http://drools.46999.n3.nabble.com/Customizing-Drools-Guvnor-tp4018616.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] Data type and Date format vlidation
Hi all, i have got some different situation. i need to validate data types in my drools rule. like need to find out that if a variable is integer or not etc. also need to check the date formats. like if the date format is like dd-mm-yy or dd-mm-. Thanks in advance :) -- View this message in context: http://drools.46999.n3.nabble.com/Data-type-and-Date-format-vlidation-tp3950113.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] Unable to view drls in guvnor
Thanks manstis... :) Yesuploaded the POJO jars. then in RAD -- R-Click-- guvnor-- add. its getting added to guvnor without any problems.even i can view then in url for package source. but not getting reflected in technical asset. also the same guvnor war worked perfectly in local but getting this problem after deploying it in DEV. one more...after deploying to DEV in the DEV guvnor i'm unable to save any asset. as i understand the problem may b due to the repository may not b configured properly. i deployed it once again in DEV after modifying the root folder path in componets.xml and also copied the contents of my local repository to that pathbut the problem remains the same -- View this message in context: http://drools.46999.n3.nabble.com/Unable-to-view-drls-in-guvnor-tp3919043p3922199.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] Unable to view drls in guvnor
Hi all, I have my guvnor deployed in WAS. Now i added the POJO model and drls from RAD(rational app developer) to my guvnor. I'm able to fire the rules from guvnor by using url for package source. But the problem is i'm not able to view any rules inside technical rule asset. but if i open the url for package source i can view the imports and rules inside them. Any idea about why this is happening? Thanks a lot in advance... :) :) :) -- View this message in context: http://drools.46999.n3.nabble.com/Unable-to-view-drls-in-guvnor-tp3919043p3919043.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] Need drl help for arraylist
Hi all, i need to write a rule to compare a String with a list of Strings (say String[] nameList). Person() { String name; } Values() { String[] nameList = new String[]{ abc, abcdef } } how can i write the rule?? when name of the person is same as any names in the nameList then do . i have tried different rule but still not able to get the desired output. Thanks a lot in advance :) :) :) -- View this message in context: http://drools.46999.n3.nabble.com/Need-drl-help-for-arraylist-tp3883683p3883683.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] Need drl help for arraylist
no did not tried that as i was not getting contains option by default. Thanks a lot laune. its working now. :) -- View this message in context: http://drools.46999.n3.nabble.com/Need-drl-help-for-arraylist-tp3883683p3883736.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] drl execution problem
Thanks manstis. it was really helpful -- View this message in context: http://drools.46999.n3.nabble.com/drl-execution-problem-tp3866929p3877788.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] drl problem
Hi, i'm having some problems(more like i'm just getting confused) while creating a rule for my project. I have 2 classes say Phone() and PhoneTC() like below: Phone() { String number; } PhoneTC() { String tc; } also PhoneTC() is inside the Phone() class. like: Phone()--String number PhoneTC()String tc now i need to create a rule like this when phone numbers are same and the tc values are different for that number then do something. will this work?? when ph1: Phone(number1 : number) phtc1: PhoneTC(tc1 : tc) Phone(number == number1) and PhoneTC(tc != tc1) then can u suggest better rule for the requirement?? thanks in advance... :) :) :) -- View this message in context: http://drools.46999.n3.nabble.com/drl-problem-tp3877814p3877814.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] drl problem
thanks manstis. i tried as u said. but when i'm adding this rule to guvnor and trying to validate it im getting this errors: Unable to create reader for 'phoneTC .tc':[Error: no such identifier: phoneTC ] [Near : {... phoneTC .tc }] ^[Line: 1, Column: 1] [DataDifference] Unable to Analyse Expression phoneTC .tc != $tc1: [Error: no such identifier: phoneTC ] [Near : {... phoneTC .tc != $tc1 }] ^ [Line: 1, Column: 1] [DataDifference] Unable to wire compiled classes, probably related to compilation failures:[Error: no such identifier: phoneTC ] [Near : {... phoneTC .tc }] ^[Line: 1, Column: 1] -- View this message in context: http://drools.46999.n3.nabble.com/drl-problem-tp3877814p3877904.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] drl problem
Thanks againg for replying so quickly. 1. view source: #created on: Mar 27, 2012 2. | 3. | #list any import classes here. 4. | 5. | import com.gpm.domain.*; 6. | import com.gpm.rules.vo.*; 7. | 8. | 9. | #declare any global variables here 10. | global DataDifferenceVO dataDifferenceVO; 11. | 12. | 13. | rule Phone_AreaCode_Rule 14. | when 15. | Phone( $areaCode1 : areaCode, $tc1 : phoneTypeCode .tc ) 16. | Phone( areaCode == $areaCode1 , phoneTypeCode .tc != $tc1 ) 17. | then 18. | dataDifferenceVO.getDataDiffArray().add(Party/Phone/AreaCode); 19. | end 2. guvnor version is 5.2 final 3. actual class: public class Phone { @XmlElement(name = PhoneKey) protected String phoneKey; @XmlElement(name = PhoneTypeCode) protected PhoneTypeCode phoneTypeCode; @XmlElement(name = AreaCode) protected String areaCode; @XmlElement(name = DialNumber) protected String dialNumber; @XmlElement(name = Ext) protected String ext; . . . } public class PhoneTypeCode { @XmlValue protected String value; @XmlAttribute protected String tc; ...} -- View this message in context: http://drools.46999.n3.nabble.com/drl-problem-tp3877814p3877957.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] drl problem
ok...then you are saying that this code should work on RAD perfectly...sorry i'm asking so silly questions because i dont have the required files to run the code at present...so cant check it myself -- View this message in context: http://drools.46999.n3.nabble.com/drl-problem-tp3877814p3878059.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] drl execution problem
i have one drl like below: rule FirstNameDifference no-loop true lock-on-active true when person1: Person( $firstName1: firstName ) person2: Person( firstName != $firstName1 ) then dataDifferenceVO.getDataDiffArray().add(Person/FirstName); end i'm passing a list of objects in which i have 2 person type objects. my aim is to check if the firstnames are same or different. if its different i need to add one String to the DataDiffArray that is declared inside DataDifferenceVO class. but as i pass 2 person objects in the WM the rule is getting executed twice. i.e, the string Person/FirstName is getting added twice in the array list. why is this happening?... the rule should compare 2 firstnames and return one String...is not that?... what step should i take to achive what i want Thanks a lot i advance... :) :) :) -- View this message in context: http://drools.46999.n3.nabble.com/drl-execution-problem-tp3866929p3866929.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] drl execution problem
Thanks manstis. Yes i think u r right. but how can i get it working for only once??? -- View this message in context: http://drools.46999.n3.nabble.com/drl-execution-problem-tp3866929p3866995.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] Deployment Problem
Solved the above problems. but getting something new. The errors are as follow: Could not instantiate Seam component: repositoryConfiguration org.apache.xalan.processor.TransformerFactoryImpl incompatible with javax.xml.transform.TransformerFactory java.lang.VerifyError: class loading constraint violated (class: com/sun/faces/config/rules/FacesConfigRule method: begin(Ljava/lang/String;Ljava/lang/String;Lorg/xml/sax/Attributes;)V) at pc: 0 The full console view is as follow: Start Display Current Environment WebSphere Platform 6.1 [BASE 6.1.0.19 cf190836.04] running with process name PC151144Node03Cell\PC151144Node03\server1 and process id 2712 Host Operating System is Windows Vista, version 6.1 build 7600 Java version = J2RE 1.5.0 IBM J9 2.3 Windows Vista x86-32 j9vmwi3223ifx-20080811 (JIT enabled) J9VM - 20080809_21892_lHdSMr JIT - 20080620_1845_r8 GC - 200806_19, Java Compiler = j9jit23, Java VM name = IBM J9 VM was.install.root = C:/Program Files/IBM/SDP/runtimes/base_v61 user.install.root = C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\App_Srv Java Home = C:\Program Files\IBM\SDP\runtimes\base_v61\java\jre ws.ext.dirs = C:/Program Files/IBM/SDP/runtimes/base_v61/java/lib;C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\App_Srv/classes;C:/Program Files/IBM/SDP/runtimes/base_v61/classes;C:/Program Files/IBM/SDP/runtimes/base_v61/lib;C:/Program Files/IBM/SDP/runtimes/base_v61/installedChannels;C:/Program Files/IBM/SDP/runtimes/base_v61/lib/ext;C:/Program Files/IBM/SDP/runtimes/base_v61/web/help;C:/Program Files/IBM/SDP/runtimes/base_v61/deploytool/itp/plugins/com.ibm.etools.ejbdeploy/runtime Classpath = C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\App_Srv/properties;C:/Program Files/IBM/SDP/runtimes/base_v61/properties;C:/Program Files/IBM/SDP/runtimes/base_v61/lib/startup.jar;C:/Program Files/IBM/SDP/runtimes/base_v61/lib/bootstrap.jar;C:/Program Files/IBM/SDP/runtimes/base_v61/lib/j2ee.jar;C:/Program Files/IBM/SDP/runtimes/base_v61/lib/lmproxy.jar;C:/Program Files/IBM/SDP/runtimes/base_v61/lib/urlprotocols.jar;C:/Program Files/IBM/SDP/runtimes/base_v61/deploytool/itp/batchboot.jar;C:/Program Files/IBM/SDP/runtimes/base_v61/deploytool/itp/batch2.jar;C:/Program Files/IBM/SDP/runtimes/base_v61/java/lib/tools.jar Java Library path = C:\Program Files\IBM\SDP\runtimes\base_v61\java\jre\bin;.;C:\Program Files\IBM\SDP\runtimes\base_v61\bin;C:\Program Files\IBM\SDP\runtimes\base_v61\java\bin;C:\Program Files\IBM\SDP\runtimes\base_v61\java\jre\bin;.;C:\Program Files\Java\jdk1.6.0_03\bin;C:\Windows\system32;C:\Windows;C:\Windows\System32\Wbem;C:\Windows\System32\WindowsPowerShell\v1.0\;C:\PROGRA~1\IBM\SQLLIB\BIN;C:\PROGRA~1\IBM\SQLLIB\FUNCTION;C:\PROGRA~1\IBM\SQLLIB\SAMPLES\REPL;C:\Program Files\Common Files\MicroStrategy;C:\Program Files\MicroStrategy\Administrator\Command Manager;C:\Program Files\MicroStrategy\Administrator\Enterprise Manager;C:\Program Files\MicroStrategy\Desktop;C:\Program Files\MicroStrategy\Integrity Manager;C:\Program Files\Common Files\MicroStrategy\JRE\160_07\Win32\bin;C:\Program Files\Common Files\MicroStrategy\Documentation;;C:\Program Files\Borland\StarTeam SDK 10.1\Lib;C:\Program Files\Borland\StarTeam SDK 10.1\Bin * End Display Current Environment * [3/1/12 14:25:36:353 IST] 000a ManagerAdmin I TRAS0017I: The startup trace state is *=info. [3/1/12 14:25:36:725 IST] 000a ManagerAdmin I TRAS0111I: The message IDs that are in use are deprecated [3/1/12 14:25:36:856 IST] 000a AdminInitiali A ADMN0015I: The administration service is initialized. [3/1/12 14:25:37:367 IST] 000a PluginConfigS I PLGC0057I: The plug-in configuration service started successfully. [3/1/12 14:25:37:398 IST] 000a ManagedObject I Processing extension point com.ibm.wsspi.extension.managed-object-metadata-collector [3/1/12 14:25:37:495 IST] 000a WorkSpaceMana A WKSP0500I: Workspace configuration consistency check is false. [3/1/12 14:25:37:611 IST] 000a SSLComponentI I CWPKI0001I: SSL service is initializing the configuration [3/1/12 14:25:37:649 IST] 000a WSKeyStoreW CWPKI0041W: One or more key stores are using the default password. [3/1/12 14:25:37:679 IST] 000a SSLConfigMana I CWPKI0027I: Disabling default hostname verification for HTTPS URL connections. [3/1/12 14:25:37:690 IST] 000a SSLDiagnostic I CWPKI0014I: The SSL component's FFDC Diagnostic Module com.ibm.ws.ssl.core.SSLDiagnosticModule registered successfully: true. [3/1/12 14:25:37:695 IST] 000a SSLComponentI I CWPKI0002I: SSL service initialization completed successfully [3/1/12 14:25:37:709 IST] 000a DiagnosticCon I com.ibm.wsspi.rasdiag.DiagnosticConfigHome setStateCollectionSpec RASD0012I: Updating State Collection Spec from Uninitialized Value to .*:.*=0 [3/1/12 14:25:37:729 IST] 000a PMIImpl A CWPMI1001I: PMI is enabled [3/1/12 14:25:38:176 IST] 000a SibMessageI [:]
[rules-users] Guvnor Problem
Hi all, I have deployed guvnor 5.1 in WAS 6.1. i get no errors while deploying. the guvnor link is working fine. but after uploading any pojo model when i'm trying to validate it, its saying that it cannot find the Class inside the package. but if i download the model from the guvnor, i'm getting the full class structure inside the jar. also getting problem while creating the rule as no facts are coming. do u know why this is happening -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-Problem-tp3790091p3790091.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] Deployment Problem
Hi all, while deploying my guvnor to WAS 6.1 in getting the following error: two packages with the same @Namespace: http://jboss.com/products/seam/security Can u please help me to solve this. my components.xml is as follow: ?xml version=1.0 encoding=UTF-8? components xmlns=http://jboss.com/products/seam/components; xmlns:core=http://jboss.com/products/seam/core; xmlns:security=http://jboss.com/products/seam/security; xmlns:web=http://jboss.com/products/seam/web; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xmlns:transaction=http://jboss.com/products/seam/transaction; xsi:schemaLocation= http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd http://jboss.com/products/seam/web http://jboss.com/products/seam/web-2.0.xsd http://jboss.com/products/seam/transaction http://jboss.com/products/seam/transaction-2.0.xsd; core:init transaction-management-enabled=false/ transaction:no-transaction/ component name=repositoryConfiguration /component security:identity authenticate-method=#{defaultAuthenticator.authenticate}/ security:role-based-permission-resolver enable-role-based-authorization=false/ /components -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-Problem-tp3786810p3786810.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] Deployment Problem
Thanks for ur reply. I checked the lib of WAS its not having any such jar files. However i then removed the JBoss-seam.jar from the WAS lib and only included it in the WAR. Now, after deployment i'm getting new exceptions like below: The statement was aborted because it would have caused a duplicate key value in a unique or primary key constraint or unique index identified by 'SQL120203025943640' defined on 'DEFAULT_BUNDLE'. -- View this message in context: http://drools.46999.n3.nabble.com/Deployment-Problem-tp3786810p3789583.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] Problem while running the project
Hi all, when i deployed my EAR in the websphere application server it's deployed successfully without any errors. But when i'm trying to run my project by passing a request xml i'm getting some errors as shown below. I'm using drools 5.1 and WAS 6.1. java.lang.UnsupportedClassVersionError: (com/ibm/xmlns/prod/websphere/wcc/common/intf/schema/Control) bad major version at offset=6 ServletWrappe E Deregister the mbean because of uncaught init() exception thrown by servlet spring-ws: javax.servlet.ServletException: SRVE0207E: Uncaught initialization exception thrown by servlet here is the full console view: [2/22/12 14:10:58:616 IST] 0022 WebAppA SRVE0180I: [GPMServicesEAR#GPMServices.war] [/GPMServices] [Servlet.LOG]: Initializing Spring FrameworkServlet 'spring-ws' [2/22/12 14:10:58:616 IST] 0022 MessageDispat I org.springframework.web.servlet.FrameworkServlet initServletBean FrameworkServlet 'spring-ws': initialization started [2/22/12 14:10:58:666 IST] 0022 XmlWebApplica I org.springframework.context.support.AbstractApplicationContext prepareRefresh Refreshing WebApplicationContext for namespace 'spring-ws-servlet': startup date [Wed Feb 22 14:10:58 IST 2012]; root of context hierarchy [2/22/12 14:10:58:746 IST] 0022 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions Loading XML bean definitions from ServletContext resource [/WEB-INF/spring-ws-servlet.xml] [2/22/12 14:10:59:562 IST] 0022 XmlBeanDefini I org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions Loading XML bean definitions from ServletContext resource [/WEB-INF/beans-def/gpm-services.xml] [2/22/12 14:11:00:066 IST] 0022 AnnotationAct I org.springframework.ws.soap.addressing.server.AbstractAddressingEndpointMapping afterPropertiesSet Supporting [WS-Addressing August 2004, WS-Addressing 1.0] [2/22/12 14:11:00:136 IST] 0022 DefaultListab I org.springframework.beans.factory.support.DefaultListableBeanFactory preInstantiateSingletons Pre-instantiating singletons in org.springframework.beans.factory.support.DefaultListableBeanFactory@44344434: defining beans [adapterUtil,addPartyContextAdapterToMdm,addressAdapterToMDM,alertsAdapterToMDM,compositePartyInquiryAdapterToMDM,createSuspectsAdapterToMDM,emailAdapterToMDM,getPartyContextAdapterToMdm,getPartyRelationsAdapterToMdm,govtIdInfoAdapterToMDM,oLifeAdapterToMDM,organizationAdapterToMDM,organizationSearchAdapterToMDM,partyAdapterToMDM,partyContextAdapterToMdm,partyDimensionAdapterToMDM,partyInquiryAdapterToMDM,partyInsertAdapterToMdm,partyMatchAdapterToMDM,partyRelationshipAdapterToMdm,partySearchAdapterToMDM,partyUpdateAdapterToMDM,personAdapterToMDM,phoneAdapterToMDM,updatePartyRelationsAdapterToMdm,addressAdapterToRule,govtIdInfoAdapterToRule,organizationAdapterToRule,partyAdapterToRule,personAdapterToRule,phoneAdapterToRule,standardizationAdapterToTrillium,addressAdapterFromMDM,alertsAdapterFromMDM,compositePartyInquiryAdapterFromMDM,emailAdapterFromMDM,govtIdInfoAdapterFromMDM,organizationAdapterFromMDM,organizationSearchAdapterFromMDM,partyAdapterFromMDM,partyInquiryAdapter! FromMDM,partyInsertAdapterFromMDM,partySearchAdapterFromMDM,partyUpdateAdapterFromMDM,personAdapterFromMDM,phoneAdapterFromMDM,relationAdapterFromMDM,ludAdapterToRule,requestPartyAdapterToRule,responsePartyAdapterToRule,suspectPartyAdapterToRule,addressAdapterFromRule,govtIdInfoAdapterFromRule,organizationAdapterFromRule,partyAdapterFromRule,personAdapterFromRule,phoneAdapterFromRule,standardizationAdapterFromTrillium,organizationSearchUtil,personSearchUtil,standardizationUtil,abstractWebServiceConnector,gpmCommonUtil,gpmDomainUtil,notificationMessageGenerator,globalPartyRuleImpl,survivorshipServiceImpl,gpmRuleUtil,survivorshipUtil,partyInquiryServiceImpl,partyInsertServiceImpl,partyUpdateServiceImpl,transactionLogServiceImpl,transactionLogger,globalPartyWS,org.springframework.context.annotation.internalConfigurationAnnotationProcessor,org.springframework.context.annotation.internalAutowiredAnnotationProcessor,org.springframework.context.annotation.internalRequiredAnnotatio! nProcessor,org.springframework.ws.server.endpoint.mapping.Payl! oadRootA
Re: [rules-users] Unable to save or validate facts in Guvnor
Guvnor 5.1 and it's running on Websphere application server 6.1. The error is coming when i'm trying to save or validate anything. I tried to export thr repository and got this in the console: [2/9/12 11:58:02:401 IST] 0023 SystemOut O DEBUG 09-02 11:58:02,401 (RepositoryBackupServlet.java:processExportRepositoryDownload:115) Starting to process export [2/9/12 11:58:02:401 IST] 0023 WrappingFileO W switchFiles TRAS0031W: Unable to rename file C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\logs\server1\SystemOut.log to C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\logs\server1\SystemOut_12.02.09_11.58.02.log during log file rollover. Attempting to copy file contents. [2/9/12 11:58:02:422 IST] 0023 SystemOut O DEBUG 09-02 11:58:02,422 (RepositoryServlet.java:getFileManager:69) WARNING: RUNNING IN NON SEAM MODE SINGLE USER MODE - ONLY FOR TESTING AND DEBUGGING ! [2/9/12 11:58:02:457 IST] 0023 SystemOut O ERROR 09-02 11:58:02,455 (RulesRepository.java:exportRulesRepositoryToStream:999) java.lang.NullPointerException at org.apache.jackrabbit.core.value.BLOBInDataStore.getDataRecord(BLOBInDataStore.java:135) at org.apache.jackrabbit.core.value.BLOBInDataStore.getStream(BLOBInDataStore.java:101) at org.apache.jackrabbit.value.BinaryValue.getStream(BinaryValue.java:157) at org.apache.jackrabbit.value.ValueHelper.serialize(ValueHelper.java:679) at org.apache.jackrabbit.commons.xml.SystemViewExporter.exportValue(SystemViewExporter.java:122) at org.apache.jackrabbit.commons.xml.SystemViewExporter.exportProperty(SystemViewExporter.java:102) at org.apache.jackrabbit.commons.xml.SystemViewExporter.exportProperty(SystemViewExporter.java:87) at org.apache.jackrabbit.commons.xml.Exporter.exportProperty(Exporter.java:363) at org.apache.jackrabbit.commons.xml.Exporter.exportProperties(Exporter.java:268) at org.apache.jackrabbit.commons.xml.SystemViewExporter.exportNode(SystemViewExporter.java:77) at org.apache.jackrabbit.commons.xml.Exporter.exportNode(Exporter.java:294) at org.apache.jackrabbit.commons.xml.Exporter.exportNodes(Exporter.java:213) at org.apache.jackrabbit.commons.xml.SystemViewExporter.exportNode(SystemViewExporter.java:78) at org.apache.jackrabbit.commons.xml.Exporter.exportNode(Exporter.java:297) at org.apache.jackrabbit.commons.xml.Exporter.exportNodes(Exporter.java:213) at org.apache.jackrabbit.commons.xml.SystemViewExporter.exportNode(SystemViewExporter.java:78) at org.apache.jackrabbit.commons.xml.Exporter.exportNode(Exporter.java:297) at org.apache.jackrabbit.commons.xml.Exporter.export(Exporter.java:143) at org.apache.jackrabbit.commons.AbstractSession.export(AbstractSession.java:543) at org.apache.jackrabbit.commons.AbstractSession.exportSystemView(AbstractSession.java:257) at org.apache.jackrabbit.commons.AbstractSession.exportSystemView(AbstractSession.java:311) at org.drools.repository.RulesRepository.exportRulesRepositoryToStream(RulesRepository.java:994) at org.drools.guvnor.server.files.FileManagerUtils.exportRulesRepository(FileManagerUtils.java:249) at org.drools.guvnor.server.files.RepositoryBackupServlet.processExportRepositoryDownload(RepositoryBackupServlet.java:118) at org.drools.guvnor.server.files.RepositoryBackupServlet.doGet(RepositoryBackupServlet.java:98) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1101) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at
[rules-users] Unable to start guvnor with no initial repository
Hi all, I'm running my Guvnor 5.2 on WAS 6.1. But after deploying the war file when i'm trying to hit the guvnor link i'm getting the following errors: [2/1/12 12:41:04:483 IST] 0028 SystemOut O ERROR 01-02 12:41:04,483 (LoggingHelper.java:error:69)Service method 'public abstract java.lang.String[] org.drools.guvnor.client.rpc.RepositoryService.listStates() throws com.google.gwt.user.client.rpc.SerializationException' threw an unexpected exception: java.lang.IllegalStateException: java.lang.NullPointerException java.lang.IllegalStateException: java.lang.NullPointerException at org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113) at org.drools.guvnor.server.RepositoryServiceServlet.getService(RepositoryServiceServlet.java:69) at org.drools.guvnor.server.RepositoryServiceServlet.listStates(RepositoryServiceServlet.java:630) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processPost(RemoteServiceServlet.java:248) at com.google.gwt.user.server.rpc.AbstractRemoteServiceServlet.doPost(AbstractRemoteServiceServlet.java:62) at javax.servlet.http.HttpServlet.service(HttpServlet.java:763) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at com.ibm.ws.webcontainer.servlet.ServletWrapper.service(ServletWrapper.java:1095) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:569) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.ws.webcontainer.servlet.CacheServletWrapper.handleRequest(CacheServletWrapper.java:90) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:748) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpICLReadCallback.complete(HttpICLReadCallback.java:102) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Caused by: java.lang.NullPointerException at org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:75) ... 30 more [2/1/12 12:41:04:483 IST] 0021 SystemOut O ERROR 01-02 12:41:04,483 (LoggingHelper.java:error:69)Service method 'public abstract java.lang.String[] org.drools.guvnor.client.rpc.CategoryService.loadChildCategories(java.lang.String)' threw an unexpected exception: java.lang.IllegalStateException: java.lang.NullPointerException java.lang.IllegalStateException: java.lang.NullPointerException at org.drools.guvnor.server.util.TestEnvironmentSessionHelper.getSession(TestEnvironmentSessionHelper.java:113) at org.drools.guvnor.server.RepositoryServiceServlet.getCategoryService(RepositoryServiceServlet.java:120) at org.drools.guvnor.server.RepositoryServiceServlet.loadChildCategories(RepositoryServiceServlet.java:188) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:618) at com.google.gwt.user.server.rpc.RPC.invokeAndEncodeResponse(RPC.java:569) at com.google.gwt.user.server.rpc.RemoteServiceServlet.processCall(RemoteServiceServlet.java:208) at
Re: [rules-users] Guvnor deployment problem on websphere 6.1
Getting this errors when I'm trying to hit the link http://localhost:9080/drools-guvnor/index.jsp; How to solve this??? Deployed guvnor 5.2 on WAS 6.1. [1/24/12 16:15:00:744 IST] 0025 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl open FFDC0009I: FFDC opened incident stream file C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\logs\ffdc\server1_0025_12.01.24_16.15.00_0.txt [1/24/12 16:15:00:744 IST] 0025 ServiceLogger I com.ibm.ws.ffdc.IncidentStreamImpl resetIncidentStream FFDC0010I: FFDC closed incident stream file C:\Program Files\IBM\SDP\runtimes\base_v61\profiles\was61profile1\logs\ffdc\server1_0025_12.01.24_16.15.00_0.txt [1/24/12 16:15:06:073 IST] 0025 ServletWrappe I SRVE0242I: [drools-guvnor_war] [/drools-guvnor] [/index.jsp]: Initialization successful. [1/24/12 16:15:06:108 IST] 0025 WebAppE [Servlet Error]-[/index.jsp]: java.lang.NoClassDefFoundError: javassist.util.proxy.MethodHandler at java.lang.J9VMInternals.verifyImpl(Native Method) at java.lang.J9VMInternals.verify(J9VMInternals.java:68) at java.lang.J9VMInternals.initialize(J9VMInternals.java:129) at org.jboss.seam.web.ServletContexts.instance(ServletContexts.java:42) at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:39) at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:285) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) Caused by: java.lang.ClassNotFoundException: javassist.util.proxy.MethodHandler at java.net.URLClassLoader.findClass(URLClassLoader.java:496) at com.ibm.ws.bootstrap.ExtClassLoader.findClass(ExtClassLoader.java:132) at java.lang.ClassLoader.loadClass(ClassLoader.java:631) at com.ibm.ws.bootstrap.ExtClassLoader.loadClass(ExtClassLoader.java:87) at java.lang.ClassLoader.loadClass(ClassLoader.java:597) ... 34 more -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-deployment-problem-on-websphere-6-1-tp3672065p3684314.html Sent from the Drools: User forum mailing list archive at Nabble.com. ___ rules-users mailing list rules-users@lists.jboss.org
[rules-users] Which version of Guvnor is compatible with Websphere Application Server 6.1 ???
I can't able deploy guvnor 5.1 in WAS 6.1. getting lots of error. can u please let me khon which version of guvnor is most compatible with WAS 6.1??? Erros: [1/23/12 18:51:26:015 IST] 0022 WebAppE [Servlet Error]-[/index.jsp]: java.lang.NullPointerException at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:39) at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) at com.ibm.ws.webcontainer.filter.FilterInstanceWrapper.doFilter(FilterInstanceWrapper.java:190) at com.ibm.ws.webcontainer.filter.WebAppFilterChain.doFilter(WebAppFilterChain.java:130) at com.ibm.ws.webcontainer.filter.WebAppFilterChain._doFilter(WebAppFilterChain.java:87) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:832) at com.ibm.ws.webcontainer.filter.WebAppFilterManager.doFilter(WebAppFilterManager.java:679) at com.ibm.ws.webcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:565) at com.ibm.ws.wswebcontainer.servlet.ServletWrapper.handleRequest(ServletWrapper.java:478) at com.ibm.wsspi.webcontainer.servlet.GenericServletWrapper.handleRequest(GenericServletWrapper.java:122) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionServletWrapper.handleRequest(AbstractJSPExtensionServletWrapper.java:226) at com.ibm.ws.jsp.webcontainerext.AbstractJSPExtensionProcessor.handleRequest(AbstractJSPExtensionProcessor.java:285) at com.ibm.ws.webcontainer.webapp.WebApp.handleRequest(WebApp.java:3440) at com.ibm.ws.webcontainer.webapp.WebGroup.handleRequest(WebGroup.java:267) at com.ibm.ws.webcontainer.WebContainer.handleRequest(WebContainer.java:815) at com.ibm.ws.wswebcontainer.WebContainer.handleRequest(WebContainer.java:1461) at com.ibm.ws.webcontainer.channel.WCChannelLink.ready(WCChannelLink.java:118) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleDiscrimination(HttpInboundLink.java:458) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.handleNewInformation(HttpInboundLink.java:387) at com.ibm.ws.http.channel.inbound.impl.HttpInboundLink.ready(HttpInboundLink.java:267) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.sendToDiscriminators(NewConnectionInitialReadCallback.java:214) at com.ibm.ws.tcp.channel.impl.NewConnectionInitialReadCallback.complete(NewConnectionInitialReadCallback.java:113) at com.ibm.ws.tcp.channel.impl.AioReadCompletionListener.futureCompleted(AioReadCompletionListener.java:165) at com.ibm.io.async.AbstractAsyncFuture.invokeCallback(AbstractAsyncFuture.java:217) at com.ibm.io.async.AsyncChannelFuture.fireCompletionActions(AsyncChannelFuture.java:161) at com.ibm.io.async.AsyncFuture.completed(AsyncFuture.java:136) at com.ibm.io.async.ResultHandler.complete(ResultHandler.java:195) at com.ibm.io.async.ResultHandler.runEventProcessingLoop(ResultHandler.java:743) at com.ibm.io.async.ResultHandler$2.run(ResultHandler.java:873) at com.ibm.ws.util.ThreadPool$Worker.run(ThreadPool.java:1473) -- View this message in context: http://drools.46999.n3.nabble.com/Which-version-of-Guvnor-is-compatible-with-Websphere-Application-Server-6-1-tp3681797p3681797.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] Guvnor deployment problem on websphere 6.1
I have modified the pom.xml as mentioned in https://community.jboss.org/wiki/DeployingGuvnor5OnWebSphere; . also created the custom propertied in WAS. but after installing the guvnor 5.1 war when i'm trying to get the login page hitting the url i'm just getting a blank page. I'm new to drools and not getting where the problem is...can you please tell me step by step process to follow to install guvnor in WAS. Thanks -- View this message in context: http://drools.46999.n3.nabble.com/Guvnor-deployment-problem-on-websphere-6-1-tp3672065p3672065.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 Guvnor 5.1 in WAS 6.1 server
Hi all, I'm new to Drools and facing some difficulties to run Guvnor in websphere 6.1 server. I'm not finding any specific doc or guideline that i can follow to deploy Guvnor 5.1 in WAS 6.1 server. Can you please guide me step by step to deploy guvnor in WAS. It's very urgent and I need to do it as soon as possible. please help. Thanks in advance... -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-5-1-in-WAS-6-1-server-tp3669083p3669083.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 Guvnor 5.1 in WAS 6.1 server
Thanks a lot Jervis Liu. I followed the link provided by u. But one of the link(to adjust the Guvnor settings) is not working. please provide me some info about this. I need to complete this task by 2day. anyone having experiance in installing Guvnor in WAS 6.1 please help. Thanks in advance -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-5-1-in-WAS-6-1-server-tp3669083p3671520.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 Guvnor 5.1 in WAS 6.1 server
Hi, I'm not able to open this link to adjust guvnor settings. https://zuxho14:9045/ibm/help/index.jsp?topic=/com.ibm.ws.console.appmanagement/urun_rapp_classload.html Looks like the site is not available now. Please share some alternative link. or if u have the informations shared in this link please share it. -- View this message in context: http://drools.46999.n3.nabble.com/Drools-Guvnor-5-1-in-WAS-6-1-server-tp3669083p3671587.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