[jboss-user] [JNDI and Naming] - EJB 3.1 Global JNDI names

2009-12-07 Thread icordoba
Hello,
I am testing on JBoss 6 some of the new EJB3.1 features. On JNDIView in JMX 
Console I see that I am getting the same JNDI naming as with JBoss 5.1
Do I have to make any changes in JBoss or in any xml deployment description to 
make a ear or war file be recognized as EJB 3.1 and so get then Global JNDI 
standarized naming?
(As explained in 
http://www.theserverside.com/tt/articles/article.tss?l=EJB3-1Maturity for 
example)

Thanks for any help,
Ignacio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269475#4269475

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269475
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Session EJB 3.1 packaged in war file not recognized in JBoss

2009-12-07 Thread icordoba
Hello,
I am trying to repackage a small EJB3 application moving the EJB jar file to 
.war's /WEB-INF/lib and deploying only that war, as docs say can be done with 
EJB3.1 specs.
The Entity EJBs in that jar are recognized OK as hibernate logs show, but JBoss 
seems to ignore the Stateless Session Bean. When I deploy it according to EJB 
3.0 specs (ear=war+jar) the SSB deploys of and appears in JNDIView in JMX 
Console. Do I have to make any special xml file or modification to JBoss to 
make it recognize the SSB? Of course, I am using new JBoss 6, which is supposed 
to support new EJB 3.1 .
Thanks for any help,
Ignacio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4269472#4269472

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4269472
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI and Naming] - Default JNDI name changed after recompiling

2009-11-10 Thread icordoba
Hi there,
I have just migrated an application from JBoss 4 and Java 5 to JBoss 5.1 and 
Java 6. It worked OK... my Stateless Session Beans had a remote JNDi name like:

UserManager/remote (as all docs state is the default remote name). For some 
reason I had implemented @Remote both in the interface and in the bean class 
itself. That worked ok in JBoss 4 but JBoss 5.1 started giving problems when 
deploying so I removed @Remote from the bean and left it just in the interface 
(as it is supposed to be done).
Now the standard bean JNDI name has changed from 
"UserManager/remote" to
"UserManager/remote-com.mypackage.UserManager"

Is that normal? Anybody can give me any ideas on the reason for this?
I have had to change the hardcoded standard lookup code in the clients or make 
xml deploying descriptors.

Thanks for any help,
Ignacio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4264887#4264887

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4264887
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence] - Isolated ears with same name persistence unit

2009-10-28 Thread icordoba
Hello,
I am deploying two different apps in two ears in JBoss 5.1. They deployed OK in 
JBoss 4.
As I reuse compiled JEE5 classes and I use annotations, the persistence unit 
used in both application has the same name: "mainPersistenceUnit" (it has to be 
hardcoded). this was not a problem with JBoss 4; in the "persistence.xml" 
archive in the EJB jar I point to each different data source. 

The problem is that when starting JBoss 5.1, the second .ear won't load and 
throw the following exception:


  | 2009-10-28 20:24:53,064 WARN  
[org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] (main) 
Unable to register deployment mbean 
org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.mainPersistenceUnit
  | javax.management.InstanceAlreadyExistsException: 
jboss.deployment:id="org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.mainPersistenceUnit",type=Component
 already registered.
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:756)
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:233)
  | at sun.reflect.GeneratedMethodAccessor75.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668)
  | at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426)
  | at 
org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:1030)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:722)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:251)
  | at 
org.jboss.deployers.spi.deployer.helpers.ComponentAdapter.addComponent(ComponentAdapter.java:59)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractDeploymentVisitor.deploy(AbstractDeploymentVisitor.java:73)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | 

I've tried all possible isolated / CallByValue / Java2ParentDeletation / etc. 
on / off configurations.

The weird thing is that, once JBoss has started, I "touch" the second ear and 
it will deploy without problems.

Thanks for any help/directions.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262803#4262803

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: Multiple JBoss instances vs. one

2009-10-28 Thread icordoba
Hello,
thanks for the links. I had of course read them before posting but, sorry, I 
can't find definite information there about having to activate CallByValue. I'm 
sure I'm missing something.
In my scenario I have to deploy two .ears and two .wars. I use classloading 
configuration for 2 different repositories in jboss-web.xml and jboss-app.xml
I need to do this as I cannot include the war's inside the .ears.

In JBoss I am activating isolation in ear-deployer-jboss-beans.xml but 
deactivating CallByValue. I also deactivate CallByValue in jboss-service.xml

In war-deployers-jboss-beans.xml I deactivate java2ClassLoadingCompliance, as 
well as in jboss-app.xml and jboss-web.xml

This should enable isolation while not activating CallByValue.

I'll make checks with both apps. If anybody knows any configuration file I 
might me missing please point me to any direction.

Thanks,
Ignacio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262797#4262797

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262797
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Multiple JBoss instances vs. one "big" JBoss with different

2009-10-27 Thread icordoba
hello,
I start this thread to get opinions on which is the best approach when needing 
to deploy multiple different applications in the same server.
I've been using JBoss for years starting with version 3. During this time I've 
used a couple of JBoss instances with scope class loading, even though docs 
state that disabling unified class loading and enabling marshaning 
(CallByValue?) is CPU consuming.

I am migrating now to JBoss 5.1 and have decided to test keeping unified class 
loading and starting multiple JBoss'es in differennt localhost IPs. (I cannot 
deploy different applications in the same instance as I have many version 
conflicts. I use multiple versions of my own EJB3 component library)
These JBoss will need less memory than the previous one and only JBoss. Of 
course, they are faster now.

