Re: [JBoss-user] jboss-3.2.3: Classloader problem?

2004-01-15 Thread Ingo Bruell
Hi Dustin, BD I am using McKoi as an embedded database in JBoss-3.2.3. BD The mckoidb.jar is bundled in the application's ear file and uses the BD following in application.xml to deploy it. I think it is not a good idea to package jdbc driver with the application. Normally jdbc

Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-15 Thread Adrian Brock
On Thu, 2004-01-15 at 04:29, Neal Sanche wrote: On January 14, 2004 07:29 pm, Adrian Brock wrote: On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: Hi All, I've recently been having problems with MDBs not receiving messages after my .EAR is redeployed. About the only thing that I'm

[JBoss-user] Transfer-Encoding: chunked ???

2004-01-15 Thread Matthew Oatham
Hi, Does anyone know what the following means: 0 HTTP/1.1 200 OK Transfer-Encoding: chunked Date: Thu, 15 Jan 2004 10:56:44 GMT Content-Type: text/html;ISO-8859-1 Server: Apache Tomcat/4.0.5 (HTTP/1.1 Connector) Set-Cookie: JSESSIONID=E3B8B60D1C67C6FE8A0C3E55F3AB032D;Path=/ 177c I get this

[JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Francisco Figueiredo Jr.
Hi all. I'd like to know some tips you have to development with JBOSS. Here at my job, we are using Eclipse as IDE and JBOSS IDE to help in debugging. I'd like to know what else I could use to help in the development with JBoss. I mean, we are having to do a full deploy of ear to update

R: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Giovanni Formenti
We are using Lomboz (from Objectlearn), an Eclipse's plugin. It seems very good for deploy and env management... I'm also interested to some JBoss dev tips! Gio -Messaggio originale- Da: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] conto di Francisco Figueiredo Jr. Inviato: giovedi

Re: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Brad Balmer
For a small price of ~$30 per user, one of the best (IMO) plugins for Eclipse is the MyEclipse pluging (myeclipseide.com). Besides J2EE development it also includes plugins for different application servers, including all version of JBoss. Francisco Figueiredo Jr. wrote: Hi all. I'd like

RE: [JBoss-user] default container configuration

