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 :
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
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
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 :
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
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
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
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 :
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
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
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
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();
|
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
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
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 :
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 :
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
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
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
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
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 :
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):
|
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
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
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
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 :
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
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 :
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
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
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
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
___
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
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
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
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
|
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());
| }
|
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
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 :
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 :
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
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
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
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
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
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
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
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
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
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).
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
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
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 :
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);
|
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 :
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
---
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 :
57 matches
Mail list logo