Re: [JBoss-user] DB Connection testing
This is available in 3.0.7 (cvs), 3.2RC2 and later, and 4. Supply CheckValidConnectionSQL in your ds config. It's part of the jdbc jca wrappers for the rather obvious reason that jboss has no business knowing what interfaces are implemented by the connectionfactory-like object, connection-like object, etc. Real jca adapters are required to notify jboss with ConnectionErrorOccurred so jboss can destroy the ManagedConnection and clean up. Recently someone has started implementing such functionality for Oracle: it's in 3.2. david jencks On 2003.03.19 21:16 David Wade wrote: > Is there a way of configuring a managed connection pool to validate the > db > connection before handing it out to an application? > > In WebLogic it is possible to set "test on reserve" and "test on > release", > in this way an application is never handed a dud connection out of the > pool. > > > Why would I want this performance impacting feature, basically I am > developing an extremely fault tolerant financial transaction processing > application and we want the application server to be able to gracefully > recover from database restarts without having to wait for the connections > to > be closed after reaching their maximum time in pool. > > It seems to me that feature should be part of JBoss, not a vendors > JDBC/JCA. > Usually it is possible to configure the query to use eg. "select * from > dual" for Oracle. > > thanks > > David > > > --- > This SF.net email is sponsored by: Does your code think in ink? > You could win a Tablet PC. Get a free Tablet PC hat just for playing. > What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBOSS 3.2 Final Release --- ?????
Dear JBOSS Team, Please let me know when will be the final release of JBOSS 3.2 is expected ? Thanks, Yogesh --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Trying to build latest CVS version
Hi, If you are behind a firewall try reading this: http://sourceforge.net/docman/display_doc.php?docid=14033&group_id=1#firewall Regarding the delay in email delivery: I have no idea. Ricardo Argüello - Original Message - From: <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 1:30 PM Subject: RE: [JBoss-user] Trying to build latest CVS version Hi Ricardo, Thanks for the response. I'm trying in vain to checkout jboss-head but I can't seem to even login into the sourceforge server. I'm using the command: cvs -d :pserver;proxy=www-proxy.cs.tcd.ie;proxyport=8080:[EMAIL PROTECTED]:/cvsroot/jboss login It would normally appear on one line but for my mail editor. Whenever I try this I get this error. (Logging in to [EMAIL PROTECTED]) cvs [login aborted]: recv() from server cvs.sourceforge.net: EOF Apologies for the newbie CVS problems, Mark. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Argüello Sent: 19 March 2003 17:13 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Trying to build latest CVS version Hi, The "jboss-all" module should not be checked out anymore. Check out jboss-head for the latest code (JBoss 4.0 alpha). Read this page for instructions: http://www.jboss.org/developers/guides/quickstart.jsp Ricardo Argüello On Wed, 19 Mar 2003 16:55 , <[EMAIL PROTECTED]> sent: >HI Everyone, > > >I’m trying to build from source a build of jboss-all I downloaded >today yet I keep getting this error saying that it couldn’t create the task >or type of task: jmxdoclet. > > > >I understand that jboss uses >its own version of ant to build the server and I’ve built a nightly snap >before without any problems. > >Hmm I’ve just had a >look in the thirdparty folder and there aren’t half the folders that >accompanied the nightly snapshot. > > > >Is this something I must >download seperately? > > > >Thanks, > >Mark. > -- Desea tener la mejor cuenta de correo? Cree su cuenta de correo GRATIS con acceso WAP en http://www.zona-andina.net NHYµéŠX²š²Šu¼¡ë¢ê¡×†)Šx‘Šr‹wi6•ëgiúy6•ë Žë~Š•¬žjÖ{*Á¨Šx¢¸¶ŸiÛ¢êyúé·÷‰¸þ·Š·¶™‰ÊÓœ²Ëz¹ŠX‚X´²Ëz¹²Û¢êyú鶦ϖ+²ÊÇ¢¸ë–+³ù²Ø~n‹ºÇ --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] DB Connection testing
Is there a way of configuring a managed connection pool to validate the db connection before handing it out to an application? In WebLogic it is possible to set "test on reserve" and "test on release", in this way an application is never handed a dud connection out of the pool. Why would I want this performance impacting feature, basically I am developing an extremely fault tolerant financial transaction processing application and we want the application server to be able to gracefully recover from database restarts without having to wait for the connections to be closed after reaching their maximum time in pool. It seems to me that feature should be part of JBoss, not a vendors JDBC/JCA. Usually it is possible to configure the query to use eg. "select * from dual" for Oracle. thanks David --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Deploying scheduler after EAR deployment
I had to cludge my way around the deployment of a SAR and EJB from the same EAR to ensure that the Mbean did not use the EJB until the EAR deployment was complete. Even though the EJB was deployed first, the MBean in my SAR failed when looking up the JNDI name of the EJB. It seems like the JNDI names are not actually visible until after the whole contents of the EAR were deployed. Is the EAR deployment (and the JNDI names it registers) transactional in nature? -Original Message- From: Brian Wallis [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 March 2003 10:58 a.m. To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Deploying scheduler after EAR deployment On Thu, 20 Mar 2003 01:12, Krishnakumar N wrote: > You can do this by using the deployment sorters specified in > /conf/jboss-service.xml. For example, you can use the > PrefixDeploymentSorter and call your scheduler service xml 1blahblah.xml. Yep, that will work, but I think in a large project with multiple dependencies it gets hard to manage. There are other ways... If it is just classes that you need I would put the service.xml in a sar and add a Class-Path: entry to the manifest (and put the sar in the ear as well). ie: you have a sar file with META-INF/MANIFEST.MF META-INF/jboss-service.xml <-- your scheduler service.xml file MANIFEST.MF has a line like so: Class-Path: yourjar.jar This means the yourjar.jar should now be on your classpath when the scheduler is started. If your scheduler requires another mbean to be available, make the scheduler mbean dependent on the other mbean like so: ot.notificationservice:name=DBCleaner cleanup( NOTIFICATION,DATE,SCHEDULER_NAME) NOW 3 -1 ot.notificationservice:name=DBCleaner Similar for ejbs where you can use the ejb mbean name in the dependency, usually a name something like jboss.j2ee:jndiName=ejb/notification/EFD,service=EJB brian wallis... --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Am I in a transaction?
TransactionManager tm = (TransactionManager) iniCtx.lookup("java:/TransactionManager"); if(tm.getTransaction() != null) { // got a transaction } -dain On Wednesday, March 19, 2003, at 05:09 PM, Brian Wallis wrote: I have some utility classes that are used from beans with container managed transactions. How can I check (ensure) when I am in one of the utility routines that there is a transaction current? I cannot get a UserTransaction object via the context since it is a bean managed transaction so I cannot call getStatus(). It's not critical that I check, but I would like to be able to to make sure that the utility routine has not been called outside of a transaction boundary. brian wallis... --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Am I in a transaction?
I have some utility classes that are used from beans with container managed transactions. How can I check (ensure) when I am in one of the utility routines that there is a transaction current? I cannot get a UserTransaction object via the context since it is a bean managed transaction so I cannot call getStatus(). It's not critical that I check, but I would like to be able to to make sure that the utility routine has not been called outside of a transaction boundary. brian wallis... --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Deploying scheduler after EAR deployment
On Thu, 20 Mar 2003 01:12, Krishnakumar N wrote: > You can do this by using the deployment sorters specified in > /conf/jboss-service.xml. For example, you can use the > PrefixDeploymentSorter and call your scheduler service xml 1blahblah.xml. Yep, that will work, but I think in a large project with multiple dependencies it gets hard to manage. There are other ways... If it is just classes that you need I would put the service.xml in a sar and add a Class-Path: entry to the manifest (and put the sar in the ear as well). ie: you have a sar file with META-INF/MANIFEST.MF META-INF/jboss-service.xml <-- your scheduler service.xml file MANIFEST.MF has a line like so: Class-Path: yourjar.jar This means the yourjar.jar should now be on your classpath when the scheduler is started. If your scheduler requires another mbean to be available, make the scheduler mbean dependent on the other mbean like so: ot.notificationservice:name=DBCleaner cleanup( NOTIFICATION,DATE,SCHEDULER_NAME) NOW 3 -1 ot.notificationservice:name=DBCleaner Similar for ejbs where you can use the ejb mbean name in the dependency, usually a name something like jboss.j2ee:jndiName=ejb/notification/EFD,service=EJB brian wallis... --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] AxisServlet acting strangely.
I was getting this all the time using 1.1beta when asking for the ?wsdl. Upgraded to RC3 and the issue went away. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Sent: Thursday, 20 March 2003 9:12 a.m. To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] AxisServlet acting strangely. Hi again, Looks like I was just being a bit impatient. If I give it a few seconds to allow it to catch up then everything works like a dream. Sorry for the false alarm. Christoph, specifying '*' as the allowedmethods works perfectly as well. Great stuff. Thanks, Mark. --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jboss on linux (performance)
Title: RE: [JBoss-user] jboss on linux (performance) Yes, behind a firewall. You can also change the amount of memory that JVM has avaiable with -Xmx and -Xms flags. Run "java -X" for the non standard options. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 > -Original Message- > From: David Luis Fernandes de Araujo > [mailto:[EMAIL PROTECTED]] > Sent: Wednesday, March 19, 2003 3:55 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] jboss on linux (performance) > > > > So, do you think is safe to run jboss on linux in a > production enviorment ? > > On Wed, 19 Mar 2003 12:27:17 -0500 > John M Flinchbaugh <[EMAIL PROTECTED]> wrote: > > > On Wed, Mar 19, 2003 at 06:03:20PM +, David Luis Fernandes de > > Araujo wrote: > > > i'm running jboss on a linux machine (redhat 7.3) and each one of > > > the > > threads that jboss throws occupies 60 MB of memory. > > > Is this normal ? > > > What can i do minimize the memory usage ? > > > > i believe this is all shared memory. each thread reports > the block of > > memory, but it's all the same block. in reality, it's > probably only > > using around 60M total. > > -- > > }John Flinchbaugh{__ > > | [EMAIL PROTECTED] http://www.hjsoft.com/~glynis/ | > > ~~Powered by Linux: Reboots are for hardware upgrades only~~ > > > > > -- > David Araujo [EMAIL PROTECTED] > Novis Telecom, S.A. http://www.novis.pt > ISP - Trusted Services Estrada da Outurela, 118 - A > Tel: +351 21 0104169 2795-606 Carnaxide - Portugal > > > --- > This SF.net email is sponsored by: Does your code think in ink? > You could win a Tablet PC. Get a free Tablet PC hat just for playing. > What are you waiting for? > http://ads.sourceforge.net/cgi-> bin/redirect.pl?micr5043en > > > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/j> boss-user >
Re: [JBoss-user] jboss on linux (performance)
Loads of people do it quite successfully, so yes. -dain On Wednesday, March 19, 2003, at 02:54 PM, David Luis Fernandes de Araujo wrote: So, do you think is safe to run jboss on linux in a production enviorment ? On Wed, 19 Mar 2003 12:27:17 -0500 John M Flinchbaugh <[EMAIL PROTECTED]> wrote: On Wed, Mar 19, 2003 at 06:03:20PM +, David Luis Fernandes de Araujo wrote: i'm running jboss on a linux machine (redhat 7.3) and each one of the threads that jboss throws occupies 60 MB of memory. Is this normal ? What can i do minimize the memory usage ? i believe this is all shared memory. each thread reports the block of memory, but it's all the same block. in reality, it's probably only using around 60M total. -- }John Flinchbaugh{__ | [EMAIL PROTECTED] http://www.hjsoft.com/~glynis/ | ~~Powered by Linux: Reboots are for hardware upgrades only~~ -- David Araujo [EMAIL PROTECTED] Novis Telecom, S.A.http://www.novis.pt ISP - Trusted Services Estrada da Outurela, 118 - A Tel: +351 21 0104169 2795-606 Carnaxide - Portugal --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] AxisServlet acting strangely.
Hi again, Looks like I was just being a bit impatient. If I give it a few seconds to allow it to catch up then everything works like a dream. Sorry for the false alarm. Christoph, specifying ‘*’ as the allowedmethods works perfectly as well. Great stuff. Thanks, Mark.
[JBoss-user] AxisServlet acting strangely
Hi folks, I deploy a HelloWorld webservice within jboss indirectly by inserting my wsr file containing my web-service.xml file into an ear application and deploying the application. Then when I go to check the webservices I have deployed at http://localhost:8080/jboss-net/servlet/AxisServlet It returns a Nullpointer exception. Sometimes then after a while it brings up the right page with a list of the services that have been deployed. Is this because jetty is still loading up in the back ground? Dr. Jung, this throws the same exception as having the “*” as the ‘allowedMethods’ element. Thanks, Mark.
[JBoss-user] Help with LoginModules and Web/EJB layers
All, I have a web app that is deployed into Jboss 3.2 RC2 using an EAR file. The entire app is mapped to a single security domain, with a custom LoginModule defined for the domain. The Custom LoginModule interfaces with a SecureID system to perform user authentication. Logging into the protected portions of the Web App, using FORM-based authentication works fine. However, whenever the first call to the EJB layer is invoked, the EJB layer calls my Custom LoginModule again. This fails since the credentials are no longer valid, since the SecureID value provided has expired. How do I get the Web tier to authenticate to the EJB tier and prevent the EJB layer calling the Login Module again? -- Marc --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss on linux (performance)
So, do you think is safe to run jboss on linux in a production enviorment ? On Wed, 19 Mar 2003 12:27:17 -0500 John M Flinchbaugh <[EMAIL PROTECTED]> wrote: > On Wed, Mar 19, 2003 at 06:03:20PM +, David Luis Fernandes de Araujo wrote: > > i'm running jboss on a linux machine (redhat 7.3) and each one of the > threads that jboss throws occupies 60 MB of memory. > > Is this normal ? > > What can i do minimize the memory usage ? > > i believe this is all shared memory. each thread reports the block of > memory, but it's all the same block. in reality, it's probably only > using around 60M total. > -- > }John Flinchbaugh{__ > | [EMAIL PROTECTED] http://www.hjsoft.com/~glynis/ | > ~~Powered by Linux: Reboots are for hardware upgrades only~~ > -- David Araujo [EMAIL PROTECTED] Novis Telecom, S.A.http://www.novis.pt ISP - Trusted Services Estrada da Outurela, 118 - A Tel: +351 21 0104169 2795-606 Carnaxide - Portugal --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problem with OIL JMS layer using all resources
I have written some code that sends off a large number of JMS objectMessages to a queue which can then decode the message scan the content and choose to do two things: send a new message back into the queue (URLIdentify) or send it to a new queue (ContentIdentify) When I run this using the default connection factories for OIL (ConnectionFactory) or (XAConnectionFactory) I eventually end up having all my ports on my machine being locked off by the Optimized Invocation Layers send/receive ports. I had resolved some other lock conflicts with a JDBC call that I first thought was the problem. The queues are standard and im using jboss 3.0.4T on jdk1.4.1_01 on winXP talking to SQL server 2K using the inet opta drivers. The messagedriven ejb have pretty standard config. Transaction set to Is there any way to curb this or has anyone came across a solution to this problem? I have tried all the other invocation layers esp the JVM one but that seems to be upto twice as slow yet the docs say its defintely faster if the application resides in the same jvm and it does, why does it take so much longer? Can someone please help me make my deadline please or Im in serious sh*t. P.S. one other problem is that when deploying I never seem to find the queueconnectionfactory resource, is this a problem? And would this cause all these problems? :) Thanks. Michael >>> deploy log 18:47:50,828 WARN [MessageDrivenContainer] No resource manager found for ConnectionFactory 18:47:50,828 INFO [JMSContainerInvoker] Starting >URLIdentify MDB Xdoclet config @ejb:beanname="URLIdentifyMessageHandler" * display-name="URLIdentifyMessageHandler" *transaction-type="Container" *acknowledge-mode="Auto-acknowledge" *destination-type="javax.jms.Queue" *subscription-durability="NonDurable" * * @ejb:transaction type="Supports" * * @jboss:destination-jndi-name "queue/vamosa/identify/URLIdentifyMessageQueue" * @ejb:resource-ref res-ref-name="ConnectionFactory" res-type="javax.jms.QueueConnectionFactory" res-auth="Container" * @ejb:resource-ref res-ref-name="jdbc/Powerbuild" res-type="javax.sql.DataSource" res-auth="Container" * * @ejb:ejb-ref ref-name="Project" ejb-name="Project" view-type="local" * @ejb:ejb-ref ref-name="PBObject" ejb-name="PBObject" view-type="local" * @ejb:ejb-ref ref-name="MetaDataValue" ejb-name="MetaDataValue" view-type="local" * @ejb:ejb-ref ref-name="MetaDataAttribute" ejb-name="MetaDataAttribute" view-type="local" * @ejb:ejb-ref ref-name="MetaDataClass" ejb-name="MetaDataClass" view-type="local" * */ The content identify is almost identical except the names have been changed. The messageDrivenContext for the beans is like so: queueConnectionFactory = (QueueConnectionFactory) ctx.lookup("java:/ConnectionFactory"); ContentMessageQueue = (Queue) ctx.lookup("queue/vamosa/identify/ContentIdentifyMessageQueue"); ContentMessenger = new ContentIdentifyMessageSender(queueConnectionFactory, ContentMessageQueue,new Integer(GUIDGenerator.getGenerator().getNextIntGUID())); . The contentMessenger authenticates to the queues as guest,guest on both message senders. And finally my messagedriven configuration in the standard-jboss.xml look like this. . DefaultJMSProvider StdJMSPool 100 5 10 queue/DLQ 10 0 100 true I have tried to manipulate this a bit to try and help and also tried the strictmaximumsize value to force a limit but to no avail. === --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Trying to build latest CVS version
Hi Ricardo, Turns out my connection from a previous checkout was still open. Once I'd rebooted the connection was cleared. How come there's such a delay in sending mails to the jboss-uses list and them actually appearing on the list? Thanks again, Mark. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Argüello Sent: 19 March 2003 17:13 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Trying to build latest CVS version Hi, The "jboss-all" module should not be checked out anymore. Check out jboss-head for the latest code (JBoss 4.0 alpha). Read this page for instructions: http://www.jboss.org/developers/guides/quickstart.jsp Ricardo Argüello On Wed, 19 Mar 2003 16:55 , <[EMAIL PROTECTED]> sent: >HI Everyone, > > >I’m trying to build from source a build of jboss-all I downloaded >today yet I keep getting this error saying that it couldn’t create the task >or type of task: jmxdoclet. > > > >I understand that jboss uses >its own version of ant to build the server and I’ve built a nightly snap >before without any problems. > >Hmm I’ve just had a >look in the thirdparty folder and there aren’t half the folders that >accompanied the nightly snapshot. > > > >Is this something I must >download seperately? > > > >Thanks, > >Mark. > -- Desea tener la mejor cuenta de correo? Cree su cuenta de correo GRATIS con acceso WAP en http://www.zona-andina.net NHYµéŠX²š²Šu¼¡ë¢ê¡×†)Šx‘Šr‹wi6•ëgiúy6•ë Žë~Š•¬žjÖ{*Á¨Šx¢¸¶ŸiÛ¢êyúé·÷‰¸þ·Š·¶™‰ÊÓœ²Ëz¹ŠX‚X´²Ëz¹²Û¢êyú鶦ϖ+²ÊÇ¢¸ë–+³ù²Ø~n‹ºÇ --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss on linux (performance)
Are you looking at ps output? The memory is actually shared between all of the threads running in the same VM. It should be showing up under the 'shared' column in ps or top output. This deceptive reporting is an artifact of Linux's threading model: a thread is basically a process with copy-on-write of memory turned off. -danch David Luis Fernandes de Araujo wrote: Hello, i'm running jboss on a linux machine (redhat 7.3) and each one of the threads that jboss throws occupies 60 MB of memory. Is this normal ? What can i do minimize the memory usage ? Thanks .david --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Trying to build latest CVS version
Hi Ricardo, Thanks for the response. I'm trying in vain to checkout jboss-head but I can't seem to even login into the sourceforge server. I'm using the command: cvs -d :pserver;proxy=www-proxy.cs.tcd.ie;proxyport=8080:[EMAIL PROTECTED]:/cvsroot/jboss login It would normally appear on one line but for my mail editor. Whenever I try this I get this error. (Logging in to [EMAIL PROTECTED]) cvs [login aborted]: recv() from server cvs.sourceforge.net: EOF Apologies for the newbie CVS problems, Mark. -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ricardo Argüello Sent: 19 March 2003 17:13 To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Trying to build latest CVS version Hi, The "jboss-all" module should not be checked out anymore. Check out jboss-head for the latest code (JBoss 4.0 alpha). Read this page for instructions: http://www.jboss.org/developers/guides/quickstart.jsp Ricardo Argüello On Wed, 19 Mar 2003 16:55 , <[EMAIL PROTECTED]> sent: >HI Everyone, > > >I’m trying to build from source a build of jboss-all I downloaded >today yet I keep getting this error saying that it couldn’t create the task >or type of task: jmxdoclet. > > > >I understand that jboss uses >its own version of ant to build the server and I’ve built a nightly snap >before without any problems. > >Hmm I’ve just had a >look in the thirdparty folder and there aren’t half the folders that >accompanied the nightly snapshot. > > > >Is this something I must >download seperately? > > > >Thanks, > >Mark. > -- Desea tener la mejor cuenta de correo? Cree su cuenta de correo GRATIS con acceso WAP en http://www.zona-andina.net NHYµéŠX²š²Šu¼¡ë¢ê¡×†)Šx‘Šr‹wi6•ëgiúy6•ë Žë~Š•¬žjÖ{*Á¨Šx¢¸¶ŸiÛ¢êyúé·÷‰¸þ·Š·¶™‰ÊÓœ²Ëz¹ŠX‚X´²Ëz¹²Û¢êyú鶦ϖ+²ÊÇ¢¸ë–+³ù²Ø~n‹ºÇ --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss on linux (performance)
On Wed, Mar 19, 2003 at 06:03:20PM +, David Luis Fernandes de Araujo wrote: > i'm running jboss on a linux machine (redhat 7.3) and each one of the threads that jboss throws occupies 60 MB of memory. > Is this normal ? > What can i do minimize the memory usage ? i believe this is all shared memory. each thread reports the block of memory, but it's all the same block. in reality, it's probably only using around 60M total. -- }John Flinchbaugh{__ | [EMAIL PROTECTED] http://www.hjsoft.com/~glynis/ | ~~Powered by Linux: Reboots are for hardware upgrades only~~ pgp0.pgp Description: PGP signature
[JBoss-user] Re[6]: SPECjAppServer2002
Christofer, let's discuss this in jboss-user list. Is it true that all the foreign key fields are mapped to primary key fields? Is orderId a part of OrderLineEnt primary key? alex Wednesday, March 19, 2003, 4:24:25 PM, Christofer Dutz wrote: CD> Hi, CD> after having some problems with jboss ignoring my default-datasource settings. I CD> got the deployment working again. When trying to add new orders I get an error CD> at the same place where I had the double coulmn names error. I added the CD> relevant parts of my deployment descriptors. Here the part of the log file : CD> 2003-03-19 15:18:06,310 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.OrderEnt] Executing SQL: CD> SELECT COUNT(*) FROM O_ORDERS WHERE o_id=? CD> 2003-03-19 15:18:06,313 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.OrderEnt] Executing SQL: CD> INSERT INTO O_ORDERS (o_id, o_status, o_ship_date, o_entry_date, o_total, CD> o_discount, o_ol_cnt, o_c_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?) CD> 2003-03-19 15:18:06,322 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.OrderEnt] Rows affected = 1 CD> 2003-03-19 15:18:06,341 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.OrderEnt] Executing SQL: CD> UPDATE O_ORDERS SET o_status=?, o_entry_date=?, o_ol_cnt=?, o_c_id=? WHERE o_id=? CD> 2003-03-19 15:18:06,343 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.OrderEnt] Rows affected = 1 CD> 2003-03-19 15:18:06,344 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.ItemEnt.findByPrimaryKey] CD> Executing SQL: SELECT i_id FROM O_ITEM WHERE i_id=? CD> 2003-03-19 15:18:06,364 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.ItemEnt] Executing SQL: CD> SELECT i_id,i_discount, i_desc, i_name, i_price FROM O_ITEM WHERE (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR CD> (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) OR (i_id=?) CD> OR (i_id=?) CD> 2003-03-19 15:18:06,395 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.OrderLineEnt] Create: CD> [EMAIL PROTECTED] CD> 2003-03-19 15:18:06,395 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.OrderLineEnt] Executing CD> SQL: SELECT COUNT(*) FROM O_ORDERLINE WHERE ol_o_id=? AND ol_id=? CD> 2003-03-19 15:18:06,400 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.OrderLineEnt] Executing CD> SQL: INSERT INTO O_ORDERLINE (ol_o_id, ol_id, ol_ship_date, ol_Qty, ol_i_id) CD> VALUES (?, ?, ?, ?, ?) CD> 2003-03-19 15:18:06,402 DEBUG CD> [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.OrderLineEnt] Rows CD> affected = 1 CD> 2003-03-19 15:18:06,413 ERROR [org.jboss.ejb.plugins.LogInterceptor] CD> TransactionRolledbackLocalException, causedBy: CD> java.lang.IllegalStateException: Can't modify relationship: CMR field CD> OrderLineEnt.OrderEnt_ordLines has _ALL_ foreign key fields mapped to the CD> primary key columns. Primary key may only be set once in ejbCreate [EJB 2.0 CD> Spec. 10.3.5]. CD> at org.jboss.ejb.plugins.cmp.jdbc.bridge.RelationSet.add(RelationSet.java:80) CD> at CD> org.spec.jappserver.orders.orderent.ejb.OrderCmp20EJB.ejbPostCreate(OrderCmp20EJB.java:169) CD> at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) CD> at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) CD> at CD> sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) CD> at java.lang.reflect.Method.invoke(Method.java:324) CD> at CD> org.jboss.ejb.plugins.CMPPersistenceManager.postCreateEntity(CMPPersistenceManager.java:260) CD> at CD> org.jboss.resource.connectionmanager.CachedConnectionInterceptor.postCreateEntity(CachedConnectionInterceptor.java:278) CD> at org.jboss.ejb.EntityContainer.postCreateLocalH
Re: [JBoss-user] Trying to build latest CVS version
Hi, The "jboss-all" module should not be checked out anymore. Check out jboss-head for the latest code (JBoss 4.0 alpha). Read this page for instructions: http://www.jboss.org/developers/guides/quickstart.jsp Ricardo Argüello On Wed, 19 Mar 2003 16:55 , <[EMAIL PROTECTED]> sent: >HI Everyone, > > >Im trying to build from source a build of jboss-all I downloaded >today yet I keep getting this error saying that it couldnt create the task >or type of task: jmxdoclet. > > > >I understand that jboss uses >its own version of ant to build the server and Ive built a nightly snap >before without any problems. > >Hmm Ive just had a >look in the thirdparty folder and there arent half the folders that >accompanied the nightly snapshot. > > > >Is this something I must >download seperately? > > > >Thanks, > >Mark. > -- Desea tener la mejor cuenta de correo? Cree su cuenta de correo GRATIS con acceso WAP en http://www.zona-andina.net +wzf¢+,¦ì¢·o èz̨º·(uëay")äb¢é]Â)ÚM¦åzÓÂëZ~·M¦åzÓ «cºË_¢ºek(§hZµªÞÊ°j+bè®m§ÿÚvË(º·~àzwýÈ"n)ÿçbç-¦Y¢r¾tãw§$,²ë®f¢)à+-$,²ë®X¬¶Ë(º·~àzwÛi³ÿåËl²«qç讧zßåËlþX¬¶)ߣøÛ¢Ë.±ê
[JBoss-user] jboss on linux (performance)
Hello, i'm running jboss on a linux machine (redhat 7.3) and each one of the threads that jboss throws occupies 60 MB of memory. Is this normal ? What can i do minimize the memory usage ? Thanks .david --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Trying to build latest CVS version
HI Everyone, I’m trying to build from source a build of jboss-all I downloaded today yet I keep getting this error saying that it couldn’t create the task or type of task: jmxdoclet. I understand that jboss uses its own version of ant to build the server and I’ve built a nightly snap before without any problems. Hmm I’ve just had a look in the thirdparty folder and there aren’t half the folders that accompanied the nightly snapshot. Is this something I must download seperately? Thanks, Mark.
RE: Re[2]: [JBoss-user] CMP - Primary Key Strategies?
There will also be holes if you set the step size to something greater than one. The key (npi) is that you are not interested in the value provided it is unique. Thus the hi-lo cache strategy whereby you keep a bunch of keys in memory retrived from a sequence in oracle, for example, and if something goes awry you toss the in memory values. Imapact: zero, not interested in what the values are only that we get a unique batch of keys next time around. -Original Message- From: wonder sonic [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 2:47 AM To: [EMAIL PROTECTED] Subject: Re: Re[2]: [JBoss-user] CMP - Primary Key Strategies? Note that Oracle sequences can't be rollbacked! If you encounter any Exception (NullPointer...), there'll be a hole. Cheers, WS --- costin <[EMAIL PROTECTED]> a écrit : > Hi! > > So basically you can use the autoincrement feature > with: > > - not doing anything in ejbCreate > > (the rest is standard - get/set > methods/descriptor/etc...)? > > Is this correct? > > > BS> Hi Eric > BS> Well this is good to used db based > sequence number as the primary key . I m currently > using the mysql and its auto_increment sequence as > primary key > BS> But to use this feature u have to use jboss > 3.2.03 beta ..As unique sequence no is managed by > the db not but the EJB container . so while inserted > the new record . u dont have to pass the value > BS> for the unique sequence no. > BS> Like u have a User Entity EJB > BS> User have DB schema > > BS> userID int(11) auto_increment primary key > --- now this is acting as the > primary key > BS> username varchar(30) > BS> password varchar(30) > BS> email varchar(30) > BS> ur > > BS> ejbCreate(String username, String password, > String email) > BS> { > BS> //here u havent provided the value of > userID as it inserted by DB // it can any sequence > no > BS> } > BS> ejbPostCreate(String username, String password, > String email) > BS> { > > BS> } > BS> Deployment decriptor entor > > BS> User > BS> > com.n4i.ejb.test.UserLocalHome > BS> com.n4i.ejb.test.UserLocal > BS> > com.n4i.ejb.test.UserBean > BS> > Container > BS> > java.lang.Integer > // I m using int(11) as the primary key if ur using > some unique string the specify java.lang.String > > BS> False > BS> 2.x > BS> > User > BS> > BS> userID > BS> > BS> > BS> username > BS> > BS> > BS> password > BS> > BS> > BS> email > BS> > BS> userID > > > > BS> But u need to have getter and setter for this > unique sequence no primary key field ... as its > getter method will be used when u call getUserID on > local/Remote refernce of the entityBean . > BS> // One thing that is to noted here .is userID > field is managed by the DB not by EJB Container but > have to declare in the deployment descriptor as CMP > field > > BS> Eric this thing is working with mysql for mee .. > in oracle if ur using sequence as primary key its > value is integer .. and it will work tooo . > > BS> Rgds > > BS> Brijesh > > > BS> - Original Message - > BS> From: "Eric Tim" <[EMAIL PROTECTED]> > BS> To: <[EMAIL PROTECTED]> > BS> Sent: Tuesday, March 18, 2003 11:08 AM > BS> Subject: [JBoss-user] CMP - Primary Key > Strategies? > > > >> I'm working on a CMP EntityBean with JBoss3 on > >> Oracle8. > >> > >> My primary key must be a unique number. Oracle > has a > >> nice facility for handling sequences, which > doesn't > >> seam possible with this senerio because i'd need > to > >> write some jdbc code in the ejbCreate method to > get > >> the nextval. > >> > >> I'm aware that there are several J2EE > >> patterns/blueprints to solve this...most have > >> not-so-clean side effects that i'd like to > >> avoid...such as extra tables..etc. > >> > >> Is there anything that i can do with JBoss to > solve > >> this problem in a simple and clean manner? > >> > >> Someone told me that there is a cmp engine that i > can > >> buy that plugs into jboss that makes this easy. > Does > >> anyone know what product this is? Does anyone > have > >> experience with it? > >> > >> thanks, > >> -et > >> > >> > __ > >> Do you Yahoo!? > >> Yahoo! Platinum - Watch CBS' NCAA March Madness, > live on your desktop! > >> http://platinum.yahoo.com > >> > >> > >> > --- > >> This SF.net email is sponsored by:Crypto > Challenge is now open! > >> Get cracking and register here for some mind > boggling fun and > >> the chance of winning an Apple iPod: > >> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > >> ___ > >> JBoss-user mailing list > >> [EMAIL PROTECTED] > >> > https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > > > -- > costin
[JBoss-user] startup error with jboss2.4.1_tomcat3.2.3
Hi. I've been using jboss for a while now and everything was fine until i installed a program called Together. After doing this, I couldn't start up jboss. I get an error saying it cant add a shutdown hook. Tried to uninstall Together but it had no effect. I've also tried adding the rt.jar and tools.jar to jboss classpath but no joy. Can anyone tell me what my problem is? Thanks. Gordon. error: [Shutdown] Could not add shutdown hook java.lang.NoClassDefFoundError: java/lang/reflect/InvocationHandler at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(Unknown Source) at java.security.SecureClassLoader.defineClass(Unknown Sour at java.net.URLClassLoader.defineClass(Unknown Source) at java.net.URLClassLoader.access$1(Unknown Source) at java.net.URLClassLoader$1.run(Unknown Source) at java.security.AccessController.doPrivileged(Native Metho at java.net.URLClassLoader.findClass(Unknown Source) at javax.management.loading.MLet.findClass(MLet.java:775) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClass(Unknown Source) at java.lang.ClassLoader.loadClassInternal(Unknown Source) at java.lang.Class.getModifiers(Native Method) at com.sun.management.jmx.Introspector.testCompliance(Intro at com.sun.management.jmx.MetaData.testCompliance(MetaData. at com.sun.management.jmx.MBeanServerImpl.createMBean(MBean at javax.management.loading.MLet.getMBeansFromURL(MLet.java at javax.management.loading.MLet.getMBeansFromURL(MLet.java at org.jboss.Main.(Main.java, Compiled Code) at org.jboss.Main$1.run(Main.java:116) at java.security.AccessController.doPrivileged(Native Metho at org.jboss.Main.main(Main.java, Compiled Code) [Default] javax.management.InstanceNotFoundException: DefaultDomain [Default] at com.sun.management.jmx.MBeanServerImpl.getMBean( [Default] at com.sun.management.jmx.MBeanServerImpl.invoke(MB [Default] at org.jboss.Main.(Main.java, Compiled Code) [Default] at org.jboss.Main$1.run(Main.java:116) [Default] at java.security.AccessController.doPrivileged(Nati [Default] at org.jboss.Main.main(Main.java, Compiled Code) --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.463 / Virus Database: 262 - Release Date: 17/03/2003
Re: [JBoss-user] Tomcat doesn't start under JBoss 3.2.0RC3?
I just downloaded the JBoss 3.2.0RC3 Tomcat 4.1.18 version from SourceForge and it doesn't have the same problems. Is there a difference between this file and the versions tagged as JBoss_3_2_0_RC3 in CVS? When I build the Tomcat versions, I created the local.properties file and called the "build bundle" command. Thanks. -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) Quoting Chris Bonham ([EMAIL PROTECTED]): > I'm in the process of upgrading our application from JBoss 3.2.0beta2 to > 3.2.0RC3 under Windows XP, Sun JDK 1.4.1_01. We're using embedded Tomcat 4.0.6 > as the webserver. I just built the 3.2.0RC3 version from CVS and the > catalina bundle with Tomcat 4.0.6. When I startup, I get this message: > > 2003-03-19 09:37:11,026 INFO [org.jboss.deployment.MainDeployer] Starting > deployment of package: > file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml > 2003-03-19 09:37:11,026 DEBUG [org.jboss.deployment.MainDeployer] Starting > deployment (init step) of package at: > file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml > 2003-03-19 09:37:11,036 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL > with url > file:/C:/jboss-3.2.0RC3/server/default/tmp/deploy/server/default/deploy/tomcat4-service.xml/21.tomcat4-service.xml > 2003-03-19 09:37:11,036 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding > [EMAIL PROTECTED] > url=file:/C:/jboss-3.2.0RC3/server/default/tmp/deploy/server/default/deploy/tomcat4-service.xml/21.tomcat4-service.xml > ,addedOrder=0} > 2003-03-19 09:37:11,036 DEBUG [org.jboss.deployment.MainDeployer] using deployer > [EMAIL PROTECTED] > 2003-03-19 09:37:11,046 DEBUG [org.jboss.deployment.SARDeployer] Found classpath > element: [classpath: null] > 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.SARDeployer] codebase URL is > file:/C:/jboss-3.2.0RC3/server/catalina/common/lib/ > 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.SARDeployer] listing codebase > for archives matching * > 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.SARDeployer] URLLister class is > org.jboss.net.protocol.file.FileURLLister > 2003-03-19 09:37:11,056 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.parentTraceEnabled=true > 2003-03-19 09:37:11,056 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.nestedTraceEnabled=false > 2003-03-19 09:37:11,056 DEBUG [org.jboss.util.NestedThrowable] > org.jboss.util.NestedThrowable.detectDuplicateNesting=true > 2003-03-19 09:37:11,056 WARN [org.jboss.util.NestedThrowable] Duplicate throwable > nesting of same base type: class org.jboss.deployment.DeploymentException is > assignable from: class org.jboss.deployment.DeploymentException > 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: > file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml > 2003-03-19 09:37:11,056 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] > Failed to deploy: [EMAIL PROTECTED] > url=file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml, > deployedLastModified=0 } > org.jboss.deployment.DeploymentException: exception in init of > file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml; - nested > throwable: (org.jboss.deployment.DeploymentException: > C:\jboss-3.2.0RC3\server\catalina\common\lib; - nested throwable: > (java.io.FileNotFoundException: C:\jboss-3.2.0RC3\server\catalina\common\lib)) > at org.jboss.deployment.MainDeployer.init(MainDeployer.java:715) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636) > at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612) > at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) > at java.lang.reflect.Method.invoke(Method.java:324) > at > org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) > at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) > at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) > at $Proxy7.deploy(Unknown Source) > at > org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:404) > at > org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:545) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:195) > at > org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:268) > at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) > at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) > at > sun.reflect.DelegatingMethodAccessorImpl.invoke(Delegatin
[JBoss-user] Tomcat doesn't start under JBoss 3.2.0RC3?
I'm in the process of upgrading our application from JBoss 3.2.0beta2 to 3.2.0RC3 under Windows XP, Sun JDK 1.4.1_01. We're using embedded Tomcat 4.0.6 as the webserver. I just built the 3.2.0RC3 version from CVS and the catalina bundle with Tomcat 4.0.6. When I startup, I get this message: 2003-03-19 09:37:11,026 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml 2003-03-19 09:37:11,026 DEBUG [org.jboss.deployment.MainDeployer] Starting deployment (init step) of package at: file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml 2003-03-19 09:37:11,036 DEBUG [org.jboss.mx.loading.UnifiedClassLoader] New jmx UCL with url file:/C:/jboss-3.2.0RC3/server/default/tmp/deploy/server/default/deploy/tomcat4-service.xml/21.tomcat4-service.xml 2003-03-19 09:37:11,036 DEBUG [org.jboss.mx.loading.UnifiedLoaderRepository3] Adding [EMAIL PROTECTED] url=file:/C:/jboss-3.2.0RC3/server/default/tmp/deploy/server/default/deploy/tomcat4-service.xml/21.tomcat4-service.xml ,addedOrder=0} 2003-03-19 09:37:11,036 DEBUG [org.jboss.deployment.MainDeployer] using deployer [EMAIL PROTECTED] 2003-03-19 09:37:11,046 DEBUG [org.jboss.deployment.SARDeployer] Found classpath element: [classpath: null] 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.SARDeployer] codebase URL is file:/C:/jboss-3.2.0RC3/server/catalina/common/lib/ 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.SARDeployer] listing codebase for archives matching * 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.SARDeployer] URLLister class is org.jboss.net.protocol.file.FileURLLister 2003-03-19 09:37:11,056 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 2003-03-19 09:37:11,056 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 2003-03-19 09:37:11,056 DEBUG [org.jboss.util.NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 2003-03-19 09:37:11,056 WARN [org.jboss.util.NestedThrowable] Duplicate throwable nesting of same base type: class org.jboss.deployment.DeploymentException is assignable from: class org.jboss.deployment.DeploymentException 2003-03-19 09:37:11,056 DEBUG [org.jboss.deployment.MainDeployer] Watching new file: file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml 2003-03-19 09:37:11,056 ERROR [org.jboss.deployment.scanner.URLDeploymentScanner] Failed to deploy: [EMAIL PROTECTED] url=file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml, deployedLastModified=0 } org.jboss.deployment.DeploymentException: exception in init of file:/C:/jboss-3.2.0RC3/server/default/deploy/tomcat4-service.xml; - nested throwable: (org.jboss.deployment.DeploymentException: C:\jboss-3.2.0RC3\server\catalina\common\lib; - nested throwable: (java.io.FileNotFoundException: C:\jboss-3.2.0RC3\server\catalina\common\lib)) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:715) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612) at sun.reflect.GeneratedMethodAccessor23.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy7.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:404) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:545) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:195) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:268) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor7.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:392) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Del
RE: [JBoss-user] Deploying scheduler after EAR deployment
Hi, You can do this by using the deployment sorters specified in /conf/jboss-service.xml. For example, you can use the PrefixDeploymentSorter and call your scheduler service xml 1blahblah.xml. Cheers, Krishna -Original Message- From: Marek Lange [mailto:[EMAIL PROTECTED] Sent: Wednesday, March 19, 2003 3:24 PM To: JBoss User Subject: [JBoss-user] Deploying scheduler after EAR deployment Hi all, what is the best way to configure JBoss to deploy the scheduler service after the deployment of the application during startup? The problem is that the scheduler uses classes which are included in the EAR. That is why JBoss throws a deployment error when starting: [ServiceConfigurator] Problem configuring service jboss:service=ModuleScheduler org.jboss.deployment.DeploymentException: Exception setting attribute javax.management.Attribute: name=SchedulableClass value=mypackage.MySchedulableImpl on mbean jboss:service=ModuleScheduler; - nested throwable: (java.security.InvalidParameterException: Given class mypackage.MySchedulableImpl is not valid or not found) Thanks for the hints, -marek --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2RC3 hangs on startup
ok, then it comes up. Thanks! Anyone knows about why default configuration is failing... /L onsdagen den 19 mars 2003 kl 13.49 skrev Andrew May: Having just upgraded I found that 3.2.0RC3 is configured to use the JDBC persistence manager for JMS by default. 3.0.x was configured to use the file persistence manager by default. The JDBC persistence relies on the Default hsqldb datasource. Because I don't need to use the database persistence I editied deploy/jbossmq-service.xml to comment out the JDBC PersistenceManager and uncomment the file PersistenceManager. It's also necessary to change the MessageCache config (in the same file), as explained in the comment in the file. Hope that's of some help. -Andrew --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2RC3 hangs on startup
Having just upgraded I found that 3.2.0RC3 is configured to use the JDBC persistence manager for JMS by default. 3.0.x was configured to use the file persistence manager by default. The JDBC persistence relies on the Default hsqldb datasource. Because I don't need to use the database persistence I editied deploy/jbossmq-service.xml to comment out the JDBC PersistenceManager and uncomment the file PersistenceManager. It's also necessary to change the MessageCache config (in the same file), as explained in the comment in the file. Hope that's of some help. -Andrew Lennart Petersson wrote: Mac OSX jdk 1.4.1 official release. Starting default config with no change from downloaded archive. Clip from log: 12:01:50,399 DEBUG [ServiceController] Starting dependent components for: jboss.jca:service=LocalTxCM,name=DefaultDS dependent components: [ObjectName: jboss.mq:service=PersistenceManager state: CREATED I Depend On: jboss.mq:service=MessageCache jboss.jca:service=LocalTxCM,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ] 12:01:50,402 DEBUG [ServiceController] starting service jboss.mq:service=PersistenceManager 12:01:50,405 INFO [PersistenceManager] Starting 12:01:50,415 DEBUG [PersistenceManager] Resolving uncommited TXS 12:01:50,548 DEBUG [IdleRemover] internalRegisterPool: registering pool with interval 90 old interval: 9223372036854775807 12:01:50,551 DEBUG [IdleRemover] internalRegisterPool: about to notify thread: old next: 1048072160550, new next: 1048072160550 12:01:50,554 DEBUG [IdleRemover] run: IdleRemover notifying pools, interval: 45 12:01:50,565 DEBUG [LocalManagedConnectionFactory] Using properties: {user=sa, password=} 12:01:50,567 DEBUG [LocalManagedConnectionFactory] Checking driver for URL: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,582 DEBUG [LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,590 DEBUG [LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,597 DEBUG [LocalManagedConnectionFactory] Driver already registered for url: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,626 DEBUG [LocalManagedConnectionFactory] Using properties: {user=sa, password=} < !!! NOTE THE 5 MIN TIMEOUT HERE /my comment !!! > 12:06:50,504 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=localhost//0, BranchQual=] timed out. status=STATUS_ACTIVE 12:09:20,564 DEBUG [IdleRemover] run: IdleRemover notifying pools, interval: 45 12:09:20,567 DEBUG [LocalManagedConnectionFactory] Using properties: {user=sa, password=} 12:12:29,035 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 12:12:29,044 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 12:12:29,046 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 12:12:29,053 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection is broken: Malformed reply from SOCKS server); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection is broken: Malformed reply from SOCKS server))) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Persist enceManager.java:274) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager .java:1235) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi spatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController .java:966) at $Proxy11.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:392) at org.jboss.system.ServiceController.start(ServiceController.java:408) at org.jboss.system.ServiceController.start(ServiceController.java:408) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi spatcher.java:284)
[JBoss-user] 3.2RC3 hangs on startup
Mac OSX jdk 1.4.1 official release. Starting default config with no change from downloaded archive. Clip from log: 12:01:50,399 DEBUG [ServiceController] Starting dependent components for: jboss.jca:service=LocalTxCM,name=DefaultDS dependent components: [ObjectName: jboss.mq:service=PersistenceManager state: CREATED I Depend On: jboss.mq:service=MessageCache jboss.jca:service=LocalTxCM,name=DefaultDS Depends On Me: jboss.mq:service=DestinationManager ] 12:01:50,402 DEBUG [ServiceController] starting service jboss.mq:service=PersistenceManager 12:01:50,405 INFO [PersistenceManager] Starting 12:01:50,415 DEBUG [PersistenceManager] Resolving uncommited TXS 12:01:50,548 DEBUG [IdleRemover] internalRegisterPool: registering pool with interval 90 old interval: 9223372036854775807 12:01:50,551 DEBUG [IdleRemover] internalRegisterPool: about to notify thread: old next: 1048072160550, new next: 1048072160550 12:01:50,554 DEBUG [IdleRemover] run: IdleRemover notifying pools, interval: 45 12:01:50,565 DEBUG [LocalManagedConnectionFactory] Using properties: {user=sa, password=} 12:01:50,567 DEBUG [LocalManagedConnectionFactory] Checking driver for URL: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,582 DEBUG [LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,590 DEBUG [LocalManagedConnectionFactory] Driver not yet registered for url: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,597 DEBUG [LocalManagedConnectionFactory] Driver already registered for url: jdbc:hsqldb:hsql://192.168.205.104:1701 12:01:50,626 DEBUG [LocalManagedConnectionFactory] Using properties: {user=sa, password=} < !!! NOTE THE 5 MIN TIMEOUT HERE /my comment !!! > 12:06:50,504 WARN [TransactionImpl] Transaction TransactionImpl:XidImpl [FormatId=257, GlobalId=localhost//0, BranchQual=] timed out. status=STATUS_ACTIVE 12:09:20,564 DEBUG [IdleRemover] run: IdleRemover notifying pools, interval: 45 12:09:20,567 DEBUG [LocalManagedConnectionFactory] Using properties: {user=sa, password=} 12:12:29,035 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.parentTraceEnabled=true 12:12:29,044 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.nestedTraceEnabled=false 12:12:29,046 DEBUG [NestedThrowable] org.jboss.util.NestedThrowable.detectDuplicateNesting=true 12:12:29,053 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Message recovery may not be accurate; - nested throwable: (org.jboss.util.NestedSQLException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection is broken: Malformed reply from SOCKS server); - nested throwable: (org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (java.sql.SQLException: Connection is broken: Malformed reply from SOCKS server))) at org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(Persist enceManager.java:274) at org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager .java:1235) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at sun.reflect.GeneratedMethodAccessor34.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi spatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController .java:966) at $Proxy11.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:392) at org.jboss.system.ServiceController.start(ServiceController.java:408) at org.jboss.system.ServiceController.start(ServiceController.java:408) at sun.reflect.GeneratedMethodAccessor6.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessor Impl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDi spatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy5.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:231) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:827) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:639) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:612) at sun.reflect.GeneratedMethodAccessor28.invoke(Unknown Source) at sun.reflect.DelegatingMet
Re[3]: [JBoss-user] Error: my patience Not Bound
HD> Beside that, AFAIK the XDoclet team is well aware of the problem and HD> working on less limited solutions. Let's see what they come up with in HD> future versions. There is no fundamental limitation in regard to HD> create multiple deployment units with metadata. There is of course one fundamental limitation. That is if developing and assembly is not done by the same team. This is AFAIK rather uncommon. Hans --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: Re[2]: [JBoss-user] CMP - Primary Key Strategies?
yea right - Original Message - From: "costin" <[EMAIL PROTECTED]> To: "Brijesh Sood" <[EMAIL PROTECTED]> Sent: Wednesday, March 19, 2003 4:06 PM Subject: Re[2]: [JBoss-user] CMP - Primary Key Strategies? > Hi! > > So basically you can use the autoincrement feature with: > > - not doing anything in ejbCreate > > (the rest is standard - get/set methods/descriptor/etc...)? > > Is this correct? > > > BS> Hi Eric > BS> Well this is good to used db based sequence number as the primary key . I m currently using the mysql and its auto_increment sequence as primary key > BS> But to use this feature u have to use jboss 3.2.03 beta ..As unique sequence no is managed by the db not but the EJB container . so while inserted the new record . u dont have to pass the value > BS> for the unique sequence no. > BS> Like u have a User Entity EJB > BS> User have DB schema > > BS> userID int(11) auto_increment primary key --- now this is acting as the primary key > BS> username varchar(30) > BS> password varchar(30) > BS> email varchar(30) > BS> ur > > BS> ejbCreate(String username, String password, String email) > BS> { > BS> //here u havent provided the value of userID as it inserted by DB // it can any sequence no > BS> } > BS> ejbPostCreate(String username, String password, String email) > BS> { > > BS> } > BS> Deployment decriptor entor > > BS> User > BS> com.n4i.ejb.test.UserLocalHome > BS> com.n4i.ejb.test.UserLocal > BS> com.n4i.ejb.test.UserBean > BS> Container > BS> java.lang.Integer // I m using int(11) as the primary key if ur using some unique string the specify java.lang.String > > BS> False > BS> 2.x > BS> User > BS> > BS> userID > BS> > BS> > BS> username > BS> > BS> > BS> password > BS> > BS> > BS> email > BS> > BS> userID > > > > BS> But u need to have getter and setter for this unique sequence no primary key field ... as its getter method will be used when u call getUserID on local/Remote refernce of the entityBean . > BS> // One thing that is to noted here .is userID field is managed by the DB not by EJB Container but have to declare in the deployment descriptor as CMP field > > BS> Eric this thing is working with mysql for mee .. in oracle if ur using sequence as primary key its value is integer .. and it will work tooo . > > BS> Rgds > > BS> Brijesh > > > BS> - Original Message - > BS> From: "Eric Tim" <[EMAIL PROTECTED]> > BS> To: <[EMAIL PROTECTED]> > BS> Sent: Tuesday, March 18, 2003 11:08 AM > BS> Subject: [JBoss-user] CMP - Primary Key Strategies? > > > >> I'm working on a CMP EntityBean with JBoss3 on > >> Oracle8. > >> > >> My primary key must be a unique number. Oracle has a > >> nice facility for handling sequences, which doesn't > >> seam possible with this senerio because i'd need to > >> write some jdbc code in the ejbCreate method to get > >> the nextval. > >> > >> I'm aware that there are several J2EE > >> patterns/blueprints to solve this...most have > >> not-so-clean side effects that i'd like to > >> avoid...such as extra tables..etc. > >> > >> Is there anything that i can do with JBoss to solve > >> this problem in a simple and clean manner? > >> > >> Someone told me that there is a cmp engine that i can > >> buy that plugs into jboss that makes this easy. Does > >> anyone know what product this is? Does anyone have > >> experience with it? > >> > >> thanks, > >> -et > >> > >> __ > >> Do you Yahoo!? > >> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! > >> http://platinum.yahoo.com > >> > >> > >> --- > >> This SF.net email is sponsored by:Crypto Challenge is now open! > >> Get cracking and register here for some mind boggling fun and > >> the chance of winning an Apple iPod: > >> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > >> ___ > >> JBoss-user mailing list > >> [EMAIL PROTECTED] > >> https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > > > -- > costinmailto:[EMAIL PROTECTED] > > > > --- > This SF.net email is sponsored by: Does your code think in ink? > You could win a Tablet PC. Get a free Tablet PC hat just for playing. > What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-b
AW: [JBoss-user] JMX SOAP Adapter
Hi Marco, In jboss.net, we have included an MBeanProvider for Axis that may be used to expose arbitrary Mbeans as web services. It suffers from malformed WSDL at the moment, but is functional wrt. Web service calls. CGJ -Ursprüngliche Nachricht- Von: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Gesendet: Mittwoch, 19. März 2003 12:16 An: [EMAIL PROTECTED] Betreff: [JBoss-user] JMX SOAP Adapter hi all, does JBoss have a JMX SOAP adapter currently/in the future? eventually, are there any JMX SOAP adapter available that can be plugged into JBoss? thanx and regards marco --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ### This message has been scanned by F-Secure Anti-Virus for Microsoft Exchange. For more information, connect to http://www.F-Secure.com/ --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JMX SOAP Adapter
hi all, does JBoss have a JMX SOAP adapter currently/in the future? eventually, are there any JMX SOAP adapter available that can be plugged into JBoss? thanx and regards marco --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: Re[2]: [JBoss-user] CMP - Primary Key Strategies?
Note that Oracle sequences can't be rollbacked! If you encounter any Exception (NullPointer...), there'll be a hole. Cheers, WS --- costin <[EMAIL PROTECTED]> a écrit : > Hi! > > So basically you can use the autoincrement feature > with: > > - not doing anything in ejbCreate > > (the rest is standard - get/set > methods/descriptor/etc...)? > > Is this correct? > > > BS> Hi Eric > BS> Well this is good to used db based > sequence number as the primary key . I m currently > using the mysql and its auto_increment sequence as > primary key > BS> But to use this feature u have to use jboss > 3.2.03 beta ..As unique sequence no is managed by > the db not but the EJB container . so while inserted > the new record . u dont have to pass the value > BS> for the unique sequence no. > BS> Like u have a User Entity EJB > BS> User have DB schema > > BS> userID int(11) auto_increment primary key > --- now this is acting as the > primary key > BS> username varchar(30) > BS> password varchar(30) > BS> email varchar(30) > BS> ur > > BS> ejbCreate(String username, String password, > String email) > BS> { > BS> //here u havent provided the value of > userID as it inserted by DB // it can any sequence > no > BS> } > BS> ejbPostCreate(String username, String password, > String email) > BS> { > > BS> } > BS> Deployment decriptor entor > > BS> User > BS> > com.n4i.ejb.test.UserLocalHome > BS> com.n4i.ejb.test.UserLocal > BS> > com.n4i.ejb.test.UserBean > BS> > Container > BS> > java.lang.Integer > // I m using int(11) as the primary key if ur using > some unique string the specify java.lang.String > > BS> False > BS> 2.x > BS> > User > BS> > BS> userID > BS> > BS> > BS> username > BS> > BS> > BS> password > BS> > BS> > BS> email > BS> > BS> userID > > > > BS> But u need to have getter and setter for this > unique sequence no primary key field ... as its > getter method will be used when u call getUserID on > local/Remote refernce of the entityBean . > BS> // One thing that is to noted here .is userID > field is managed by the DB not by EJB Container but > have to declare in the deployment descriptor as CMP > field > > BS> Eric this thing is working with mysql for mee .. > in oracle if ur using sequence as primary key its > value is integer .. and it will work tooo . > > BS> Rgds > > BS> Brijesh > > > BS> - Original Message - > BS> From: "Eric Tim" <[EMAIL PROTECTED]> > BS> To: <[EMAIL PROTECTED]> > BS> Sent: Tuesday, March 18, 2003 11:08 AM > BS> Subject: [JBoss-user] CMP - Primary Key > Strategies? > > > >> I'm working on a CMP EntityBean with JBoss3 on > >> Oracle8. > >> > >> My primary key must be a unique number. Oracle > has a > >> nice facility for handling sequences, which > doesn't > >> seam possible with this senerio because i'd need > to > >> write some jdbc code in the ejbCreate method to > get > >> the nextval. > >> > >> I'm aware that there are several J2EE > >> patterns/blueprints to solve this...most have > >> not-so-clean side effects that i'd like to > >> avoid...such as extra tables..etc. > >> > >> Is there anything that i can do with JBoss to > solve > >> this problem in a simple and clean manner? > >> > >> Someone told me that there is a cmp engine that i > can > >> buy that plugs into jboss that makes this easy. > Does > >> anyone know what product this is? Does anyone > have > >> experience with it? > >> > >> thanks, > >> -et > >> > >> > __ > >> Do you Yahoo!? > >> Yahoo! Platinum - Watch CBS' NCAA March Madness, > live on your desktop! > >> http://platinum.yahoo.com > >> > >> > >> > --- > >> This SF.net email is sponsored by:Crypto > Challenge is now open! > >> Get cracking and register here for some mind > boggling fun and > >> the chance of winning an Apple iPod: > >> > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en > >> ___ > >> JBoss-user mailing list > >> [EMAIL PROTECTED] > >> > https://lists.sourceforge.net/lists/listinfo/jboss-user > >> > > > -- > costin > mailto:[EMAIL PROTECTED] > > > > --- > This SF.net email is sponsored by: Does your code > think in ink? > You could win a Tablet PC. Get a free Tablet PC hat > just for playing. > What are you waiting for? > http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.m
Re[2]: [JBoss-user] CMP - Primary Key Strategies?
Hi! So basically you can use the autoincrement feature with: - not doing anything in ejbCreate (the rest is standard - get/set methods/descriptor/etc...)? Is this correct? BS> Hi Eric BS> Well this is good to used db based sequence number as the primary key . I m currently using the mysql and its auto_increment sequence as primary key BS> But to use this feature u have to use jboss 3.2.03 beta ..As unique sequence no is managed by the db not but the EJB container . so while inserted the new record . u dont have to pass the value BS> for the unique sequence no. BS> Like u have a User Entity EJB BS> User have DB schema BS> userID int(11) auto_increment primary key --- now this is acting as the primary key BS> username varchar(30) BS> password varchar(30) BS> email varchar(30) BS> ur BS> ejbCreate(String username, String password, String email) BS> { BS> //here u havent provided the value of userID as it inserted by DB // it can any sequence no BS> } BS> ejbPostCreate(String username, String password, String email) BS> { BS> } BS> Deployment decriptor entor BS> User BS> com.n4i.ejb.test.UserLocalHome BS> com.n4i.ejb.test.UserLocal BS> com.n4i.ejb.test.UserBean BS> Container BS> java.lang.Integer // I m using int(11) as the primary key if ur using some unique string the specify java.lang.String BS> False BS> 2.x BS> User BS> BS> userID BS> BS> BS> username BS> BS> BS> password BS> BS> BS> email BS> BS> userID BS> But u need to have getter and setter for this unique sequence no primary key field ... as its getter method will be used when u call getUserID on local/Remote refernce of the entityBean . BS> // One thing that is to noted here .is userID field is managed by the DB not by EJB Container but have to declare in the deployment descriptor as CMP field BS> Eric this thing is working with mysql for mee .. in oracle if ur using sequence as primary key its value is integer .. and it will work tooo . BS> Rgds BS> Brijesh BS> - Original Message - BS> From: "Eric Tim" <[EMAIL PROTECTED]> BS> To: <[EMAIL PROTECTED]> BS> Sent: Tuesday, March 18, 2003 11:08 AM BS> Subject: [JBoss-user] CMP - Primary Key Strategies? >> I'm working on a CMP EntityBean with JBoss3 on >> Oracle8. >> >> My primary key must be a unique number. Oracle has a >> nice facility for handling sequences, which doesn't >> seam possible with this senerio because i'd need to >> write some jdbc code in the ejbCreate method to get >> the nextval. >> >> I'm aware that there are several J2EE >> patterns/blueprints to solve this...most have >> not-so-clean side effects that i'd like to >> avoid...such as extra tables..etc. >> >> Is there anything that i can do with JBoss to solve >> this problem in a simple and clean manner? >> >> Someone told me that there is a cmp engine that i can >> buy that plugs into jboss that makes this easy. Does >> anyone know what product this is? Does anyone have >> experience with it? >> >> thanks, >> -et >> >> __ >> Do you Yahoo!? >> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! >> http://platinum.yahoo.com >> >> >> --- >> This SF.net email is sponsored by:Crypto Challenge is now open! >> Get cracking and register here for some mind boggling fun and >> the chance of winning an Apple iPod: >> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en >> ___ >> JBoss-user mailing list >> [EMAIL PROTECTED] >> https://lists.sourceforge.net/lists/listinfo/jboss-user >> -- costinmailto:[EMAIL PROTECTED] --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Retrieving large lists
On Tue, 2003-03-18 at 23:09, Philippe de M. Sevestre wrote: > How often does the data from which you populate your pull-down changes ? > > Usually this kind of information is relatively static so you should > consider caching the resulting bean collection in a session attribute (if > user specific) > or even a context attribute. I do actually use this technique on the more static data. It is the stuff that cannot be cached which causes me problems. However, other posts have indicated that I can probably do more with my read-ahead strategy than I am at the moment. Thanks -- Peter Beck BEng (hons) MIEE - Managing Director, Electrostrata Ltd. http://www.electrostrata.com --+-+-- Experts in e-business and e-commerce --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] CMP - Primary Key Strategies?
Hi Eric Well this is good to used db based sequence number as the primary key . I m currently using the mysql and its auto_increment sequence as primary key But to use this feature u have to use jboss 3.2.03 beta ..As unique sequence no is managed by the db not but the EJB container . so while inserted the new record . u dont have to pass the value for the unique sequence no. Like u have a User Entity EJB User have DB schema userID int(11) auto_increment primary key --- now this is acting as the primary key username varchar(30) password varchar(30) email varchar(30) ur ejbCreate(String username, String password, String email) { // here u havent provided the value of userID as it inserted by DB // it can any sequence no } ejbPostCreate(String username, String password, String email) { } Deployment decriptor entor User com.n4i.ejb.test.UserLocalHome com.n4i.ejb.test.UserLocal com.n4i.ejb.test.UserBean Container java.lang.Integer // I m using int(11) as the primary key if ur using some unique string the specify java.lang.String False 2.x User userID username password email userID But u need to have getter and setter for this unique sequence no primary key field ... as its getter method will be used when u call getUserID on local/Remote refernce of the entityBean . // One thing that is to noted here .is userID field is managed by the DB not by EJB Container but have to declare in the deployment descriptor as CMP field Eric this thing is working with mysql for mee .. in oracle if ur using sequence as primary key its value is integer .. and it will work tooo . Rgds Brijesh - Original Message - From: "Eric Tim" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, March 18, 2003 11:08 AM Subject: [JBoss-user] CMP - Primary Key Strategies? > I'm working on a CMP EntityBean with JBoss3 on> Oracle8.> > My primary key must be a unique number. Oracle has a> nice facility for handling sequences, which doesn't> seam possible with this senerio because i'd need to> write some jdbc code in the ejbCreate method to get> the nextval.> > I'm aware that there are several J2EE> patterns/blueprints to solve this...most have> not-so-clean side effects that i'd like to> avoid...such as extra tables..etc.> > Is there anything that i can do with JBoss to solve> this problem in a simple and clean manner?> > Someone told me that there is a cmp engine that i can> buy that plugs into jboss that makes this easy. Does> anyone know what product this is? Does anyone have> experience with it?> > thanks,> -et> > __> Do you Yahoo!?> Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!> http://platinum.yahoo.com> > > ---> This SF.net email is sponsored by:Crypto Challenge is now open! > Get cracking and register here for some mind boggling fun and > the chance of winning an Apple iPod:> http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0031en> ___> JBoss-user mailing list> [EMAIL PROTECTED]> https://lists.sourceforge.net/lists/listinfo/jboss-user>
[JBoss-user] Accessing multiple SQL data sources using queries
Hi, I would like to know if there is any way to reference data from a table in a secondary datasource. My data exists in two data sources, PostgreSQL 7.2 and M$-SQL 2000. I configured the two data sources and I can use CMP to store data into both the data sources through configurations in my META-INF/jbosscmp-jdbc.xml file deployed in my J2EE application and all is well. Some EJB entity beans store (using CMP) and obtain data from one datasource and the other EJB entity beans get obtain and store their data in the other database. My data sources are java:/PostgresDS and java:/MSSQLDS. I am using raw SQL statements to get the data from the databases. I can access data from my default datasource (java:/PostgresDS) using plain SQL queries like so SELECT * FROM PBudgetSummaryLineItemYearEJB where proposalId=? and departmentId=? and userId=? and groupId=? now I would like to know how I can modify the above query to access data from the other datasource java:/MSSQLDS? I am trying not to use CMP for data retrieval using EJB QL. Thank you. __ Do you Yahoo!? Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop! http://platinum.yahoo.com --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Design comments requested
Hello all, I'm asking to all of you comments about the design of the following J2EE application: This application is 2 years old. Its production directory structure was like an exploded EAR: root -- conf -- properties files -- lib -- web -- WEB-INF -- jsp -- *.jsp ... Upgrading to the latests version of Application Server (JBoss and Weblogic), I had the responsibility to make migrate the application to the new required structure : EAR. (I used the template in the JBoss manual). Now, this application is composed of two EARs. One for the presentation tier (+war, -ejb) and the other for the business tier (-war, +ejb). Inside those EARs is a JAR file that contains properties files. Some of those properties files contain SQL request used by the business tier to manage data inside an Oracle database (select, insert...). Sometimes part of request are present because of dynamic requests using the 'in' operator (the set of values in the parenthesis is managed in Java). Two years ago, entity beans haven't been recommended and we continue not to use this technology. The only EJB type this application uses is Stateless Session Beans! :-( -1- What do you think of using properties files to store SQL requests? You have to know that architects decided (two years ago) to store SQL requests in properties files to allow the possibility to change the requests without having to recompile the whole sources and repackage the JAR. To resume: EAR(presentation)[ JAR[ properties file ] ] + EAR(business)[ JAR[ same properties file ] ] -2- Same question but with the new structure (2 EARs). Now our project manager ask us to keep the generated JAR containing the properties files to allow the possibility to change the properties files without the need to recompile (but we'll need to repackage the EARs). I think he didn't really know what is involved in all of this because we clean the whole build files regularly. So keeping the JAR file might be hard. (I have to tell you that he don't understand why we don't keep the generated class, jar, war and ear files in our versioning tool...). :-( -3- Can you give me arguments (simple if possible) to explain him why this is now impossible and repackaging new EARs might be the simplest answer in case of changing requests... Hope you understood all I wrote :-) Thanks in advance for your time, Loïc This message and any attachments (the "message") is intended solely for the addressees and is confidential. If you receive this message in error, please delete it and immediately notify the sender. Any use not in accord with its purpose, any dissemination or disclosure, either whole or partial, is prohibited except formal approval. The internet can not guarantee the integrity of this message. BNP PARIBAS (and its subsidiaries) shall (will) not therefore be liable for the message if modified. - Ce message et toutes les pieces jointes (ci-apres le "message") sont etablis a l'intention exclusive de ses destinataires et sont confidentiels. Si vous recevez ce message par erreur, merci de le detruire et d'en avertir immediatement l'expediteur. Toute utilisation de ce message non conforme a sa destination, toute diffusion ou toute publication, totale ou partielle, est interdite, sauf autorisation expresse. L'internet ne permettant pas d'assurer l'integrite de ce message, BNP PARIBAS (et ses filiales) decline(nt) toute responsabilite au titre de ce message, dans l'hypothese ou il aurait ete modifie. --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re[2]: [JBoss-user] Error: my patience Not Bound
SMS> The use case requiring ejb-refs is a module of resuable components that are deployment SMS> more than once with different security, transaction, envrionment, resource-refs, etc. SMS> based on the utilization of the component in the application workflow. You cannot have SMS> such a component's access to its dependent ejbs, resources, etc. be a hard-coded SMS> source level property of the reusable component. SMS> This is the same reason why I don't really believe in xdoclet as a production mechanism. SMS> Its fine to get a template of the metadata files bootstrapped, but having to modify the SMS> source to update the metadata becomes impossible when I am using the component SMS> with completely different settings based on its different deployment contexts. Well, what you can do is to use ant properties within the xdoclet tags. Then generation with different ant tasks that refer to different property files leads to multiple deployment units. It's a limited approach but good enough for a subset of the multi deployment scenarios. Beside that, AFAIK the XDoclet team is well aware of the problem and working on less limited solutions. Let's see what they come up with in future versions. There is no fundamental limitation in regard to create multiple deployment units with metadata. --- This SF.net email is sponsored by: Does your code think in ink? You could win a Tablet PC. Get a free Tablet PC hat just for playing. What are you waiting for? http://ads.sourceforge.net/cgi-bin/redirect.pl?micr5043en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user