[jboss-user] [JBoss Portal] - set a theme as the default

2008-07-24 Thread gmeroz
I want new pages to be created by default with a theme other than the default supplied by JBoss. is it possible? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4166386#4166386 Reply to the post :

[jboss-user] [EJB/JBoss] - javax.ejb.EJBTransactionRequiredException when calling remot

2008-07-16 Thread gmeroz
i have 2 JBoss (4.2.2) servers. when i call a session bean on the 1st jboss from a session bean in the 2nd, having the 1 session method defined as MANDATORY transaction, i get the following exception: javax.ejb.EJBTransactionRequiredException at

[jboss-user] [JBoss Portal] - Re: getting child protlet-name inside a portlet

2008-07-08 Thread gmeroz
it returns the instance name, i need the original portlet name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163037#4163037 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163037

[jboss-user] [JBoss Portal] - getting child protlet-name inside a portlet

2008-06-29 Thread gmeroz
Is it possible to get the portlet-name in runtime from inside a portlet? i have a reference to PortalNode object, but it has only the instance name. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4161392#4161392 Reply to the post :

[jboss-user] [JBoss Portal] - http://wiki.jboss.org/wiki/GiveAdminPrivileges doesn't work

2008-06-10 Thread gmeroz
i use an LDAP schema, where the admin role is differnt than Admin. i use JBossPortal 2.6.5 tried http://wiki.jboss.org/wiki/GiveAdminPrivileges was not able to login into the portal. If i add Admin to my LDAP schem, it works. But since i have many production sites (without the portal), i

[jboss-user] [JBoss Portal] - problem running JBossPortal with Oracle

2008-05-29 Thread gmeroz
when i configure the portal data source for Oracle i get the following error: | 12:23:51,516 INFO [DLQ] Bound to JNDI name: queue/DLQ | 12:23:52,501 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA' to JNDI name

[jboss-user] [Security JAAS/JBoss] - Re: How do i implement

2008-05-04 Thread gmeroz
Is there a simple way to implement it using the login lodule? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4148548#4148548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4148548

[jboss-user] [Security JAAS/JBoss] - How do i implement remember me with form based login?

2008-05-03 Thread gmeroz
i use jboss 4.0.5 and i want to add the remember me / auto login in the login form. is there a native way to configure that in JBoss? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4148506#4148506 Reply to the post :

[jboss-user] [Messaging, JMS JBossMQ] - Re: No pong received warning

2008-01-27 Thread gmeroz
can you give the link for that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4123860#4123860 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4123860 ___ jboss-user mailing list

[jboss-user] [JBossCache] - Re: JDBCCacheLoader bad performance when writing to DB

2008-01-09 Thread gmeroz
I'm using pojo cache with JBossCache2.0.0GA. I didn't notice I use our own a wrapper in the code above. It should be: | cache.attach(cat/x+i,some_data); | which gives the same results. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4118514#4118514

[jboss-user] [JBossCache] - Re: JDBCCacheLoader bad performance when writing to DB

2008-01-06 Thread gmeroz
when setting log priority to debug, i get the following. It means that when i add a node to the cache, for each node the same select query is running 4 times. When the cache has thousands of nodes, it's a huge overhead. | 16:59:37,992 DEBUG [JDBCCacheLoader] executing sql: select node from

[jboss-user] [JBossCache] - Re: JDBCCacheLoader bad performance when writing to DB

