[JBoss-user] [Persistence CMP/JBoss] - #1616;Cascade Delete Doesn't Work!

2004-09-16 Thread neva
Hello All,

I have recently started using cascade-delete and I thought it was working fine. After 
a while, I noticed that sometimes deletion (with cascade) is successful but at some 
other times it doesn't work and so JBoss is performing an update to NULL of the key 
fields of the deleted object.

Can anyone give me a reason to this inconsistency and a way around it?

Thanks..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848432#3848432

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848432


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Deployment trouble after updating to Version 3.2.5

2004-09-15 Thread neva
Same Here...I just switched to Jboss 3.2.5 and I get the same thing!!

Help...Anyone???

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848304#3848304

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848304


---
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - Faster When war not included in ear

2004-09-14 Thread neva
Hello,

During development, I have been deploying the client side (war) in tomcat on a 
separate JVM and my ear (All my ejbs) on jboss (now using 3.2.5) on another. Using 
that architecture, I can retrieve all memberships (about 400 records) in a dynamic 
search in around 10 secs. 
In the production however, I bundled the war into the ear and deployed the whole thing 
in jboss. Now, it takes 30 secs to retrieve all memberships...

I have been searching for the reason but haven't been able to get 
anywhere...suggestions?

Thanks in advance..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3848131#3848131

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3848131


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Caching Problem

2004-09-12 Thread neva
Hello All,

I have a problem in using cache invalidation and I was hoping that you could help me 
out.
I have several beans all of which I have added to the same cache invalidation group so 
that when data of one of the entity beans changes, all cached data of this bean and 
others in that group can be flushed.
When data of an entity bean is changed, the data of entity beans in this cache 
invalidation group is flushed. But for example if I have an entity bean called 
'membership' composed of another entity bean 'member', when I add a new member to the 
membership, the data is not flushed!! isn't that considered a change to the membership 
bean? shouldn't that cause membership and all beans in the same cache invalidation 
group to be flushed?? 
If this behaviour is normal, then how can I overcome this problem?

Thanks for ur help in advance...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847925#3847925

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847925


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Cache Invalidation Problem

2004-09-12 Thread neva
Hello All,

I have a problem in using cache invalidation and I was hoping that you could help me 
out.
I have several beans all of which I have added to the same cache invalidation group so 
that when data of one of the entity beans changes, all cached data of this bean and 
others in that group can be flushed.
When data of an entity bean is changed, the data of entity beans in this cache 
invalidation group is flushed. But for example if I have an entity bean called 
'membership' composed of another entity bean 'member', when I add a new member to the 
membership, the data is not flushed!! isn't that considered a change to the membership 
bean? shouldn't that cause membership and all beans in the same cache invalidation 
group to be flushed?? 
If this behaviour is normal, them how can I overcome this problem?

Thanks in advance..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3847926#3847926

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3847926


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM. 
Deadline: Sept. 13. Go here: http://sf.net/ppc_contest.php
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Using ObjectName

2004-08-24 Thread neva
Hello,

I am kind of new to this so I was hoping that you guys could help me out..
I want to flush the cached data of all entity beans in my application when a specific 
event occures.. 
I have only been able to get to the following code which only flushes data of one 
entity bean:

MBeanServer server = MBeanServerLocator.locateJBoss();
ObjectName container = new 
ObjectName(jboss.j2ee:service=EJB,jndiName=myBean);
server.invoke(container, flushCache, null, null);

How can I create an ObjectName to flush all data that has to do with my application 
(all beans in my .ear)? What will the string given to the constructor look like?

Thanks..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845973#3845973

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845973


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Resetting The Cache

2004-08-23 Thread neva
Hello,

I have been reading for quite some time now about jboss caching configurations. I have 
a question however that I weren't able to answer on my own. What if, in my 
application, I need to reset all cached data when a specific event occures? (leave 
aside cache invalidation)

I know that I can use the JMX console to flush cached data of a specific bean manually 
but how do I do it automatically (in other words, programmatically) for all beans in 
my application.

Thanks, 
Nevine..

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845877#3845877

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845877


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Entity bean caching

2004-08-16 Thread neva
Hi All,

I bumped into a problem while working with caching. In an application I am developing, 
I defined 2 entity beans both referring to the same table in the db and each of them 
is in a different module (jar). Of course when I use caching, I face inconsistency 
bec. if I edit from one module, it is not reflected in the other since from jboss's 
point of view, they are 2 separate things. How do I overcome this?
P.S: I need 2 entity beans representing the same table bec. I need that entity to have 
relationships with other entites from both jars and since I can't have relationships 
between beans not contained in the same jar, this seemed like the only thing to do.
Suggestions?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845168#3845168

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845168


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Entity bean caching

2004-08-16 Thread neva
well, I had to use Option C after failing to come up with a solution but this really 
weakened the advantage that caching offered to my application. 
This table (represented by the 2 beans) has many records thus making caching 
imperative!
I need to get it back to Commit Option A :(

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845179#3845179

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845179


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Entity bean caching

2004-08-16 Thread neva
well actually, I can't because I have to follow a specific design that makes all 
modules independent of each other and at the same time if used together, avoid 
inconsistency..

what if I use jboss cache invalidation, would that do the trick? or do they still have 
to be in the same jar for it to work?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3845195#3845195

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3845195


---
SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media
100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33
Save 50% off Retail on Ink  Toner - Free Shipping and Free Gift.
http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Jboss hangs when I deploy a war

2004-06-15 Thread neva
Hello All,

I tried to deploy an ear file containing a war inside it. When I deploy it into jboss, 
I get no errors but Jboss stops and doesn't give me the:

[Server] JBoss (MX MicroKernel) [3.2.4 (build: CVSTag.etc

when I tried to work with the application, it worked fine so I ignored the problem.
Later, I added another war into this old ear. This time I wasn't lucky enough.. Only 
one of the wars gets deployed and then the jboss just hangs. 

Can anybody tell me where to start looking??

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3838757#3838757

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3838757


---
This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference
Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer
Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA
REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: EJB Creation Error Column does not allow nulls

2004-03-22 Thread neva
I think you should check this field in the database. Probably you have specified that 
it is not null. Sometimes, a record is added in the DB first with some fields being 
nulls then they are set later..

just change it in the db to accept null.

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826875#3826875;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826875Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Problem when including the datasource xml file in ear

2004-03-21 Thread neva
Hello,

I have an application that works fine when I put the datasource xml file in the 
deployment folder of JBoss. However, I tried to remove that DS xml file from there and 
included it into the application.ear file. This is where I get a deployment error.
I get the following:


org.jboss.deployment.DeploymentException: Error: can't find data source: 
java:/MySqlDS; - nested throwable: (javax.naming.NameNotFoundException: MySqlDS not 
bound)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:115)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:438)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:170)
at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339)
at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
at sun.reflect.GeneratedMethodAccessor366.invoke(Unknown Source)
. 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:190)
Caused by: javax.naming.NameNotFoundException: MySqlDS not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:495)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:503)
at org.jnp.server.NamingServer.getObject(NamingServer.java:509)
at org.jnp.server.NamingServer.lookup(NamingServer.java:282)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:492)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:471)
at javax.naming.InitialContext.lookup(InitialContext.java:347)
at 
org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.(JDBCEntityBridge.java:112)


does that mean that I MUST have the datasource xml file in the deployment folder
of xml before I can deploy my application? if not, then how can I do it. I need to
have all my application wrapped up in the ear file only.. 
Thanks in advance...bye

a 
href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3826733#3826733;View 
the original post/a

a 
href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3826733Reply 
to the post/a


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user