[JBoss-user] EAR1 invoking EJB interface in EAR2

2004-05-26 Thread Pedro Salazar
her EJB outside my EAR without the needed of including the interfaces of the EJB? There isn't any XML descriptor to do this without having this hard dependency between them? What happens if I replace a new version of EAR2? Will my cached homes in EAR1 break? thanks, Pedro Salazar.

[JBoss-user] what kind of EJBs make sense clustering? (impact in performance)

2004-05-20 Thread Pedro Salazar
hints about them to tune my EJBs to have the biggest performance. thanks, Pedro Salazar. -- /ps --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g clas

[JBoss-user] Using custom JNDI service implementation +cluster +cache

2004-05-19 Thread Pedro Salazar
another instances when a instance starts? (It's acceptable the replication only in the start like distributed independent caches, but I would like to avoid start from empty). Regards, Pedro Salazar. -- /ps --- This SF.Net email is sponsored by:

[JBoss-user] cluster instance recover data cache (singleton) from another instance

2004-05-18 Thread Pedro Salazar
faces. Question: - every time I reloaded a server instance, the cache is cleaned. Since the performance result depends on this cache element, I would like to answer about ways of getting the cache information from other running instances. Thanks, Pedro Salazar. --

[JBoss-user] tuxedo connector for jboss

2004-03-18 Thread Pedro Salazar
Greetings, I would like to know if there is any tuxedo connector available for jboss (free or commercial)? Regards, Pedro Salazar. -- /ps --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel

Re: [JBoss-user] WrappedConnections and Oracle Stored Procedures

2004-01-22 Thread Pedro Salazar
On Mon, 2003-05-19 at 13:30, David Jencks wrote: > Try something like > > (OracleConnection)((WrappedConnection)wc).getUnderlyingConnection()) > > Be careful not to close the OracleConnection! > > david jencks > Isn't possible to do it but avoiding specific jboss classes hard-coded? Here I hav

RE: [JBoss-user] invalidate all entity beans instances from cache (in cluster)

2003-12-16 Thread Pedro Salazar
On Tue, 2003-12-16 at 15:09, Pedro Salazar wrote: > On Tue, 2003-12-16 at 13:00, Sacha Labourey wrote: > > Yes, go on the jmx-console, find your entity bean container Mbean, and you > > will find an invalidate operation. You can call it through jmx. > > BTW, when I try

RE: [JBoss-user] invalidate all entity beans instances from cache (in cluster)

