Re: [JBoss-user] Unexpected Signal : 11
Brian Wallis wrote: Does this always happen on the same system or on more than one. You can see these sort of errors if you have a memory or other hardware problem. One good test for memory related issues is to compile a linux kernel, that usually gets a sig11 if you have any marginal memory in the machine. Or you could try Memtest86 if you have an x86 machine: http://www.memtest86.com/ Ricardo Argüello --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [RESOLVED] Unable to run 3.2.2 on Windoze
I told you, it was spyware. :-) Jim Crossley wrote: The problem appears to be related to the ISA Firewall Client. When activated, I get Address already in use: JVM_Bind errors for ports 1099, , 8080 and others. When deactivated, the errors go away. I would still be interested to know why JBoss 3.0.4 works fine with the ISA Firewall Client activated. What changed in 3.2.x that might account for the incompatibility? Thanks, Jim --- This SF.net email is sponsored by OSDN's Audience Survey. Help shape OSDN's sites and tell us what you think. Take this five minute survey and you could win a $250 Gift Certificate. http://www.wrgsurveys.com/2003/osdntech03.php?site=8 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] ANSI SQL ?
Generally database metadata information (table names, column descriptions, etc) is vendor dependant, not ANSI SQL. If you need to access to metadata programatically try using the JDBC API: http://java.sun.com/j2se/1.4.2/docs/api/java/sql/package-summary.html http://java.sun.com/j2se/1.4.2/docs/api/java/sql/DatabaseMetaData.html http://java.sun.com/j2se/1.4.2/docs/api/java/sql/ResultSetMetaData.html Ricardo Argüello Ionel GARDAIS wrote: Hi, How to know if an SQL command is ANSI compliant or db dependant ? I need to know this for SHOW TABLES and SHOW COLUMNS commands. thanks, ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Ricardo Argüello [EMAIL PROTECTED] www.ndeveloper.com --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Unable to run 3.2.2 on Windoze
Maybe you have spyware listening on that port? :-) Try Lavasoft's Ad-ware: http://www.lavasoft.us/software/adaware/ Download (gratis for personal use): http://www.lavasoft.us/support/download/ Ricardo Argüello Jim Crossley wrote: I just tried the tomcat version and got the same result. I've tried both on XP and Win2k with the same result, some with 1.4.1 and some with 1.4.2. Always with the default config. Always the same results, as if something is listening on 8080 when the web server tries to start, but I know nothing is. I can run the default config of JBoss 3.0.4 on these boxes fine. (And no it's not running when I attempt to start bring up 3.2.2). I'm really doing nothing special at all. It should work. It does work on my Linux boxen. What could I be missing? Thanks, Jim Rod Macpherson [EMAIL PROTECTED] writes: I am using the tomcat version (seems to be the server of choice now) on XP no problemo. Either you have multiple copies of it running (assume you rebooted) or something is wacky about your system. Did you try telnet to 8080 on localhost before starting JBoss? Speaking of localhost, not sure if this matters but do you have localhost in your windoze/system32/driver/etc/hosts file? -Original Message- From: Jim Crossley [mailto:[EMAIL PROTECTED] Sent: Wed 11/19/2003 2:11 PM To: JBoss Users Cc: Subject: [JBoss-user] Unable to run 3.2.2 on Windoze I'm having a heck of a time getting JBoss 3.2.2-Jetty to run on either Win2K or XP. (I can run it on multiple Linux's fine). I've verified that I have no other services listening on JBoss' ports (8080, 8009, 1099, , etc), but Jetty doesn't seem to be happy when it comes up. Even odder, when I shutdown and restart immediately, it's as if the ports from the previous run are still being used and I get all kinds of errors -- mostly JNDI errors because 1099 is still bound. Is there some Windoze setting somewhere I need to turn on so that my ports aren't in TIME_WAIT for so long after shutdown? 2003-11-19 17:04:22,538 INFO [org.jboss.jbossweb] Starting Jetty/4.2.11 2003-11-19 17:04:22,568 INFO [org.jboss.jbossweb] Started [EMAIL PROTECTED] 2003-11-19 17:04:22,588 WARN [org.jboss.jbossweb] WARNING: Failed to start: [EMAIL PROTECTED]:8080 2003-11-19 17:04:22,618 INFO [org.jboss.jbossweb] Started AJP13Listener on 0.0.0.0:8009 2003-11-19 17:04:22,628 INFO [org.jboss.jbossweb] NOTICE: AJP13 is not a secure protocol. Please protect the port 0.0.0.0:8009 2003-11-19 17:04:22,638 ERROR [org.jboss.jetty.JettyService] multiple exceptions... 2003-11-19 17:04:22,648 ERROR [org.jboss.jetty.JettyService] exception java.net.BindException: Address already in use: JVM_Bind at java.net.PlainSocketImpl.socketBind(Native Method) at java.net.PlainSocketImpl.bind(PlainSocketImpl.java:331) at java.net.ServerSocket.bind(ServerSocket.java:309) at java.net.ServerSocket.init(ServerSocket.java:183) at org.mortbay.util.ThreadedServer.newServerSocket(ThreadedServer.java:317) at org.mortbay.util.ThreadedServer.start(ThreadedServer.java:389) at org.mortbay.http.SocketListener.start(SocketListener.java:153) at org.mortbay.http.HttpServer.start(HttpServer.java:671) at org.jboss.jetty.JettyService.startService(JettyService.java:175) How does anyone get anything done on an MS platform?!?! ;-) Thanks, Jim --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user * NOTE: An attachment named winmail.dat was deleted from this message because it contained a windows executableor other potentially dangerous file type.Contact the system administrator for more information. -- Ricardo Argüello [EMAIL PROTECTED] www.ndeveloper.com --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Calling UUIDKeyGeneratorFactoryService from EJB
How can I invoke an MBean from a Session or Entity Bean? I want to call the UUIDKeyGeneratorFactoryService to generate primary keys for Entity Media Beans. Thanks, Ricardo Argüello --- This SF. Net email is sponsored by: GoToMyPC GoToMyPC is the fast, easy and secure way to access your computer from any Web browser or wireless device. Click here to Try it Free! https://www.gotomypc.com/tr/OSDN/AW/Q4_2003/t/g22lp?Target=mm/g22lp.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Calling UUIDKeyGeneratorFactoryService from EJB
Thanks! Ricardo Argüello Alexey Loubyansky wrote: This is from JDBCKeyGeneratorCreateCommand: try { KeyGeneratorFactory keyGeneratorFactory = (KeyGeneratorFactory) new InitialContext().lookup(factoryName); keyGenerator = keyGeneratorFactory.getKeyGenerator(); } catch (NamingException e) { throw new DeploymentException(Error: can't find key generator factory: + factoryName, e); } catch (Exception e) { throw new DeploymentException(Error: can't create key generator instance; key generator factory: + factoryName, e); } Ricardo Argüello wrote: How can I invoke an MBean from a Session or Entity Bean? I want to call the UUIDKeyGeneratorFactoryService to generate primary keys for Entity Media Beans. Thanks, Ricardo Argüello --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Fwd: Re: JBoss HSQLDB Remote Command Injection Vulnerability: Fixed in JBoss 3.2.2]
FYI Original Message Subject: Re: JBoss HSQLDB Remote Command Injection Vulnerability: Fixed in JBoss 3.2.2 Date: Thu, 23 Oct 2003 16:10:52 -0600 (MDT) From: Aaron Adams [EMAIL PROTECTED] To: rarguell uio.satnet.net References: [EMAIL PROTECTED] Ricardo, I've made the associated changes to the bid to reflect the information you've given me. If there are any problems please feel free to contact me directly. Also, if you could inform me when JBoss 3.0.9 has been released to the public, I will again update the BID. Thank you for the information. Regards, Aaron Adams SecurityFocus owners, The vulnerability: JBoss HSQLDB Remote Command Injection Vulnerability http://www.securityfocus.com/bid/8773 Has been addressed in the recent JBoss 3.2.2 release. Here is the related CVS commit: http://sourceforge.net/mailarchive/message.php?msg_id=6153888 The JBoss 3.0.9 release is not yet available, but the CVS 3.0.x version should have the fix also. The fixed 3.0.9 release should be available soon. Greetings, Ricardo Argüello --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss HSQLDB Remote Command Injection Vulnerability: Fixed in JBoss 3.2.2
SecurityFocus owners, The vulnerability: JBoss HSQLDB Remote Command Injection Vulnerability http://www.securityfocus.com/bid/8773 Has been addressed in the recent JBoss 3.2.2 release. Here is the related CVS commit: http://sourceforge.net/mailarchive/message.php?msg_id=6153888 The JBoss 3.0.9 release is not yet available, but the CVS 3.0.x version should have the fix also. The fixed 3.0.9 release should be available soon. Greetings, Ricardo Argüello --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-media module
JBoss Media is not dead yet, although I haven't heard about Spy in a while. I'll fix the build and continue my efforts to code the entity persistance module. With the fixed build I hope to get more people interested in the project. Greetings, Ricardo Argüello Bill Burke wrote: Is jboss-media dead? Are you and Spy still working on it? I haven't heard from you guys in a LONG time. I hope it is still alive or that you can resurrect it Best regards, Bill Ricardo Argüello wrote: It's my fault. I haven't updated the build.xml fine since the mayor code rollback a while ago. I will work on that this weekend. Greetings, Ricardo Argüello Ionel GARDAIS wrote: Hi, I checked-out the jboss-mail and jboss-media modules from the cvs. I installed jboss-media under the JBoss root as media. Then I added the media module into the module list of the build.xml and in the optional group. Then I ran build -Dgroups=all The media module appears in the modules list. Unfortunatly, the media module failed to compile. It tries to access the .ent files in the tools/etc/buildfragments directory whereas it is under the tools/etc/bulidmagic. Even by modifying the directories, it still fails by looking at a default.ent file which does not exist. Did I miss a thing ? = --- This SF.net email sponsored by: Enterprise Linux Forum Conference Expo The Event For Linux Datacenter Solutions Strategies in The Enterprise Linux in the Boardroom; in the Front Office; in the Server Room http://www.enterpriselinuxforum.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email sponsored by: Enterprise Linux Forum Conference Expo The Event For Linux Datacenter Solutions Strategies in The Enterprise Linux in the Boardroom; in the Front Office; in the Server Room http://www.enterpriselinuxforum.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss-media module
It's my fault. I haven't updated the build.xml fine since the mayor code rollback a while ago. I will work on that this weekend. Greetings, Ricardo Argüello Ionel GARDAIS wrote: Hi, I checked-out the jboss-mail and jboss-media modules from the cvs. I installed jboss-media under the JBoss root as media. Then I added the media module into the module list of the build.xml and in the optional group. Then I ran build -Dgroups=all The media module appears in the modules list. Unfortunatly, the media module failed to compile. It tries to access the .ent files in the tools/etc/buildfragments directory whereas it is under the tools/etc/bulidmagic. Even by modifying the directories, it still fails by looking at a default.ent file which does not exist. Did I miss a thing ? = --- This SF.net email sponsored by: Enterprise Linux Forum Conference Expo The Event For Linux Datacenter Solutions Strategies in The Enterprise Linux in the Boardroom; in the Front Office; in the Server Room http://www.enterpriselinuxforum.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JAAS login failure logging in JBoss/Tomcat?
Hi, I'd like to write a custom subclass of the included database JAAS login module. I want to log the timestamp and IP address of the user attempting to log in. Maybe lock out the IP address for certain amount of time if the login fails more than 3 times, etc. What should I need to change in JBoss' JAAS implementation, and JBossWeb, to support this scenario? Thanks in advance, Ricardo Argüello Scott M Stark wrote: This information is logged at trace level by the realm. You would need to either use a custom subclass of the JAAS login module currently used to log this, or add a new login module that logged the username if its abort method was called to indicate the login did not succeed and chain this will the login module doing the authentication. --- This SF.Net email sponsored by: Parasoft Error proof Web apps, automate testing more. Download eval WebKing and get a free book. www.parasoft.com/bulletproofapps ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [NEWBIE] Configuring the mail server with Jboss
Edit the server/default/deploy/mail-service.xml file. Ricardo Argüello - Original Message - From: Marco Tedone [EMAIL PROTECTED] To: JBoss-user-list [EMAIL PROTECTED] Sent: Sunday, June 08, 2003 6:05 PM Subject: [JBoss-user] [NEWBIE] Configuring the mail server with Jboss Hi, from my book I'm learning that a J2EE container should provide support for JavaMail and that in order to get a Mail session it would be enough to lookup something like the following: javax.mail.Session session = (javax.mail.Session) initial.lookup(java:/Mail); Now, my question is: where do I configure the Mail server information? I mean, I have a mail server host, a mail username a mail password and so on. Thanks, Marco --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Etnus, makers of TotalView, The best thread debugger on the planet. Designed with thread debugging features you've never dreamed of, try TotalView 6 free at www.etnus.com. ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Mac OSX: Hypersonic hanging during shutdown Re: [Xdoclet-user] OT: Maven problems...
Lennart, You wrote in the [EMAIL PROTECTED] list: Attempting to download commons-jelly-tags-xml-20030211.142705.jar. Error retrieving artifact from [http://www.ibiblio.org/maven/commons-jelly/jars/commons-jelly-tags- xml-20030211.142705.jar]: java.net.SocketException: Malformed reply from SOCKS server And you also wrote in the [EMAIL PROTECTED] list: java.sql.SQLException: Connection is broken: Malformed reply from SOCKS server Have you considered that maybe is your SOCKS server the one giving you trouble!!! Man... Ricardo Argüello --- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Stack Overflow Exception in CMR
Did you checkout the 3.2 branch correctly? Maybe this could help you: http://www.jboss.org/developers/guides/quickstart.jsp Ricardo Argüello - Original Message - From: Michael Nowotny [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 8:39 PM Subject: Re: [JBoss-user] Stack Overflow Exception in CMR Hello Alex! Just checked out jboss-3.2. When running build/build.bat I get the following error message: BUILD FAILED file:D:/java/software/eclipse/workspace/jboss-all/common/build.xml:118: Could not create task or type of type: jmxdoclet. Do I have to install additional ant tasks on my system? Thanks Michael - Original Message - From: Alex Loubyansky [EMAIL PROTECTED] To: Michael Nowotny [EMAIL PROTECTED] Cc: [EMAIL PROTECTED] Sent: Monday, March 24, 2003 5:08 PM Subject: Re: [JBoss-user] Stack Overflow Exception in CMR This should be fixed now. Could you try current CVS version for Branch_3_2? Thank you, alex Monday, March 24, 2003, 1:43:06 AM, Michael Nowotny wrote: MN Hello! MN I'm getting a StackOverflowException while population a CMR Entity Bean. What's special about the relation is that it uses primary key fields as part of the relation (no foreign key db constraint MN attached). The problem described below occured in a number of different cases. For illustration I'm using the most simple one. MN The situation is as follows: MN I have 2 Entity Beans: Finance and Company. MN Company has a Primary Key called id. MN Finance has the same Primary Key called companyId. MN Finance.companyId is a relationship field that references Company.id and vice versa. MN Now when I create a new Company Bean everything is fine. The problem occurs when trying to insert a Finance bean which references the Company just inserted. MN The stack trace looks like that: MN 2003-03-24 00:29:16,747 ERROR [org.jboss.ejb.plugins.LogInterceptor] TransactionRolledbackLocalException, causedBy: MN javax.ejb.EJBException: Unexpected Error MN java.lang.StackOverflowError MN at sun.reflect.Reflection.quickCheckMemberAccess(Reflection.java:43) MN at java.lang.reflect.Field.doSecurityCheck(Field.java:804) MN at java.lang.reflect.Field.getFieldAccessor(Field.java:758) MN at java.lang.reflect.Field.get(Field.java:228) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCAbstractCMPFieldBridge.getPrimaryK eyValue(JDBCAbstractCMPFieldBridge.java:200) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.injectPrimaryKeyIntoI nstance(JDBCEntityBridge.java:695) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityC ommand.java:113) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityC ommand.java:83) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager. java:638) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.updateFKFieldsMap pedToMe(JDBCCMP2xFieldBridge.java:287) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue( JDBCCMP2xFieldBridge.java:162) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue( JDBCCMP2xFieldBridge.java:184) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.injectPrimaryKeyIntoI nstance(JDBCEntityBridge.java:696) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityC ommand.java:113) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityC ommand.java:83) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager. java:638) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.updateFKFieldsMap pedToMe(JDBCCMP2xFieldBridge.java:287) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue( JDBCCMP2xFieldBridge.java:162) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue( JDBCCMP2xFieldBridge.java:184) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCEntityBridge.injectPrimaryKeyIntoI nstance(JDBCEntityBridge.java:696) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityC ommand.java:113) MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.execute(JDBCLoadEntityC ommand.java:83) MN [abbreviated (looks the same)] MN at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadEntity(JDBCStoreManager. java:638) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.updateFKFieldsMap pedToMe(JDBCCMP2xFieldBridge.java:287) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue( JDBCCMP2xFieldBridge.java:162) MN at org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.setInstanceValue( JDBCCMP2xFieldBridge.java:184) MN
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¬¶)ߣøÛ¢Ë.±ê
Re: [JBoss-user] Hibernate or ejb
Could you please share what little things? Ricardo Argüello - Original Message - From: Andreas Mecky [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 12:52 PM Subject: Re: [JBoss-user] Hibernate or ejb Hi, we are currently using hibernate in a web project. Very nice. We did some additional code generation and it is very handy. BUT: stay with your EJB-CMP. It will prevent a lot of headache. There are certain little things with hibernate that makes life as a developer painfull. just my 2 cents. - Original Message - From: kiuma [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, March 13, 2003 6:34 PM Subject: [JBoss-user] Hibernate or ejb Hi all, I need an answer from you expert ones! I'm currently using ejb-cmp to connect to my database, with a discrete success. Now I see that many people are using Hibernate. I'd like to know if there is some advant/disadv in Hibernate. Thx, kiuma --- 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 __ Gesendet von Yahoo! Mail - http://mail.yahoo.de Bis zu 100 MB Speicher bei http://premiummail.yahoo.de --- 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 --- 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
Re: [JBoss-user] where/how can I download JBoss4.0?
Looks like this page is outdated: http://www.jboss.org/developers/sourcecode.jsp So don't follow its instructions... Read the more-up-to-date instructions here: http://www.jboss.org/developers/guides/quickstart.jsp This page will also help: http://sourceforge.net/cvs/?group_id=22866 These are the easy steps: Login to Sourceforge using a CVS client: cvs -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss login Checkout the jboss-head module (it has JBoss 4.0): cvs -z3 -d:pserver:[EMAIL PROTECTED]:/cvsroot/jboss checkout jboss-head Good luck, Ricardo Argüello - Original Message - From: Sasidharan, Manoj [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, March 03, 2003 7:06 PM Subject: [JBoss-user] where/how can I download JBoss4.0? Hello All, Where can I download JBoss4.0? If no binary version is available, please provide necessary cvs information for checking out the source. rgds MS --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] building from CVS
Follow the Developer Quick Start Guide: http://www.jboss.org/developers/guides/quickstart.jsp You should checkout the jboss-head cvs module, if you want JBoss 4.0 (alpha): cvs checkout jboss-head If you want JBoss 3.2.x: cvs checkout -r Branch_3_2 jboss-3.2 If you want JBoss 3.0.x (the stable version): cvs checkout -r Branch_3_0 jboss-3.0 *** Note: You can read this line in the Quickstart Guide: You can get the sources for the jboss-all project from CVS or from a nightly CVS snapshot. That is wrong, the jboss-all module points to JBoss 3.0.x, but if you checkout this module without specifying the branch, it won't work. Also, this page has wrong/outdated information: http://www.jboss.org/developers/sourcecode.jsp Somebody should change the docs... Ricardo Argüello [EMAIL PROTECTED] www.freeroller.net/page/ricardo/ -- I took the red pill. - Original Message - From: Rasputin [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, February 03, 2003 3:53 PM Subject: [JBoss-user] building from CVS Sorry if this is a dumb question. I've just got the CVS version of jboss, I have ant 1.5.1 installed. Platform is NetBSD , JVM is he Sun Linux 1.3.1_07-b02 If I cd into build/ and run build.sh, it dies pretty quickly with common/build.xml:118 Could not create task of type: jmxdoclet I've tried sticking xdoclet-jmx-module-1.2b2.jar in $ANT_HOME/lib, but it doesn't help - am I missing something obvious (like build instructions g)? Should this jarfile be somewhere in the source tree, or do I need to setup a build.properties file? Full error follows - thanks for any tips. -- configure: configure-libraries: configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-defaults: configure-tools: configure-project: [echo] groups: default [echo] modules: common,jmx,system,aop,cache,j2ee,naming,management,transaction,server,blocks,console,security,messaging,connector,varia,cluster,jetty,jboss.net,iiop _default:init: init: _buildmagic:modules:most: == == == Executing 'most' in module 'common'... == == _buildmagic:init: configure: configure-libraries: configure-modules: Overriding previous definition of reference to jboss.naming.classpath configure-defaults: configure-tools: _default:init: init: compile-mbean-sources: BUILD FAILED file:/devel/localsrc/anoncvs/jboss-all/common/build.xml:118: Could not create task or type of type: jmxdoclet. Ant could not find the task or a class this task relies upon. This is common and has a number of causes; the usual solutions are to read the manual pages then download and install needed JAR files, or fix the build file: - You have misspelt 'jmxdoclet'. Fix: check your spelling. - The task needs an external JAR file to execute and this is not found at the right place in the classpath. Fix: check the documentation for dependencies. Fix: declare the task. - The task is an Ant optional task and optional.jar is absent Fix: look for optional.jar in ANT_HOME/lib, download if needed - The task was not built into optional.jar as dependent libraries were not found at build time. Fix: look in the JAR to verify, then rebuild with the needed libraries, or download a release version from apache.org - The build file was written for a later version of Ant Fix: upgrade to at least the latest release version of Ant - The task is not an Ant core or optional task and needs to be declared using taskdef. Remember that for JAR files to be visible to Ant tasks implemented in ANT_HOME/lib, the files must be in the same directory or on the classpath Please neither file bug reports on this problem, nor email the Ant mailing lists, until all of these causes have been explored, as this is not an Ant bug. at org.apache.tools.ant.UnknownElement.getNotFoundException(UnknownElement.java:324) at org.apache.tools.ant.UnknownElement.makeObject(UnknownElement.java:240) at org.apache.tools.ant.UnknownElement.maybeConfigure(UnknownElement.java:115) at org.apache.tools.ant.Task.perform(Task.java:318) at org.apache.tools.ant.Target.execute(Target.java:309) at org.apache.tools.ant.Target.performTasks(Target.java:336) at org.apache.tools.ant.Project.executeTarget(Project.java:1306) at org.jboss.tools.buildmagic.task.Ant.execute(Ant.java:261) at org.jboss.tools.buildmagic.task.module.ExecuteModules$1.run(ExecuteModules.java:329) at org.jboss.tools.buildmagic.task.module.ExecuteModules.executeModule(ExecuteModules.java:342) at org.jboss.tools.buildmagic.task.module.ExecuteModules.execute(ExecuteModules.java:217) at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:166) at org.apache.tools.ant.Task.perform(Task.java:319) at org.apache.tools.ant.Target.execute(Target.java:309
Re: [JBoss-user] Building Jboss from the source
Marco, Read the Developers Quick Start Guide here: http://www.jboss.org/developers/guides/quickstart.jsp Maybe you just want JBoss 3.0.x. Then do as the guide says: cvs -z3 checkout -r Branch_3_0 jboss-3.0 Ricardo Argüello - Original Message - From: Marco Tedone [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, January 20, 2003 12:10 PM Subject: RE: [JBoss-user] Building Jboss from the source In fact I downloaded jboss-head and the some of the build targets work. The only problem seems to be that it contains the Alpha 4.0 which seems to have some bugs. For istance, when I launched the shutdown command, I received some errors related to some ServerImpl class. TYA, Marco -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of James Higginbotham Sent: Monday, January 20, 2003 3:45 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Building Jboss from the source I think the jboss-all cvs module is dead.. Search the list archives at www.mail-archive.com to find the list of modules.. I know jboss-head is one, and maybe something like jboss-3.0 or something for the latest 3.0 code?! HTH, James -Original Message- From: Marco Tedone [mailto:[EMAIL PROTECTED]] Sent: Monday, January 20, 2003 7:48 AM To: JBoss-user-list Subject: [JBoss-user] Building Jboss from the source I downloaded the latest jboss-all module. When the build script is launched, I receive an error like the following: == == == Executing 'most' in module 'common'... == == configure-modules: Overriding previous definition of reference to jboss.naming.classpath BUILD FAILED file:D:/Downloads/jboss-all/common/build.xml:118: Could not create task or type of type: jmxdoclet. Any ideas? --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi- bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/j boss-user --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: FREE SSL Guide from Thawte are you planning your Web Server Security? Click here to get a FREE Thawte SSL guide and find the answers to all your SSL security issues. http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0026en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: SourceForge Enterprise Edition + IBM + LinuxWorld = Something 2 See! http://www.vasoftware.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] OutOfMemoryError: unable to create new native thread
... Jeff Schnitzer [EMAIL PROTECTED] The Sims Online ... Is The Sims Online running on JBoss? WOW! :-) Ricardo Argüello --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] First Steps...
http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/EJBQL2.html http://www.onjava.com/pub/a/onjava/2001/09/19/ejbql.html?page=1 http://javaboutique.internet.com/resources/books/EJB/ejb3_1.html http://www.geocities.com/Eureka/5855/cmp20.htm http://xdoclet.sf.net Good luck! Ricardo Argüello - Original Message - From: Markus Garscha [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 4:52 AM Subject: [JBoss-user] First Steps... Hi! i try to deploy my first Entity Bean and i get the following exception: org.jboss.deployment.DeploymentException: Error in ejb-jar.xml for Entity Bean PersonBean: expected one abstract-schema-name tag whats the problem? what is meant by abstract-schema-name? thanx markus ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MySQL service installation
Are you using JBoss 3.0.0 final? It looks like your mysql-service.xml is an old one. There is an example file for MySQL (mysql-service.xml) in the jboss-3.0.0/docs/examples/jca/ directory. You should edit this file, and drop it into server/default/deploy Follow the instructions in the XML file. Ricardo Argüello - Original Message - From: wonder sonic [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 11:23 AM Subject: [JBoss-user] MySQL service installation Hi, I've read the tutorial document about CMR 2.0 with JBoss 3.0 and tried to install mySQL as the default datasource but I encouter some errors during the deployment of my beans: Caused by: org.jboss.deployment.DeploymentException: Error: can't find data source: java:/mySQLDS; - nested throwable: (javax. naming.NameNotFoundException: mySQLDS not bound) Though I've got: ?xml version=1.0 encoding=UTF-8? !-- $Id: mysql-service.xml,v 1.3 2002/03/01 00:02:00 d_jencks Exp $ -- !-- = -- !-- -- !-- Example configuration for the mysql database. -- !-- Put the driver jar mm.mysql-2.0.4-bin.jar in lib/ext -- !-- Contributed by Ignacio Coloma [EMAIL PROTECTED]-- !-- = -- server classpath codebase=. archives=mm.mysql-2.0.11-bin.jar/ mbean code=org.jboss.resource.ConnectionFactoryLoader name=jboss.jca:service=ConnectionFactoryLoader,name=mySQLDS attribute name=ManagedConnectionFactoryPropertiesConnectionURL=jdbc:mysql://localhost/myrpg DriverClass=org.gjt.mm.mysql.Driver UserName=myrpg Password=myrpg123/attribute attribute name=JndiNamemySQLDS/attribute attribute name=TransactionManagerNamejava:/TransactionManager/attribute depends optional-attribute-name=ResourceAdapterNamejboss.jca:service=RARDeployment,name=Minerva JDBC LocalTransaction ResourceAdapter/depends depends optional-attribute-name=ConnectionManagerFactoryLoaderNamejboss.jca:service=ConnectionManagerFactoryLoader,name=MinervaSharedLocalCMFactory/depends attribute name=ConnectionManagerProperties# #Wed Aug 15 16:17:29 EDT 2001 BlockingTimeoutMillis=50 IdleTimeoutMinutes=30 MaxSize=10 CleanupIntervalMinutes=10 MinSize=0 MaxIdleTimeoutPercent=1.0 /attribute attribute name=PrincipalMappingClass org.jboss.resource.security.ManyToOnePrincipalMapping /attribute attribute name=PrincipalMappingPropertiesUserName=/attribute /mbean /server in my server/myrpg/deploy directory including mm.mysql-2.0.11-bin.jar and in my .ant.properties (I use the jboss template project): ... # JBoss 3.0 settings jboss.home=E:/jboss-3.0.0_tomcat-4.0.3 jboss.version=3.0 #datasource.name=java:/DefaultDS #type.mapping=Hypersonic SQL datasource.name=java:/mySQLDS type.mapping=mySQL ... And in server/myrpg/conf/standardjbosscmp-jdbc.xml: ... jbosscmp-jdbc defaults !-- datasourcejava:/DefaultDS/datasource datasource-mappingHypersonic SQL/datasource-mapping -- datasourcejava:/mySQLDS/datasource datasource-mappingmySQL/datasource-mapping create-tabletrue/create-table ... Did someone else encounter this error? If so, can you help me? (my mySQL version is 3.23.42-nt and my database's name is myrpg (already created). Perhaps it is the version of the mysql driver archive? Thank you in advance, Wonder Sonic ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MySQL service installation
datasource-mappingMySql/datasource-mapping should be: datasource-mappingmySQL/datasource-mapping Other datasource mappings are listed in: jboss-3.0.0\server\default\conf\standardjbosscmp-jdbc.xml In this form: type-mappings type-mapping.../type-mapping ... /type-mappings Ricardo Argüello - Original Message - From: wonder sonic [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Thursday, June 06, 2002 3:49 PM Subject: Re: [JBoss-user] MySQL service installation I've done all of you said: xml file in the deploy directory with attribute name=JndiNameMySql/attribute, xxx-13.jar file in the jboss/lib directory and here is the jbosscmp-jdbc.xml file of my ear: ... jbosscmp-jdbc defaults datasourcejava:/MySqlDS/datasource datasource-mappingMySql/datasource-mapping /defaults And I've got the following exception for each of my entity beans: 22:47:35,746 ERROR [URLDeploymentScanner] Failed to deploy: org.jboss.deployment.scanner.URLDeploymentScanner$DeployedURL@4e98 de0{ url=file:/E:/jboss-3.0.0_tomcat-4.0.3/server/myrpg/deploy/myrpg-atlas.ear, deployedLastModified=0 } org.jboss.deployment.DeploymentException: error in create of EjbModule: njar:file:/E:/jboss-3.0.0_tomcat-4.0.3/server/myrpg/tm p/deploy/server/myrpg/deploy/myrpg-atlas.ear/78.myrpg-atlas.ear^/myrpg-atlas-ejb.jar; - nested throwable: (org.jboss.deploymen t.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping MySql not found) at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:384) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:637) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:631) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:512) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481) at sun.reflect.GeneratedMethodAccessor8.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:491) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy4.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:405) at org.jboss.deployment.scanner.URLDeploymentScanner.scanDirectory(URLDeploymentScanner.java:586) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:465) at org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:237) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:162) at sun.reflect.GeneratedMethodAccessor6.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:491) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:894) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:340) at sun.reflect.GeneratedMethodAccessor5.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:491) at org.jboss.util.jmx.MBeanProxy.invoke(MBeanProxy.java:174) at $Proxy3.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:243) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:678) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:513) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:481) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:465) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:491
Re: [JBoss-user] CMP 2.0 With JBoss 3.0 Beta Tutorial
Very helpful indeed! I didn't write this tutorial, I just found it while searching for jboss in Google... :-) I just found out that the tutorial is for JBoss 3.0.0 beta, and somethings have changed since then, mainly xml descriptors, and database configuration xml files. Keep that in mind... Will you add some parts such as CMP 2.0 inheritance, XDoclet...? I learned XDoclet reading the samples found in the 1.1.2-xdoclet distribution, and the online manual (http://xdoclet.sf.net). You will find the paid CMP docs (www.jboss.org) very useful. The only problem is that they are for JBoss3.0.0 alpha, but the main concepts remain the same. I've got also one question: What are the main diferrences between MySQL and Hypersonic? Hypersonic is a Java database, running inside JBoss... If you want to do some real work, you need a real database, like MySQL, Firebird, Postgrsql... TIA, Wonder Sonic No problemo, Ricardo Argüello -- Standard consultant disclaimer: Or not. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [Simple question] CMP bean inheritance
I don't recommend JDO. -dain Could you elaborate more on that, please? Thanks in advance! Ricardo Argüello -- Standard consultant disclaimer: Or not. ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss 3.0.0 open ports
Hi, I'm reading the the JBoss Open Ports list: http://www.jboss.org/online-manual/HTML/ch11s03.html Are there more open ports in JBoss 3.0.0 final ('all' and 'default' configuration) than those listed there? I'm deploying JBoss in SME Server 5.1.2 (www.e-smith.org - RedHat based dist) which is the firewall (I, know, I know, not a good idea...) and need to close access to JBoss services for the outside interface. Maybe in the future I'll open 8080. Thanks in advance, Ricardo Argüello - Original Message - From: Jim [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 03, 2002 2:32 PM Subject: [JBoss-user] Problem with Interest example Hi, I'm new to JBoss and I'm having some problems with the Interest example. I am able to deploy the bean, but the client does not work. Run from the same machine as JBoss I get: [ javax.naming.CommunicationException [Root exception is java.rmi.UnmarshalException: error unmarshalling return; nested exception is: [java] java.lang.ClassNotFoundException: org.jnp.interfaces.MarshalledValuePair (no security manager: RMI class loader disabled)] I also can't access the bean from a remote machine, where I get: [java] Got context [java]javax.naming.CommunicationException [Root exception is java.rmi.ConnectException: Connection refused to host: 127.0.0.1; nested exception is: [java]java.net.ConnectionException: Connection refused: connect] On both machines, I have modified jndi.properties so that java.naming.provider.url=diamond:1099 (diamond is the name of the machine where jboss is running. diamond has an entry in the hosts file on both the remote client and the hosting machine) Why is the ConnectException saying something about 127.0.0.1, since nowhere am I telling it to connect to the localhost? I am using ant intro-interest-client to compile/run the client. - Original Message - From: Michael Klem [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, June 03, 2002 12:43 PM Subject: Re: [JBoss-user] Log4J Problem!!! Please HELP ME Oops! I meant JBoss 2.4.2 I believe one of the changes from 2.2 to 2.4 was that 2.4 includes log4j. What you're seeing is probably from a ClassCastException where there are two copies of org.apache.log4j.Category - one in your application and one in JBoss' lib/ext directory. Does this mean that we are forced to use the version of log4j that JBoss 3.2.3 uses? Try taking all log4j classes out of your application. You'll also want to set up your categories in the log4j.properties in the JBoss conf subdirectory that corresponds to the configuration you're running. It seems like it would be easier, from a developer's point of view, to deploy your J2EE package without requiring the user to modify files outside of your ear, war or jar package. It would be nice for each app to include their own log4.properties files in their package. This way I should in theory just be able give my package to my customers and they just need to add it to their deploy directories. hth, danch [EMAIL PROTECTED] wrote: I have a problem in JBoss2-4.4. I have several bean that use log4j to log some aplication event. Thats beans work fine in JBoss-2.2, but when I try to use JBoss-2.4.4 I get an error: java.rmi.ServerException: RemoteException occurred in server thread; nested exception is: java.rmi.ServerException: Transaction rolled back:org/apache/log4j/Category java.rmi.ServerException: Transaction rolled back:org/apache/log4j/Category I try to enable and disable the Log4jService but nothing happen. I used my own category file. Operation System: HP-UX 11 JDK: 1.3 What can I do to solve my problem? I need to solve it quickly. Please Help. Regards. Alejandro ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- = Disclaimer: All statements are my own, personal opinions and have nothing to do with the opinions of employer, wife, or cat. They may not have anything to do with objective reality, as a matter of fact. Your Milage May Vary, Excludes Delivery Charges, etc. = ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED
[JBoss-user] CMP 2.0 With JBoss 3.0 Beta Tutorial
CMP 2.0 With JBoss 3.0 Beta Tutorial: http://iris.cs.byu.edu/tim/462/tutorial/tutorial.html I hope you will find this link helpful... Ricardo Argüello [EMAIL PROTECTED] ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] where is the doc?
Check out the manual module from CVS. Ricardo Argüello -Original Message- From: Ray Tayek [mailto:[EMAIL PROTECTED]] Sent: Sunday, May 26, 2002 1:56 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] where is the doc? hi, just downloaded jboss. can't seem to find any doc. where does it live? thanks --- ray tayek http://home.attbi.com/~rtayek/ actively seeking telecommuting work vice chair orange county java users group http://www.ocjug.org/ mailto:[EMAIL PROTECTED] hate spam? http://samspade.org/ssw/ ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity EJB foreign key not populated
Hello, Sorry to answer my own question, but I found out that it was my fault, well sort of... In JBoss-3.0.0RC2 I tried to use this kind of ejbCreate() signature (CMP 2.0): public Interger ejbCreate(PersonValueObject person) { setId(person.getId()); setName(person.getName()); return null; } public void ejbPostCreate(PersonValueObject person) { TaskLocal taskLocal = TaskUtil.getLocalHome().findByPrimaryKey(person.getTask().getId()); setTask(taskLocal); } But foreing keys were not populated. (person.getTask() returns a TaskValueObject object) I am very sure that person.getTask() returned the correct TaskValueObject, with correct id, etc. After Jboss called ejbPostCreate(), I printed the personLocal.getTask().getId() value (from the Person Entity Bean just created), and it shows the correct number, but the database foreign key (task_id in my person table) was never populated! It results that I should call the ejbCreate method with THIS signature to make it work: public Interger ejbCreate(Integer id, String name, TaskLocal taskLocal) { setId(id); setName(name); return null } public void ejbPostCreate(Integer id, String name, TaskLocal taskLocal) { setTask(taskLocal); } Since I'm using Session Beans to wrap the create() method, I look for taskLocal in the Session Bean first, and then send it as a parameter of the create() method of the Person entity bean. It works. Does any body know why it doesn't work when I send value Objects instead of local objects? I thought that loading the local object used _inside_ ejbPostCreate() was enough. Maybe I should read the EJB spec again. Thanks in advance. Ricardo Arguello - Original Message - From: Ricardo Argüello [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Sunday, May 05, 2002 3:40 AM Subject: [JBoss-user] Entity EJB foreign key not populated I have exactly the same problem that is described in this bug entry using, JBoss 3.0.0RC2: [ 549415 ] Error create Entity EJB with foreign key: http://sourceforge.net/tracker/index.php?func=detailaid=549415group_id=22866atid=376685 When I try to create an entity bean with related entity beans (CMR), I don't get any exception, but in the database foreign keys are not being populated. This used to work before (I dont remember if it was on beta1 or beta2). Reading the log/server.log file, I found something very strange: --- 2002-05-05 02:59:44,062 INFO [charlie.ejb.TareaBean] In ejbCreate(Tarea) 2002-05-05 02:59:44,064 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Tarea] Create: pk=2193 2002-05-05 02:59:44,064 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Tarea] Executing SQL: SELECT COUNT(*) FROM tareas WHERE id=? 2002-05-05 02:59:44,074 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Tarea] Executing SQL: INSERT INTO tareas (id, nombre, descripcion, horas, fecha_ingreso, empleado_id, actividad_id, proyecto_id) VALUES (?, ?, ?, ?, ?, ?, ?, ?) 2002-05-05 02:59:44,084 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Tarea] Create: Rows affected = 1 2002-05-05 02:59:44,084 INFO [charlie.ejb.TareaBean] In ejbPostCreate(Tarea) 2002-05-05 02:59:44,134 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Proyecto.findByPrimaryKey] Executing SQL: SELECT id FROM proyectos WHERE id=? 2002-05-05 02:59:44,144 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Proyecto] Executing SQL: SELECT nombre, descripcion, empleado_id, cliente_id FROM proyectos WHERE (id=?) 2002-05-05 02:59:44,154 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Proyecto] Executing SQL: SELECT id FROM tareas WHERE (proyecto_id=?) 2002-05-05 02:59:44,164 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Empleado.findByPrimaryKey] Executing SQL: SELECT id FROM empleados WHERE id=? 2002-05-05 02:59:44,174 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Empleado] Executing SQL: SELECT login, password, nombre, apellido, email FROM empleados WHERE (id=?) 2002-05-05 02:59:44,194 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Empleado] Executing SQL: SELECT id FROM tareas WHERE (empleado_id=?) 2002-05-05 02:59:44,204 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.Actividad.findByPrimaryKey] Executing SQL: SELECT id FROM actividades WHERE id=? 2002-05-05 02:59:44,264 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Actividad] Executing SQL: SELECT nombre, descripcion, perfil_id FROM actividades WHERE (id=?) 2002-05-05 02:59:44,295 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Actividad] Executing SQL: SELECT id FROM tareas WHERE (actividad_id=?) 2002-05-05 02:59:44,325 INFO [charlie.ejb.TareaBean] Finishing ejbPostCreate -- As you can see, the INSERT INTO command is executed in ejbCreate, not in ejbPostCreate! That's why my
[JBoss-user] Apache 2.0.35 + Tomcat 4.0.3
Finally somebody with a Visual C++ compiler provides a binary distribution for the new tomcat-connectors: http://www.acg-gmbh.de/mod_jk/ http://www.jguru.com/faq/view.jsp?EID=853905 Ricardo Argüello ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss, Tomcat and Apache 2
Where can I get a binary distribution of the tomcat-connectors Apache mod_webapp module? I've tried the CVS, but I'm using W2K, and doesn't have a C compiler! I've tried to use the old mod_webapp connector with no luck. Also using Apache 2.0.35 + JBoss 3.0.0 RC1 Thanks in advance, Ricardo - Original Message - From: Simon Stewart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 22, 2002 5:52 AM Subject: [JBoss-user] JBoss, Tomcat and Apache 2 It's taken a while, but I now have Apache 2.0.35 and a standalone installation of Tomcat 4.0.3 talking to each other via mod_webapp from the jakarta connectors project. I now want to do the same thing with the embedded installation of Tomcat from the JBoss RC1 + tomcat binaries. Foolishly, I thought that simply repeating the same steps (using ${JBOSS_HOME}/catalina as the Tomcat home directory) would be enough, but for some reason the Warp connector doesn't (umm...) connect the deployed example application to Apache. Looking at the WebAppInfo, it claims that there's no local deployment path found for the example app. I'm going to go about unpicking this and trying to make it work, but if anyone cares to offer advice (or a solution!) I'd be grateful. Regards, Simon -- When my dog barks in his sleep, he sounds like he has a smaller dog trapped inside of him. He's doing it now. I mention this only for want of a good .signature file. -Matthew Frederick Davis ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Curious ejb-jar.xml error
Check this: Sweet Ant Tools http://www.sdv.fr/pages/casa/html/sat.en.html I haven't used it, but it has a Validation task for Ant. Ricardo Arguello [EMAIL PROTECTED] - Original Message - From: Simon Stewart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Wednesday, April 17, 2002 10:29 AM Subject: Re: [JBoss-user] Curious ejb-jar.xml error My fault: I've been concentrating a little too hard on this problem for too long. Did something else, came back and saw that I'd been editing the wrong ejb-jar.xml file. Gah! Still wouldn't mind a verifying tool that plugs into ant, though, if anyone knows of one? On Wed, Apr 17, 2002 at 02:13:21PM +0100, Simon Stewart wrote: The reason why I'd like to have a tool to verify my ejb-jar.xml files is that I'm currently having a difficult time getting JBoss 3RC1 running with JDK 1.4 to deploy the OpenSymphony oscore module[1] I've modified the ejb-jar.xml file after it failed to deploy properly, and as far as I can see it's correct. It's probably something obvious, but I'm not having the same problem under Orion. The stack trace begins: Cheers, Simon -- You know, I've gone to a lot of psychics, and they've told me a lot of different things, but not one of them has ever told me 'You are an undercover policewoman here to arrest me.' --- anonymous New York City undercover policewoman ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: Postgres and JBoss 3 RC1 (was: [JBoss-user] Newbie)
Simon, db-service.xml files have changed for RC1. You need to downloadd the new postgres-service.xml from: http://cvs.sourceforge.net/cgi-bin/viewcvs.cgi/jboss/jbosscx/src/etc/example-config/ You also need to add a PostgresDbRealm entry in server/default/conf/login-config.xml, since the user and password specified in postgres-service.xml are not used (because of the attribute name=CriteriaByContainer/attribute entry)... Greetings, Ricardo Arguello - Original Message - From: Simon Stewart [EMAIL PROTECTED] To: [EMAIL PROTECTED] Sent: Monday, April 15, 2002 11:33 AM Subject: Postgres and JBoss 3 RC1 (was: [JBoss-user] Newbie) I know it's not a great idea to answer to your own post, but someone suggested that I send a few more details. IMO, it was lame of me to leave them out, so sorry for not doing this earlier! I'm using jboss-3.0.0RC1, JDK 1.4, Postgres 7.2.1 and the postgres-service.xml 1.3 file from CVS. The only changes that I've made to the postgres-service.xml file are to the user name, password and connection url. I've attached it to this email, with the password being the only difference between this and and the deployed version. Once JBoss has started, connecting to http://localhost:8082; lists the hsqldbDS, but no reference is made to FooPostgresDS. There are no startup error messages, and the Postgres logs indicate that no connection attempt is made. I am starting the default JBoss server from a freshly unpacked copy of the RC1 download. I've copied the pgjdbc2.jar file to both ${JBOSS_HOME}/lib and ${JBOSS_HOME}/lib/ext, and the startup logs indicate that it is picked up. The startup logs also contain the lines: 17:18:31,621 INFO [MainDeployer] Starting deployment of package: file:/home/sms/jboss/jboss-3.0.0RC1/server/default/deploy/postgres-service.xml 17:18:31,943 INFO [MainDeployer] Successfully completed deployment of package: file:/home/sms/jboss/jboss-3.0.0RC1/server/default/deploy/postgres-service.xml which suggests that I'm not doing things _entirely_ wrong. I believe that once the postgres datasource is picked up, it should just be a case of renaming the DS to DefaultDS to have everything go according to plan. Regards, Simon On Mon, Apr 15, 2002 at 04:16:20PM +0100, Simon Stewart wrote: How do I get to use Postgres as the backend database instead of hsqldb in Orion? I'd like to bind it to DefaultDS so that I can ditch hsqldb, but I'm not sure how to do this. I believe that all that needs to be done is to copy pgjdbc2.jar to ${JBOSS_HOME}/lib/ext and the postgres-service.xml from the cvs tree to the server/default/deploy directory (for the sake of simplicity) but this doesn't work at all --- attempting to deploy my .ear file results in multiple exceptions, and from the stack trace this is because nothing is bound to DefaultDS Any help or advice on this would be greatly appreciated --- I'm finding it hard to get going with JBoss, even though it appears to have a good reputation amongst those that I've spoken to about it. -- [Regarding Highlander II] In an experiment to determine the precise amount of beer required to enjoy this film, I passed out. -- Dave O'Brien ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] How can I use a background process with JBoss
It looks like you would need Message Driven Beans. Read O'Reilly's Enterprise JavaBeans 3rd. Edition. And check JBoss 3.0.0alpha documentation: http://www.jboss.org/online-manual/HTML/ch08s20.html Greetings, Ricardo Arguello - Original Message - From: Dirk Storck [EMAIL PROTECTED] To: Jboss User (E-Mail) [EMAIL PROTECTED]; Struts User (E-Mail) [EMAIL PROTECTED] Sent: Wednesday, February 13, 2002 8:16 AM Subject: [JBoss-user] How can I use a background process with JBoss Hi, I want to do the following: I have a ShoppingCart. The users clicks on order and the items from the ShoppingCart are moved to my OrderBean. ShoppingCart and OrderBean are EJB's. Now it comes to the problem. The order must be proccessed in background cause it will have a long durration. After the order has be proccessed the user should be notived somehow. How can I achieve this with JBoss and Struts ? What would be the best way to implement this Many thanks any any suggestions are welcome!!! ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: AW: [JBoss-user] How can I use a background process with JBoss
AFAIK, they don't want you to do io because 1) io can block forever, and 2) the filesystem isn't transactionally managed I don't know if you can do this with EJB: http://www.onjava.com/pub/a/onjava/2002/02/06/atomic.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user