2004-01-15 Thread Jae Gangemi
in this case, your best bet would be to define the configuration in the standardjboss.xml file (you can either cut and paste an entity bean section in it's entirety and modify values, or use the extends tag to just extend the config and modify only the values you need - i believe the admin

Re: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Markus Harnvi
What I don't like with MyEclipse is that it more or less force you to use a special project layout. It also generates a build.xml that is impossible to share with other users in a mixed environment. But it has a lot of good stuff too. If all developers in a project use it and you start the

RE: [JBoss-user] jboss-3.2.3: Classloader problem?

2004-01-15 Thread Barlow, Dustin
I moved the jdbc driver jar out of the ear and into the server target's lib directory, and I've not been able to reproduce the error in my unit testing so far. Is the caching that the 1.4 jvm is now doing a problem for the JBoss classloader design or is it simply a problem/bug in the jvm

Re: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Bob Cotton
Francisco Figueiredo Jr. [EMAIL PROTECTED] writes: Hi all. I'd like to know some tips you have to development with JBOSS. Here at my job, we are using Eclipse as IDE and JBOSS IDE to help in debugging. I'd like to know what else I could use to help in the development with JBoss. I mean,

Re: [JBoss-user] MDB not getting messages after Redeployment

2004-01-15 Thread Neal Sanche
On January 15, 2004 05:20 am, Adrian Brock wrote: On Thu, 2004-01-15 at 04:29, Neal Sanche wrote: On January 14, 2004 07:29 pm, Adrian Brock wrote: On Wed, 2004-01-14 at 23:29, Neal Sanche wrote: Hi All, I've recently been having problems with MDBs not receiving messages

RE: [JBoss-user] jboss-3.2.3: Classloader problem?

2004-01-15 Thread Adrian Brock
On Thu, 2004-01-15 at 14:32, Barlow, Dustin wrote: I moved the jdbc driver jar out of the ear and into the server target's lib directory, and I've not been able to reproduce the error in my unit testing so far. Is the caching that the 1.4 jvm is now doing a problem for the JBoss

RE: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Barlow, Dustin
If this still takes too long, look at breaking up the components in the .ear. Either into smaller .ears, or into individual components (.war, ejbs jars, etc) and move those to deploy/. Then you only need to re-deploy the components that have changed. From experience, breaking an application

RE: [JBoss-user] JBoss clustering with commit option B or C too slow

2004-01-15 Thread Alexey Loubyansky
You could use commit option A with optimistic locking. From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Boulatian, MisakSent: Wednesday, January 14, 2004 7:48 PMTo: [EMAIL PROTECTED]Subject: [JBoss-user] JBoss clustering with commit option B or C too slow

RE: [JBoss-user] Tips for development environment with JBoss

2004-01-15 Thread Rod Macpherson
Use JDK 1.4 and run JBoss in debug mode so that when you make a change in Eclipse and recompile (save the file) it will be updated on-the-fly without any redeployment whatsoever. Also, do not use an EAR for development but rather loose jar files and an exploded war file. Then you can granulate

RE: [JBoss-user] Help with JBossQL

2004-01-15 Thread Alexey Loubyansky
JBossQL supports MAX function in SELECT that takes a CMP field as an agrument. Hence, you should use ejbSelect. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Luis Sent: Wednesday, January 14, 2004 3:56 PM To: [EMAIL PROTECTED] Subject:

RE: [JBoss-user] Problems with deployment of EJB's in Jboss 3.2.3

2004-01-15 Thread Alexey Loubyansky
Did you modify standardjbossXXX.xml files in the conf dir? Make sure entity-command name=default/ is in standardjbosscmp-jdbc.xml -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hans Lund Sent: Wednesday, January 14, 2004 5:10 PM To: [EMAIL

RE: [JBoss-user] JbossQL SUM (was: [jboss4 and EJB2.1 ejb-ql?])

2004-01-15 Thread Alexey Loubyansky
You must use ejbSelect. Define it in ejb-jar.xml and overwrite it in jbosscmp-jdbc.xml the same way as a finder query. You could also check the testsuite for cmp2/ejbselect. Though, it usese dynamic queries. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On

Re: [JBoss-user] JBoss 3.2.3 problems running in Linux for z/Series

2004-01-15 Thread Chris Bonham
Troy, After upgrading to JBoss 3.2.2 in our RH Linux 7.3 IBM JDK 1.4.1 environment, JBoss kept running out of memory every couple hours. I don't know if this will help, since the hardware is different, but I created some monitoring plugins based on information in the very handy IBM JDK Diagnosis

[JBoss-user] Knowing when a CMP bean is modified

2004-01-15 Thread ed banfa
Hello all, I would like to know when my CMP bean has been modified so as to keep a last modified marker on the bean, I would like to keep track of the exact time a record was updated. Has anybody done similar work? I would apreciate any advice/tips. Thanks in advance EdEDWARD BANFANETPLAY

RE: [JBoss-user] Knowing when a CMP bean is modified

2004-01-15 Thread Alexey Loubyansky
There is an optimistic locking strategy that could be what you are intersted in. It is configured in jbosscmp-jdbc.xml optimistic-locking timestamp-column/ field-nameversion/field-name column-nameol_timestamp/column-name jdbc-typeTIMESTAMP/jdbc-type sql-typeDATETIME/sql-type

[JBoss-user] JMS vs ASYNC Log4J Appender

2004-01-15 Thread Peter Luttrell
We log a ton of stuff and are having problems caused by synchronous logging blocking the appserver when linux rotates other various logs in the system. So we're considering using the ASYNC or JMS appenders. If we use the JMS appender we'll write a quick MDB to log all messages

[JBoss-user] EnityBeans: Optimistic Locking Help

2004-01-15 Thread Peter Luttrell
Can JBoss handle cmp optimistic locking that spans web requests? Here's the scenario that i'm trying to get working: Open two browser windows and display a value for a sample field. Update the value on one. Then update the value on the second, without refreshing first, and i'm hoping to get an

[JBoss-user] Commit-option A: When is it safe to use?

2004-01-15 Thread Jonathan . O'Connor
Hi, I've been playing around with the commit options, and I just want to confirm my understanding. The scenario is: I am running a JBoss app with an Entity Bean, Widget, marked as Commit Option A (caching in server, assumes no one updates it). I have another process, outside of JBoss server,

RE: [JBoss-user] JMS vs ASYNC Log4J Appender

2004-01-15 Thread Barlow, Dustin
If to achieve synchronous writing of the logs via an MDB, you will have to configure the containerto only consume one message at a time from the queue/topic. This could become a bottlekneck and you would run the risk of overflowing the queue and never catching up. If you bring JMS into the

RE: [JBoss-user] Knowing when a CMP bean is modified

2004-01-15 Thread ed banfa
Thanks Alexey I have never configured optimistic locking b4 but it sounds quite interesting, So I am currently trying to learn it. I found a good pdf on the net about JbossCMP(http://www.ime.usp.br/~reverbel/SOD/maillist/pdf0.pdf) but it does not seem to say anything about optimistic

Re: [JBoss-user] Commit-option A: When is it safe to use?

2004-01-15 Thread Bill Burke
sounds good. Jonathan.O'[EMAIL PROTECTED] wrote: Hi, I've been playing around with the commit options, and I just want to confirm my understanding. The scenario is: I am running a JBoss app with an Entity Bean, Widget, marked as Commit Option A (caching in server, assumes no one updates it). I

[JBoss-user] Hardening JBoss

2004-01-15 Thread Michael A. Behr
All, I'm preparing to go live with a JBoss web application, and am looking for resources that describe how to harden a system before exposing it to the public (and hackers). Can anyone direct me to relevant information? Thanks, -M.A.Behr

[JBoss-user] AW: JbossQL SUM (was: [jboss4 and EJB2.1 ejb-ql?])

2004-01-15 Thread Darren Hartford
Perfect Alexey, thank you! I will use the dynamic query method for aggregate QL methods until EJB2.1 is finalized in JBoss. The testsuite gave a perfect example. Subject: RE: [JBoss-user] JbossQL SUM (was: [jboss4 and EJB2.1 ejb-ql?]) Date: Thu, 15 Jan 2004 09:30:02 -0600 From: Alexey

RE: [JBoss-user] Hardening JBoss

2004-01-15 Thread Jae Gangemi
Title: Message http://sourceforge.net/docman/display_doc.php?docid=20143group_id=22866 there is also good stuff in the admin guide as well. i recommend that you also investigate disabling any services that you are not using for your application. -jae -Original Message-From:

[JBoss-user] Huge Database Updates, and transaction failures...

2004-01-15 Thread Neal Sanche
Hi All, Okay, I'm doing a bunch of genetic research with JBoss. Our principal investigator (my Boss), wants to store many many thousands of records in the database and I have been trying to write the code that inserts all of those records in the 'background' while users might be operating the

Re: [JBoss-user] messaging using JBoss 3.2.2

2004-01-15 Thread Adrian Brock
Please keep it on public mailing lists. This link explains setting up a resource adapter for a remote jms (apologies the xml formatting - julien?) http://www.jboss.org/index.html?module=bbop=viewtopict=43817 Most likely your problem is the remote connection factory is being bound with the wrong

[JBoss-user] Re: Need your help.

2004-01-15 Thread Adrian Brock
Please keep it in public forums. I'm forwarding you to the jboss-user mailing list. You will need to subscribe to that list if you want to see other people's answers. Yes, if you want to use java:comp/env (ENC) you need to set it up using ejb-refs or ejb-local-refs. In XDoclet the tags go on the

RE: [JBoss-user] JBoss clustering with commit option B or C too slow

2004-01-15 Thread Boulatian, Misak
Hi Alexey, With our application I cannot use commit option A with optimistic locking. It generates a lot of rollbacks (many threads access the same beans at the same times through message driven beans). I've tried to use commit option A with cache invalidation but performance was no better. Is

RE: [JBoss-user] Huge Database Updates, and transaction failures...

2004-01-15 Thread Rod Macpherson
This sounds like a job for JBoss multihome where you can run your MDB application in one JBoss instance and your web application in another. Requires one JBoss install with two configurations that you launch independently using the --host and -c switches. -Original Message- From: Neal

Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-15 Thread Bela Ban
set bind_addr in UDP to the IP address ot the server (*not* 127.0.0.1), e.g. UDP mcast_addr=228.1.2.3 mcast_port=45566 ip_ttl=64 *bind_addr=192.168.0.2 *... / Mridul Jain wrote: hi Ben, Here is my cluster-service.xml Please tell me what to do? Thanks, MJ --- Bela Ban [EMAIL PROTECTED] wrote:

Re: [JBoss-user] jboss-3.2.3 clustering problem - unable to find other nodes , though multicasting seems working

2004-01-15 Thread Mridul Jain
hi Ban, I have infact used the IP address of the servers and *NOT* 127.0.0.1. That is why I am suprised why I am getting the following behaviour. MJ --- Mridul Jain [EMAIL PROTECTED] wrote: hi Ban, I added bind_addr attribute in both the servers with their respective ips and both the servers