[JBoss-user] 有关业务
Title: Mail
[JBoss-user] multiple war applications - single sign on
Hi there, I have 2 Web-Applications (war), which I have protected in my web.xml (url-pattern, roles...). Both need the same role. How can I achive that it's sufficent to sign on at the first application host/app1 and then access host/app2 without having to identify again?? (JBoss 3.x.x, Tomcat 4.1.x) Thanks four your help!!! _ MSN Groups & Chat - Freunde finden - leicht gemacht http://groups.msn.com/people/ --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Nature of Tomcat / JBoss integration
- Original Message - From: "João Clemente" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 8:11 PM Subject: Re: [JBoss-user] Nature of Tomcat / JBoss integration >I did not completely undertood the scenario you described. Let me put some question that maybe will clear things up: >We can have tomcat+Jboss in one VM, or separated (just like jetty+jboss, as far as I know) >If separated, you said they communicate over JRMP (is this some sort of RMI?). Yes. >If in the same VM, how do they communicate? Shared memory? Pipes? What? Sorry, don't really know. --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Http Clustering: No store ?!?
João Clemente wrote: As I've reported some days ago, when using 3.0.5RC2, I am getting these strange lines in my log file. This time I'm using 3.0.5 binaries available in sourceforge. 01:16:45,502 INFO [JBossWebApplicationContext] setDistributable true 01:16:46,062 INFO [JBossWebApplicationContext#/webmail] using Distributable HttpSession Manager: or g.mortbay.j2ee.session.Manager@779959 01:16:46,102 WARN [Manager] No Store. Falling back to a local session implementation - NO HTTPSESSI ON DISTRIBUTION As anyone seen this before? If you set the tag in your web.xml you should: 1. be doing so intentionally - it is a costly thing to do. 2. uncomment the JGStore block in deploy/jbossweb.sar/META-INF/jboss-service.xml 3. run the 'all' configuration, which contains JavaGroups which is needed for session distribution. Jules --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Help! ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy
Anyone know what might lead to this error? javax.naming.CommunicationException [Root exception is java.lang.ClassNotFoundException: org.jboss.ejb.plugins.local.LocalHomeProxy (no security manager: RMI class loader disabled)] at accesstech.ServiceLocator.getLocalHome(ServiceLocator.java:77) at accesstech.JobSpecImporter.importJobSpecs(JobSpecImporter.java:38) at accesstech.JobSpecImporter.main(JobSpecImporter.java:30) --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] BootCamp-- can't miss it
OK bootcamp in Atlanta is Feb 1-2 and almost ALL core developers are coming to Atlanta. It is a meeting of JBoss minds and don't want to miss it as we rarely get together this way. It is kind of unique. I know I am seriously looking forward to it. BootCamp is a weekend session, Saturday through Sunday 1PM and it is packed with intro information. They are short 1 hour sessions from the lead developers. Sunday morning I promise to put on a Raelian suit and explain to you everything about AOP programming in excruciating, uncomprehensible detail where I wave my arms like Superman to show "beyond J2EE". It will all make sense and you won't regret your Sunday Sessions in Atlanta. The price is $500/seat as a promotion for the first session. It will be located at the Swisshotel in Buckhead. Buy 5 get 1 free. Seats are sold out at 80% capacity of the initial room as of this writing. If needed we will get a bigger room. Instructions and details are online at www.jboss.org/services/training/bootcamp.jsp. Already developers are flocking from around the US even all the way from canada and the west coast for this one time event. Oh forgot to mention it is cold down here... marcf xx Marc Fleury, Ph.D. President, Founder JBoss Group, LLC xx --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Re: multiple war applications - single sign on
On Thu, 16 Jan 2003, hans albers wrote: > Date: Thu, 16 Jan 2003 14:40:45 + > From: hans albers <[EMAIL PROTECTED]> > Reply-To: Tomcat Users List <[EMAIL PROTECTED]> > To: [EMAIL PROTECTED], [EMAIL PROTECTED] > Subject: multiple war applications - single sign on > > Hi there, > > I have 2 Web-Applications (war), which I have protected > in my web.xml (url-pattern, roles...). > Both need the same role. How can I achive that it's > sufficent to sign on at the first application host/app1 > and then access host/app2 without having to > identify again?? > (JBoss 3.x.x, Tomcat 4.1.x) > For Tomcat 4.1 stand-alone, see: http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/host.html and scroll down to the "Single Sign On" section under "Special Features". I have no idea whether this will work in Tomcat+JBoss, though. > Thanks four your help!!! Craig --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Transaction timed out
Does any body know why I periodically see this in my logs? [org.jboss.tm.TxCapsule] Transaction XidImpl [FormatId=257, GlobalId=localhost.localdomain//23606, BranchQual=] timed out. status=STATUS_ACTIVE I monitor POP3 mail box each 5 seconds, to do so I perform: ... session = (Session)(new InitialContext().lookup("java:/Mail")); store = session.getStore("pop3"); store.connect(host, user, password); ... After heavy logging I noticed that it just hangs periodically on line store.connect(). To avoid this problem I had to launch separate thread ant watch it, if it doesn't return control in 2 seconds, interrupt it. Isn't it jboss not returning control? Am I missing some Mail configuration (timeouts, etc)? This problem doesn't apperar on w2k box, only on linux (rh72) Jboss 3.0.4 Any idea? Igor Semenko -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On Behalf Of marc fleury Sent: Friday, January 17, 2003 5:48 AM To: Jboss-Development@Lists. Sourceforge. Net Cc: [EMAIL PROTECTED] Subject: [JBoss-user] JB4 anonymous download restablished All we need is to create a user with a given name and passwd and add him to our cvs tree, we give him rights to checkout under a name, can I stop him from checking in? We publicize the anonymous login equivalent and give them the cvs line to run. marcf xx Marc Fleury, Ph.D. President, Founder JBoss Group, LLC xx --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] WAMOZ.COM
HiI visited WAMOZ.COM, and noticed that you're not listed on some search engines! I think we can offer you a service which can help you increase traffic and the number of visitors to your website.I would like to introduce you to TrafficMagnet.com. We offer a unique technology that will submit your website to over 300,000 search engines and directories every month. You'll be surprised by the low cost, and by how effective this website promotion method can be. To find out more about TrafficMagnet and the cost for submitting your website to over 300,000 search engines and directories, visit www.TrafficMagnet.com. I would love to hear from you. Best Regards,Sarah Williams Sales and Marketing E-mail: [EMAIL PROTECTED] http://www.TrafficMagnet.com This email was sent to [EMAIL PROTECTED] We apologize if this email has reached you in error.We honor all removal requests. Please click here to be removed from our mailing list.
[JBoss-user] JB4 anonymous download restablished
All we need is to create a user with a given name and passwd and add him to our cvs tree, we give him rights to checkout under a name, can I stop him from checking in? We publicize the anonymous login equivalent and give them the cvs line to run. marcf xx Marc Fleury, Ph.D. President, Founder JBoss Group, LLC xx --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 1:n relationship / ejbCreate() with CMP
Just went through this issue myself. Set the constraint to deferred so that it is not checked until commit time and you will be golden. A delayed insert option would be nice and it would simplify porting from legacy containers: weblogic for example. - Original Message - From: "Marek Lange" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 7:14 AM Subject: Re: [JBoss-user] 1:n relationship / ejbCreate() with CMP > Gabriel Pinto schrieb: > > You must set your foreign key as a cmr field. Then you can set it at the > > post create method. > > I did that and the problem seems to be that it is not possible to insert > a foreign key field from a relationship which is set to "NOT NULL" in > the database. The ejbPostCreate() method is never called because the SQL > Exception is thrown before. I tested that with 3.0.5 and 3.2.0RC1. > > -marek > > > > --- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal information by implementing > SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 1:n relationship / ejbCreate() with CMP
CMP is fine provided but in combination with CMR on the same field. As you point out the CMR must be set in ejbPostCreate whereas a CMP value can be set in the ejbCreate or in ejbPostCreate - provided it is does not have a non-null constraint if the latter is used. - Original Message - From: "Gabriel Pinto" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 6:33 AM Subject: Re: [JBoss-user] 1:n relationship / ejbCreate() with CMP You must set your foreign key as a cmr field. Then you can set it at the post create method. Gabriel On Thu, 16 Jan 2003, Marek Lange wrote: > Hi all, > > I definded a 1:n relationship between two tables. My question: how do I > insert a data set with ejbCreate() in the table containing the foreign > key? Do I have to define the foreign key as a ? Going this > way, the container always generates a false SQL statement which contains > the column name twice. If I do not define the foreign key field as a > the SQL statement looks correct, but how can I tell the > container: put this value in the foreign key field? The field is never > filled with data. > > Thanks, > Marek > > > > --- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal information by implementing > SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > -- Gabriel Esteves Marques Pinto Diretor de TI [EMAIL PROTECTED] www.brainweb.com.br (19)3287-7060 Ramal:253 Núcleo SOFTEX-Campinas --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] finders, postgresql and jboss3.2.0RC1
BAH! suppose it's best to have a primary key of some sort to keep the bean from getting all angry and confused -jason On Thursday, January 16, 2003, at 05:55 PM, Jason Essington wrote: I have a session bean that has finders defined by xDoclet tags like so: * @ejb.finder * signature="java.util.Collection findAll()" * mapping="Local" * intf="LocalHome" * query="SELECT OBJECT(o) FROM ReportWV o" * * @ejb.finder * signature="java.util.Collection findByClientID(java.lang.Integer clientID)" * mapping="Local" * intf="LocalHome" * query="SELECT OBJECT(o) FROM ReportWV o WHERE o.clientID = ?1" now when I deploy the bean I see in the log: 2003-01-16 17:49:28,264 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findAll] EJB-QL: SELECT OBJECT(o) FROM ReportWV o 2003-01-16 17:49:28,268 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findAll] SQL: SELECT FROM treportwherevalues t0_o 2003-01-16 17:49:28,268 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] EJB-QL: SELECT OBJECT(o) FROM ReportWV o WHERE o.clientID = ?1 2003-01-16 17:49:28,351 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] SQL: SELECT FROM treportwherevalues t0_o WHERE t0_o.clientid = ? notice the SQL lines so of course when I attempt to call one of these finders, all hell breaks loose: 2003-01-16 17:51:28,171 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] Executing SQL: SELECT FROM treportwherevalues t0_o WHERE t0_o.clientid = ? 2003-01-16 17:51:28,173 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] Find failed java.sql.SQLException: ERROR: parser: parse error at or near "FROM" at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:123) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:429) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:198) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:48) ... rest of the stack trace hacked off for brevity. What am I doing wrong that is causing JBoss to generate bad sql? -jason
[JBoss-user] Http Clustering: No store ?!?
As I've reported some days ago, when using 3.0.5RC2, I am getting these strange lines in my log file. This time I'm using 3.0.5 binaries available in sourceforge. 01:16:45,502 INFO [JBossWebApplicationContext] setDistributable true 01:16:46,062 INFO [JBossWebApplicationContext#/webmail] using Distributable HttpSession Manager: or g.mortbay.j2ee.session.Manager@779959 01:16:46,102 WARN [Manager] No Store. Falling back to a local session implementation - NO HTTPSESSI ON DISTRIBUTION As anyone seen this before? -- João Pedro Clemente - jpcl (at) rnl ist utl pt In pursuit for knowledge there is only one enemy: Time. --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Nature of Tomcat / JBoss integration
I did not completely undertood the scenario you described. Let me put some question that maybe will clear things up: We can have tomcat+Jboss in one VM, or separated (just like jetty+jboss, as far as I know) If separated, you said they communicate over JRMP (is this some sort of RMI?). If in the same VM, how do they communicate? Shared memory? Pipes? What? Thanks -- João Pedro Clemente - jpcl (at) rnl ist utl pt In pursuit for knowledge there is only one enemy: Time. --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] finders, postgresql and jboss3.2.0RC1
I have a session bean that has finders defined by xDoclet tags like so: * @ejb.finder * signature="java.util.Collection findAll()" * mapping="Local" * intf="LocalHome" * query="SELECT OBJECT(o) FROM ReportWV o" * * @ejb.finder * signature="java.util.Collection findByClientID(java.lang.Integer clientID)" * mapping="Local" * intf="LocalHome" * query="SELECT OBJECT(o) FROM ReportWV o WHERE o.clientID = ?1" now when I deploy the bean I see in the log: 2003-01-16 17:49:28,264 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findAll] EJB-QL: SELECT OBJECT(o) FROM ReportWV o 2003-01-16 17:49:28,268 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findAll] SQL: SELECT FROM treportwherevalues t0_o 2003-01-16 17:49:28,268 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] EJB-QL: SELECT OBJECT(o) FROM ReportWV o WHERE o.clientID = ?1 2003-01-16 17:49:28,351 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] SQL: SELECT FROM treportwherevalues t0_o WHERE t0_o.clientid = ? notice the SQL lines so of course when I attempt to call one of these finders, all hell breaks loose: 2003-01-16 17:51:28,171 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] Executing SQL: SELECT FROM treportwherevalues t0_o WHERE t0_o.clientid = ? 2003-01-16 17:51:28,173 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.ReportWV.findByClientID] Find failed java.sql.SQLException: ERROR: parser: parse error at or near "FROM" at org.postgresql.core.QueryExecutor.execute(QueryExecutor.java:123) at org.postgresql.jdbc1.AbstractJdbc1Connection.ExecSQL(AbstractJdbc1Connection.java:429) at org.postgresql.jdbc1.AbstractJdbc1Statement.execute(AbstractJdbc1Statement.java:198) at org.postgresql.jdbc2.AbstractJdbc2Statement.execute(AbstractJdbc2Statement.java:48) ... rest of the stack trace hacked off for brevity. What am I doing wrong that is causing JBoss to generate bad sql? -jason
[JBoss-user] jboss-3.0.5_tomcat-4.0.6 class loading problem when *.ear file deployed
Title: jboss-3.0.5_tomcat-4.0.6 class loading problem when *.ear file deployed Migrated to bundle jboss-3.0.5_tomcat-4.0.6 from jboss-3.0.4_tomcat-4.0.6 Running with JDK 1.4.1_01 on Win2000. When deploy ear file, at some point have java.lang.NoClassDefFoundError (enclosed below). Class loader cannot find libraries in web tier (from jboss-3.0.5_tomcat-4.0.6\catalina\work\MainEngine\localhost\_\WEB-INF directory). This problem doesn't occurs with previous jboss-3.0.4_tomcat-4.0.6. When deploying separately war and jar, then no problem occurs. Anyone else noted this issue with new release? Thanks, Boris java.lang.NoClassDefFoundError: org/apache/struts/action/Action at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 3) at java.net.URLClassLoader.defineClass(URLClassLoader.java:246) at java.net.URLClassLoader.access$100(URLClassLoader.java:54) at java.net.URLClassLoader$1.run(URLClassLoader.java:193) at java.security.AccessController.doPrivileged(Native Method) at java.net.URLClassLoader.findClass(URLClassLoader.java:186) at org.jboss.mx.loading.UnifiedClassLoader.findClass(UnifiedClassLoader. java:441) at java.lang.ClassLoader.loadClass(ClassLoader.java:306) at org.jboss.mx.loading.UnifiedClassLoader.loadClassLocally(UnifiedClass Loader.java:247) at org.jboss.mx.loading.UnifiedLoaderRepository3.loadClassFromClassLoade r(UnifiedLoaderRepository3.java:214) at org.jboss.mx.loading.LoadMgr.beginLoadTask(LoadMgr.java:129) at org.jboss.mx.loading.UnifiedClassLoader3.loadClass(UnifiedClassLoader 3.java:161) at java.lang.ClassLoader.loadClass(ClassLoader.java:299) at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:550) at java.lang.ClassLoader.loadClass(ClassLoader.java:262) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1355) at org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoa der.java:1254) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:322) at java.lang.ClassLoader.defineClass0(Native Method) at java.lang.ClassLoader.defineClass(ClassLoader.java:509) at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:12 3) at org.apache.catalina.loader.WebappClassLoader.findClassInternal(Webapp ClassLoader.java:1643)
RE: [JBoss-user] Could not enlist in transaction on entering meta-aware object
Also "Could not enlist in transaction on entering meta-aware object" does not say much except there was an exception. Could you check log/server.log for something more interesting? -Original Message- From: David Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 4:47 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Could not enlist in transaction on entering meta-aware object Igor, thanks for your help. My code has many places where a SLSB puts data into a DB, all with Transaction set as Required. My app is basically like this (sorry for the ASCII art): HttpServletRequest | V HttpServlet - Look up and start UserTransaction - Translate and hand-off call to SLSB | V Stateless SessionBean (TX=Required) - Delegates work to Application processors | V Application processors - Some might do JDBC via DataSource; - Some might use CMP | | | | V V Custom JDBC CMP EntityBeans (TX=Required) V HttpServlet (Flow returns) - If no errors, commit UserTransaction - If errors, rollback UserTransaction The JDBC work delegated to the application processors uses the same JNDI-looked-up DataSource as the CMP Entity Beans are configured to use. We also have a custom login module that uses the same JNDI looked up DataSource. I will create a small test case as you mentioned. I just thought that describing how my app is set up might spark some thoughts from you or others though while I'm doing that. I've used earlier version of JBoss (2.4.x) that do all of the above fine. Of course, that was with Oracle 8i + classes12.zip instead of 9i + ojdbc14.jar, and using jdk 1.3.1 instead of jdk 1.4.1. Thanks again, David -- Igor Fedorenko escribió:: > I've never tried it with UserTransaction. Could you check that basic container >managed transaction works? (simple SSB that inserts one row into a db). If CMT works >I'll look into UserTransaction issues. > > -Original Message- > From: David Ward [mailto:[EMAIL PROTECTED]] > Sent: Thursday, January 16, 2003 12:11 PM > To: [EMAIL PROTECTED] > Subject: [JBoss-user] Could not enlist in transaction on entering > meta-aware object > > > I am getting the following error using jboss-3.2.0RC1_tomcat-4.1.18, JDK > 1.4.1_01 hitting Oracle 9.2.0.1.0 (with initjvm), using the matching > thin jdbc driver. All requests go through a servlet that wraps > everything in a JNDI-looked-up UserTransaction. > > "Could not enlist in transaction on entering meta-aware object" > > Here is my oracle-xa-ds.xml: > > > > MyDS > true > > org.jboss.resource.adapter.jdbc.xa.oracle.XAOracleManagedConnectionFactory > > name="URL">jdbc:oracle:thin:@foo:1521:bar > user > password > > > > I changed transaction-service.xml to pad=true: > > > true > > > Any ideas? > > Thanks, > David > --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] multiple bean version question
What's the best way to support the following? We have a "core" ejb-jar.xml that has in it session beans that have ejb refs to other beans that are not in the same jar. e.g. CoreSessionEJB ejb/CoreSession com.armanta.ejb.CoreSessionHome com.armanta.ejb.CoreSession com.armanta.ejb.CoreSessionBean Stateless Container ejb/SpecializedSession Session com.armanta.ejb.SpecializedSessionHome com.armanta.ejb.SpecializedSession ejb/SpecializedSession The idea here is that each install may have a different implementation of the Specialized Session Bean. There would then be a specialized jar in the same ear with the following ejb-jar.xml. SpecializedSessionEJB ejb/SpecializedSession com.armanta.ejb.SpecializedSessionHome com.armanta.ejb.SpecializedSession com.armanta.ejb.SpecializedSessionBean Stateless Container Then, each install would have the same specialized ejb-jar but just package their own implementation of ejb-jar.xml. The trouble now happens. We have two installations, each with their own implementation of specialized. We decide that the core bean should support an additional way of interacting with the specialized bean to better support install 2, but install 1 has no interest in it and we can't go back to them to tell them they need to add methods to their specialized session bean. How can we best deal with this? We can't create a new ejb-ref to ejb/SpecializedSessionNew, because the ear won't deploy for the install 1 that doesn't actually define the new ejb. We would rather not have multiple versions of ejb-jar.xml. Any help with this problem would be much appreciated. Regards Eric Kaplan Armanta, Inc. <>
Re: [JBoss-user] Nature of Tomcat / JBoss integration
Or, even better, run all three in one JVM. --- Vladyslav Kosulin <[EMAIL PROTECTED]> wrote: > HORTON,NOAH (HP-FtCollins,ex1) wrote: > > Hi! > > I am helping to evaluate using JBoss in a > project and have some questions > > about how Tomcat and JBoss are integrated. Does > Tomcat run in the same JVM > > with JBoss? If not, what sort of communication is > used between the two > > JVMs? If they run in one JVM, do you think it is > possible to get them > > interoperating from separate JVM's without insane > amounts of work? I ask > > because we face a potential situation where our > product would need to > > interoperate with another application that has > embedded Tomcat and we would > > like to use one web container if possible. > > If I understand right, you don't need to execute any > servlet container on top > of JBoss at all. > Just use your existing Tomcat and invoke remote > interface methods of EJBs > deployed on JBoss. > Vlad > > > > --- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal > information by implementing > SSL on your Apache Web Server. Click here to get our > FREE Thawte Apache > Guide: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user = Nicholas Whitehead Home: (973) 377 9335 Cell: (201) 615 2716 Work: (212) 622 5639 [EMAIL PROTECTED] --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Replication fails: strange JavaGroups Exception
Vladyslav Kosulin wrote: This exception is shown only on Linux side, and any replication does not happen. I am wrong - it looks like it is thrown on the data receiver side, either Linux or Win. Vlad --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Replication fails: strange JavaGroups Exception
16:45:28,718 ERROR [JGStore] this should never happen - code version mismatch ? java.lang.NullPointerException at org.mortbay.j2ee.session.AbstractReplicatedStore.dispatch(AbstractReplicatedStore.java:194) at org.mortbay.j2ee.session.JGStore.dispatch(JGStore.java:266) at sun.reflect.GeneratedMethodAccessor58.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.javagroups.blocks.MethodCall.invoke(MethodCall.java:321) at org.javagroups.blocks.RpcDispatcher.handle(RpcDispatcher.java:265) at org.javagroups.blocks.RequestCorrelator.handleRequest(RequestCorrelator.java:531) at org.javagroups.blocks.RequestCorrelator.access$100(RequestCorrelator.java:37) at org.javagroups.blocks.RequestCorrelator$Request.run(RequestCorrelator.java:747) at org.javagroups.util.ReusableThread.run(ReusableThread.java:208) at java.lang.Thread.run(Thread.java:536) I have exactly the same JBoss installations (JBoss 3.0.5-jdk1.4.1) and JDK versions (HotSpot(TM) Server VM 1.4.1_01-b01,Sun Microsystems Inc.) on Win 2000 and RedHat 7.3 (2.4.18-5). This exception is shown only on Linux side, and any replication does not happen. Any glue? Thanks, Vlad --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Could not enlist in transaction on entering meta-awareobject
Igor, thanks for your help. My code has many places where a SLSB puts data into a DB, all with Transaction set as Required. My app is basically like this (sorry for the ASCII art): HttpServletRequest | V HttpServlet - Look up and start UserTransaction - Translate and hand-off call to SLSB | V Stateless SessionBean (TX=Required) - Delegates work to Application processors | V Application processors - Some might do JDBC via DataSource; - Some might use CMP | | | | V V Custom JDBC CMP EntityBeans (TX=Required) V HttpServlet (Flow returns) - If no errors, commit UserTransaction - If errors, rollback UserTransaction The JDBC work delegated to the application processors uses the same JNDI-looked-up DataSource as the CMP Entity Beans are configured to use. We also have a custom login module that uses the same JNDI looked up DataSource. I will create a small test case as you mentioned. I just thought that describing how my app is set up might spark some thoughts from you or others though while I'm doing that. I've used earlier version of JBoss (2.4.x) that do all of the above fine. Of course, that was with Oracle 8i + classes12.zip instead of 9i + ojdbc14.jar, and using jdk 1.3.1 instead of jdk 1.4.1. Thanks again, David -- Igor Fedorenko escribió:: I've never tried it with UserTransaction. Could you check that basic container managed transaction works? (simple SSB that inserts one row into a db). If CMT works I'll look into UserTransaction issues. -Original Message- From: David Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Could not enlist in transaction on entering meta-aware object I am getting the following error using jboss-3.2.0RC1_tomcat-4.1.18, JDK 1.4.1_01 hitting Oracle 9.2.0.1.0 (with initjvm), using the matching thin jdbc driver. All requests go through a servlet that wraps everything in a JNDI-looked-up UserTransaction. "Could not enlist in transaction on entering meta-aware object" Here is my oracle-xa-ds.xml: MyDS true org.jboss.resource.adapter.jdbc.xa.oracle.XAOracleManagedConnectionFactory jdbc:oracle:thin:@foo:1521:bar user password I changed transaction-service.xml to pad=true: true Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Could not enlist in transaction on entering meta-aware object
Thanks for the response, Manoj. I have answered your questions below: Sasidharan, Manoj escribió:: Here are my few cents: 1. Try re-starting JBoss and see if it helps Tried. Doesn't help. 2. Have you run the Oracle JVM initialisation SQLs on the database.. This is required for using XA with Oracle. There is a script/sql to verify whether this is installed fine. I have run initjvm.sql and initxa.sql. Anything else I need to run? Which script is the verifier you've mentioned? 3. Oracle provides separate JDBC drivers for use with JDK 1.4, can you try using this too. I am using the latest ojdbc14.jar. Thanks again, David -- HTH regards MS -Original Message- From: Igor Fedorenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:37 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Could not enlist in transaction on entering meta-aware object I've never tried it with UserTransaction. Could you check that basic container managed transaction works? (simple SSB that inserts one row into a db). If CMT works I'll look into UserTransaction issues. -Original Message- From: David Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Could not enlist in transaction on entering meta-aware object I am getting the following error using jboss-3.2.0RC1_tomcat-4.1.18, JDK 1.4.1_01 hitting Oracle 9.2.0.1.0 (with initjvm), using the matching thin jdbc driver. All requests go through a servlet that wraps everything in a JNDI-looked-up UserTransaction. "Could not enlist in transaction on entering meta-aware object" Here is my oracle-xa-ds.xml: MyDS true org.jboss.resource.adapter.jdbc.xa.oracle.XAOracleManagedConnectionFactory jdbc:oracle:thin:@foo:1521:bar user password I changed transaction-service.xml to pad=true: true Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss cvs is down?
jboss cvs is down?From the SF site status page: http://sourceforge.net/docman/display_doc.php?docid=2352&group_id=1 (2003-01-14 14:04:19 - Project CVS Services) As of 2003-01-14, pserver-based CVS repository access and ViewCVS (web-based) CVS repository access have been taken offline as to stabilize CVS server performance for developers. These services will be re-enabled as soon as the underlying scalability issues have been analyzed and resolved (as soon as 2003-01-15, if possible). Additional updates will be posted to the Site Status page as they become available. Your patience is appreciated. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: Herve Tchepannou To: jboss Sent: Thursday, January 16, 2003 11:58 AM Subject: [JBoss-user] jboss cvs is down? I browse jboss CVS at sourceforge.net. Anyone know whats going on? Herve Tchepannou Software Engineer Objexis Coorporation Phone: (514) 932 3295 Ext. 231 mailto:[EMAIL PROTECTED] Objexis Coorporation http://www.objexis.com 1635 Sherbrooke West, Suite #405 Montreal, Qc H3H 1E2 Tel: 514.932.3295 Fax: 514.932.4639 http://www.objexis.com Important - This message may contain privileged and confidential information. It is intended only for the use of the individual(s) named above. If the reader of this message is not the intended recipient you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Objexis Corporation immediately and promptly delete this message and any copies thereof. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Objexis Corporation. --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jbossmq-service deployment takes a LONG time in3.2.0RC1
That was the fix. You da' man; thanx. David -- Adrian Brock escribió:: Hi, The problem is with the regular expression parsing introduced so you can write ${system.property} in attributes. will disable the check as a temporary fix. Regards, Adrian From: David Ward <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1 Date: Thu, 16 Jan 2003 10:09:32 -0500 I'm using jboss-3.2.0RC1_tomcat-4.1.18 with Sun JDK 1.4.1_01 on Mandrake 9.0 Linux 2.4.19-16, with half a gig of RAM and an 800mghz i686 cpu. I've noticed that on JBoss startup (using the default server), this line takes upwards of ** 15 seconds **: 10:13:24,288 INFO [SARDeployer] looking for nested deployments in : file:/home/david/data/packages/jboss/3.2.0RC1_tomcat-4.1.18/server/default/deploy/jbossmq-service.xml Why so long? On jboss-3.0.4_tomcat-4.1.12, it just flew by with everything else. I use the jbossmq-service.xml file out-of-the-box. I notice there are differences between the 3.0.4 and 3.2.0RC1 versions of this file, but that's how they came - I didn't touch them. I do tweak the jbossmq-destintations-service.xml file, but diffing my 3.0.4 and 3.2.0RC1 versions show only one difference: the date comment at the top of the file. Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss cvs is down?
Title: jboss cvs is down? I browse jboss CVS at sourceforge.net. Anyone know whats going on? Herve Tchepannou Software Engineer Objexis Coorporation Phone: (514) 932 3295 Ext. 231 mailto:[EMAIL PROTECTED] Objexis Coorporation http://www.objexis.com 1635 Sherbrooke West, Suite #405 Montreal, Qc H3H 1E2 Tel: 514.932.3295 Fax: 514.932.4639 http://www.objexis.com Important - This message may contain privileged and confidential information. It is intended only for the use of the individual(s) named above. If the reader of this message is not the intended recipient you are hereby notified that any use, dissemination, distribution or reproduction of this message is prohibited. If you have received this message in error please notify Objexis Corporation immediately and promptly delete this message and any copies thereof. Any views expressed in this message are those of the individual sender and may not necessarily reflect the views of Objexis Corporation.
[JBoss-user] How to get the Classloader of a EJB Module ?
Hello, I am doing a MBean where I need to get the ClassLoader of a EjbModule. The EjbModule class has the method I need : public ClassLoader getClassLoader() but I need to call it using server.invoke, something like this : ObjectName name = new ObjectName(ejbModuleName); String[] sig = {}; Object[] opArgs = {}; ClassLoader o = (ClassLoader) server.invoke(name, "getClassLoader", opArgs, sig); but this don´t work because getClassLoader is not on the EjbModuleMBean interface. So how can I do it ? -- Best regards, Danilo mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss-3.2.0RC1 source archive updated
The jboss-3.2.0RC1-src.tgz originally released had many files missing. It has been rereleased and is available here: http://prdownloads.sourceforge.net/jboss/jboss-3.2.0RC1-src.tgz?download Scott Stark Chief Technology Officer JBoss Group, LLC --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Could not enlist in transaction on entering meta-aware object
Here are my few cents: 1. Try re-starting JBoss and see if it helps 2. Have you run the Oracle JVM initialisation SQLs on the database.. This is required for using XA with Oracle. There is a script/sql to verify whether this is installed fine. 3. Oracle provides separate JDBC drivers for use with JDK 1.4, can you try using this too. HTH regards MS -Original Message- From: Igor Fedorenko [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 9:37 AM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Could not enlist in transaction on entering meta-aware object I've never tried it with UserTransaction. Could you check that basic container managed transaction works? (simple SSB that inserts one row into a db). If CMT works I'll look into UserTransaction issues. -Original Message- From: David Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Could not enlist in transaction on entering meta-aware object I am getting the following error using jboss-3.2.0RC1_tomcat-4.1.18, JDK 1.4.1_01 hitting Oracle 9.2.0.1.0 (with initjvm), using the matching thin jdbc driver. All requests go through a servlet that wraps everything in a JNDI-looked-up UserTransaction. "Could not enlist in transaction on entering meta-aware object" Here is my oracle-xa-ds.xml: MyDS true org.jboss.resource.adapter.jdbc.xa.oracle.XAOracleManagedConnectionFactory jdbc:oracle:thin:@foo:1521:bar user password I changed transaction-service.xml to pad=true: true Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Disable nested deployments
torsdagen den 16 januari 2003 kl 19.19 skrev Danilo Luiz Rheinheimer: How I can disable the nested deployments in a SAR file ? The problem is I have many .bsh files on it and when I deploy it on 3.2RC1 it deploy this files. This files are bean shell scripts but to be used by my mbean and not to be deployed. rename .bsh to for ex .bsh.noDeploy and let Your mbean use those ? --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] listing current users/connections
Hi all. Can someone point me toward the best way to enumerate all current connections, meaning all current connecting threads and the associated users/Principals? I want to keep track of some locking info, and I need to check periodically for connections that have silently failed so that I can clear those locks. Thanks, Beau --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Could not enlist in transaction on entering meta-aware object
I've never tried it with UserTransaction. Could you check that basic container managed transaction works? (simple SSB that inserts one row into a db). If CMT works I'll look into UserTransaction issues. -Original Message- From: David Ward [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:11 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] Could not enlist in transaction on entering meta-aware object I am getting the following error using jboss-3.2.0RC1_tomcat-4.1.18, JDK 1.4.1_01 hitting Oracle 9.2.0.1.0 (with initjvm), using the matching thin jdbc driver. All requests go through a servlet that wraps everything in a JNDI-looked-up UserTransaction. "Could not enlist in transaction on entering meta-aware object" Here is my oracle-xa-ds.xml: MyDS true org.jboss.resource.adapter.jdbc.xa.oracle.XAOracleManagedConnectionFactory jdbc:oracle:thin:@foo:1521:bar user password I changed transaction-service.xml to pad=true: true Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Nature of Tomcat / JBoss integration
- Original Message - From: "HORTON,NOAH (HP-FtCollins,ex1)" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Thursday, January 16, 2003 11:16 AM Subject: [JBoss-user] Nature of Tomcat / JBoss integration > Hi! > I am helping to evaluate using JBoss in a project and have some questions > about how Tomcat and JBoss are integrated. Does Tomcat run in the same JVM > with JBoss? It can, such a configuration is available, already built, on the JBoss website. > If not, what sort of communication is used between the two > JVMs? You can also run them separately. We do that on our site (including in production). The default communication is JRMP, though I'm not sure that is what you are asking. > If they run in one JVM, do you think it is possible to get them > interoperating from separate JVM's without insane amounts of work? Getting separate instances communicating is trivial. All you have to do is tell Tomcat the IP address where to find the JBoss naming service. >I ask > because we face a potential situation where our product would need to > interoperate with another application that has embedded Tomcat and we would > like to use one web container if possible. > > Thanks! > -Noah Horton > > > --- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal information by implementing > SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1
Hi, The problem is with the regular expression parsing introduced so you can write ${system.property} in attributes. will disable the check as a temporary fix. Regards, Adrian From: David Ward <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: [JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1 Date: Thu, 16 Jan 2003 10:09:32 -0500 I'm using jboss-3.2.0RC1_tomcat-4.1.18 with Sun JDK 1.4.1_01 on Mandrake 9.0 Linux 2.4.19-16, with half a gig of RAM and an 800mghz i686 cpu. I've noticed that on JBoss startup (using the default server), this line takes upwards of ** 15 seconds **: 10:13:24,288 INFO [SARDeployer] looking for nested deployments in : file:/home/david/data/packages/jboss/3.2.0RC1_tomcat-4.1.18/server/default/deploy/jbossmq-service.xml Why so long? On jboss-3.0.4_tomcat-4.1.12, it just flew by with everything else. I use the jbossmq-service.xml file out-of-the-box. I notice there are differences between the 3.0.4 and 3.2.0RC1 versions of this file, but that's how they came - I didn't touch them. I do tweak the jbossmq-destintations-service.xml file, but diffing my 3.0.4 and 3.2.0RC1 versions show only one difference: the date comment at the top of the file. Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ MSN 8 helps eliminate e-mail viruses. Get 2 months FREE* http://join.msn.com/?page=features/virus --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Disable nested deployments
Hello, I suggest you disable the BSH sub-deployer i.e. in conf/jboss-service.xml, comment out the jboss.secripts:service=BSHDeployer MBean definition Cheers, sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Danilo Luiz > Rheinheimer > Envoye : jeudi, 16 janvier 2003 19:20 > A : [EMAIL PROTECTED] > Objet : [JBoss-user] Disable nested deployments > > > Hello, > > How I can disable the nested deployments in a SAR file ? > The problem is I have many .bsh files on it and when I deploy it on > 3.2RC1 it deploy this files. This files are bean shell scripts but to > be used by my mbean and not to be deployed. > > > > -- > Best regards, > Danilo mailto:[EMAIL PROTECTED] > > > > > --- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal information by > implementing > SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1
> On first startup or on sequential startups ? > > Depending on how hard You populated the DefaultDS Hypersonic backend, I > am guessing - Hypersonic on a sequential startup is rebuilding tables > and populating data while the jbossmq component idle's, since it is > dependent on DefaultDS to be fully started ? ... Can You check Your > logs and or confirm if the above scenario is what You are experiencing. > Also if relevant try deploy /docs/examples/jca/hsqldb-sqlcache-ds.xml > instead of /server/default/deploy/hsqldb-ds.xml and se if the startup > shortens. The hsqldb-sqlcache-ds.xml will not use any network resources > (SPEED) and also not persist over invocations, leaving You in a > development situation with faster startups. Red Hat 7.2 JDK 1.4.1 jboss-head (as of 9:30am-ish EST 1/16/03) http://sourceforge.net/tracker/index.php?func=detail&aid=669140&group_id=228 66&atid=376685 The log is included. Mine hangs for 24 seconds on startup. Michael --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Disable nested deployments
Hello, How I can disable the nested deployments in a SAR file ? The problem is I have many .bsh files on it and when I deploy it on 3.2RC1 it deploy this files. This files are bean shell scripts but to be used by my mbean and not to be deployed. -- Best regards, Danilo mailto:[EMAIL PROTECTED] --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Nature of Tomcat / JBoss integration
HORTON,NOAH (HP-FtCollins,ex1) wrote: Hi! I am helping to evaluate using JBoss in a project and have some questions about how Tomcat and JBoss are integrated. Does Tomcat run in the same JVM with JBoss? If not, what sort of communication is used between the two JVMs? If they run in one JVM, do you think it is possible to get them interoperating from separate JVM's without insane amounts of work? I ask because we face a potential situation where our product would need to interoperate with another application that has embedded Tomcat and we would like to use one web container if possible. If I understand right, you don't need to execute any servlet container on top of JBoss at all. Just use your existing Tomcat and invoke remote interface methods of EJBs deployed on JBoss. Vlad --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Could not enlist in transaction on entering meta-aware object
I am getting the following error using jboss-3.2.0RC1_tomcat-4.1.18, JDK 1.4.1_01 hitting Oracle 9.2.0.1.0 (with initjvm), using the matching thin jdbc driver. All requests go through a servlet that wraps everything in a JNDI-looked-up UserTransaction. "Could not enlist in transaction on entering meta-aware object" Here is my oracle-xa-ds.xml: MyDS true org.jboss.resource.adapter.jdbc.xa.oracle.XAOracleManagedConnectionFactory jdbc:oracle:thin:@foo:1521:bar user password I changed transaction-service.xml to pad=true: true Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] serious ejbql compiler problem
That is the way EJB-QL works. When you have an collection member declaration (i.e. the IN clause in the FROM), you are requesting a join. Anyway, the following should work: SELECT OBJECT(c) FROM StoreCategory c, Partner p WHERE c.id=?1 AND (c.partnerOwner.id=?2 OR (p.id=?2 AND p MEMBER OF c.partners) You many want to do a SELECT DISTINCT, as it is possible to get multiple results back from this query. -dain On Thursday, January 16, 2003, at 03:39 AM, Alexey Yudichev wrote: Jboss 3.0.4. 2 entities: StoreCategory and Partner. 2 relationships between them: 1) Partner - StoreCategory PartnerStoreCategoryRole One Partner storeCategories java.util.Collection StoreCategoryPartnerRole Many StoreCategory partnerOwner 2) Partners - StoreCategory PartnerStoreCategoryRole Many Partner categories java.util.Collection StoreCategoryPartnerRole Many StoreCategory partners java.util.Collection ejbql: SELECT OBJECT(c) FROM StoreCategory c, IN (c.partners) assignedPartner WHERE c.id=?1 AND (assignedPartner.id=?2 OR c.partnerOwner.id=?2) which should find specified StoreCategory participating EITHER in first relationship with specified Partner OR in second one or both. sql generated: SELECT t0_c.id FROM storecategory t0_c, partner t1_assignedpartner, partner_categories_stor_1cl2gdd t3_c_partners_RELATION_TABLE, partner t2_c_partnerOwner WHERE (t0_c.id = ? AND (t1_assignedpartner.id = ? OR t2_c_partnerOwner.id = ?)) AND (t0_c.partnerOwner=t2_c_partnerOwner.id AND t0_c.id=t3_c_partners_RELATION_TABLE.StoreCategory AND t1_assignedpartner.id=t3_c_partners_RELATION_TABLE.Partner) which does inner join of all three tables (StoreCategory, Partner and M-2-M relation table). So it will by definition select StoreCategories participating ONLY in BOTH relationships at the same time. Or maybe I missed something... --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RE: A 32RC1 error
As usual i was searching to little before posting :) found it just after i pressed send. To make jms and mysql without this error you only need to configure this: In jbossmq-service.xml replace the MESSAGEBLOB OBJECT with BLOB in this line: CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) -Jon > -Original Message- > From: Jon Finanger [mailto:[EMAIL PROTECTED]] > Sent: 16. januar 2003 14:40 > To: [EMAIL PROTECTED] > Subject: A 32RC1 error > > > During startup jboss throws this error (below). > It indicates that a table is missing. The only configuration i've done is to remove >hsqldb-ds.xml with mysql-ds.xml and > added the mysql driver jar to lib. > The only table i can see jms has created is: jms_transactions > > Anything i'm missing? > > -Jon > > 14:19:52,211 INFO [DefaultDS] Bound connection factory for resource adapter for > ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name >'java:/DefaultDS' > 14:19:52,241 INFO [LocalTxConnectionManager] Started > 14:19:52,241 INFO [PersistenceManager] Starting > 14:19:53,103 ERROR [PersistenceManager] Starting failed > org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag > e recovery may not be accurate; - nested throwable: (java.sql.SQLException: Gene > ral error: Table 'smartpool.jms_messages' doesn't exist) --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1
torsdagen den 16 januari 2003 kl 16.31 skrev Stefan Arentz: David Ward wrote: I'm using jboss-3.2.0RC1_tomcat-4.1.18 with Sun JDK 1.4.1_01 on Mandrake 9.0 Linux 2.4.19-16, with half a gig of RAM and an 800mghz i686 cpu. I've noticed that on JBoss startup (using the default server), this line takes upwards of ** 15 seconds **: 10:13:24,288 INFO [SARDeployer] looking for nested deployments in : file:/home/david/data/packages/jboss/3.2.0RC1_tomcat-4.1.18/server/ default/deploy/jbossmq-service.xml On first startup or on sequential startups ? Depending on how hard You populated the DefaultDS Hypersonic backend, I am guessing - Hypersonic on a sequential startup is rebuilding tables and populating data while the jbossmq component idle's, since it is dependent on DefaultDS to be fully started ? ... Can You check Your logs and or confirm if the above scenario is what You are experiencing. Also if relevant try deploy /docs/examples/jca/hsqldb-sqlcache-ds.xml instead of /server/default/deploy/hsqldb-ds.xml and se if the startup shortens. The hsqldb-sqlcache-ds.xml will not use any network resources (SPEED) and also not persist over invocations, leaving You in a development situation with faster startups. --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] FW: Open Source Excellence Awards
Thought you might want to read the official release. We are swimming with the Sharks:) I think we can and should win the open source project as we have a more mature code base and more downloads than any of the other projects. It should be interesting to see what happens. We are competing against Sun, IBM, and Computer Associates to name a few. Ben Sabrin Director of Sales and Business Development JBoss Group, LLC 404-467-8555 - office 404-664-9466 - cell 404-948-1496 - fax [EMAIL PROTECTED] -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 10:56 AM To: [EMAIL PROTECTED] Subject: Open Source Excellence Awards Ben, Congratulations!! (See attached file: LWNY03 Award finalists 1.16.doc) See you in NY. Frank LWNY03 Award finalists 1.16.doc Description: MS-Word document
[JBoss-user] Nature of Tomcat / JBoss integration
Hi! I am helping to evaluate using JBoss in a project and have some questions about how Tomcat and JBoss are integrated. Does Tomcat run in the same JVM with JBoss? If not, what sort of communication is used between the two JVMs? If they run in one JVM, do you think it is possible to get them interoperating from separate JVM's without insane amounts of work? I ask because we face a potential situation where our product would need to interoperate with another application that has embedded Tomcat and we would like to use one web container if possible. Thanks! -Noah Horton --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Redeployment bug at farm service?
Here is what happens when I replace the old .ear with the new one: First, the box with file replaced undeploys the old application and deploys the new one. During this process the second box starts undeployment of old application, and after this is done, I get the message "java.io.FileNotFoundException: C:\users\kosulin\jboss\server\taxgard\farm\taxgard.ear (The system cannot find the file specified)" on the first box and application is going to be undeployed on it. There is simple workaround for this (undeploy first, and deploy after this), but for /deploy directory file replacement works, so this is expected behavior for farming, too! Here are log fragments: = First box (win 2000): = 11:03:48,141 INFO [MainDeployer] Undeploying file:/C:/users/kosulin/jboss/server/taxgard/farm/taxgard.ear 11:03:48,151 INFO [Manager] local scavenging... 11:03:48,601 INFO [JGStore] distributed scavenging... 11:03:48,601 INFO [jbossweb] Stopped WebApplicationContext[/taxgard,Table Explorer] 11:03:48,631 INFO [jbossweb] Deregister jboss.web:Jetty=0,JBossWebApplicationContext=5,context=/taxgard 11:03:48,641 INFO [jbossweb] Successfully undeployed file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/gui.war 11:03:48,641 INFO [EjbModule] Stopping 11:03:48,641 INFO [EjbModule] Stopped 11:03:48,641 INFO [EjbModule] Stopping 11:03:48,641 INFO [EjbModule] Stopped 11:03:48,651 INFO [EjbModule] Stopping 11:03:48,651 INFO [JMSContainerInvoker] Stopping 11:03:48,651 INFO [DLQHandler] Stopping 11:03:48,651 INFO [DLQHandler] Stopped 11:03:48,651 INFO [JMSContainerInvoker] Stopped 11:03:48,651 INFO [EjbModule] Stopped 11:03:48,651 INFO [EjbModule] Stopping 11:03:48,671 INFO [EjbModule] Stopped 11:03:48,671 INFO [EARDeployer] Undeploying J2EE application, destroy step: file:/C:/users/kosulin/jboss/server/taxgard/farm/taxgard.ear 11:03:48,671 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/gui.war 11:03:48,681 INFO [MainDeployer] Undeployed file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/gui.war 11:03:48,681 INFO [EjbModule] Destroying 11:03:48,691 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication=taxgard.ear,J2EEServer=Single,j2eeType=EJBModule,name=tte-ejb.jar 11:03:48,701 INFO [EjbModule] Destroyed 11:03:48,701 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/tte-ejb.jar 11:03:48,701 INFO [MainDeployer] Undeployed file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/tte-ejb.jar 11:03:48,701 INFO [EjbModule] Destroying 11:03:48,712 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication=taxgard.ear,J2EEServer=Single,j2eeType=EJBModule,name=ahe-ejb.jar 11:03:48,722 INFO [EjbModule] Destroyed 11:03:48,722 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/ahe-ejb.jar 11:03:48,722 INFO [MainDeployer] Undeployed file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/ahe-ejb.jar 11:03:48,722 INFO [EjbModule] Destroying 11:03:48,742 INFO [JMSContainerInvoker] Destroying 11:03:48,742 INFO [DLQHandler] Destroying 11:03:48,742 INFO [DLQHandler] Destroyed 11:03:48,752 INFO [JMSContainerInvoker] Destroyed 11:03:48,752 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication=taxgard.ear,J2EEServer=Single,j2eeType=EJBModule,name=process1099-ejb.jar 11:03:48,752 INFO [EjbModule] Destroyed 11:03:48,752 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/process1099-ejb.jar 11:03:48,752 INFO [MainDeployer] Undeployed file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/process1099-ejb.jar 11:03:48,752 INFO [EjbModule] Destroying 11:03:48,802 INFO [EjbModule] Remove JSR-77 EJB Module: jboss.management.single:J2EEApplication=taxgard.ear,J2EEServer=Single,j2eeType=EJBModule,name=sme-ejb.jar 11:03:48,802 INFO [EjbModule] Destroyed 11:03:48,802 WARN [DeploymentInfo] Not deleting localUrl, it is null or not a copy: file:/C:/users/kosulin/jboss/server/taxgard/tmp/deploy/server/taxgard/farm/taxgard.ear/31.taxgard.ear-contents/sme-ejb.jar 11:03:48,802 INFO [MainDeployer] Undeployed file:/C:/users/kosulin
[JBoss-user] FW: Linux World Arwards
All, Today has started off great, we just got a call from Frank at Linux World letting us know that we are finalists in two categories at Linux World. They are: Best Open Source Project – other finalists include Eclipse, Open Office, Vovida, and ephibian (spelling could be wrong) Best Network / Server Application – other finalists include IBM WebSphere, SuSE Enterprise Server, CA Unicenter, and a product called Orion (not the one we would think of). This category can be open source or proprietary as you can see. In any case, this is good company to be in and I think we are going to win at least one of these. Everyone associated with JBoss is doing an awesome job in writing the best application server in the industry, keep up the great work. Ben Sabrin Director of Sales and Business Development JBoss Group, LLC 404-467-8555 - office 404-664-9466 - cell 404-948-1496 - fax [EMAIL PROTECTED]
Re: [JBoss-user] jbossmq-service deployment takes a LONG time in3.2.0RC1
David Ward wrote: I'm using jboss-3.2.0RC1_tomcat-4.1.18 with Sun JDK 1.4.1_01 on Mandrake 9.0 Linux 2.4.19-16, with half a gig of RAM and an 800mghz i686 cpu. I've noticed that on JBoss startup (using the default server), this line takes upwards of ** 15 seconds **: 10:13:24,288 INFO [SARDeployer] looking for nested deployments in : file:/home/david/data/packages/jboss/3.2.0RC1_tomcat-4.1.18/server/default/deploy/jbossmq-service.xml Why so long? On jboss-3.0.4_tomcat-4.1.12, it just flew by with everything else. I use the jbossmq-service.xml file out-of-the-box. I notice there are differences between the 3.0.4 and 3.2.0RC1 versions of this file, but that's how they came - I didn't touch them. I do tweak the jbossmq-destintations-service.xml file, but diffing my 3.0.4 and 3.2.0RC1 versions show only one difference: the date comment at the top of the file. No idea why, just a message that I experience the same here on 3.2.0RC1.Haven't chcked the latest and greatest 3.2 HEAD though. S. --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] classloading from WAR
> -Original Message- > From: Scott M Stark [mailto:[EMAIL PROTECTED]] > Subject: Re: [JBoss-user] classloading from WAR > > The contents of wars is not treated as deployable unless you > happen to be using an snapshot from and old version of main. Yep. I had to baseline HEAD, around 11/26/02, for some testing. I just got jboss-head and verified that AbstractWebContainer no longer tries to do nested deployments. However, when I start JBoss, I'm getting some errors: /usr/local/jdk/bin/java -Xms384m -Xmx512m -Dprogram.name=run.sh log4j:ERROR Failed to create directory structure: /log log4j:ERROR setFile(null,false) call failed. java.io.FileNotFoundException: /log/boot.log (No such file or directory) also: INFO [URLDeploymentScanner] Created ERROR [STDERROR] java.xmanagement.InstanceNotFoundException: jboss:service=WorkManager,type=TrunkInvoker is not registered but, I get this error even with my 11/24/02 version of HEAD also: INFO [XSLSubDeployer] Creating INFO [XSLSubDeployer$LocalErrorListener] FataError in transforming: javax.xml.transform.TransformerException: java.io.EOFException: Unexpected end of ZLIB input stream I want to update my baseline JBoss to HEAD, but what's up with these errors? Thanks, Michael --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] A 32RC1 error
Change the following in jbossmq-service.xml CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB OBJECT, PRIMARY KEY (MESSAGEID, DESTINATION) ) to CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES ( MESSAGEID INTEGER NOT NULL, \ DESTINATION VARCHAR(255) NOT NULL, TXID INTEGER, TXOP CHAR(1), \ MESSAGEBLOB LONG_BLOB, PRIMARY KEY (MESSAGEID, DESTINATION) ) Regards, Adrian From: "Jon Finanger" <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: <[EMAIL PROTECTED]> Subject: [JBoss-user] A 32RC1 error Date: Thu, 16 Jan 2003 14:39:53 +0100 During startup jboss throws this error (below). It indicates that a table is missing. The only configuration i've done is to remove hsqldb-ds.xml with mysql-ds.xml and added the mysql driver jar to lib. The only table i can see jms has created is: jms_transactions Anything i'm missing? -Jon 14:19:52,211 INFO [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS' 14:19:52,241 INFO [LocalTxConnectionManager] Started 14:19:52,241 INFO [PersistenceManager] Starting 14:19:53,103 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag e recovery may not be accurate; - nested throwable: (java.sql.SQLException: Gene ral error: Table 'smartpool.jms_messages' doesn't exist) --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Add photos to your e-mail with MSN 8. Get 2 months FREE*. http://join.msn.com/?page=features/featuredemail --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 1:n relationship / ejbCreate() with CMP
Gabriel Pinto schrieb: You must set your foreign key as a cmr field. Then you can set it at the post create method. I did that and the problem seems to be that it is not possible to insert a foreign key field from a relationship which is set to "NOT NULL" in the database. The ejbPostCreate() method is never called because the SQL Exception is thrown before. I tested that with 3.0.5 and 3.2.0RC1. -marek --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jbossmq-service deployment takes a LONG time in 3.2.0RC1
I'm using jboss-3.2.0RC1_tomcat-4.1.18 with Sun JDK 1.4.1_01 on Mandrake 9.0 Linux 2.4.19-16, with half a gig of RAM and an 800mghz i686 cpu. I've noticed that on JBoss startup (using the default server), this line takes upwards of ** 15 seconds **: 10:13:24,288 INFO [SARDeployer] looking for nested deployments in : file:/home/david/data/packages/jboss/3.2.0RC1_tomcat-4.1.18/server/default/deploy/jbossmq-service.xml Why so long? On jboss-3.0.4_tomcat-4.1.12, it just flew by with everything else. I use the jbossmq-service.xml file out-of-the-box. I notice there are differences between the 3.0.4 and 3.2.0RC1 versions of this file, but that's how they came - I didn't touch them. I do tweak the jbossmq-destintations-service.xml file, but diffing my 3.0.4 and 3.2.0RC1 versions show only one difference: the date comment at the top of the file. Any ideas? Thanks, David --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] multiple war applications - single sign on
Hi there, I have 2 Web-Applications (war), which I have protected in my web.xml (url-pattern, roles...). Both need the same role. How can I achive that it's sufficent to sign on at the first application host/app1 and then access host/app2 without having to identify again?? (JBoss 3.x.x, Tomcat 4.1.x) Thanks four your help!!! _ MSN Groups & Chat - Freunde finden - leicht gemacht http://groups.msn.com/people/ --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Virtual Hosts
How to configure JBOSS to work with diffetent applications, from different users, without interfering one with the others? Is the solution the use of Virtual Hosts? How to configure Virtual Hosts? How do the different users deploy their applications? Thanks Gabriel -- Gabriel Esteves Marques Pinto Diretor de TI [EMAIL PROTECTED] www.brainweb.com.br (19)3287-7060 Ramal:253 Núcleo SOFTEX-Campinas --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 1:n relationship / ejbCreate() with CMP
You must set your foreign key as a cmr field. Then you can set it at the post create method. Gabriel On Thu, 16 Jan 2003, Marek Lange wrote: > Hi all, > > I definded a 1:n relationship between two tables. My question: how do I > insert a data set with ejbCreate() in the table containing the foreign > key? Do I have to define the foreign key as a ? Going this > way, the container always generates a false SQL statement which contains > the column name twice. If I do not define the foreign key field as a > the SQL statement looks correct, but how can I tell the > container: put this value in the foreign key field? The field is never > filled with data. > > Thanks, > Marek > > > > --- > This SF.NET email is sponsored by: Thawte.com > Understand how to protect your customers personal information by implementing > SSL on your Apache Web Server. Click here to get our FREE Thawte Apache > Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > -- Gabriel Esteves Marques Pinto Diretor de TI [EMAIL PROTECTED] www.brainweb.com.br (19)3287-7060 Ramal:253 Núcleo SOFTEX-Campinas --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Files missing in 3.0.5RC1 or am I lost
Since Sourceforge pserver seems down i needed to download the released file with sources instead. Went to the toplevel build directory and tried to builed it using build.sh and got lots of errors. One of them complained on org.jboss.naming.Util being unknown and I understand that 'cause I can't find it in the distribution. Anything I've done or is the file incorrect? /Lennart --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] A 32RC1 error
During startup jboss throws this error (below). It indicates that a table is missing. The only configuration i've done is to remove hsqldb-ds.xml with mysql-ds.xml and added the mysql driver jar to lib. The only table i can see jms has created is: jms_transactions Anything i'm missing? -Jon 14:19:52,211 INFO [DefaultDS] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=LocalTxCM,name=DefaultDS to JNDI name 'java:/DefaultDS' 14:19:52,241 INFO [LocalTxConnectionManager] Started 14:19:52,241 INFO [PersistenceManager] Starting 14:19:53,103 ERROR [PersistenceManager] Starting failed org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions. Messag e recovery may not be accurate; - nested throwable: (java.sql.SQLException: Gene ral error: Table 'smartpool.jms_messages' doesn't exist) --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JNDIView and Hypersonic manager in 3.2.0b2/jetty ?
Hi, > Also again .. on 3.2.0beta and the old console at :8082 this > worked like a charm. Not only the hsql service, but also the > JNDI view. I can't even shut down the system from jboss.system:halt() > button. This works again as supposed in 3.2.0RC1 *phew* Heiko -- Bancotec GmbH EMail: [EMAIL PROTECTED] Calwer Str. 33 Telefon: +49 711 222 992 900 D-70173 Stuttgart Telefax: +49 711 222 992 999 Ein Unternehmen der Cellent AG http://www.cellent.de/ --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] 1:n relationship / ejbCreate() with CMP
Hi all, I definded a 1:n relationship between two tables. My question: how do I insert a data set with ejbCreate() in the table containing the foreign key? Do I have to define the foreign key as a ? Going this way, the container always generates a false SQL statement which contains the column name twice. If I do not define the foreign key field as a the SQL statement looks correct, but how can I tell the container: put this value in the foreign key field? The field is never filled with data. Thanks, Marek --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] MySQL Datasource configuration problem
Try changing the first occurence of "name" to "service" as follows. Not sure which version of JBoss they changed this in but it's always biting me because we run several versions. jboss.secur ity:service=JaasSecurityManager > optional-attribute-name="JaasSecurityManagerService">jboss.security:service= JaasSecurityManager > > ** This e-mail and any files transmitted with it may be confidential and may be legally privileged or otherwise exempt from disclosure under applicable law. This e-mail and its files are intended solely for the individual or entity to whom they are addressed and their content is the property of Smiths Aerospace. If you are not the intended recipient, please do not read, copy, use or disclose this communication. If you have received this e-mail in error please notify the e-mail administrator at [EMAIL PROTECTED] and then delete this e-mail, its files and any copies. This footnote also confirms that this e-mail message has been scanned for the presence of known computer viruses. Smiths addresses are changing! The new addresses are of the form [EMAIL PROTECTED] Please update your address books! Please begin using the new form immediately. *** --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
JBoss Administration Console [WAS: RE: [JBoss-user] Re: WANTED: Lead JBoss Developers
Please see this: http://www.jboss.org/forums/thread.jsp?forum=160&thread=26785 Anyone is welcome on this project, which will work hand-by-hand with the JSR-77 effort, from which many information and statistics will be taken. Consequently, the efforts need to be put in both the JSR-77 (re-)implementation and the implementation of plugins associated to the different resources that we want to manage (at both the J2EE- and System- level). If you want to participate, let's meet in the "Management on JBoss" forum! http://www.jboss.org/forums/forum.jsp?forum=160 Cheers, Sacha > -Message d'origine- > De : [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED]]De la part de Edgar Silva > Envoyé : mercredi, 15 janvier 2003 20:47 > À : [EMAIL PROTECTED] > Objet : [JBoss-user] Re: WANTED: Lead JBoss Developers > > > Hi > > Me and a group of friends, would like to develop a Console web-based to > JBoss. Not equals Jmx-console. > We wanna create a console where the user can be able to deploy files, > deplopy configurations, change descriptors, like console of other > comercial > Application Servers. > Hava one special project to this, where we can join...If thue > where can I > find addtional informations? > > Best Regards... > > Edgar > > > --- > This SF.NET email is sponsored by: A Thawte Code Signing Certificate > is essential in establishing user confidence by providing assurance of > authenticity and code integrity. Download our Free Code Signing guide: > http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.NET email is sponsored by: Thawte.com Understand how to protect your customers personal information by implementing SSL on your Apache Web Server. Click here to get our FREE Thawte Apache Guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0029en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] serious ejbql compiler problem
Title: serious ejbql compiler problem Jboss 3.0.4. 2 entities: StoreCategory and Partner. 2 relationships between them: 1) Partner - StoreCategory PartnerStoreCategoryRole One Partner storeCategories java.util.Collection StoreCategoryPartnerRole Many StoreCategory partnerOwner 2) Partners - StoreCategory PartnerStoreCategoryRole Many Partner categories java.util.Collection StoreCategoryPartnerRole Many StoreCategory partners java.util.Collection ejbql: SELECT OBJECT(c) FROM StoreCategory c, IN (c.partners) assignedPartner WHERE c.id=?1 AND (assignedPartner.id=?2 OR c.partnerOwner.id=?2) which should find specified StoreCategory participating EITHER in first relationship with specified Partner OR in second one or both. sql generated: SELECT t0_c.id FROM storecategory t0_c, partner t1_assignedpartner, partner_categories_stor_1cl2gdd t3_c_partners_RELATION_TABLE, partner t2_c_partnerOwner WHERE (t0_c.id = ? AND (t1_assignedpartner.id = ? OR t2_c_partnerOwner.id = ?)) AND (t0_c.partnerOwner=t2_c_partnerOwner.id AND t0_c.id=t3_c_partners_RELATION_TABLE.StoreCategory AND t1_assignedpartner.id=t3_c_partners_RELATION_TABLE.Partner) which does inner join of all three tables (StoreCategory, Partner and M-2-M relation table). So it will by definition select StoreCategories participating ONLY in BOTH relationships at the same time. Or maybe I missed something...
RE: [JBoss-user] Rollback Transaction
Title: RE: [JBoss-user] Rollback Transaction CreateException is "application" exception. They don't rollback transactions. You have to setRollbackOnly() on context. Container rolls back transaction only in case of EJBException. (not CreateException, strange, but maybe programer wants to throw CreateException and dont want to roll back the rest of transaction) -Original Message- From: bryan hansen [mailto:[EMAIL PROTECTED]] Sent: Thursday, January 16, 2003 12:03 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Rollback Transaction I am using JBoss 3.0.5RC1 on W2K box against a SQLServer 2000 database. I am calling two entities beans from a stateless session bean. The second entities throughs a CreateException. I was under the impression that since the method of a stateless session bean was held for the duration the transaction that the write from the first entity bean would have been rolled back as well as the write from the second entity bean. Neither was rolled back (I forced the exception for a test of the transactioning). I am missing something with the transaction engine or how this should function in general? I thought that if an exception was thrown it would rollback all transactions involved with that stateless session bean method? Or do I have something configured incorrectly with my JDBC datasource(SQLServer)? Should it be an XADatasource instead of a regular datasource? TIA, Bryan __ Do you Yahoo!? Yahoo! Mail Plus - Powerful. Affordable. Sign up now. http://mailplus.yahoo.com --- This SF.NET email is sponsored by: A Thawte Code Signing Certificate is essential in establishing user confidence by providing assurance of authenticity and code integrity. Download our Free Code Signing guide: http://ads.sourceforge.net/cgi-bin/redirect.pl?thaw0028en ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user