[JBoss JIRA] Created: (JBCACHE-1077) CacheLoaderManager preload may gravitate entire cache
by Brian Stansberry (JIRA)
CacheLoaderManager preload may gravitate entire cache
-----------------------------------------------------
Key: JBCACHE-1077
URL: http://jira.jboss.com/jira/browse/JBCACHE-1077
Project: JBoss Cache
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Cache loaders
Affects Versions: 2.0.0.CR1
Reporter: Brian Stansberry
Assigned To: Manik Surtani
Priority: Minor
If autoDataGravitation is set to true, the CacheLoaderManager.preloadCache/CacheLoaderManager.preload("/", true, true) combination will result in gravitation of the entire cache due to a call to Cache.get("/", "bla").
This is a case where an Option to suppress data gravitation would be useful. Currently we can force gravitation when autoDataGravitation is false, but not suppress it when true.
I marked this as minor because I don't remember any good use case for autoDataGravitation="true".
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years
[JBoss JIRA] Created: (JBPORTAL-1323) URL : Changing the context path / missing Root.war explaination
by Antoine Herzog (JIRA)
URL : Changing the context path / missing Root.war explaination
---------------------------------------------------------------
Key: JBPORTAL-1323
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1323
Project: JBoss Portal
Issue Type: Task
Security Level: Public (Everyone can see)
Components: Portal Documentation
Affects Versions: 2.4.1 Final
Environment: portal 2.4.0 final
Reporter: Antoine Herzog
Assigned To: Roy Russo
Priority: Minor
in the doc, in :
3.2 Changing the context path
if you want to set the context-root to "/" it does not work.
you must also change the context-root of "/" in the Root.war.
see the forum post for explaination.
** A) explain this in the doc would be better.
or at least notice it and send to the jboss doc
** B) Also : put in the doc the explanation for suppressing the "second portal" item in the url. (see forum post).
** C optionnal) then, the question is : how to define MyPortal as the default portal.
seems not possible, without changing the jboss portal default-object.xml in the conf folder in jboss-portal.sar:
put MyPortal description in this file.
but that's another jira...
(and need time to investigate this, and first see the forum about it).
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years
[JBoss JIRA] Created: (JBRULES-742) Test error running integration tests with Java 6
by Edson Tirelli (JIRA)
Test error running integration tests with Java 6
------------------------------------------------
Key: JBRULES-742
URL: http://jira.jboss.com/jira/browse/JBRULES-742
Project: JBoss Rules
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: Reteoo
Affects Versions: 3.1-m1
Reporter: Edson Tirelli
Assigned To: Mark Proctor
A user reported a strange error in integration tests:
<?xml version="1.0" encoding="UTF-8" ?>
<testsuite failures="0" time="16.094" errors="1" skipped="0" tests="107" name="org.drools.integrationtests.ReteTest">
<properties>
<property name="java.runtime.name" value="Java(TM) SE Runtime Environment"/>
<property name="sun.boot.library.path" value="C:\Program Files\Java\jre1.6.0\bin"/>
<property name="java.vm.version" value="1.6.0-b105"/>
<property name="java.vm.vendor" value="Sun Microsystems Inc."/>
<property name="java.vendor.url" value="http://java.sun.com/"/>
<property name="path.separator" value=";"/>
<property name="java.vm.name" value="Java HotSpot(TM) Client VM"/>
<property name="file.encoding.pkg" value="sun.io"/>
<property name="user.country" value="US"/>
<property name="sun.java.launcher" value="SUN_STANDARD"/>
<property name="sun.os.patch.level" value="Service Pack 2"/>
<property name="java.vm.specification.name" value="Java Virtual Machine Specification"/>
<property name="user.dir" value="c:\work-drools-trunk\trunk\drools-compiler"/>
<property name="java.runtime.version" value="1.6.0-b105"/>
<property name="java.awt.graphicsenv" value="sun.awt.Win32GraphicsEnvironment"/>
<property name="basedir" value="c:\work-drools-trunk\trunk\drools-compiler"/>
<property name="java.endorsed.dirs" value="C:\Program Files\Java\jre1.6.0\lib\endorsed"/>
<property name="os.arch" value="x86"/>
<property name="java.io.tmpdir" value="c:\DOCUME~1\ant\LOCALS~1\Temp\"/>
<property name="line.separator" value="
"/>
<property name="java.vm.specification.vendor" value="Sun Microsystems Inc."/>
<property name="user.variant" value=""/>
<property name="os.name" value="Windows XP"/>
<property name="sun.jnu.encoding" value="Cp1252"/>
<property name="java.library.path" value="c:\WINDOWS\system32;.;C:\WINDOWS\Sun\Java\bin;C:\WINDOWS\system32;C:\WINDOWS;C:\cygwin\usr\local\bin;C:\cygwin\bin;C:\cygwin\bin;C:\cygwin\usr\X11R6\bin;c:\ruby\bin;c:\Tcl\bin;c:\Python25\;c:\Perl\site\bin;c:\Perl\bin;c:\WINDOWS\system32;c:\WINDOWS;c:\WINDOWS\System32\Wbem;c:\Program Files\ATI Technologies\ATI.ACE\;c:\Program Files\cvsnt;c:\maven\bin;c:\apache-ant-1.7.0\bin;c:\jdk1.6.0\bin;c:\Sun\SDK\bin"/>
<property name="java.specification.name" value="Java Platform API Specification"/>
<property name="java.class.version" value="50.0"/>
<property name="sun.management.compiler" value="HotSpot Client Compiler"/>
<property name="os.version" value="5.1"/>
<property name="user.home" value="C:\Documents and Settings\ant"/>
<property name="user.timezone" value="Europe/Helsinki"/>
<property name="java.awt.printerjob" value="sun.awt.windows.WPrinterJob"/>
<property name="file.encoding" value="Cp1252"/>
<property name="java.specification.version" value="1.6"/>
<property name="user.name" value="ant"/>
<property name="java.class.path" value="C:\Documents and Settings\ant\.m2\repository\org\apache\maven\surefire\surefire-api\2.0\surefire-api-2.0.jar;C:\Documents and Settings\ant\.m2\repository\org\codehaus\plexus\plexus-utils\1.1\plexus-utils-1.1.jar;C:\Documents and Settings\ant\.m2\repository\org\apache\maven\surefire\surefire-booter\2.0\surefire-booter-2.0.jar"/>
<property name="java.vm.specification.version" value="1.0"/>
<property name="sun.arch.data.model" value="32"/>
<property name="java.home" value="C:\Program Files\Java\jre1.6.0"/>
<property name="java.specification.vendor" value="Sun Microsystems Inc."/>
<property name="user.language" value="en"/>
<property name="awt.toolkit" value="sun.awt.windows.WToolkit"/>
<property name="java.vm.info" value="mixed mode, sharing"/>
<property name="java.version" value="1.6.0"/>
<property name="java.ext.dirs" value="C:\Program Files\Java\jre1.6.0\lib\ext;C:\WINDOWS\Sun\Java\lib\ext"/>
<property name="sun.boot.class.path" value="C:\Program Files\Java\jre1.6.0\lib\resources.jar;C:\Program Files\Java\jre1.6.0\lib\rt.jar;C:\Program Files\Java\jre1.6.0\lib\sunrsasign.jar;C:\Program Files\Java\jre1.6.0\lib\jsse.jar;C:\Program Files\Java\jre1.6.0\lib\jce.jar;C:\Program Files\Java\jre1.6.0\lib\charsets.jar;C:\Program Files\Java\jre1.6.0\classes"/>
<property name="java.vendor" value="Sun Microsystems Inc."/>
<property name="localRepository" value="C:\Documents and Settings\ant\.m2\repository"/>
<property name="file.separator" value="\"/>
<property name="java.vendor.url.bug" value="http://java.sun.com/cgi-bin/bugreport.cgi"/>
<property name="sun.cpu.endian" value="little"/>
<property name="sun.io.unicode.encoding" value="UnicodeLittle"/>
<property name="sun.desktop" value="windows"/>
<property name="sun.cpu.isalist" value=""/>
</properties>
<testcase time="0.125" name="testDynamicFunction">
<error message="org/drools/test/AddFive" type="java.lang.NoClassDefFoundError">java.lang.NoClassDefFoundError: org/drools/test/AddFive
at org.drools.test.Rule_global_rule_test_0.consequence(Rule_global_rule_test_0.java:9)
at org.drools.test.Rule_global_rule_test_0ConsequenceInvoker.evaluate(Rule_global_rule_test_0ConsequenceInvoker.java:19)
at org.drools.common.DefaultAgenda.fireActivation(DefaultAgenda.java:484)
at org.drools.common.DefaultAgenda.fireNextItem(DefaultAgenda.java:448)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:365)
at org.drools.common.AbstractWorkingMemory.fireAllRules(AbstractWorkingMemory.java:346)
at org.drools.integrationtests.IntegrationCases.testDynamicFunction(IntegrationCases.java:1177)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
</error>
</testcase>
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years
[JBoss JIRA] Created: (JBPORTAL-1515) Execute permissions removed while building the jboss-portal src distro
by Rajesh Rajasekaran (JIRA)
Execute permissions removed while building the jboss-portal src distro
----------------------------------------------------------------------
Key: JBPORTAL-1515
URL: http://jira.jboss.com/jira/browse/JBPORTAL-1515
Project: JBoss Portal
Issue Type: Bug
Security Level: Public (Everyone can see)
Affects Versions: 2.6 CR3
Reporter: Rajesh Rajasekaran
Assigned To: Julien Viet
Fix For: 2.6 Final
A temporary copy of the portal src is made to the build/output directory before the src distro is created.
This ant copy task in distrib.xml removes all execute permissions on .sh files, the ant executable packaged etc.
Trying to build from the src distro says
[rrajasekaran@dev03 build]$ sh build.sh
build.sh: *WARNING* Ignoring environment value for $ANT_HOME
build.sh: *FATAL* Ant script is not executable: /home/rrajasekaran/jboss-portal-2.6-CR3-src/tools/bin/ant
The ant manual says
"Unix Note: File permissions are not retained when files are copied; they end up with the default UMASK permissions instead. This is caused by the lack of any means to query or set file permissions in the current Java runtimes."
Either the build needs to be modified or i can try something with the UMASK settings while building.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira
19 years