is this approach right? I use MacOS and its Java VM, while not specially fast, 
it is suppoused to handle memory sharing between different java instances.

Maybe there is a different approach for deploying different apps in the same 
server... as far as I know there is no way to enable isolated class loading 
without enabling "CallByValue"... is there?

Thanks for any advice/experiences.

Ignacio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262443#4262443

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262443
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: Migrating .ear to JBoss 5 with several EJB3 Jars inside

2009-10-25 Thread icordoba
Well,
they are EJB3 entities. I guest they have most in common with HJPA/Hibernate 
entities but I try not to code anything outside EJB3 specifications, so I never 
deal with Hibernate in my code, even though I know it is there taking care of 
EJB3 persistence.

May I ask if dealing with Hibernate specifically can solve my problem?

Thanks,
Ignacio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262058#4262058

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262058
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Forcing a .war to load after a .ear

2009-10-25 Thread icordoba
Hello,
I had several applications installed in JBoss 4 and had no problems with them. 
I had modified deployment sorter to make war file deploy after the 
corresponding ear file. For come reasons I need to have the war file outside 
the ear file, which only contains .jar files with EJBs. This was no problem for 
JBoss 4.

I am trying to migrate to JBoss 5. After some minor changes in code lookup, 
they work ok, but I cannot make war's to deploy after .ear when launching JBoss 
(When JBoss is runningI touch web.xml and they deploy OK)

I've read in several threads I can use "depends" tag in jboss-web.xml file. 
I've done it inserting there the JMX id of some EJBs.


jboss.j2ee:ear=tuportal3.ear,jar=tuportal3.jar,name=PortalManager,service=EJB3
  | 

Then, I start JBoss and the war actually  loads after the ear, but it seems 
that the ear is not already fully loaded. I get the following error:

2009-10-25 13:46:36,195 ERROR [com.servengine.util.ServletContextUtils] 
(HDScanner) ServletContextUtils: RuntimeException: 
  | org.jboss.ejb3.common.registrar.spi.NotBoundException: Object is bound at 
key 
jboss.j2ee:ear=tuportal3.ear,jar=tuportal3.jar,name=PortalManager,service=EJB3, 
but is not fully installed, instead of state: controllerst...@1ba6b028{start}
  | 

The id of the EJB (PortalManager) is right as when deploying the war manually 
(touching web.xml) it works ok.

Any ideas about what I am missing?

By the way. I cannot find the .ear it self when browsing jboss.deployment MBean 
in JMX Console. I just see an entry for every EJB. Is it possible to refer to 
the .ear itself some way in "depends" property in jboss-web.xml so my war does 
depend on the .ear and not on a particular EJB(s) in that ear?

thanks for any help

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4262011#4262011

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4262011
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Re: Migrating .ear to JBoss 5 with several EJB3 Jars inside

2009-10-09 Thread icordoba
Sorry, I mean, "Do I have to repack my EJBs all in one jar inside the ear? 

Thanks :-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259588#4259588

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259588
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0 Users] - Migrating .ear to JBoss 5 with several EJB3 Jars inside

2009-10-09 Thread icordoba
Hello,
I am migrating to JBoss 5 from Jboss 4.0.3
My application is packed in an .ear file with multiple .jar files inside.

All share a common persistence unit and have relations between them. This works 
OK in JBoss 4.0.3 (To make it work I had to include all EJBs in the orm.xml 
file in the .ear META-INF dir)

Now, when deploying this same .ear in JBoss 5 I find that EJBs in a jar file is 
not visible to EJBs in another jar (even they are in the same .ear file and 
they all appear in orm.xml file as exposed)
Am I missing something that I must include in JBoss 5?

This is one of the multiple errors I get:
com.servengine.dns.VirtualHost and com.servengine.portal.Portal are the 
entities packed echaone in a different jar.

2009-10-09 11:43:54,073 ERROR 
[org.jboss.kernel.plugins.dependency.AbstractKernelController] (main) Error 
installing to Start: 
name=persistence.unit:unitName=tuportal3.ear/ServEngineDNSEJB.jar#mainPersistenceUnit
 state=Create
  | org.hibernate.AnnotationException: @OneToOne or @ManyToOne on 
com.servengine.dns.VirtualHost.portal references an unknown entity: 
com.servengine.portal.Portal
  | at 
org.hibernate.cfg.ToOneFkSecondPass.doSecondPass(ToOneFkSecondPass.java:81)
  | at 
org.hibernate.cfg.AnnotationConfiguration.processEndOfQueue(AnnotationConfiguration.java:456)
  | at 
org.hibernate.cfg.AnnotationConfiguration.processFkSecondPassInOrder(AnnotationConfiguration.java:438)
  | at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:309)
  | at 
org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1148)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1226)
  | at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:173)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
  | at 
org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 

I have read docs but have no info about this. Do I have to repack my EJBs all 
in one ear?
Thanks for any directions.

Ignacio

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4259585#4259585

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4259585
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Having EntityManagers in different SLSB be "in sync" inside

2008-12-16 Thread icordoba
Hi there,
I am having a problem when working with entity managers in different stateless 
session beans in a same application.
I include them via injection:

@PersistenceContext(name="myPersistenceContext", 
unitName="mainPersistenceUnit")
  | private EntityManager entityManager;
  | 

When working inside a transaction, if an entity manager adds or removes 
entities and before commiting, a method in another session bean ins invoked, 
even if its entity manager has the same name and unitName, it will not reflect 
the changes.
Is this the right behaviour of entity manager? How am I suppoused then to use 
only one entity manager or, at least, make these entity manager instances to be 
consistent with the others?