2003-12-16 Thread Pedro Salazar
? The last one is only for the read-only entity bean, right? Regards, Pedro Salazar. > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Pedro Salazar > > Sent: mardi, 16. décembre 2003 13:11 > > To: [EMA

[JBoss-user] read-mostly pattern : cache update at run-time?

2003-12-16 Thread Pedro Salazar
Any ideas how to reflect the update? thanks. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn

[JBoss-user] invalidate all entity beans instances from cache (in cluster)

2003-12-16 Thread Pedro Salazar
big set of records through JDBC, and I would reflect it on all entity beans. I'm searching for something so trivial like this procedure for weblogic: weblogic.ejb.CachingHome myCache = (weblogic.ejb.CachingHome)myHome; myCache.invalidateAll(); Is there something like this on jboss? regards,

RE: [JBoss-user] (SOLVED) Invoking EJB but using *name* instead*I P*

2003-12-12 Thread Pedro Salazar
the DMZ for instance, should resolve the same 'host1' to the IP on the DMZ network (192.x.x.x). regards, Pedro Salazar. > -Original Message- > From: Pedro Salazar [mailto:[EMAIL PROTECTED] > Sent: Fri 12/12/2003 4:08 AM > To: [EMAIL PROTECTED] > Cc: > Subje

Re: [JBoss-user] [REVISITED] Invoking EJB but using *name* instead *IP*

2003-12-12 Thread Pedro Salazar
Greetings again, how to put the JBOSS server listening on the host name instead the IP address? If I could do that, my problem would be solved because by DNS all my clients would resolve well the host name of my server. regards, Pedro Salazar On Thu, 2003-12-11 at 13:15, Pedro Salazar wrote

Re: [JBoss-user] (SOLVED) Invoking EJB but using *name* instead *IP*

2003-12-12 Thread Pedro Salazar
Solved: -Djava.rmi.server.hostname= On Fri, 2003-12-12 at 10:34, Pedro Salazar wrote: > Greetings again, > > how to put the JBOSS server listening on the host name instead the IP > address? If I could do that, my problem would be solved because by DNS > all my clients would r

Re: [JBoss-user] (REVISITED) Invoking EJB but using *name* instead *IP*

2003-12-12 Thread Pedro Salazar
Greetings again, how to put the JBOSS server listening on the host name instead the IP address? If I could do that, my problem would be solved because by DNS all my clients would resolve well the host name of my server. regards, Pedro Salazar On Thu, 2003-12-11 at 13:15, Pedro Salazar wrote

[JBoss-user] Invoking EJB but using *name* instead *IP*

2003-12-11 Thread Pedro Salazar
to host 10.xxx!!! I already put in the jboss-service references to the host name... thanks. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Si

RE: [JBoss-user] RMI OVER HTTPS

2003-12-10 Thread Pedro Salazar
s. It appears only the HTTP solve the problem of PORTs and not of address names. But I'm using the name instead the ip address in the configuration of http-invoker. How can I solve my problem here? regards, Pedro Salazar. On Wed, 2003-12-10 at 07:56, Scheidl, Dietmar wrote: > Hi, > >

[JBoss-user] how to invalidate a cache entity bean

2003-12-09 Thread Pedro Salazar
d how? thanks. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to

RE: [JBoss-user] share stateful session beans

2003-12-04 Thread Pedro Salazar
On Thu, 2003-12-04 at 17:22, Arvinder Singh wrote: > I *think* Danny implied: > > { > > // what ever your store is > private static store = > .getInstance(); > > > public void store(String key, Object value) throws RemoteException { > store.put(key, value); >

RE: [JBoss-user] share stateful session beans

2003-12-04 Thread Pedro Salazar
e example would be more than enough... regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything fro

[JBoss-user] share stateful session beans

2003-12-04 Thread Pedro Salazar
tores the information in the database) -if database connection fails (for a db restart), my system blocks - and it shouldn't. thanks. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an exper

[JBoss-user] CMP exclusive access -> exclusive access to one method?

2003-12-03 Thread Pedro Salazar
r using the BMP against the CMP? thanks. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could wi

[JBoss-user] CMP clustered configurations - what is the feature?

2003-12-03 Thread Pedro Salazar
boss instances that would receive a request updating the same entity bean instance? Will the cluster handle the coherence of data? thanks. regards, Pedro Salazar -- -PS --- This SF.net email is sponsored by OSDN's Audience Survey. Help shape

Re: [JBoss-user] servlet access local interface of EJB -> deployment descriptor errors!

2003-11-28 Thread Pedro Salazar
any support for ejb-local-ref in jboss-web.xml. Well, I think xdoclet must be updated very soon or it will take the risk to become obsolete. I must check the jboss-web_3_2.dtd, and eventually any other jboss 3.2.x description file. thanks. regards, Pedro

[JBoss-user] servlet access local interface of EJB -> deployment descriptor errors!

2003-11-28 Thread Pedro Salazar
npro.uif.service.ejb.interfaces.ServiceInfoLocal" * * @ejb.ejb-ref * ejb-name="ServiceInfo" * view-type="local" * ref-name="ejb/ServiceInfoLocal" * * @jboss.ejb-ref-jndi * ref-name="ServiceInfo" * jndi-name="ejb/ServiceInfoLocal" Wha

Re: [JBoss-user] datasource (connection pool) resources and Entity Beans (CMP)

2003-11-27 Thread Pedro Salazar
quest that could have more transactions inside. The datasource configuration's parameters should be made looking to the number of simultaneous requests * the number of transactions by request (approximately), I think. thanks. regards, Pedro Salazar. -- -PS -

[JBoss-user] datasource (connection pool) resources and Entity Beans (CMP)

2003-11-27 Thread Pedro Salazar
om my connection pool, if connections are available, I know it will affect the pool by 1 connection (decreasing it!). So, how the number of the entity beans CMP affect the connection pool? How the container by itself manages the connection pool's resources, and what is the logic inside? thanks. rega

[JBoss-user] what means cluster of ejb? stateless/stateful session beans, entity beans

2003-11-26 Thread Pedro Salazar
only 2 jboss instances (deploying individually in the deploy with the clustering descriptors)? This means I could distribute the EJBs (even in cluster) for my specific jboss instances... I think these ones if answered should help me a lot. thanks. regards, Pedro Salazar. --

[JBoss-user] stateless session bean OR ordinary java class ? (off-topic)

2003-11-26 Thread Pedro Salazar
P.S.-I believe the stateful session bean is out of question since it's much more heavy than stateless beans. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help y

[JBoss-user] cluster farm application behavior

2003-11-25 Thread Pedro Salazar
r the cluster will synchronize the sessions variables avoiding running a new service? thanks. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it

[JBoss-user] Stateful Session Bean timeout

2003-11-25 Thread Pedro Salazar
bean). I only must guarantee that if a request my service occurs, I don't want a timeout invalidates my bean. thanks, regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net h

[JBoss-user] Can we define the passivate timeout for entity beans? (performance)

2003-11-25 Thread Pedro Salazar
f the entity beans, where should I put it? Inside the web service (probably using remote methods to session beans), or inside the stateful beans but I must pass values of requests to it? thanks. regards, Pedro Salazar. -- -PS --- This SF.

Re: [JBoss-user] EJB home methods are not allowed to access CMP or CMR

2003-11-24 Thread Pedro Salazar
the entity beans. So, if the cache is not possible to do in the entity beans, what is the need of the activate() if the load() will always occur? And, we cannot access to any of the entity beans methods there... regards, Pedro Salazar. -- -PS ---

Re: [JBoss-user] EJB home methods are not allowed to access CMP or CMR

2003-11-24 Thread Pedro Salazar
} public void ejbLoad() { if(logger.isDebugEnabled()) logger.debug("Load Primitive ..."); this.cache=false; this.value=null; } " regards, Pedro Salazar. -- -PS --- This SF.net email

