[JBoss-user] [Management, JMX/JBoss] - Use dynamic class downloading for access to JBoss 3.x/4.x

2005-01-25 Thread mlange
My goal is to access the JBoss JMX server on different JBoss versions (3.0, 3.2, 4.0...). Using RMIAdaptor (jmx/rmi/RMIAdaptor) is straight forward. Problem: invalid class exceptions due to different server implementations (jnp, jmx etc.). Only correct client libraries (e.g.

[JBoss-user] [Management, JMX/JBoss] - Re: Use dynamic class downloading for access to JBoss 3.x/4.

2005-01-25 Thread mlange
Ok, great. Do you have a code snippet how to talk to the service and to download class bytecode? Is there an example in the testsuite? Thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3863561#3863561 Reply to the post :

[JBoss-user] [Management, JMX/JBoss] - Re: StatisticsCollector

2004-11-17 Thread mlange
Last time I tried it, the collector did not show any sql stats. Would be great if you could provide an information whether this part is working for you. Thanks. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3855493#3855493 Reply to the post :

[JBoss-user] [Persistence CMP/JBoss] - Re: Entity Deployer Error (finder method)

2004-08-06 Thread mlange
Shouldn't you write method-paramjava.lang.String/method-param | method-paramjava.lang.Integer/method-param ? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3844376#3844376 Reply to the post :

[JBoss-user] [EJB/JBoss] - Re: cluster entity EJBs with invalidation

2004-07-26 Thread mlange
The warning always appears if you add the clustered tag to ejb with local interfaces. If you change to remote interfaces it is gone -marek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843263#3843263 Reply to the post :

[JBoss-user] [EJB/JBoss] - jndi lookups fail (under load)

2004-07-23 Thread mlange
Problem: many clients to try lookup a session bean concurrently. If the client count reaches a certain number, the lookup fails with: [java] javax.naming.CommunicationException: Receive timed out [Root exception is java.net.SocketTimeoutException: Receive timed out] [java] at

[JBoss-user] [EJB/JBoss] - Re: jndi lookups fail (under load)

2004-07-23 Thread mlange
The error seems to occur when more than 20 clients access the server. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3843073#3843073 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3843073

[JBoss-user] [Persistence CMP/JBoss] - catch JBossTransactionRolledBackException during optimistic

2004-07-13 Thread mlange
During my tests with the JDBCOptimisticLock strategy (which worked btw), I encountered a problem: how can I catch the exception thrown by JBoss when an update error occured: [java] JBossTransactionRolledbackException was: org.jboss.tm.JBossTransactionRolledbackException: null; nested

[JBoss-user] [Persistence CMP/JBoss] - Re: XPetstore EJBQL problem on Jboss 3.2.43.2.5, but works

2004-06-26 Thread mlange
I had the same problem with 3.2.4. Possibly related to a reserved keyword 'order' after which one of the entity beans is named. Just change the XDoclet tags to sth. different and it works. -marek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3840056#3840056

[JBoss-user] [Persistence CMP/JBoss] - Re: FKs must be allow null ???

2004-06-04 Thread mlange
see 'insert-after-ejb-post-create' in jboss.xml, IMHO since 3.2.2. -marek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3837543#3837543 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3837543

[JBoss-user] [Installation Configuration] - Re: DataSource problem - JBossManagedConnectionPool

2004-05-21 Thread mlange
I think the message is really self-explanatory: your pool is running out of connections. -marek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3835800#3835800 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3835800

[JBoss-user] [Beginners Corner] - Re: JNDI access for Oracle Datasource

2004-04-01 Thread mlange
You can't lookup a JBoss datasource outside JBoss. The JNDI lookup is only possible within the container (java:/ prefix). -marek View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3828629#3828629 Reply to the post :

[JBoss-user] [Beginners Corner] - Re: EJB Design Patterns - primary key 'sequence block'

2004-03-26 Thread mlange
IIRC middlegen has support for generating code for this pattern. -marek a href=http://www.jboss.org/index.html?module=bbop=viewtopicp=3827574#3827574;View the original post/a a href=http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3827574Reply to the post/a

[JBoss-user] [Installation Configuration] - Port Configuration for RMI - firewall problems

2004-02-26 Thread mlange
JBoss 3.2.3: I am doing RMI communication from a remote client with a deployed MBean in JBoss. We have problems using this through a firewall. My impression was that JBoss only uses fixed ports for RMI comm (1098 default). However when starting JBoss I see listeners on ports 38xxx: tcp

[JBoss-user] Jetty OutOfMemoryError

2003-06-06 Thread mlange
Hi, I am taking some pressure on a web app which is running under JBoss3.2.0/Jetty???. I can reproduce the following error: java.lang.OutOfMemoryError: unable to create new native thread at java.lang.Thread.start(Native Method) at