(Of course, not using transactions solves the problem as changes are commited 
when getting out of every method in the SLSB but I do need transactions here)

Thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4196839#4196839

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4196839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Cascade.REMOVE not working between EJBs in different jars

2008-12-10 Thread icordoba
Hi there, 
I am having a problem with Hibernate which I don't know if it is a problem or 
the regular behaviour. 
Cascade.REMOVE is working fine for me but only between EJBs in the same .JAR 
(several jars, each for a differente "module" are packed in an .ear for my 
application) 
I deploy a .ear file with EJBs grouped in different jars. Some times there are 
MANY-TO-ONE referentes from EJBs in these different jars. Every thing works OK 
with these EJBs even they are placed in different jars. My only problem is that 
removing a EJB will not remove the corresponding side of the relation y the EJB 
is in another jar file. 

The only way I have found to solve this is manually adding "on delete cascade" 
in the MySQL schema, but it is important for me that the database scheme 
created by JBoss/Hibernate when I deploy de .ear is fully funcional not 
requiring manual modifications.

By the way, should Hibernate add "on delete cascade" constraint when creating 
the data base schema? It isn't now, but it manages OK cascade removing in EJBs 
in the same jar anyway. 

I don't use any Hibernate specific feature. Just EJB3 annotations and I am 
using JBoss 4 as EJB container. 

Thanks for any help/ideas 

Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4195588#4195588

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4195588
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Help on join query

2008-11-06 Thread icordoba
In my system I have the following classes:

File
Category
User
Role
Permission

Files belong to one or more categories
Users can have one or more roles
A permission can refer to a file or a category of files (never both)
A permission can refer to a user or role (and so affecting all users in that 
role) (never both user and role)
Permission has 3 booleans, read, write, edit

I need a HQL query to get all files accessible by a user. It should return all 
files that have a read permission for that user or any of the roles assigned to 
the user and all files belonging to a category that has a read permission to 
that user or any of the roles assigned to the user.

I am pretty new to Hibernate/JBoss and I've been examining example queries but 
can't find anyone similar to this one... any directions/help?

thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4187315#4187315

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4187315
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: How to remove a timer from JMX Console

2008-04-10 Thread icordoba
Thanks for the reply Dimitri,
I'am already removing timers from the persistencePlicy MBean, but I then need 
to stop & start Jboss. Is it possible to just stop or kill a running timer from 
a running JBoss without having to restart it?

Thanks for your help,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4143312#4143312

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4143312
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Multiple datasources for same persistence unit

2007-12-05 Thread icordoba
Hi there,
I have an application packaged in an .ear file.
It has 3 jars.
I've included a persistence.xml file in each jar, because all EJBs point to the 
same persistence unit name (they are already compiled this way).
I cannot specify a different datasource for that same persistence unit name.
Is this possible? (isolating config options for a same name persistence unit 
between different jars in an ear) It seems to me that the first persistence.xml 
file loaded is taken and the parameters from the rest are ignored. Here is one 
of my persistence.xml files. (what I changes over them is "" 
parameter trying to point to another data source, with no success)

Thanks for any help,
Ignacio


 
  | http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";
  |  version="1.0" xmlns="http://java.sun.com/xml/ns/persistence";>
  |   
  | java:/tuportalDS
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4110519#4110519

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4110519
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: How to install JBoss cache from

2007-11-30 Thread icordoba
Thanks a lot for your very helpful message. I have tons of logs and screen 
captures, but before re-posting them, again, I decided to make that simple 
question. Just wanted to make sure I was copying the right files from "all" to 
"default" instance to use JBoss Cache. Nothing more in this thread.
Any way, please have a look at my previous messages:

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124299
and
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124817

I didn't find it necessary to repost al this for just a question, but maybe I 
should have.

I very much thank you for your positive help,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4109203#4109203

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4109203
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Exception when redeploying .ear that uses JBoss Cache

2007-11-29 Thread icordoba
Thanks a lot for your replies. I've managed to redeploy .ear's using JBoss 
Cache, which was my original goal in this thread.
Thanks again,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108994#4108994

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108994
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Exception when redeploying .ear that uses JBoss Cache

2007-11-29 Thread icordoba
Hi again,
i use Struts actions as clients, but they don't access the cache anyway. They 
get EJBs from a DAO SSB. I only use the Cache specifying it in the 
persistence.xml file for every .jar file in the ear file (that is the only way 
I guess I am capable of using it. Of course I don't do any balancing. just one 
server and one JBoss instance). There maybe some unresolved problem with 
transactions as I asked in the Transaction forum... 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=124299

Can I check info about any "forgotten" action transactions in the system using 
JMX Console and try that way to isolate my problem?

I'll also try to reduce to the maximum the life time of transactions to try to 
make them expire before.

thanks a lot,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108955#4108955

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Exception when redeploying .ear that uses JBoss Cache

2007-11-29 Thread icordoba
Oh, sorry. Yes, that's the IP of the server in which I want to redeploy the app.
I've realized that "touching" the ejb3-entity-cache-service.xml cache 
configuration file makes it easier to redeploy ears using it. (prevents 
previous indicated exception)

I'll so set 3 for LockAcquisitionTimeout to test.

thanks a lot,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108942#4108942

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108942
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Re: Exception when redeploying .ear that uses JBoss Cache