Re: [JBoss-user] EJB home methods are not allowed to access CMP or CMR

2003-11-21 Thread Pedro Salazar
variable has already the computation! And it works!! I mean, I verified by output message that the variable was set, the result was also there. So, the only chance I can see here is that the instance variables must be saved in some place(disk, ...?). What is the pool for entity beans? regards

Re: [JBoss-user] EJB home methods are not allowed to access CMP or CMR

2003-11-21 Thread Pedro Salazar
(probably to disk)? thanks. regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us

Re: [JBoss-user] EJB home methods are not allowed to access CMP or CMR

2003-11-21 Thread Pedro Salazar
ate Primitive 21 Nov 2003 11:45:32,702 DEBUG [pt.ptinovacao.nginpro.uif.service.ejb.PrimitiveBean] Load Primitive ... 21 Nov 2003 11:45:32,704 INFO [pt.ptinovacao.nginpro.uif.service.ejb.PrimitiveBean] (cache) sum is 49995000 21 Nov 2003 11:45:32,705 INFO [pt.ptinovacao.nginpro.uif.service.ejb.ServiceInfoBean] value-

[JBoss-user] EJB home methods are not allowed to access CMP or CMR

2003-11-20 Thread Pedro Salazar
rovide a method that returns the sum of all numbers. Every time I call a interface method, I must do the sum operation. But, if I could do it in the activate method (since my entity bean is read-only), I could gain some performance. Is there any work around to solve my problem? thanks. regards, Pe

Re: [JBoss-user] AXIS web service throws NullPointerException when REDEPLOYING on JBOSS 3.2.2

