[JBoss-user] [Clustering/JBoss] - Re: Cold Deployment
anonymous wrote : Is there a recommended best practice for deployment that can mitigate this issue? For example, would having each node point to a central HTTP farm URL help at all, since it might be easier to trigger hot deployment everywhere by updating the "last modified" time on the centrally-distributed file? | Sure, this would work. Others have followed this approach as well to work around the farm deployment issues. The central farm url (perhaps a shared filesystem) can be a single point of failure but you could add a secondary (alternative) farm folder in case the shared filesystem crashes. Regarding your other question of what the timetable is for fixing this. The problem has been recorded in the Jira system and design forums, however, there is no timetable set for resolving these issues. http://jira.jboss.com/jira/browse/JBAS-1322 describes the problem that you have hit. http://jira.jboss.com/jira/browse/JBAS-2326 describes a problem that you could hit if connectivity between nodes breaks and latest resumes (cluster nodes continue to run throughout this situation but do not react to changes made while disconnected from the rest of cluster.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956283#3956283 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956283 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: ClusterFileTransferException
Something went wrong on the first machine that you started as that is where we are trying to pull hello.ear from. Check the console of the machine that you started first. I'm hoping that we will see an error message there indicating what went wrong when we tried to pull hello.ear. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955794#3955794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955794 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Deployment exploded war to jboss cluster
The archive needs to be J2EE deployable as it normally would need to be (including the WEB-INF). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955657#3955657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955657 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Deployment exploded war to jboss cluster
Hi Rajesh, No, you cannot deploy exploded war(s) to the Jboss cluster. You could either build the war each time as you suggest or you could use non-clustered deployment on a shared file system (e.g. instead of using farm folder, use alternative deploy folder that is shared between server machines). The issue was reported via http://jira.jboss.com/jira/browse/JBAS-1239 You can vote for the issue to be fixed if you like. Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955623#3955623 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955623 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Size of Farming Buffer
Try using the 4.0.4 cr2 app server build and see if you can recreate it. If so, create a Jira with your archive as an attachment. I'm not sure why you are seeing the behavior that you describe. I assume its not a full disk problem. If you need an immediate workaround, you could update jboss/server/all/jboss-service.xml to define a networked drive for sharing applications on the cluster. See the section on labeled Deployment Scanning. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941614#3941614 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941614 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Size of Farming Buffer
Hi, What version of the app server are you using? In release 4.0.2 and earlier, we allocate a byte array buffer equal in size to the file size. In later releases (4.0.3), we do a streaming file transfer using a small memory buffer. In either case, we transfer the file to a temporary folder until all of the bits are transferred and then we move the file to the farm folder. Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940843#3940843 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940843 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Deploying EJB 3 ear via Farming
As a test, could you take the application out of the farm folder. I would like to copy it into the deploy folder on each cluster node. I suspect that the same problem will reproduce (from what you have said). This will help determine if the problem is caused by combining farm deployment with the deployment of the clustered application. Should be interesting. Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3940841#3940841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3940841 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Deployment from a Restarted Nodes in a Cluster does not
Can you recreate with 4.0.4CR2? There is no service pack 2 release for 4.0.4. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936242#3936242 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936242 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Deployment from a Restarted Nodes in a Cluster does not
This could be related to http://jira.jboss.com/jira/browse/JBCLUSTER-42. Some farm deployment problems (such as JBCLUSTER-42) were resolved for the 4.0.3 app server release. The 4.0.4 release has additional problems resolved. Can you try to reproduce with 4.0.4 sp2? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936240#3936240 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936240 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Replication of expanded apps
The Jira link is http://jira.jboss.com/jira/browse/JBAS-1239. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934459#3934459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934459 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: linkedhashmap and order of elements
LinkedHashMap is currently not supported. I added LinkedHashMap to Jira issue http://jira.jboss.com/jira/browse/JBCACHE-166. You can vote for this Jira issue if you think its important. We currently support the following implementations: HashMap - This is the only only offering hashed key lookup but is not ordered. HashSet - The items are not ordered. ArrayList - The items are ordered but no hashed key lookup. The above are the current constraints as the other concrete collections classes aren't supported yet. I suppose that you could put your key value pairs in a HashMap for fast lookup. You could also put the values in an arraylist for ordered iteration (you could put the key in also if needed.) Or perhaps you only want to put the key values in the arraylist. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930344#3930344 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930344 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Replication Bug with Collection proxies
I think this a bug. Please create a Jira for it and assign to me. Thanks, Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929329#3929329 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929329 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
anonymous wrote : Ideally, the Collection proxies should exactly behave the way normal Java Collections/Maps do.. | Atleast user knows what to expect out of it and | this would also prevent related issues popping up later on... I agree. We should work towards this goal. I see that you have voted for JBCACHE-399 which is good, it helps us to know how many people want a bug to be fixed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929312#3929312 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929312 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
We should be releasing a beta 2 build of JBossCache 1.3 soon that you can try. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929309#3929309 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929309 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
Jira http://jira.jboss.com/jira/browse/JBCACHE-399 requests that we change the Map implementation to not convert Key object values to String. You should vote for this Jira if this is important to you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929129#3929129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929129 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
Currently, we convert the key objects into String (via toString()). The bug was that we didn't always do this consistently. My fix doesn't change the way we convert key objects to String. My fix changes Map.containsKey to also convert the key to string. We already fixed Map.get to convert the key to String in 1.3. With my fix applied, you will still get String values from the collection for the key. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929084#3929084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929084 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
Never mind, I created the Jira JBCACHE-496 for this problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928923#3928923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928923 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Collection proxy(Map) bug with Long values as keys
Nice find! If you create a Jira for this, I'll fix it for the JBoss Cache 1.3 release. Assign it to me for release 1.3. This needs to be done today. The workaround is: System.out.println(guidMap2.containsKey(new Long("8225676592564383").toString())). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3928867#3928867 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3928867 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss-Hibernate Performance Test
You said that you "slimmed" down the application server (at least you said that you read the wiki about doing that). Did you turn off "development" mode in your server/slim/jbossweb-tomcat50.sar/conf/web.xml? If no, then do so and try your perf test again. If yes, check the java memory situation gc. If the free java memory number is around the same, memory is probably okay. If free java memory decreases (again after the gc) over time, then you need to figure out why. If memory is okay, you need to dive into what is going on within your application when running under load. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926786#3926786 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926786 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss-Hibernate Performance Test
You may know this already (I think its mentioned on the JBossASTuningSliming page). If the requests are directly or indirectly writing to a log file, they will almost run in single threaded fashion. To eliminate this possibility, I would check the "jboss/server/yourprofile/log" for any log files that are growing during the test. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926554#3926554 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926554 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
It is not a real solution, but doing the remove operation outside of a transaction avoids the bug. I'll keep working on this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926292#3926292 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926292 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
I still haven't reproduced with running it as part of a unit test. I'll try using your cach-config file next. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926267#3926267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926267 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
Great news, I enabled the Sleepycat based classloader and can now reproduce the error. Can you create a jira for this and reference this forum thread? Thank you! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926279#3926279 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926279 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
Hmm, last post didn't look so good. My cache config section for CacheLoaderCache looks like this | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926274#3926274 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926274 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
I'm using your cache configuration now and not seeing the problem. I did make one change that I would like you to make also. I took a shortcut and commented out the database loader config. Could you also try commenting out the following in your cache config file. If this worksaround the issue, I'll follow that path for reproducing (otherwise, I won't bother with a db). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926270#3926270 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926270 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
I spoke too soon, I misread my debug output information. I noticed in the test code that you put the POJO in the cache but you don't retrieve it. I think you should try retrieving it after putting it in and use the retrieved copy instead of the original. I believe that once you put the POJO in the cache, it belongs to the cache (you shouldn't operate on it directly). Change your code from: TestObject pojo = new TestObject(); pojo.init(); tx.begin(); server.addObject("/pojo", pojo); tx.commit(); to: TestObject pojo = new TestObject(); pojo.init(); tx.begin(); server.addObject("/pojo", pojo); pojo = (TestObject)server.getObject("/pojo"); // get ref to proxied object tx.commit(); Please let me know if this helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926263#3926263 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926263 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
Can you create a Jira issue for this? I've recreated a failure with the remove operation but haven't gotten the same exception as you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926260#3926260 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926260 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
Can you also let me know which version of JBoss Cache you are using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926230#3926230 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926230 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
Can you also let me know which version of JBoss Cache you are using? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926131#3926131 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926131 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farmed .jars being deleted
One workaround would be to use a common filesystem source for deployment. See the 'URLs' option in jboss-service.xml. If you use this, you might also increase how often the common filesystem is scanned (you might not want to scan a networked volume every 5 seconds, every 5 minutes or so might be better for conservering cpu + network resources). This is controlled by the 'ScanPeriod' (in milliseconds) setting in jboss-service.xml. Let me know what the results are of testing with 4.0.4sp1 when you get a chance. If the problem still occurs in the latest codebase, I will hunt it down and fix it. Thanks, Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926122#3926122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926122 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
Another example from the same class: public void testPojoAttachAndDetach() throws Exception { Address add1 = new Address(); add1.setCity("San Jose"); add1.setZip(95123); Address add2 = new Address(); add1.setCity("Sunnyvale"); add1.setZip(94086); Address add3 = new Address(); add1.setCity("Santa Clara"); add1.setZip(951131); List list = new ArrayList(); list.add(add1); list.add(add2); list.add(add3); cache_.putObject("/test", list); // attach list = (List)cache_.getObject("/test"); assertEquals("Size ", 3, list.size()); list = (List)cache_.removeObject("/test"); assertEquals("Size ", 3, list.size()); System.out.println(cache_.printDetails()); System.out.println(" End of cache content "); list.remove(2); list.add(add2); assertEquals("Size ", 3, list.size()); assertEquals("Content ", add2, list.get(2)); // Try to re-attach cache_.putObject("/test", list); list.remove(2); assertEquals("Size ", 2, list.size()); System.out.println(cache_.printDetails()); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926062#3926062 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926062 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: random removing from Map (AOP-Cache)
Are you using a Map or a List? The stack trace indicates a list (CachedListImpl). I cannot imagine that this has anything to do with the problem but thought I would mention it. Give me a testcase that shows the problem. I'm looking for something that could easily fit into the unit test suite. Perhaps something like this from org.jboss.cache.aop.collection.CachedListAopTest: public void testAddAndRemoveIndex() throws Throwable { stage(); languages.add(1, "Taiwanese"); assertEquals("Languages size ", 4, languages.size()); assertEquals("Language ", (Object)"Taiwanese", (Object)languages.get(1)); languages.remove(2); assertEquals("Languages size ", 3, languages.size()); assertEquals("Language ", (Object)"English", (Object)languages.get(2)); languages.add("Mandarin"); assertEquals("Languages size ", 4, languages.size()); languages.remove("Mandarin"); assertEquals("Languages size ", 3, languages.size()); } protected void stage() throws Throwable { languages = new ArrayList(); languages.add("English"); languages.add("French"); languages.add("English"); cache_.putObject("/person/test6", languages); languages = (List)cache_.getObject("/person/test6"); int size = languages.size(); assertEquals("Size of list ", 3, size); } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3926061#3926061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3926061 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: 99% usage using cluster
Also see http://wiki.jboss.org/wiki/Wiki.jsp?page=DebuggingJBossProblems View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925977#3925977 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925977 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss-Hibernate Performance Test
I believe that the "Connection refused" error means that the http client threads are all in use (you might check your Tomcat status via http://hostname:8080/status.) Is your client load test running continuously (no think time). If so, your driving a much heavier load than 220 real clients (if they don't look at your web pages for more than 5 seconds, they are probably trying to bring your server down). I like to use the Apache jmeter tool which lets you specify the url and think time (it can spawn multiple client threads also). Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925960#3925960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925960 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farmed .jars being deleted
I think that this is the same issue as reported in JIRA JBAS-1227 (http://jira.jboss.com/jira/browse/JBAS-1227). I need someone that is experiencing this issue to recreate with the 4.0.4rc1 bits. If it recreates with 4.0.4rc1, we can try to fix for the 4.0.4 release. Thanks for your help, Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3925868#3925868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3925868 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: 99% usage using cluster
It should be useful to get a quick snapshot of what is going on an application server that is consuming 99% cpu. The best way to get a snapshot, is to dump the stack traces for the application server. The thread stack traces will be writing to the server out (you can redirect the stdout/stderr to a file so the trace doesn't scroll off or configure the server logs to capture it). 1. Open a shell and run "ps -ef | grep jboss" command. Note the process id of the application server. Example output: smarlow 11947 11941 74 22:41 pts/100:00:12 /usr/java/j2sdk1.4.2_07/bin/java -server -Xms128m -Xmx128m -Dprogram.name=run.sh -Djava.endorsed.dirs=/disk2/jboss/jboss-4.0.2/lib/endorsed -classpath /disk2/jboss/jboss-4.0.2/bin/run.jar:/usr/java/j2sdk1.4.2_07/lib/tools.jar org.jboss.Main The second field is the process id, 11947 in my case. 2. Enter a kill -3 against the application server process id. kill -3 11947 3. Repeat step #2 two or three times. Keep in mind that the application server will pause while each threads current call stack is printed to the console output device. This could make the application even less responsive while the trace is collected and printed. You can read more about Java stack traces here http://java.sun.com/developer/technicalArticles/Programming/Stacktrace Reading Java stack traces can be slow and tedious, but you should be able to gain hints on what to check next by examing the traces. Also look for errors in the server log around when the high cpu consumption started. I hope this helps. Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924833#3924833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924833 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Tomcat Performance suggestion for the wiki page...
Hello, I looked on the wiki and didn't see anything about changing Tomcat/Jasper settings for a production server. This turned out to be important for a customer application performance problem that I was recently assisting with. I would like to compose some helpful hints based on the information at this link (mostly turning off the "development" flag) : http://tomcat.apache.org/tomcat-5.5-doc/jasper-howto.html#Production%20Configuration The wiki page will talk about why users might need to set the "development" flag to false and about cases where it should be left as true in a production environment. Is this already covered somewhere? I didn't see it in the docs, but perhaps I missed it. Any preference on where this information is posted in the wiki? Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924788#3924788 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924788 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farmed .jars being deleted
Thanks for the version information. Would it be possible for you to download the 4.0.4 RC1 JBoss application server and see if it happens. Significant changes for farmed deployments went into releases 4.0.3 + 4.0.4 but I don't think they would solve the problem (at least not directly) that you are seeing. Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924727#3924727 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924727 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farmed .jars being deleted
Which server release are you using? Knowing this will help me to help you. Regards, Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3924396#3924396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3924396 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
Should we add "export" functionality to JBoss Cache 1.4? I'm thinking that we could have a way to: 1. Return set of keys at a specified fqn 2. Return set of values at a specified fqn 3. Return map of keys/values at a specified fqn I might be able to use this functionality to improve the performance of CacheSetImpl in a general way (e.g. Iteration should be faster if I get all values in one call rather than getting them one at a time). I'll create a Jira for this if there is agreement. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3922948#3922948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3922948 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
anonymous wrote : I think that the lookup is hashed and should be fast, however, it might be faster to have our iterator get the set of all values in the map instead. | | I'll try this and see what kind of values I get out of it. This looks promising, adding 2000 entries only took about 5.192 seconds. I have to work on getting the Iterator.remove operations to work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921700#3921700 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921700 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
It looks like there is already a map maintained that we could try to use. Although, it maps Key to Object, I could probably use it to speed up the iterator. Our current iterator is getting the set of of keys and does a lookup on every call to Next. I think that the lookup is hashed and should be fast, however, it might be faster to have our iterator get the set of all values in the map instead. I'll try this and see what kind of values I get out of it. Regarding your idea last night, I like it. I'm thinking that we might consider solving this at the JBoss (Tree) Cache level where we already deal with keeping things up to date across the cluster. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921694#3921694 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921694 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
I don't think the hashed search will work either. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921629#3921629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921629 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
Brian, Your right of course, I'm getting fast performance locally but I'm guilty of double buffering the data in the same network rpc call (and then some). I could omit the data field and only pass it in the key but that would be too coarse grained (the entire value would be passed in the fqn as you mentioned below). One idea that I had before was to speed up the set search by doing a hashed search. I would need to have a consistent hashcode across the cluster for the same search value. Once, I find the matching bucket, compare the entries to see if they match the value. I have another idea as well that I'm going to try next. I'll write about it later. Thanks, Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921628#3921628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921628 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
I'm past the stack overflow and on to the next error. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921589#3921589 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921589 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
No, looks like I was wrong, it wasn't your change. You only changed Map handling. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921522#3921522 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921522 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
I took the latest source and ran the testsuite against my new CachedSetImpl and I'm getting a stack overflow. I need to adjust to the adjustment that you made (I'm guessing). :) Caused by: java.lang.StackOverflowError at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:394) at java.lang.StringBuilder.append(StringBuilder.java:120) at org.jboss.cache.aop.test.Address.toString(Address.java:59) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuffer.append(StringBuffer.java:220) at org.jboss.cache.Fqn.toString(Fqn.java:160) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuilder.append(StringBuilder.java:116) at org.jboss.cache.aop.CacheInterceptor.isPojoDetached(CacheInterceptor.java:171) at org.jboss.cache.aop.CacheInterceptor.invoke(CacheInterceptor.java:77) at org.jboss.aop.joinpoint.FieldReadInvocation.invokeNext(FieldReadInvocation.java:48) at org.jboss.cache.aop.test.Address.street_r_$aop(Address.java) at org.jboss.cache.aop.test.Address.getStreet(Address.java:29) at org.jboss.cache.aop.test.Address.toString(Address.java:59) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuffer.append(StringBuffer.java:220) at org.jboss.cache.Fqn.toString(Fqn.java:160) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuilder.append(StringBuilder.java:116) at org.jboss.cache.aop.CacheInterceptor.isPojoDetached(CacheInterceptor.java:171) at org.jboss.cache.aop.CacheInterceptor.invoke(CacheInterceptor.java:77) at org.jboss.aop.joinpoint.FieldReadInvocation.invokeNext(FieldReadInvocation.java:48) at org.jboss.cache.aop.test.Address.street_r_$aop(Address.java) at org.jboss.cache.aop.test.Address.getStreet(Address.java:29) at org.jboss.cache.aop.test.Address.toString(Address.java:59) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuffer.append(StringBuffer.java:220) at org.jboss.cache.Fqn.toString(Fqn.java:160) at java.lang.String.valueOf(String.java:2577) at java.lang.StringBuilder.append(StringBuilder.java:116) . . . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921521#3921521 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921521 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
I have a newer implementation of CachedSetImpl that improves the performance for "add" + "iteration", however, I need to resolve the following questions before proceeding. 1. For Map, I think that we convert the key to String in one place but not the other. CollectionClassHandler computes key value as "new Fqn(fqn, entry.getKey())" CachedMapImpl computes key value as "AopUtil.constructFqn(getFqn(), key)" 2. I came up with a faster Set implementation, however, I'm using the "Set" values as keys and I'm not converting them to (serializable) String. 3. I modeled the new Set implementation after HashSet, but what if they pass a TreeSet. I'm not sure if we should change the collection support to be implementation class based (separate mappings for HashSet, TreeSet, LinkedHashSet rather than interface Set). 4. The issue with not converting the key value to String is for non-local case and the key value is not serializable. How should we deal with this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3921188#3921188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3921188 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
Yes, it definitely fixes a major bug and I have checked in the donated patch which resolves the bug. I have some longer term performance changes that I'm working on for CacheSetImpl. Before my longer term changes: 1. Calling add 2000 times in a loop took 39.816 seconds 2 Performing 2000 iterations in a loop took 39.329 seconds After my longer term changes: 1. Calling add 2000 times in a loop took 0.757 seconds 2 Performing 2000 iterations in a loop took 0.429 seconds View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920933#3920933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920933 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
I would say that performance was about the same as the results almost always vary (I didn't repeat the test enough times to get an exact measure). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920855#3920855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920855 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: New version of CachedSetImpl
I compared the performance of this new implementation against what I checked in on December 5th 2005 and don't see much difference: December 5th changes: 1. Calling add 2000 times in a loop took 39.816 seconds 2 Performing 2000 iterations in a loop took 39.329 seconds With the new implementation changes: 1. Calling add 2000 times in a loop took 38.887 seconds 2. Performing 2000 iterations in a loop took 43.188 seconds Prior to my changes on December 5th, performance was lower. I do like the new implementation and thought that performance would be better than it was but it doesn't seem any better than the December 5th change. If anyone would like the test case code, let me know (I'll check it in enventually, just not ready yet). Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3920840#3920840 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3920840 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Nodes having difficulty discovering each other
I believe that Network switches can be configured to prevent UDP packets from being broadcast. I googled for this and found the following sales info for one network switch that implies that this is true: "Once the port is operational,the network administrator can use both regular and extended ACLs to control access to and through the network, enabling control policies that can permit or deny traffic based on a wide variety of identification characteristics, such as source/destination MAC addresses, source/destination IP addresses, and TCP/UDP ports/sockets or well-known port numbers?further protecting and restricting network access from malicious users." source link http://www.foundrynet.com/products/l23wiringcloset/fastiron/FIedgePOEDatasheet.html -Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908789#3908789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908789 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Farming problem on Linux
Gunjan, I looked at the stack trace that you provided and see the following message: java.io.FileNotFoundException: /root/jboss_cluster/jboss?4.0.2/server/all/farm (Is a directory) This error message usually indicates that the contents of an application archive was extracted into the farm folder. However, I would of expected to see the application name instead of the "farm" folder. The "farm" folder should be a directory. Please confirm that your application that you copied to node 1 farm folder is a single archive file (i.e. not an exploded archive). -Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3893449#3893449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3893449 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: mixed os windows + linux
I was just saw your other response regarding farm deployment. You could be experiencing a problem with the Linux Application Server instance invoking remote procedures on the Windows Application Server instance. When you "farm" deleted your application under Linux, a "Undeploy app" remote procedure call was made to the cluster. It sounds like the call didn't make it out to the Windows machine for some reason. I think the Farm deployment issue is related to the behavior your describing in this thread. Are you using Suse Linux? Many Linux installations support IPV6 which can cause problems for Java applications that only expect IPV4 addresses. If your using Suse Linux, read http://wiki.jboss.org/wiki/Wiki.jsp?page=SuseHints for instructions on disabling IPV6. If your using a different flavor of Linux, you might need different instructions for disabling IPV6. If my guess about IPV6 is wrong, we can try something else. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885219#3885219 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885219 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: farm deployment
Could you download JBoss 4.0.3rc1 from http://www.jboss.org/products/jbossas/downloads and try to recreate the problem? If the problem is solved with the farm deployment changes in 4.0.3, great! If not, write back and let me know. The next step would be to create a bug report (using JIRA Issue Tracking) and supply a test case so we can reproduce it. If we move fast enough, perhaps we can have a fix in 4.0.3 (will lock down soon). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3885035#3885035 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3885035 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: cluster farm redeployment
Can you try using the application on the second node and determine if the original application is still deployed? Also check the file timestamp of the application on the second node to make sure it is correct. If for some reason its older than the previous deployed copy of the application, you might see the behavior that you describe. Also try touching the application file on the second node to see if that forces a redeploy. This won't determine the cause but might give more information. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3884400#3884400 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3884400 --- This SF.Net email is sponsored by the 'Do More With Dual!' webinar happening July 14 at 8am PDT/11am EDT. We invite you to explore the latest in dual core and dual graphics technology at this free one hour event hosted by HP, AMD, and NVIDIA. To register visit http://www.hp.com/go/dualwebinar ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Problem with farm folder scanning
Hello, Regarding the EIPTransfo_d.ear error below. It looks like EIPTransfo_d.ear is a folder (exploded archive) rather than an archive. Farm deployment of exploded archives is currently not supported (vote for http://jira.jboss.com/jira/browse/JBAS-1239 if you want this changed). To work around the error, you need to jar up the contents of EIPTransfo_d.ear. Place the output jar (EIPTransfo_d.ear) in the farm folder instead of the EIPTransfo_d.ear folder. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3882118#3882118 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3882118 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: cluster deployment question
This problem is actually solved by the fix for http://jira.jboss.com/jira/browse/JBAS-1899. I couldn't reproduce http://jira.jboss.com/jira/browse/JBAS-1238 with the current 4.0.3 development codebase. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3881643#3881643 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3881643 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: cluster deployment question
This problem sounds similar to a bug already reported as JBAS-1238 (see http://jira.jboss.com/jira/browse/JBAS-1238). I am going to work on fixing JBAS-1238, once I have a solution for that, we can see if it solves your problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3878089#3878089 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3878089 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7412&alloc_id=16344&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user