2007-11-29 Thread icordoba
Thanks a lot for your reply.
It has the default value of 15000 (15 seconds?)
Should I reduce it?

In my code I always do a UserTransaction.commit() and a 
UserTransaction.setRollBackOnly in case of an exception inside the transaction. 
Do I have to take any other actions to be sure that transactions are commited 
or rolledback?

thanks again,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108908#4108908

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108908
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossCache] - Exception when redeploying .ear that uses JBoss Cache

2007-11-29 Thread icordoba
Hi there,
I have no problems redeploying ears which don't use JBoss Cache. If I try to 
redeploy an ear using the Cache I have to stop and start JBoss because I get 
the following exception. Thanks for any help.


2007-11-29 12:39:43,395 WARN  [org.hibernate.cache.TransactionalCache] could 
not destroy cache
  | org.hibernate.cache.CacheException: org.jboss.cache.lock.TimeoutException 
failure acquiring lock: 
fqn=/mime_ear,ServEngineFilePublisherEJB_jar,mainPersistenceUnit/com/servengine/filepublisher/FilePublisherCategory,
 caller=Thread[ScannerThread,5,jboss], lock=read 
owners=[GlobalTransaction:<195.219.190.135:60852>:9] (activeReaders=1, 
activeWriter=null, waitingReaders=0, waitingWriters=0, waitingUpgrader=0)
  | at org.jboss.cache.Node.acquire(Node.java:500)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.acquireNodeLock(PessimisticLockInterceptor.java:381)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.lock(PessimisticLockInterceptor.java:309)
  | at 
org.jboss.cache.interceptors.PessimisticLockInterceptor.invoke(PessimisticLockInterceptor.java:183)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.ReplicationInterceptor.invoke(ReplicationInterceptor.java:39)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365)
  | at 
org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160)
  | at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68)
  | at 
org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:183)
  | at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5877)
  | at org.jboss.cache.TreeCache.remove(TreeCache.java:3885)
  | at org.jboss.cache.TreeCache.remove(TreeCache.java:3452)
  | at org.jboss.ejb3.entity.JBCCache.destroy(JBCCache.java:217)
  | at 
org.hibernate.cache.TransactionalCache.destroy(TransactionalCache.java:129)
  | at 
org.hibernate.impl.SessionFactoryImpl.close(SessionFactoryImpl.java:777)
  | at 
org.hibernate.ejb.EntityManagerFactoryImpl.close(EntityManagerFactoryImpl.java:43)
  | at 
org.jboss.ejb3.entity.ManagedEntityManagerFactory.destroy(ManagedEntityManagerFactory.java:86)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.stop(PersistenceUnitDeployment.java:278)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.ejb3.ServiceDelegateWrapper.stopService(ServiceDelegateWrapper.java:119)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:247)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.stop(Unknown Source)
  | at org.jboss.system.ServiceController.stop(ServiceController.java:508)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy211.stop(Unknown Source)
  | at 
org.jboss.ejb3.J

[jboss-user] [JBossCache] - How to install JBoss cache from "all" to "default" server

2007-11-29 Thread icordoba
Hi there,
I want to use "default" jboss instance with JBoss Tree Cache (JBoss version 
4.2.2)
I've copied jgroups.jar and jboss-cache-jdk50.jar in default/lib and 
ejb3-entity-cache-service.xml en default/deploy

It seems to work but I am having redeploy/undeploy problems of the ears I run 
with Cache enabled (using JBoss TreeCache as Hibernate cache).

Am I missing something?

Thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4108847#4108847

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4108847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: BatchUpdateException when removing a entity with a ManyT

2007-11-07 Thread icordoba
In my case some of the entities have 2 o 3 ManyToMany each so it is tedious not 
to have a direct way to solve this.
Thanks a lot for your reply.
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102459#4102459

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102459
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - BatchUpdateException when removing a entity with a ManyToMan

2007-11-06 Thread icordoba
Hi there,
I am getting BatchUpdateException when removing entities related to others by a 
ManyToMany association. Hibernate creates the link table with foreign keys and 
they make that BatchUpdateException to be thrown (I like tables to have foreign 
keys, of course).
I've tried to add a REMOVE cascade, but that makes the end entity to be also 
removed (for example, removing a UserRole entity removes related User, while 
only should remove the entry in the intermediate link table.
My question is... do I have to remove that relation in target entities before 
removing the related entity or there is a way to make JBoss/Hibernate to do 
some intermediate table cascading to remove the relation and avoiding 
BatchUpdateException?

Thanks for any idea,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4102376#4102376

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4102376
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to get the size of a Lazy load relation

2007-09-17 Thread icordoba
U...

org.hibernate.dialect.MySQLDialect

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085209#4085209

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085209
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to get the size of a Lazy load relation

2007-09-17 Thread icordoba
Quote tag doesnt show the tag... anyway:



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085208#4085208

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085208
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to get the size of a Lazy load relation

2007-09-17 Thread icordoba
I am using
anonymous wrote : 
I am using caches in persistence.xml, I'll deactivate them just to test...

:-(

Thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085206#4085206

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085206
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: How to get the size of a Lazy load relation

2007-09-17 Thread icordoba
Thanks a lot for your reply.
I am trying this both as a NamedQuery or as a direct query and I am getting the 
following exception:

2007-09-17 17:12:05,036 DEBUG [org.hibernate.SQL] select count(.) as col_0_0_ 
from Role role0_, User_Role users1_, User user2_ where 
role0_.pkey=users1_.roles_pkey and users1_.users_pkey=user2_.pkey and 
role0_.pkey=?
  | 2007-09-17 17:12:05,038 DEBUG [org.hibernate.jdbc.AbstractBatcher] about to 
close PreparedStatement (open PreparedStatements: 1, globally: 1)
  | 2007-09-17 17:12:05,038 DEBUG [org.hibernate.jdbc.ConnectionManager] 
aggressively releasing JDBC connection
  | 2007-09-17 17:12:05,038 DEBUG [org.hibernate.jdbc.ConnectionManager] 
releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open 
ResultSets: 0, globally: 0)]
  | 2007-09-17 17:12:05,039 DEBUG [org.hibernate.util.JDBCExceptionReporter] 