2003-11-17 Thread Pedro Salazar
On Mon, 2003-11-17 at 10:28, Pedro Salazar wrote: > On Fri, 2003-11-14 at 16:36, Stephane Nicoll wrote: > > This is a known issue. Axis has made some bug fixing and I know they > > have been backported in 3.2.3RC1 (if you use JBossNET) > > I already verified with 3.2.3RC1, a

Re: [JBoss-user] AXIS web service throws NullPointerException when REDEPLOYING on JBOSS 3.2.2

2003-11-17 Thread Pedro Salazar
s version from jboss-net or the axis 1.1 final? Do you mind tell me what version of axis is the problem because I'm deploying in a standalone mode and the jboss-net shouldn't affect (I think) a independent deployment application. regards

[JBoss-user] AXIS web service throws NullPointerException when REDEPLOYING on JBOSS 3.2.2

2003-11-14 Thread Pedro Salazar
elow. But this only happens when I redeploy because if I restart jboss it works just fine. The only issue is that I'm using the standard Axis version that it should work just fine in a simple servlet container as TOMCAT server. Any ideas why this happen? regards, Pedro Salazar. ERROR TRACE:

[JBoss-user] ejb and configurations

2003-11-13 Thread Pedro Salazar
h entity bean CMP to put a xdoclet tag like @jboss.container-configuration * name="Standard CMP 2.x EntityBean with cache invalidation" ? regards, Pedro Salazar. -- -PS --- This SF.Net email sponsored by: ApacheCon 2003, 16

[JBoss-user] how to implement "READ MOSTLY" CACHE

2003-11-13 Thread Pedro Salazar
Greetings, I'm using XDOCLET to generate my EJB descriptors and I would like to know how can I define a polite of "read mostly" cache for my entity beans for JBOSS? I now that I should have my entity beans mapped as xxxRO and xxxRW. However, I don't know if I have to duplicate my beans java clas

Re: [JBoss-user] Entity beans (CMP) are always calling ejbStore()

2003-11-12 Thread Pedro Salazar
On Wed, 2003-11-12 at 16:30, Alexey Loubyansky wrote: > The store() is called each time when the synchronization should occur > according to the spec. > The question is when and why the synchronization occurs? Why is that the JBOSS is requiring synchronization? Has the cluster option have anythi

Re: [JBoss-user] Entity beans (CMP) are always calling ejbStore()

2003-11-12 Thread Pedro Salazar
time like a point if bottle neck? And it happens in all jboss 3.2.x releases? > Pedro Salazar wrote: > > > On Wed, 2003-11-12 at 12:23, Alexey Loubyansky wrote: > > > >>It is called but the synchronization does not occur, right? > >>Till the 3.2.2

Re: [JBoss-user] Deployment warning on jboss 3.2.2RC3

2003-11-12 Thread Pedro Salazar
ded jboss from 3.2.1 to 3.2.2 and the warning messages started to appear!? regards, Pedro Salazar. > > Zitat von Christofer Dutz <[EMAIL PROTECTED]>: > > > Unfortunately that didn't help. The Messages are still the same. > > I have read in the current Jboss 3.2.x docs

Re: [JBoss-user] Entity beans (CMP) are always calling ejbStore()

2003-11-12 Thread Pedro Salazar
On Wed, 2003-11-12 at 12:23, Alexey Loubyansky wrote: > It is called but the synchronization does not occur, right? > Till the 3.2.2 it was not easy to avoid this. I'll look at it. Alexey, I tried on 3.2.1 but since you have referred that issue I'll try the 3.2.2. -- -PS -

[JBoss-user] Entity beans (CMP) are always calling ejbStore()

2003-11-12 Thread Pedro Salazar
most read-only polite (some for RW and others for RO). Any ideas why is it calling always the ejbStore()? thanks, Pedro Salazar. -- -PS --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn f

[JBoss-user] relation VS value-object

2003-11-11 Thread Pedro Salazar
a value-object I'm unable to define it. So, can any of you briefly show me what uses are reasonable to use with one method or the other? NOTE: the performance issue is very important to me! thanks, Pedro Salazar. -- -PS --- This SF.Net e