2008-01-06 Thread gmeroz
Actually, the log above is for nodes that were laready in the DB. New nodes inserted into the DB, result in 8 select qeuries which are exatcly the same. here is an exmaple of inserting only 2 nodes: | for (int i=0 ; i2 ; i++){ | Address a = new Address(); |

[jboss-user] [JBossCache] - JDBCCacheLoader bad performance when writing to DB

2008-01-02 Thread gmeroz
I use JDBCCacheLoader (JBossCache 2.0.0GA Oracle in JBossAS) to persist a cahe to DB. When the cache is big it takes hours to persist. It takes a lot of time to write the item into the DB. i loaded YourKit profiler to analyze the problem and learned that most time is spent in running SQL

[jboss-user] [JBossCache] - upgrading JBossCache version on JBossAS problem

2007-11-08 Thread gmeroz
i recently upgrade JBossAS from 4.0.3 to 4.0.5GA. since i was already using JBossCache 2.0.0GA, which is newer than the one used by JBossAS, i had to upgrade the jboss-cache jar in the AS. The problem is that there's no backward compatability in jboss-cache the 2.0.0 version can not be used

[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread gmeroz
1. Should i open a bug for that? 2. Is there is any workaround your can think of? i need to pre-cache some data, i was planning to use jboss cache for that. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101722#4101722 Reply to the post :

[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-05 Thread gmeroz
It was Oracle9i! I checked on Oracle10g to be able to supply information about the version the test run with an iteration of 5000. In both cases i used the driver (10.1.0.4.0). C3p0ConnectionFactory solve it for Oracle9i. thanks View the original post :

[jboss-user] [Clustering/JBoss] - SSO between several JBoss instances

2007-11-04 Thread gmeroz
I have several applications, each deployed on a seperate Jboss server. all of them are deployed on the same machine, using a different virtual IP addresses. i tried to configure jboss to enable SSO between them by: | 1. copy deploy/all directory for each instance. | 2. edit

[jboss-user] [Clustering/JBoss] - Re: SSO between several JBoss instances

2007-11-04 Thread gmeroz
didn't mentioned i'm using version 4.0.5GA... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101591#4101591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101591 ___ jboss-user

[jboss-user] [Clustering/JBoss] - Re: SSO between several JBoss instances

2007-11-04 Thread gmeroz
i created a file, test.html, under the jmx-console.war with the following code: | html | body | A href=http://192.168.10.106:8080/jmx-console/index.jsp;app 1/a | A href=http://192.168.10.222:8080/jmx-console/index.jsp;app 2/a | /body | /html | then i opened it from

[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-02 Thread gmeroz
this class only extends JDBCCacheLoader to change the table name on runtime (something i used for testing). When i use the original JDBCCacheLoader it's the same. i'll try your demo... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101307#4101307 Reply to

[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-02 Thread gmeroz
The test runs successfully for both Derby Oracle. i change my code to use core cache instead of pojo cache it solves the problem. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101475#4101475 Reply to the post :

[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-02 Thread gmeroz
Since we both agree that there shouldn't be a difference between pojo core cache related to this issue, i decided to run more tests managed to reproduce the problem. i just changed the loop in your test to run up to 1000 got the following error (only when using Oracle): |

[jboss-user] [JBossCache] - JDBCCacheLoader problem in java application

2007-11-01 Thread gmeroz
in version 2.0.0GA When i use JDBCCacheLoader inside JBossAS it wokrs fine, but when i try to run the same code from a regular java Main class it fails with the following exception. i seems that some connections are not closed. | | added 85 dummy node to Jboss cache. | added 86

[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-01 Thread gmeroz
The code to produce this error: | import org.jboss.cache.pojo.PojoCache; | import org.jboss.cache.pojo.PojoCacheFactory; | import org.jboss.cache.Fqn; | | public class JDBCCacheTest { | | public static final String CONF_FILE = jboss-cache.xml; | public static void

[jboss-user] [JBossCache] - Re: changing name of jdbc.table.name?

2007-11-01 Thread gmeroz
did you try to change the name of the primary key (cache.jdbc.table.primarykey) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101090#4101090 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4101090

[jboss-user] [JBossCache] - Re: JDBCCacheLoader problem in java application

2007-11-01 Thread gmeroz
yes. actualy i was able to put 60 or so items into the cache (which were inserted into the DB). it seems that some connection is not closed by JBossCache. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4101092#4101092 Reply to the post :

[jboss-user] [JBossCache] - performance issue with JDBCCacheLoader

2007-07-31 Thread gmeroz
i use version 2.0.0CR1 running inside JBoss AS with PojoCache. i have a senario where i need to check for a list of nodes which of them are in the cache already (so i'll know if i need to add them to the cache latter). to check if a node is in the cache i use cache.find(...), but those calls

[jboss-user] [JBossCache] - Re: performance issue with JDBCCacheLoader

2007-07-31 Thread gmeroz
yes, that's exactly what i'm looking for. It may perform queries to DB as long as it does not access the Blob column. (like select count(*)...). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069118#4069118 Reply to the post :

[jboss-user] [JBossCache] - Re: performance issue with JDBCCacheLoader

2007-07-31 Thread gmeroz
http://jira.jboss.com/jira/browse/JBCACHE-1158 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4069160#4069160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4069160 ___ jboss-user

[jboss-user] [JBossCache] - Re: removing items from cache is VERY slow when using JDBCCa

2007-07-19 Thread gmeroz
thanks. it worked for me. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065659#4065659 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065659 ___ jboss-user mailing list

[jboss-user] [Management, JMX/JBoss] - org.jboss.Shutdown is causing the AS to restart instead of t

2007-07-19 Thread gmeroz
When i call org.jboss.Shutdown usually the server is shuting down. But sometimes the server is restarting instead. here is the log: | 15:18:20,971 INFO [TomcatDeployer] undeploy, ctxPath=/jboss-net, warUrl=.../deploy/jboss-net.sar/jboss-net.war/ | Shutting down | 15:18:22,471 INFO

[jboss-user] [JBossCache] - Re: removing items from cache is VERY slow when using JDBCCa

2007-07-18 Thread gmeroz
i use PojoCache, there's no such method in there. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065335#4065335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065335 ___

[jboss-user] [JBossCache] - Re: removing items from cache is VERY slow when using JDBCCa

2007-07-18 Thread gmeroz
i use 2.0.0CR1 and the signature of remove is V remove(org.jboss.cache.Fqn fqn, K key) any other ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4065366#4065366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4065366

[jboss-user] [JBossCache] - removing items from cache is VERY slow when using JDBCCacheL

2007-07-17 Thread gmeroz
i use JBoss cache with JDBCCacheLoader. when trying to delete many items from the cache (to initialize it from the begining) it takes a long time and when running on JBossAS i get a timeout exception. to delete items, i use findAll and than iterate them to remove each one. Is there a way to

[jboss-user] [JBossCache] - Re: JDBCCacheLoader does not delete item from table

2007-06-19 Thread gmeroz
can you explain how to do it? if i use pojoCache.getCache().getMembers(), i get an empty list... By the way, deleting the cahce with the exmaple i gave on my previous post, takes a long time (because of the for loop). When running on JBoss with transactions, it may cause a transaction timeout

[jboss-user] [JBossCache] - Re: JDBCCacheLoader does not delete item from table

2007-06-19 Thread gmeroz
It is not empty: this is the print result: | 12:50:38,642 INFO [STDOUT] ***+++/__JBossInternal__ 0 | /aag 0 | /queries 0 | /d1-3-d2-2-d3-196-d4-0-d5-0-d7-0-d10-0-d11-0-d12-0-d13-0-24-2 0 | /queryDefinition1-10-SHOW_ALL-7-1 0 |

[jboss-user] [JBossCache] - JDBCCacheLoader does not delete item from table

2007-06-13 Thread gmeroz
i use the following code to delete objects from the cache (configured with JDBCCacheLoader): | public void clear(String category) { | for (Object key : cache.findAll(category).keySet()){ | cache.detach(((Fqn)key).toString()); | } |

[jboss-user] [JBossCache] - JDBCCacheLoader: table not created when using cache.jdbc.tab

2007-06-06 Thread gmeroz
When using Oracle DB, if schema has role priviliges of 'exp_full_database' (or other DBA priviliges), the table may not be created in case a similar table already exist in another schema in the same DB. how to produce: 1. create 2 schema on the same DB: SCHEMA_1 SCHEMA_2 2. run an application

[jboss-user] [Security JAAS/JBoss] - SSO between 2 JBoss instances

2007-04-15 Thread gmeroz
I'm running 2 JBoss instances on the same host. i tried to use SSO between them (by setting the Tomcat Valve parameter. the 2 isntances are configured exatcly the same (only ports are different). The SSO doesn't work - what am i missing here? View the original post :

[jboss-user] [JBossCache] - Re: memory leak

2007-03-05 Thread gmeroz
I think there should be a way to clear an entire area in the cache (as a bulk). Finding all the POJOs in the cache and deleting them one by one, sound expensive. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4025003#4025003 Reply to the post :

[jboss-user] [JBossCache] - Re: long wait when cache is started

2007-03-03 Thread gmeroz
What do you mean in anonymous wrote : 2) State in your DB is large | ? the state of the cache? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4024831#4024831 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4024831

[jboss-user] [JBossCache] - long wait when cache is started

2007-03-01 Thread gmeroz
when i load Jboss and start the cache, i see that the cache initialization takes few minutes. The cache is not very big. i use JDBCCacheLoader. Is there any way to workaround the long wait? 10:24:12,645 INFO [InterceptorChainFactory] interceptor chain is: class

[jboss-user] [JBossCache] - memory leak

2007-03-01 Thread gmeroz
I use JBossCache-all-2.0.0.ALPHA2. i have a memory leak in my application when i use JBossCache. The following test reproduce it. It add 100 Person object to the cache, than it remove them from the cache and repeat... When i use profiler, I see that the number of instances of Person is

[jboss-user] [JBossCache] - Bug? maximum number of expressions in a list is 1000

2007-02-25 Thread gmeroz
I'm usning JBossCache-all-2.0.0.ALPHA2 with Oracle. When i try to remove the root of my cache, i get the following error. It looks like a bug... | 09:41:43,802 ERROR [JDBCCacheLoader] Failed to remove node /aag | | java.sql.SQLException: ORA-01795: maximum number of expressions in a

[jboss-user] [Management, JMX/JBoss] - Re: how can i check if some ear file is deployed?

2007-02-20 Thread gmeroz
can you give a code exmample? i was not able to find it. i'm using jboss-4.0.3SP1... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4019279#4019279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4019279

[jboss-user] [Management, JMX/JBoss] - how can i check if some ear file is deployed?

2007-02-19 Thread gmeroz
I want to check if an ear file was deployed. what is the best way to do it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4018884#4018884 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4018884

[jboss-user] [JBossCache] - Re: how do i clean (remove) all nodes from a cache loader?

2007-02-10 Thread gmeroz
I'm not using async mode. i made sure the cache is empty (nodes are not found anymore). but the JDBCCacheLoader's table content did not change. i'm using JBossCache-all-2.0.0.ALPHA2 deployed on jboss-4.0.3SP1. with the following configuration: | attribute

[jboss-user] [JBossCache] - how do i clean (remove) all nodes from a cache loader?

2007-02-08 Thread gmeroz
I use JDBCCache for a fast start up. Sometimes i want to reload the cache from the begining (when some application configuration is changed). i saw that if i remove every thing from the cache, the cache laoder does not delete records from DB. i want to make sure that if the server will be

[jboss-user] [JBossCache] - Error while deploying PojoCache mbean deployed on JBoss

2007-02-07 Thread gmeroz
I'm trying to deploy PojoCache as mbean under JBoss AS. jboss version: jboss-4.0.3SP1 jboss cache version: JBossCache-all-2.0.0.ALPHA2 i copied jboss cache jars to jboss lib directory. i get the following exception. It looks like the jboss-aop-jdk50.jar does not match the AOP manager of the

[jboss-user] [JBossCache] - Re: TreeCache is missing in JBossCache-all-2.0.0.ALPHA2

2007-02-05 Thread gmeroz
I'm able to deploy the mbean if i use lib\jboss as the base directory I wasn't able to access it from my code, because i could not control the order of the depencies jars for the ear file. What i realy need is a large cache for POJOs. i'll need to presist it to the DB (for fast startup).

[jboss-user] [JBossCache] - Re: TreeCache is missing in JBossCache-all-2.0.0.ALPHA2

2007-02-04 Thread gmeroz
I tried to follow the directions in this document (copied jar files to /deploy/lib) and copy one of the XML configuration from /etc. I'm using jboss-4.0.3SP1. i get the following exception: | 16:11:46,948 INFO [ServiceConfigurator] Problem configuring service

[jboss-user] [JBossCache] - TreeCache is missing in JBossCache-all-2.0.0.ALPHA2

2007-02-01 Thread gmeroz
i downloaded JBossCache-all-2.0.0.ALPHA2 and there is no class TreeCache in there. Why? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4009247#4009247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4009247

[jboss-user] [JBossCache] - Re: JDBCCacheLoader error: Io exception: The Network Adapter

2007-01-31 Thread gmeroz
I'll want to run it from out side the app server as well as inside. My DB has 150 connections - it should be enough. I'll wait for JBCACHE-802... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4008671#4008671 Reply to the post :

[jboss-user] [JBossCache] - JDBCCacheLoader error: Io exception: The Network Adapter cou

2007-01-30 Thread gmeroz
if i use the following code with a JDBCCacheLoader, i get the following exception after a while (after putting about 250 items to the cache): | for (int i=0 ; i1 ;i++){ | Person x = new Person(); | x.setName(x+i); | x.setAddress(address); |

[jboss-user] [JBossCache] - Re: Debuging with JBossCache (from IntelliJ)

2007-01-02 Thread gmeroz
I wanted to see that i can run it from inside the IntelliJ (as a main class). The ant task run for me as well. I notice that the wiki page was update last night, so i tried to run it with the new mentioned VM params and it runs now. thanks. View the original post :

[jboss-user] [JBossCache] - Re: Debuging with JBossCache (from IntelliJ)

2006-12-31 Thread gmeroz
i tried to run \JBossCache-all-2.0.0.ALPHA1\examples\PojoCache\annotated50 using the same configuration and got the following error: --- GMS: address is 192.168.10.222:4578 ---

[jboss-user] [JBossCache] - Debuging with JBossCache (from IntelliJ)

2006-12-27 Thread gmeroz
I want to run the JBossCache examples from the IntelliJ (for debugging). I saw on the examples build file, it is using AOP during compilcation. is it possible to compile with AOP from the IntelliJ? Is it required to use JBossAOP when using JBossCahce? View the original post :