could not execute query [select count(.) as col_0_0_ from Role role0_, 
User_Role users1_, User user2_ where role0_.pkey=users1_.roles_pkey and 
users1_.users_pkey=user2_.pkey and role0_.pkey=?]
  | com.mysql.jdbc.exceptions.MySQLSyntaxErrorException: You have an error in 
your SQL syntax; check the manual that corresponds to your MySQL server version 
for the right syntax to use near ') as col_0_0_ from Role role0_, User_Role 
users1_, User user2_ where role0_.pkey' at line 1
  | 

The compiled HQL is the folling (and when using a named query it is compiled 
without errors):

select count(r.users) from com.servengine.user.Role r WHERE r.pkey = :pkey

Thanks for any ideas,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4085107#4085107

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4085107
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - How to get the size of a Lazy load relation

2007-09-17 Thread icordoba
Hi there,
I need to pre-load the "size" of a Lazy load relation. I need to do it because 
I need to access the Entity in a JSP and I get "No session or session closed" 
if getting the size directly from the relation (I don't want to put a 
Transaciton using a scriptlet in the JSP page)
I can neither do it using PostLoad annotation. It doesn't work at least with 
JBoss and if I use Eager relations the system loads all data just when checking 
the size, so becomes very slow.
thanks for any help/ideas,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4084999#4084999

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4084999
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @PostLoad invoked before eagerly loaded property finishe

2007-08-23 Thread icordoba
My Exception:

  | Caused by: javax.persistence.PersistenceException: 
org.hibernate.LazyInitializationException: illegal access to loading collection
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.throwPersistenceException(AbstractEntityManagerImpl.java:629)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:194)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManager.find(TransactionScopedEntityManager.java:171)
  | at 
com.servengine.user.UserManagerBean.getUser(UserManagerBean.java:839)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | ... 60 more
  | Caused by: org.hibernate.LazyInitializationException: illegal access to 
loading collection
  | at 
org.hibernate.collection.AbstractPersistentCollection.initialize(AbstractPersistentCollection.java:341)
  | at 
org.hibernate.collection.AbstractPersistentCollection.read(AbstractPersistentCollection.java:86)
  | at 
org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:163)
  | at com.servengine.user.User.ejbLoad(User.java:119)
  | at sun.reflect.GeneratedMethodAccessor1187.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.hibernate.ejb.event.BeanCallback.invoke(BeanCallback.java:23)
  | at 
org.hibernate.ejb.event.EntityCallbackHandler.callback(EntityCallbackHandler.java:78)
  | at 
org.hibernate.ejb.event.EntityCallbackHandler.postLoad(EntityCallbackHandler.java:71)
  | at 
org.hibernate.ejb.event.EJB3PostLoadEventListener.onPostLoad(EJB3PostLoadEventListener.java:35)
  | at 
org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:201)
  | at 
org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:854)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:729)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | at org.hibernate.loader.Loader.loadEntity(Loader.java:1860)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48)
  | at 
org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:42)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:3044)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:395)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:375)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:139)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.proxyOrLoad(DefaultLoadEventListener.java:195)
  | at 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:103)
  | at org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:815)
  | at org.hibernate.impl.SessionImpl.get(SessionImpl.java:808)
  | at 
org.hibernate.ejb.AbstractEntityManagerImpl.find(AbstractEntityManagerImpl.java:174)
  | ... 75 more
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077475#4077475

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077475
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @PostLoad invoked before eagerly loaded property finishe

2007-08-23 Thread icordoba
Hi;
I am having the same problem in a Entity postLoad method which access a eagerly 
loaded Set. Wierd as it doesn't happen on every Load of the entity... :-/

Did you find any sollution on this?

thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4077474#4077474

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4077474
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Complex query generated by 4 non-lazy relations

2007-08-22 Thread icordoba
Hi again, 
I don't know how to check "execution plan". Which debug must I activate?

thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076946#4076946

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Complex query generated by 4 non-lazy relations

2007-08-21 Thread icordoba
Thanks for your reply.
I don't use native queries as my components are supposed to work, for example, 
both with SQLServer and MySQL. I change the mappings in persistence.xml and 
forget about which data base I am using. One of the reasons to work with all 
EJB overload is to be able to forget about native queries, isn't it?

I guess I'll have to redesign client side to make the most of the relations 
"lazy".

Thanks again,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4076183#4076183

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4076183
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Complex query generated by 4 non-lazy relations

2007-08-20 Thread icordoba
Hi there,
i have a typical Portal-user-role-component structure, with obvious relations. 
I have to configure these relations as eager because I need to use entities in 
the client side (JSP page). My problem is that a very complex and slow query is 
generated with thousand "combinations" of results, just to load a portal. I've 
seen that changing eager to lazy in the relations makes the  query be much 
simpler, as lazy relations are not loaded.
Can I configure Hibernate / JBoss EJB3 to avoid this complex query. Login 
procedure takes about 20 seconds because of this overhead.
thanks for any help.


  | select portal0_.id as id347_5_, portal0_.locale as locale347_5_, 