Re: [JBoss-user] CMP field for key not found

2003-11-11 Thread Pedro Salazar
="external" * @jboss.relation * related-pk-field="primitiveId" * fk-column="primitive_id" */ public abstract PrimitiveLocal getPrimitive(); public abstract void setPrimitive(PrimitiveLocal primitive); Apparently, it was a

[JBoss-user] CMP field for key not found

2003-11-10 Thread Pedro Salazar
* fk-column="primitive_id" * @jboss.target-relation * related-pk-field="primitiveId" * fk-column="primitive_id" * @jboss.relation-read-ahead * strategy="on-find" * @--jboss.relation-mapping * style="foreign-key"

Re: [JBoss-user] does it worths creating entity beans for ...

2003-11-07 Thread Pedro Salazar
kind of bean, like how many exists or all connections about a user? regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better

Re: [JBoss-user] does it worths creating entity beans for ...

2003-11-07 Thread Pedro Salazar
system? Can I do this? regards, Pedro Salazar. -- -PS --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU!

Re: [JBoss-user] does it worths creating entity beans for ...

2003-11-07 Thread Pedro Salazar
On Fri, 2003-11-07 at 11:42, Pedro Salazar wrote: > Greetings, > > I would like to ask you if it worths create an entity bean for record > the id of a connection and delete it when user leaves? > > The entity bean would have only the id of the connection, the user id > and

[JBoss-user] does it worths creating entity beans for ...

2003-11-07 Thread Pedro Salazar
nse here for caching information or it stills doesn't make sense because for these new requirements a stateless bean making JDBC connections invoking stored procedures... what is your opinion? Pedro Salazar. -- -PS --- This SF.net email is spon

[JBoss-user] CMP or BMP transactions, isolation level, performance

2003-11-06 Thread Pedro Salazar
requires synchronization. It stills worth going to CMP and lock the all bean operations or just go to BMP beans to use the programatic and customize the block of the transaction? regards, Pedro Salazar -- -PS --- This SF.net email is sponsored by

Re: [JBoss-user] relate 2 entities without a common key (WAS Re: [JBoss-user] relationship 1-* with foreign key)

2003-11-06 Thread Pedro Salazar
d you please show me what keys are you using on your relation? To build a relationship you must have the same key on both sides of the relation, right? If not, JBOSS throws an error. Since I don't have it, I only could made a ejbSelect, but I don't know what I'm losing on a

[JBoss-user] relate 2 entities without a common key (WAS Re: [JBoss-user] relationship 1-* with foreign key)

2003-11-06 Thread Pedro Salazar
olumn="sidId" * @jboss.target-relation * related-pk-field="primitiveId" * fk-column="primitiveId" * @jboss.relation-mapping * style="relation-table" * @jboss.relation-table * table-name="uif_access_permission&quo

Re: [JBoss-user] relationship 1-* with foreign key

2003-11-05 Thread Pedro Salazar
to be generated after the creation in the database and not before. If this has any problem about this... The relationship is independent of the primary key, right? I can have a relation just by name... regards, Pedro Salazar. -- -PS --- This

Re: [JBoss-user] relationship 1-* with foreign key

2003-11-04 Thread Pedro Salazar
* @jboss.relation-table * table-name="uif_access_permission" */ public abstract java.util.Collection getSchedules(); Note that the primitiveId or SIDId names are my fields in the entity beans which are different from primitive_id and sid_id (database attributes). So, wha

[JBoss-user] relationship 1-* with foreign key

2003-11-04 Thread Pedro Salazar
t; * target-ejb="AccessSchedule" * target-role-name="X2" * @ejb.interface-method * view-type="local" * @ejb.transaction * type="Supports" */ public abstract java.util.Collection getSchedule(); Any comments are wel

[JBoss-user] refresh entity beans by request?

2003-11-04 Thread Pedro Salazar
I intend to use several jboss instances (~cluster). thanks, Pedro Salazar. -- PS [EMAIL PROTECTED] PGP:0E129E31D803BC61 --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it