portal0_.description as descript3_347_5_, portal0_.requiresSignupConfirmation 
as requires4_347_5_, portal0_.newUserNotification as newUserN5_347_5_, 
portal0_.sessionRememberDays as sessionR6_347_5_, portal0_.userSelfSignup as 
userSelf7_347_5_, portal0_.homeurl as homeurl347_5_, portal0_.lastAccessed as 
lastAcce9_347_5_, properties1_.portal_id as portal4_7_, properties1_.pkey as 
pkey7_, properties1_.pkey as pkey348_0_, properties1_.name as name348_0_, 
properties1_.value as value348_0_, properties1_.portal_id as portal4_348_0_, 
actions2_.Portal_id as Portal1_8_, component3_.className as actions2_8_, 
component3_.className as className346_1_, component3_.admin as admin346_1_, 
component3_.guest as guest346_1_, roles4_.portal_id as portal6_9_, roles4_.pkey 
as pkey9_, roles4_.pkey as pkey353_2_, roles4_.name as name353_2_, 
roles4_.description as descript3_353_2_, roles4_.portal_id as portal6_353_2_, 
roles4_.loginT!
 ext as loginText353_2_, roles4_.newUserRole as newUserR5_353_2_, 
actions5_.Role_pkey as Role1_10_, component6_.className as actions2_10_, 
component6_.className as className346_3_, component6_.admin as admin346_3_, 
component6_.guest as guest346_3_, extrauserd7_.portal_id as portal7_11_, 
extrauserd7_.pkey as pkey11_, extrauserd7_.pkey as pkey352_4_, 
extrauserd7_.name as name352_4_, extrauserd7_.defaultValue as defaultV3_352_4_, 
extrauserd7_.options as options352_4_, extrauserd7_.required as required352_4_, 
extrauserd7_.portal_id as portal7_352_4_, extrauserd7_.publicField as 
publicFi6_352_4_ from Portal portal0_ left outer join Property properties1_ on 
portal0_.id=properties1_.portal_id left outer join Portal_Component actions2_ 
on portal0_.id=actions2_.Portal_id left outer join Component component3_ on 
actions2_.actions_className=component3_.className left outer join Role roles4_ 
on portal0_.id=roles4_.portal_id left outer join Role_Component actions5_ on 
roles4_.pkey=action!
 s5_.Role_pkey left outer join Component component6_ on actions5_.actio
ns_className=component6_.className left outer join ExtraUserdataField 
extrauserd7_ on portal0_.id=extrauserd7_.portal_id where portal0_.id=?
  | 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4075964#4075964

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4075964

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Working example por OneToMany cascade remove?

2007-08-10 Thread icordoba
OK.. thanks for the reply.
This way, Users will the orphan and I need the special Hibernate annotation for 
orphans to be removed, right?

Is there a way of making JBoss really remove User entities itself without that 
Hibernate-specific annotation?

I can't understand what is then the pourpose of the CascadeType.REMOVE (or ALL 
in this case) as I must "unlink" users from portals setting Portal value to 
null before removing the portal. Does cascading do any work then?

Thanks a lot,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073093#4073093

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073093
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Working example por OneToMany cascade remove?

2007-08-10 Thread icordoba
Hi there,
thanks a lot for your reply... this is the Portal side:

@OneToMany(mappedBy="portal",fetch=FetchType.LAZY, 
cascade={CascadeType.ALL})
  | public void setUsers(Set users)
  | {
  | this.users = users;
  | }
  | 
  | @OneToMany(mappedBy="portal",fetch=FetchType.LAZY, 
cascade={CascadeType.ALL})
  | public Set getUsers()
  | {
  | return users;
  | }
  | 

and this is the user side:


  | @ManyToOne
  | public Portal getPortal()
  | {
  | return portal;
  | }
  | 
  | @ManyToOne
  | public void setPortal(Portal portal)
  | {
  | this.portal = portal;
  | }
  | 

Does it look right?

Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4073081#4073081

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4073081
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Working example por OneToMany cascade remove?

2007-08-10 Thread icordoba
Hi there,
I've spent days reading threads and googling about the behaviour of the remove 
cascade in EJB3 but haven't been able to make Cascade.REMOVE to work in a 
OneToMany relation.
Could anybody post a working example? I have, for example, Portals and Users. I 
just need that when I do a em.remove(portal), all its users are removed. For 
the moment I have to remove the child entities myself... and I guess that this 
should be done by the cascade remove.

I am getting that famous "deleted entity passed to persist" exception.

Thanks for any example,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4072946#4072946

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4072946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Entity relationship and remove operations

2007-08-07 Thread icordoba
Hi there,
I haven't been able to solve this same problem ("deleted entity passed to 
persist" exception when deleting a OneToMany with cascade all relation(). You 
say you just have to "refresh" the parent, but you were saying that you delete 
the parent and you expect the children to be deleted. If you delete the parent, 
how do you refresh it? (I get "Not managed entity" if I try to em.refresh() it)

Thanks for any help,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4071781#4071781

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4071781
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Reciprocal dependency injection with @EJB

2007-07-27 Thread icordoba
Hi there,
how can I get a dependency injection using @EJB in two Stateless Session beans 
which each one needs a reference to the other one?
I get a NOTYETINSTALLED status when just injecting in eachone the reference to 
the otherone:

In UserManager:
@EJB PortalManagerLocal portalmanager;

in PortalManager:
@EJB UserManagerLocal usermanager;

Thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4068270#4068270

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4068270
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - BUG: is "id" a reserved field id in EJB3 entities?

2007-07-25 Thread icordoba
Hi there,
I am migrating EJB2.1 Entity Beans to EJB3 and some of them have a field named 
"id" which is not primary key. When trying to add a Query JBoss/Hibernate seems 
to interchange the id field with the primary key field. This seems to be a Bug 
as naming "id" with, for example "userid" makes everything work smooth. If not 
I get:
Caused by: org.hibernate.TypeMismatchException: named parameter [2] not of 
expected type; expected = class java.lang.Integer; but was =java.lang.String

(Primary key field is an Integer while id field is a String)

Any info on this?
thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4067477#4067477

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4067477
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: detached entity passed to persist

2007-06-24 Thread icordoba
I see this is an old thread but just in case someone nees a solution... try to 
enclose everyting in a UserTransaction. If you take an EJB3 entity outside the 
transaction, you cannot re-persist it or iterate over CMRs, etc. You need then 
a UserTransaction in the client side.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4057182#4057182

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4057182
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - LazyInitializationException in PostLoad method

2007-06-16 Thread icordoba
Hi,
I am getting the following exception when trying to get the size of a one to 
many relation in a PostLoad method. Of course, this code runs inside a SLSB DAO 
and should so be inside a transaction:
org.hibernate.LazyInitializationException: failed to lazily initialize a 
collection, no session or session was closed
  | at 
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationException(AbstractPersistentCollection.java:358)
  | at 
org.hibernate.collection.AbstractPersistentCollection.throwLazyInitializationExceptionIfNotConnected(AbstractPersistentCollection.java:350)
  | at 
org.hibernate.collection.AbstractPersistentCollection.readSize(AbstractPersistentCollection.java:97)
  | at 
org.hibernate.collection.PersistentSet.size(PersistentSet.java:139)
  | at 
com.servengine.contentmanager.CMCategory.postLoad(CMCategory.java:52)

I am using Set as the type for the relation and have set Eager load. How am i 
suppoused to access EJB CMRs from callback methods lik PostLoad?

Thanks for any help,
Ignacio
 

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054980#4054980

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054980
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Which approach to fully access EJB3 Entities from within

2007-06-15 Thread icordoba
Just one comment. The only solution I've found is adding @transient properties 
to the EJBs with the following structure:

@Transient
  | public List getTextblocksList()
  | {
  | ArrayList list = new ArrayList();
  | list.addAll(getTextblocks());
  |   return list;
  | }
  | 

This way I can get multiple Eager getters for onetomany relations, but makes 
JSTL writer need to think if he must use, in this case, ${article.textblocks} 
or ${article.textblocksList} depending on if he'll use EL or just regular JSTL 
iteration (c:forEach, ...)

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054932#4054932

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054932
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Which approach to fully access EJB3 Entities from within JSP

2007-06-15 Thread icordoba
Hi there,
after reading lots of posts trying to find a solution to access EJB3 Entity 
beans from JSTL I haven't been able to get a valid approach.
I can't use Lazy loading as that would make my JSP need a scriptlet to make a 
UserTransaction surround all data access.
When using Eager loading, I have to make all data be returned as Set's, and not 
Lists or Collections (solutions for this involve Hibernate specific 
annotations, outside EJB 3 standard; I want to stick to EJB3 I've also found 
very "ugly" using @IndexColumn or [EMAIL PROTECTED] Hibernate annotations).
As I just said, and because I am using Struts, the only solution I've found is 
attaching EJBs in the request/session with there relations as Set types. This 
works but I have a big small problem. I can't access data using Expression 
Language. For example, I am getting a:
Unable to find a value for "0" in object of class 
"org.hibernate.collection.PersistentSet" using operator "[]"
When trying to do:
${newsArticle.textBlocks[0]}

Can anybody thing of an approach to be able to access EJBs in JSP pages without 
any limitations, conforming to EJB3 standard and without using scriptlets in my 
page? (Of course working with JBoss).

I can't believe that such a simple goal is not actually possible with JBoss 
(and maybe other AS's) implementation of EJB3.

Thanks for any help,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4054931#4054931

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4054931

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - How to make a .ear use an expanded war classloader

2007-05-29 Thread icordoba
Hi there,
I have the following scenario in my webapps:

- .ear file with EJBs (2.1 & 3)
- expanded war file with the web interface.

I don't include the war in the ear file because in development moment I change 
many thin in JSPs / struts XMLs /...

JBoss configuration

What is the ClassLoading configuration to make both the .ear EJBS and the 
webapp search classes before in /WEB-INF/lib than in the .ear file class loader?
I need this because for historical (wrong aprox., of course) reasons, the EJB 
returns classes that implement some view layer classes, and so I don't want 
them to be part of the ear file. I have too much code written this way as I 
used to use Unified Class Loader. My problem now is than I haven't found a way 
to "mix" both class loaders and so any class retured from the business layer 
will give ClassNotFound exceptions when used in the presentation layer. (Also, 
EJB3 POJOs throw ClassCastException). This is solved by packaging the war 
inside the ear, but I cannot do that.

I am changing properties in the following files:

1) conf/jboss-service.xml set NamingService CallByValue to true
2) deploy/ear-deployer.xml set Isolated and CallByValue attributes to true.
3) deploy/jbossweb-tomcat55.sar/META-INF/jboss-service.xml set 
Java2ClassLoadingCompliance and UseJBossWebLoader to false

4) /WEB-INF/jboss-web.xml
5) /META-INF/jboss-app.xml


Thanks for any help.


View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049424#4049424

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049424
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - NoClassDefFoundError in a expanded war from its own /lib/ ja

2007-05-29 Thread icordoba
Hi there,
i am trying tu configure class loading in JBoss 4.0.5
I have an .ear file with  and 
java2ParentDelegation=true
I need to access classes in this .ear from my war application, deployed in a 
war dir (I need to work on it, can't package it in the .ear file)
I've tried to reference to the same class loader with jboss-web.xml and tried 
all combinations of java2ParentDelegation and java2ClassLoadingCompliance flags 
with no success. The most I've been able to achieve is loding the classes in 
the ear' jars but classes in /WEB-INF/lib/ jars are then invisible to the 
webapp (¿?). How can I make the webapp mix both class loaders?
Thanks for any help. Please don't point me to those 2 documents about JBoss 
class loading. I've been reading them for years and, as happens with many JBoss 
users, can't get a clear picture of all this flags. ¿Any alternative documents 
about class loading configuration in web apps in JBoss? Thanks for any help 
until some one writes that pending Web Class Loading WiKi.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049282#4049282

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049282

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Without rhyme or reason? a ClassCastException occured!

2007-05-28 Thread icordoba
Hi there,
I am having this same problem. Did you find the solution? thanks for any info.
(If i use remote interface it works OK, but when changing to local lookups of 
the Stateless sessiion bean, it throws the class cast exception just when 
invoking the method)

Thanks,
Ignacio

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4049149#4049149

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4049149
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Setting jndi-name in jboss.xml without ejb-jar.xml

2007-05-09 Thread icordoba
Hi there,
as promised for EJB3 I am trying to get rid of ejb-jar.xml. I have a problem 
when trying to set jndi-name of my EJBs in jboss.xml
I deploy the same EJBs in different apps and I used to set different jndi names 
in 2.1 EJBs in jboss.xml.

Doing so I am getting the following error:
org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean 
Annotation: found in jboss.xml but not in ejb-jar.xml

do I need a ejb-jar.xml file if I use jboss.xml? I've tried to copy and paste 
old 2.1 EJBs ejb-jar.xml into my EJB3 ejb-jar.xml, but then jboss understands 
them as 2.1 EJBs and not EJB3, even setting the correct doctype and xml schema 
in the ejb-jar file.
(Anyway, what I want is not to use at all ejb-jar.xml)

Thanks for any help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4044500#4044500

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4044500
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - How to remove a timer from JMX Console

2007-02-05 Thread icordoba
Hi there,
I have a big problem in a very important JBoss App. It creates several 
instances of the same timer. Until I fix it I need to remove the duplicated 
instances without shutting down JBoss.
I see in JMX Console, listing Timers:

[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB]
   handle: 
[id=30,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007
 00:28:56.269,periode=12]
  
[id=30,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-66924226,periode=12,active]
   handle: 
[id=32,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007
 18:18:48.400,periode=12]
  
[id=32,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-2732095,periode=12,active]
   handle: 
[id=31,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007
 18:00:16.395,periode=12]
  
[id=31,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-3844100,periode=12,active]
   handle: 
[id=37,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007
 19:07:39.903,periode=12]
  
[id=37,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=79407,periode=12,active]
   handle: 
[id=29,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],first=05-Feb-2007
 18:05:15.942,periode=12]
  
[id=29,target=[target=jboss.j2ee:jndiName=tuportal/MailRelay,service=EJB],remaining=-3544554,periode=12,active]


Whick MBean and how must I invoke it to remove timers with ids 32, 31, 37 and 
29?
thanks for any help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011469#4011469

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011469
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - How to remove a Timer using JMX Console

2006-09-20 Thread icordoba
Hi there,
I have repeated timers for the same service due to a error in an application 
which code cannot be modified now. How can I remove duplicated timers from JMX 
Console?

I don't know which parameters I must introduce in the removeTimerService() 
MBean Operation

I can list them invoking listTimers() MBean operation:

   handle: 
[id=22,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=07-Sep-2006
 23:48:52.340,periode=90]
  
[id=22,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-1127458982,periode=90,active]
   handle: 
[id=18,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006
 17:23:44.770,periode=90]
  
[id=18,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-27366552,periode=90,active]
   handle: 
[id=16,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=11-Sep-2006
 02:36:22.746,periode=90]
  
[id=16,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-858208576,periode=90,active]
   handle: 
[id=21,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006
 23:10:03.332,periode=90]
  
[id=21,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-6587991,periode=90,active]
   handle: 
[id=17,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=12-Sep-2006
 13:24:20.531,periode=90]
  
[id=17,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-732930792,periode=90,active]
   handle: 
[id=23,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=07-Sep-2006
 23:53:44.519,periode=90]
  
[id=23,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-1127166804,periode=90,active]
   handle: 
[id=25,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=21-Sep-2006
 01:11:36.854,periode=90]
  
[id=25,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=705531,periode=90,active]
   handle: 
[id=19,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006
 17:45:04.447,periode=90]
  
[id=19,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-26086876,periode=90,active]
   handle: 
[id=20,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],first=20-Sep-2006
 18:05:33.801,periode=90]
  
[id=20,target=[target=jboss.j2ee:jndiName=tuportal/MailPlusManager,service=EJB],remaining=-24857522,periode=90,active]
 

Thanks for any help.

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3973110#3973110

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3973110
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user