[JBoss-user] unsuscribe
Cheers, N Narayan Singh __ *CMC Ltd., VISIC Group, Gachibowli, Hyderabad- 500019 . *(o) 040-3000401 Ext: 2166. -Original Message- From: [EMAIL PROTECTED] [mailto:jboss-user-admin@;lists.sourceforge.net]On Behalf Of Michael Angelo Libio Sent: Thursday, November 14, 2002 6:29 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Help with EJB-QL through Multiple Relationships I'm trying to create a finder method that navigates through multiple related entities. Here's a quick setup of my beans (note: plurals return collections via the already established relationships) ClientBean: getClientRoles() getProjects() ClientRoles: getRole() getPerson() getClient() ProjectBean getProjectRoles() getProject() ProjectRoleBean getRole() getPerson() getProject() Person getProjectRoles() getClientRoles() Role getProjectRoles() getClientRoles() Basically, what I want to do is find all those Clients, for a specific Person where the Person's role exist in the Person<->ClientRole<->Client relationships. Simple enough, but now, I need to also include those Clients that exist in Person<->ProjectRole<->Project<->Client relationship. Here's the EJB-QL I came up with: SELECT DISTINCT(c) FROM Client As c, IN (c.clientRoles) AS cr, IN (c.projects) AS p, IN (p.projectRoles) AS pr WHERE cr.person = ?1 OR pr.person = ?1 Obviously, this didn't work when I deployed it. I got an "Error compiling ejbql" message. I'm not asking for anyone to write my code for me; just to get me on the right track. Any help would be greatly appreciated...I couldn't find any good examples from the web. So, if anyone knows of a good resource (book, url, etc.) let me know. Thanks again! _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Initial release of xPetStore, an implementation of PetStore usingxDoclet
I've just released an initial version of xPetStore. xPetStore is a subset of Sun Pet Store application that uses xDoclet With xPetStore, you will learn: * How to create EntityBeans (with local and remote interfaces) * How to create SessionBeans (with local and remote interfaces) * How to create MessageDrivenBeans * How to use CMP 2.0, EJBQL and CMR * Generate deployment descriptor for different vendors For the moment, xPetStore works very well with JBoss. Im working hard to port it to JRun, but I'm having hard time to do it because JRun template files are out to date and I'm not a JRun guru. Any JRun guru here? your help is more than welcome. For other app server (websphere,weblogic,iplanet,pramati etc.), help would be more than welcomed! If there is interest in this project, would it be possible to add it into xDoclet distro as example app? Get it at http://www3.sympatico.ca/htchepannou -- Herve Tchepannou mailto:htchepannou@;sympatico.ca --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Help with EJB-QL through Multiple Relationships
I'm trying to create a finder method that navigates through multiple related entities. Here's a quick setup of my beans (note: plurals return collections via the already established relationships) ClientBean: getClientRoles() getProjects() ClientRoles: getRole() getPerson() getClient() ProjectBean getProjectRoles() getProject() ProjectRoleBean getRole() getPerson() getProject() Person getProjectRoles() getClientRoles() Role getProjectRoles() getClientRoles() Basically, what I want to do is find all those Clients, for a specific Person where the Person's role exist in the Person<->ClientRole<->Client relationships. Simple enough, but now, I need to also include those Clients that exist in Person<->ProjectRole<->Project<->Client relationship. Here's the EJB-QL I came up with: SELECT DISTINCT(c) FROM Client As c, IN (c.clientRoles) AS cr, IN (c.projects) AS p, IN (p.projectRoles) AS pr WHERE cr.person = ?1 OR pr.person = ?1 Obviously, this didn't work when I deployed it. I got an "Error compiling ejbql" message. I'm not asking for anyone to write my code for me; just to get me on the right track. Any help would be greatly appreciated...I couldn't find any good examples from the web. So, if anyone knows of a good resource (book, url, etc.) let me know. Thanks again! _ The new MSN 8: smart spam protection and 2 months FREE* http://join.msn.com/?page=features/junkmail --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Lookup MBean
Peter, For use in your apps, the correct way is to get a reference to the MBeanServer and invoke methods on the MBean by passing object name, method name, method signature stuff to MBeanServer ref. #1 for use when the calling code is running in same JVM as MBeanServer: This is some simple code I wrote to access one of my own MBean from a servlet: public class FileSystem { public static void deleteFilesFromDirectory (String path, String[] excludedExtentions) { try { Object[] args = new Object[2]; args[0] = path; args[1] = excludedExtentions; String[] argClasses = new String[2]; argClasses[0] = "java.lang.String"; argClasses[1] = "java.lang.String[]"; getServer().invoke (getObjectName(), "deleteFilesFromDirectory", args, argClasses); } catch (Exception ex) { } } private static ObjectName getObjectName () throws Exception { return new ObjectName ("Tes:service=FileSystemService"); } private static MBeanServer getServer () throws Exception { return (MBeanServer)MBeanServerFactory.findMBeanServer(null).iterator().next(); } } #2 for use when the calling code is running in a different JVM from the MBeanServer This is an example I wrote to access MBean from main. public class Client { public static void main (String[] args) throws Exception { try { // Set up jndi properties Properties props = new Properties(); props.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); props.put(Context.URL_PKG_PREFIXES, "org.jboss.naming:org.jnp.interfaces"); props.put(Context.PROVIDER_URL, "jnp://localhost:1099"); InitialContext ctx = new InitialContext(props); System.out.println ("Got context"); // Retrieve the RMI adaptor, can see this in jmx console Object obj = ctx.lookup("jmx::rmi"); System.out.println ("Got RMI Adapter"); ctx.close(); // Wrap it in a connector RemoteMBeanServer server = new RMIConnectorImpl((RMIAdaptor)obj); // add your code here to call invoke method on server just like above. } catch (Exception ex) { ex.printStackTrace(); } } } #3 for calling simple methods on MBeanServer from html. See implementation of jmx-console. Hope this helps. Greg Luttrell, Peter wrote: I have a custom JMX MBean. What is the 'correct' way to look it up for use in my apps (webapps if it matters)? I know i could manually bind it the jndi tree, or create a singleton like accessor method, but what is considered the 'correct' way to access the bean? thanks. .peter This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us. -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543
RE: [JBoss-user] Open File limit under linux with BASH 2.05
Thanks again Chris, Make sure you are using pam_limits.so (from Mahmood@suse). Thanks again. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 -Original Message- From: Chris Bonham [mailto:bonhamcm@;thirdeyeconsulting.com] Sent: Wednesday, November 13, 2002 3:37 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Open File limit under linux with BASH 2.05 Sorry, I forgot about that. You can change those limits in /etc/security/limits.conf for non-root users: Snippet: /etc/security/limits.conf --- * softnofile 1024 * hardnofile 8192 # End of file [root@test root]# su jboss bash-2.05a$ ulimit -n 1024 bash-2.05a$ ulimit -n 8192 bash-2.05a$ ulimit -n 8192 -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) Quoting Jonathan Cowherd ([EMAIL PROTECTED]): > Thanks Chris, > > ulimit -n 8192 only works if you are root. We've ran a script that > counted the file descriptors for the processes owned by our jboss user > and came up with a number like 9,100. So I don't know if bash counts > unique files descriptor or all of them when we get the too many files > open IOException. > > Jonathan Paul Cowherd > Linux and Java Administrator > Genscape, Inc. > Email: [EMAIL PROTECTED] > Office: (502) 583-3730 > Mobile: (502) 314-0444 > > > > -Original Message- > From: Chris Bonham [mailto:bonhamcm@;thirdeyeconsulting.com] > Sent: Wednesday, November 13, 2002 2:29 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Open File limit under linux with BASH 2.05 > > > Every open socket is also considered an open file under Linux. You > should be able to see the open files for a process under > /proc//fd. You can increase your ulimit (per shell) as well: > > ulimit -n 8192 > > Also, since the Linux pthreads implementation is mapped 1-1 (and Sun's > JDK is dynamically linked to this), every thread is also a process > that shares the file descriptors and data with the child processes. > That means you'll possibly see the same files under /proc/1000/fd and > /proc/1001/fd given processes 1000 and 1001 are mapped to Java > threads. > > -- > Chris Bonham > President/CEO > Third Eye Consulting, Inc. > [EMAIL PROTECTED] http://www.thirdeyeconsulting.com > 317.823.3686 317.823.0353 (FAX) > > > Quoting Jonathan Cowherd ([EMAIL PROTECTED]): > > We use Jboss-2.4.7_Jetty-4.0.4 and Sun's JDK 1.3.1_06 . > > > > We deploy multiple jboss instances under a user account and we are > > hitting a too many open files exception. ulimit -a shows our file > > limit to be 1024. We would be surprised if we would be getting close > > to this limit (no X server running, etc). Is there a JVM limitation > > or something within Jboss's implementation that would determine that? > > Is there an easy way to determine the number of files the JVM has > > open? > > > > Jonathan Paul Cowherd > > Linux and Java Administrator > > Genscape, Inc. > > Email: [EMAIL PROTECTED] > > Office: (502) 583-3730 > > Mobile: (502) 314-0444 > > > > > > > > --- > > This sf.net email is sponsored by: Are you worried about your web > > server security? Click here for a FREE Thawte Apache SSL Guide and > > answer your Apache SSL security > > needs: http://www.gothawte.com/rd523.html > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lis
Re: [JBoss-user] forum search not working?
I can't seem to get any results back either. Tried searching for 'commit B update' then 'commit B' then 'commit' then just 'java'. I've tried Konqueror and Mozilla. > I've tried both Konqueror and Netscape doing searches in the forums and > never get anything back. I browsed the installation and config forum.. > noted xalan mentioned and then searched for xalan in that forum. Nothing > returned. I'm logged in as user cleary. What gives? > > James --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Lookup MBean
I have a custom JMX MBean. What is the 'correct' way to look it up for use in my apps (webapps if it matters)? I know i could manually bind it the jndi tree, or create a singleton like accessor method, but what is considered the 'correct' way to access the bean? thanks. .peter This transmission contains information solely for intended recipient and may be privileged, confidential and/or otherwise protect from disclosure. If you are not the intended recipient, please contact the sender and delete all copies of this transmission. This message and/or the materials contained herein are not an offer to sell, or a solicitation of an offer to buy, any securities or other instruments. The information has been obtained or derived from sources believed by us to be reliable, but we do not represent that it is accurate or complete. Any opinions or estimates contained in this information constitute our judgment as of this date and are subject to change without notice. Any information you share with us will be used in the operation of our business, and we do not request and do not want any material, nonpublic information. Absent an express prior written agreement, we are not agreeing to treat any information confidentially and will use any and all information and reserve the right to publish or disclose any information you share with us.
Re: [JBoss-user] Open File limit under linux with BASH 2.05
Sorry, I forgot about that. You can change those limits in /etc/security/limits.conf for non-root users: Snippet: /etc/security/limits.conf --- * softnofile 1024 * hardnofile 8192 # End of file [root@test root]# su jboss bash-2.05a$ ulimit -n 1024 bash-2.05a$ ulimit -n 8192 bash-2.05a$ ulimit -n 8192 -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) Quoting Jonathan Cowherd ([EMAIL PROTECTED]): > Thanks Chris, > > ulimit -n 8192 only works if you are root. We've ran a script that > counted the file descriptors for the processes owned by our jboss user and > came up with a number like 9,100. So I don't know if bash counts unique > files descriptor or all of them when we get the too many files open > IOException. > > Jonathan Paul Cowherd > Linux and Java Administrator > Genscape, Inc. > Email: [EMAIL PROTECTED] > Office: (502) 583-3730 > Mobile: (502) 314-0444 > > > > -Original Message- > From: Chris Bonham [mailto:bonhamcm@;thirdeyeconsulting.com] > Sent: Wednesday, November 13, 2002 2:29 PM > To: [EMAIL PROTECTED] > Subject: Re: [JBoss-user] Open File limit under linux with BASH 2.05 > > > Every open socket is also considered an open file under Linux. You should > be able to see the open files for a process under /proc//fd. You can > increase your ulimit (per shell) as well: > > ulimit -n 8192 > > Also, since the Linux pthreads implementation is mapped 1-1 (and Sun's JDK > is dynamically linked to this), every thread is also a process that shares > the file descriptors and data with the child processes. That means you'll > possibly see the same files under /proc/1000/fd and /proc/1001/fd given > processes 1000 and 1001 are mapped to Java threads. > > -- > Chris Bonham > President/CEO > Third Eye Consulting, Inc. > [EMAIL PROTECTED] http://www.thirdeyeconsulting.com > 317.823.3686 317.823.0353 (FAX) > > > Quoting Jonathan Cowherd ([EMAIL PROTECTED]): > > We use Jboss-2.4.7_Jetty-4.0.4 and Sun's JDK 1.3.1_06 . > > > > We deploy multiple jboss instances under a user account and we are > > hitting a too many open files exception. ulimit -a shows our file > > limit to be 1024. We would be surprised if we would be getting close > > to this limit (no X server running, etc). Is there a JVM limitation > > or something within Jboss's implementation that would determine that? > > Is there an easy way to determine the number of files the JVM has > > open? > > > > Jonathan Paul Cowherd > > Linux and Java Administrator > > Genscape, Inc. > > Email: [EMAIL PROTECTED] > > Office: (502) 583-3730 > > Mobile: (502) 314-0444 > > > > > > > > --- > > This sf.net email is sponsored by: Are you worried about > > your web server security? Click here for a FREE Thawte > > Apache SSL Guide and answer your Apache SSL security > > needs: http://www.gothawte.com/rd523.html > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] How to access datasource at java:whatever from another thread?
this kind of problem often is a result of having a jndi.properties file that directs jndi lookups through tcp/ip availiable to the servlet's classloader. Check your packages and remove any such files. david jencks On 2002.11.13 11:13:08 -0500 Colin Sampaleanu wrote: > The original scenario (not written by me), was that a startup servlet > called a session EJB which started Quartz, then Quartz started jobs from > a pool of threads (I know this is theoretically not kosher since EJBs > are not supposed to do thread management). One of these jobs then tried > to access JNDI. > > However, I have verified that even in the startup servlet (using Jetty > as the web container), I am able to load a context in the global > namespace, e.g. > Context cx = (Context) ic0.lookup("/queue"); > works, but I am unable to load any contexts or objects in the java: > namespace, e.g > Context cx = (Context) ic0.lookup("java:/jdbc"); > DataSourcet ds0 = (Context) ic0.lookup("java:/DefautlDS"); > Both of the latter fail with an exception that the name is not bound. I > can see the binding are ok using the JNDI lister. > > I have tried using both the defualt InitialContext (new > InitialContext()), and also one with jboss specific (jnp) settings, > h.put(Context.INITIAL_CONTEXT_FACTORY, > "org.jnp.interfaces.NamingContextFactory"); > h.put(Context.URL_PKG_PREFIXES, "org.jboss.naming;"); > with the same results. > > I've also verified that the 'Java2ClassLoadingCompliance' value is set > to true... > > Colin > > > Scott M Stark wrote: > > >The java: namespace is not associated with threads, its associated with > >a class loader. The context in which the lookup of the java: context > >occurs must have a thread context class loader with a class loader > >from the JBoss. > > > > > >Scott Stark > >Chief Technology Officer > >JBoss Group, LLC > > > > > >- Original Message - > >From: "Colin Sampaleanu" <[EMAIL PROTECTED]> > >To: <[EMAIL PROTECTED]> > >Sent: Tuesday, November 12, 2002 7:55 PM > >Subject: [JBoss-user] How to access datasource at java:whatever from > another thread? > > > > > > > > > >>I am binding a datasource using oracle-service.xml, which uses > >>RarDeployment to bind the datasource to JNDI using the 'java:' > >>namespace. Unfortuntately I have an issue accessing this from a thread > >>started by a Quartz scheduled job, presumably because items in the > java: > >>namespace are thread specific, and the quartz started thread doesn't > >>have a copy. > >> > >>My jndi name is 'jdbc/Certification', so it being bound as > >>'java:jdbc/Certification', and I can verify this by using the JNDI > >>viewer in the jmx-conxole. I presume that EJBs are able to access this > >>namespace because it is copied for them on deployment, but when Quartz > >>creates the new thread, that thread is not created by the container, so > > >>doesn't get a copy of the java: namespace, and can access only the > >>global namespace. > >> > >>Am I missing somehting? Is there any way to access this namespace from > >>other threads, or bind the datasource such that I can get at it? Any > >>info is much appreciated. > >> > >>Regards, > >> > >>Colin > >> > >> > > > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] [MainDeployer] deployment waiting for deployer: What does it mean?
Jdom comes with most if not all 3+ jboss versions. If you want to deploy another copy yourself, and deal with the many possible duplicate class/classloader issues, which are apt to make your usage fail completely, remove the META-INF/*.xml file from jdom.jar which is confusing the jboss deployment system. david jencks On 2002.11.13 13:25:49 -0500 Ed Saikali wrote: > I have jdom and a bunch of other files in a .ear all the .jar files in > there deploy fine except for JDOM, I always get his error > > 13:20:40,944 INFO [MainDeployer] deployment waiting for deployer: > file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar > 13:20:40,954 INFO [MainDeployer] Deployment of package: > file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar is waiting for a > n appropriate deployer. > > Any idea what this error means? > > Thanks Ed > > P.S. Then at the very end I get the following ERROR message > > 13:20:51,149 ERROR [URLDeploymentScanner] MBeanException: Exception in > MBean operation 'checkIncompleteDeployments()' > Cause: Incomplete Deployment listing: > Packages waiting for a deployer: > [org.jboss.deployment.DeploymentInfo@beb2616 { > url=file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar } > deployer: null > status: Starting > state: START_SUBDEPLOYMENTS > watch: file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar > lastDeployed: 1037211641895 > lastModified: 1037211640924 > mbeans: > , org.jboss.deployment.DeploymentInfo@beb2616 { > url=file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar } > deployer: null > status: Starting > state: START_SUBDEPLOYMENTS > watch: file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar > lastDeployed: 1037211641895 > lastModified: 1037211640924 > mbeans: > , org.jboss.deployment.DeploymentInfo@beb2616 { > url=file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar } > deployer: null > status: Starting > state: START_SUBDEPLOYMENTS > watch: file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar > lastDeployed: 1037211641965 > lastModified: 1037211641935 > mbeans: > , org.jboss.deployment.DeploymentInfo@beb2616 { > url=file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar } > deployer: null > status: Starting > state: START_SUBDEPLOYMENTS > watch: file:/S:/jboss/server/owp/deploy/owp.ear/jdom.jar > lastDeployed: 1037211641965 > lastModified: 1037211641935 > mbeans: > ]Incompletely deployed packages: > > MBeans waiting for classes: > > MBeans waiting for other MBeans: > > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Open File limit under linux with BASH 2.05
Right, We can increase that number with cat 16384 > /proc/sys/fs/file-max in a script in rc.3 & rc.5 . Thanks for the heads up. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 -Original Message- From: Lucas McGregor [mailto:LMcGregor@;novalogic.com] Sent: Wednesday, November 13, 2002 2:51 PM To: '[EMAIL PROTECTED]' Subject: RE: [JBoss-user] Open File limit under linux with BASH 2.05 You should also be aware that the kernel will have a max limit of open files per process. I use Solaris, so I don't know the linux kernel parameter off of the top of my head, but under solaris we have to include the following in out /etc/system file: * THIS SETS THE MAX NUMBER OF FILE OPEN BY A PROCESS set rlim_fd_max=8192 * THIS SETS THE DEFAULT MAX FILE OPEN BY A PROCESS set rlim_fd_cur=4096 Because if you set your ulimit -n 8192, and your rlim_fd_max is only 4096, solaris will fail silently. Lucas McGregor([EMAIL PROTECTED]) NovaWorld Software Architect NovaWorld: To Connect and Serve! -Original Message- From: Jonathan Cowherd [mailto:jonathan.cowherd@;genscape.com] Sent: Wednesday, November 13, 2002 10:58 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Open File limit under linux with BASH 2.05 We use Jboss-2.4.7_Jetty-4.0.4 and Sun's JDK 1.3.1_06 . We deploy multiple jboss instances under a user account and we are hitting a too many open files exception. ulimit -a shows our file limit to be 1024. We would be surprised if we would be getting close to this limit (no X server running, etc). Is there a JVM limitation or something within Jboss's implementation that would determine that? Is there an easy way to determine the number of files the JVM has open? Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Open File limit under linux with BASH 2.05
Thanks Chris, ulimit -n 8192 only works if you are root. We've ran a script that counted the file descriptors for the processes owned by our jboss user and came up with a number like 9,100. So I don't know if bash counts unique files descriptor or all of them when we get the too many files open IOException. Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 -Original Message- From: Chris Bonham [mailto:bonhamcm@;thirdeyeconsulting.com] Sent: Wednesday, November 13, 2002 2:29 PM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Open File limit under linux with BASH 2.05 Every open socket is also considered an open file under Linux. You should be able to see the open files for a process under /proc//fd. You can increase your ulimit (per shell) as well: ulimit -n 8192 Also, since the Linux pthreads implementation is mapped 1-1 (and Sun's JDK is dynamically linked to this), every thread is also a process that shares the file descriptors and data with the child processes. That means you'll possibly see the same files under /proc/1000/fd and /proc/1001/fd given processes 1000 and 1001 are mapped to Java threads. -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) Quoting Jonathan Cowherd ([EMAIL PROTECTED]): > We use Jboss-2.4.7_Jetty-4.0.4 and Sun's JDK 1.3.1_06 . > > We deploy multiple jboss instances under a user account and we are > hitting a too many open files exception. ulimit -a shows our file > limit to be 1024. We would be surprised if we would be getting close > to this limit (no X server running, etc). Is there a JVM limitation > or something within Jboss's implementation that would determine that? > Is there an easy way to determine the number of files the JVM has > open? > > Jonathan Paul Cowherd > Linux and Java Administrator > Genscape, Inc. > Email: [EMAIL PROTECTED] > Office: (502) 583-3730 > Mobile: (502) 314-0444 > > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Open File limit under linux with BASH 2.05
You should also be aware that the kernel will have a max limit of open files per process. I use Solaris, so I don't know the linux kernel parameter off of the top of my head, but under solaris we have to include the following in out /etc/system file: * THIS SETS THE MAX NUMBER OF FILE OPEN BY A PROCESS set rlim_fd_max=8192 * THIS SETS THE DEFAULT MAX FILE OPEN BY A PROCESS set rlim_fd_cur=4096 Because if you set your ulimit -n 8192, and your rlim_fd_max is only 4096, solaris will fail silently. Lucas McGregor([EMAIL PROTECTED]) NovaWorld Software Architect NovaWorld: To Connect and Serve! -Original Message- From: Jonathan Cowherd [mailto:jonathan.cowherd@;genscape.com] Sent: Wednesday, November 13, 2002 10:58 AM To: '[EMAIL PROTECTED]' Subject: [JBoss-user] Open File limit under linux with BASH 2.05 We use Jboss-2.4.7_Jetty-4.0.4 and Sun's JDK 1.3.1_06 . We deploy multiple jboss instances under a user account and we are hitting a too many open files exception. ulimit -a shows our file limit to be 1024. We would be surprised if we would be getting close to this limit (no X server running, etc). Is there a JVM limitation or something within Jboss's implementation that would determine that? Is there an easy way to determine the number of files the JVM has open? Jonathan Paul Cowherd Linux and Java Administrator Genscape, Inc. Email: [EMAIL PROTECTED] Office: (502) 583-3730 Mobile: (502) 314-0444 --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Open File limit under linux with BASH 2.05
Every open socket is also considered an open file under Linux. You should be able to see the open files for a process under /proc//fd. You can increase your ulimit (per shell) as well: ulimit -n 8192 Also, since the Linux pthreads implementation is mapped 1-1 (and Sun's JDK is dynamically linked to this), every thread is also a process that shares the file descriptors and data with the child processes. That means you'll possibly see the same files under /proc/1000/fd and /proc/1001/fd given processes 1000 and 1001 are mapped to Java threads. -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) Quoting Jonathan Cowherd ([EMAIL PROTECTED]): > We use Jboss-2.4.7_Jetty-4.0.4 and Sun's JDK 1.3.1_06 . > > We deploy multiple jboss instances under a user account and we are hitting a > too many open files exception. ulimit -a shows our file limit to be 1024. > We would be surprised if we would be getting close to this limit (no X > server running, etc). Is there a JVM limitation or something within Jboss's > implementation that would determine that? Is there an easy way to determine > the number of files the JVM has open? > > Jonathan Paul Cowherd > Linux and Java Administrator > Genscape, Inc. > Email: [EMAIL PROTECTED] > Office: (502) 583-3730 > Mobile: (502) 314-0444 > > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Performance issue while adding to a EJB 2.0 relation - JBoss version: 3.0.2
FYI for those following this thread: I finally had time to create a simple testcase and file a bug report (637934). Thanks. -- Chris Bonham President/CEO Third Eye Consulting, Inc. [EMAIL PROTECTED] http://www.thirdeyeconsulting.com 317.823.3686 317.823.0353 (FAX) Quoting Dain Sundstrom ([EMAIL PROTECTED]): > Chris Bonham wrote: > > I'm running JBoss 3.2.0beta with Dain's Unidirectional performance > > patch, Sun JDK 1.3.1_03 on both Win2K and RedHat Linux 7.3, plus > > XDoclet 1.2.0beta. > > > > I have two local CMP entity beans with this relationship: > > > > SelectedBowComponent (M) -> (1) BowComponent > > > > When I create a new SelectedBowComponent, the read ahead cache adds > > the relation SelectedBowComponent_bowComponent. Then, that > > BowComponent tries to load up all SelectedBowComponents that's it's > > related to. Since this is a unidirectional relationship, that > > relationship will never be traversed, so why is the data put in the > > cache or is that a bug? I wouldn't have noticed this problem except > > for the BowComponent the new SelectedBowComponent points to is also > > pointed to by 30 rows! So, depending on memory settings, the > > read ahead cache insertion process either runs out of memory or the > > transaction times out. I've attached code snippets below. > > Directionally of relationships has no effect on the code; it is just a > matter of convince for designers. With the performance patch you > mention above, I make sure to not load relationships unless absolutely > necessary for referential integrity, so what you are seeing is a bug. > Please, file a bug report with a simple test case (Order-LineItem) that > reproduces the error. > > -dain > > > > --- > This sf.net email is sponsored by: See the NEW Palm > Tungsten T handheld. Power & Color in a compact size! > http://ads.sourceforge.net/cgi-bin/redirect.pl?palm0001en > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Better exception logging (Was: TX Bug: Transacti on failure not passed back to the client)
> > We really can't use the 1.4 exception class because we need > > to support > > 1.3 for a long time. > > > > -dain > > At my place, we write exception classes patterned after the > changes to SDK 1.4.x so that we can use them in either 1.3.x > or 1.4.x. We based our work on Item 43 of Joshua Bloch's > _Effective Java_. You just need to support the constructors > that take a cause as a parameter and add a getCause() method. > I will create an example or find an existing one and send it > along later. Here is the example that I promised. Let me know if it works for you. Also, have a look at the documentation for java.lang.Throwable (http://java.sun.com/j2se/1.4.1/docs/api/java/lang/Throwable.html) in SDK 1.4.x. /** * Implements an exception to describe an invalid LoadPlan, one * that contains a LoadPlanItem that lacks a primary key physical * list. * * @author mailto:cdemyanovich@;apogent.com">Craig Demyanovich */ public class InvalidLoadPlanException extends Exception { /** The cause of this exception. */ private Throwable cause; /** * Constructor for InvalidLoadPlanException. */ public InvalidLoadPlanException() { super(); } /** * Constructor for InvalidLoadPlanException. * * @param message Provides extra detail about this exception */ public InvalidLoadPlanException(String message) { super(message); } /** * Constructor for InvalidLoadPlanException. * * @param message Provides extra detail about this exception * @param cause Indicates the cause of this exception */ public InvalidLoadPlanException(String message, Throwable cause) { this(message); this.cause = cause; } /** * Constructor for InvalidLoadPlanException. * * @param cause Indicates the cause of this exception */ public InvalidLoadPlanException(Throwable cause) { this(cause == null ? null : cause.toString()); this.cause = cause; } /** * Return the cause of this exception. * * @return the cause of this exception */ public Throwable getCause() { return cause; } /** * Print our stack trace and the stack trace of our cause, if we have one. */ public void printStackTrace() { super.printStackTrace(); if(cause != null) { System.err.println("Caused by: "); cause.printStackTrace(); } } } --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)
On ons, 2002-11-13 at 16:12, Dain Sundstrom wrote: > That shouldn't be to hard once we add support for sub queries, but > unless it is supported by most of the major vendors >(postgres, Supported (ref. help in last post) > oracle, Supported:http://www.cs.uwindsor.ca/meta-index/courses/95F/60-315/temp/combine.html > ms, Supported with EXISTS: http://www.schemamania.org/jkl/booksonline/SQLBOL70/html/2_005_27.htm > ibm), Supported: http://www-3.ibm.com/cgi-bin/db2www/data/db2/udb/winos2unix/support/document.d2w/report?fn=db2v7y0db2y040.htm > it wouldn't be worth the work. So, should I add a feature request? > > -dain > > [EMAIL PROTECTED] wrote: > > On Tue, Nov 12, 2002 at 04:53:28PM -0600, Dain Sundstrom wrote: > > > >>What is an INTERSECTION query? > > > >>From postgresql-help: > > > > Syntax: > > SELECT [ ALL | DISTINCT [ ON ( expression [, ...] ) ] ] > > * | expression [ AS output_name ] [, ...] > > [ FROM from_item [, ...] ] > > [ WHERE condition ] > > [ GROUP BY expression [, ...] ] > > [ HAVING condition [, ...] ] > > ***[ { UNION | INTERSECT | EXCEPT [ ALL ] } select ] *** > > [ ORDER BY expression [ ASC | DESC | USING operator ] [, ...] ] > > [ FOR UPDATE [ OF tablename [, ...] ] ] > > [ LIMIT { count | ALL } [ { OFFSET | , } start ]] > > > > I think it is used like: > > SELECT personID from persondata where datatype=1 AND value="ln1" > > INTERSECT > > SELECT personID from persondata where datatype=2 AND value="ln2" > > > > finds the persons registered with ln1 as datatype 1 and ln2 as datatype 2. > > > > I think the obvious solution "SELECT personID from persondata where (datatype=1 >AND value=ln1") AND (datatype=2 AND value="ln2") doesn't work, as it compares one and >one row. > > > > In this table, personID isn't unique. > > > > > >> Is it widely supported? > > > > I suppose so in the major DBs, if it isn't a simpler solution to this problem >(using just one SQL statement). > > > > In addition UNION and EXCEPT should be implemented (if these are not possible to >work around). > > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] How to access datasource at java:whatever from anotherthread?
The original scenario (not written by me), was that a startup servlet called a session EJB which started Quartz, then Quartz started jobs from a pool of threads (I know this is theoretically not kosher since EJBs are not supposed to do thread management). One of these jobs then tried to access JNDI. However, I have verified that even in the startup servlet (using Jetty as the web container), I am able to load a context in the global namespace, e.g. Context cx = (Context) ic0.lookup("/queue"); works, but I am unable to load any contexts or objects in the java: namespace, e.g Context cx = (Context) ic0.lookup("java:/jdbc"); DataSourcet ds0 = (Context) ic0.lookup("java:/DefautlDS"); Both of the latter fail with an exception that the name is not bound. I can see the binding are ok using the JNDI lister. I have tried using both the defualt InitialContext (new InitialContext()), and also one with jboss specific (jnp) settings, h.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); h.put(Context.URL_PKG_PREFIXES, "org.jboss.naming;"); with the same results. I've also verified that the 'Java2ClassLoadingCompliance' value is set to true... Colin Scott M Stark wrote: The java: namespace is not associated with threads, its associated with a class loader. The context in which the lookup of the java: context occurs must have a thread context class loader with a class loader from the JBoss. Scott Stark Chief Technology Officer JBoss Group, LLC - Original Message - From: "Colin Sampaleanu" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Sent: Tuesday, November 12, 2002 7:55 PM Subject: [JBoss-user] How to access datasource at java:whatever from another thread? I am binding a datasource using oracle-service.xml, which uses RarDeployment to bind the datasource to JNDI using the 'java:' namespace. Unfortuntately I have an issue accessing this from a thread started by a Quartz scheduled job, presumably because items in the java: namespace are thread specific, and the quartz started thread doesn't have a copy. My jndi name is 'jdbc/Certification', so it being bound as 'java:jdbc/Certification', and I can verify this by using the JNDI viewer in the jmx-conxole. I presume that EJBs are able to access this namespace because it is copied for them on deployment, but when Quartz creates the new thread, that thread is not created by the container, so doesn't get a copy of the java: namespace, and can access only the global namespace. Am I missing somehting? Is there any way to access this namespace from other threads, or bind the datasource such that I can get at it? Any info is much appreciated. Regards, Colin --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss, cmp and external application
Marcin Gryszkalis wrote: Hi I have read-only CMP bean, it uses a table updated by external perl application. I don't use any transaction attributes. The problem is that CMP can't see the external changes. I tried all commit-option values (ABCD) in standardjboss.xml but without success. How should I do this? Oh - mistake, I mean - I set up transaction attribute for this bean (all methods): Required regards marcin --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] delphi client to jboss through iiop
Have anyone used iiop to access jboss from a delphi client? -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)
Don't know who supports it, but it is standard sql-92 (intermed level, not entry) david jencks On 2002.11.13 10:12:35 -0500 Dain Sundstrom wrote: > That shouldn't be to hard once we add support for sub queries, but > unless it is supported by most of the major vendors (postgres, oracle, > ms, ibm), it wouldn't be worth the work. > > -dain > > [EMAIL PROTECTED] wrote: > > On Tue, Nov 12, 2002 at 04:53:28PM -0600, Dain Sundstrom wrote: > > > >>What is an INTERSECTION query? > > > >>From postgresql-help: > > > > Syntax: > > SELECT [ ALL | DISTINCT [ ON ( expression [, ...] ) ] ] > > * | expression [ AS output_name ] [, ...] > > [ FROM from_item [, ...] ] > > [ WHERE condition ] > > [ GROUP BY expression [, ...] ] > > [ HAVING condition [, ...] ] > > ***[ { UNION | INTERSECT | EXCEPT [ ALL ] } select ] *** > > [ ORDER BY expression [ ASC | DESC | USING operator ] [, ...] ] > > [ FOR UPDATE [ OF tablename [, ...] ] ] > > [ LIMIT { count | ALL } [ { OFFSET | , } start ]] > > > > I think it is used like: > > SELECT personID from persondata where datatype=1 AND value="ln1" > > INTERSECT > > SELECT personID from persondata where datatype=2 AND value="ln2" > > > > finds the persons registered with ln1 as datatype 1 and ln2 as datatype > 2. > > > > I think the obvious solution "SELECT personID from persondata where > (datatype=1 AND value=ln1") AND (datatype=2 AND value="ln2") doesn't > work, as it compares one and one row. > > > > In this table, personID isn't unique. > > > > > >> Is it widely supported? > > > > I suppose so in the major DBs, if it isn't a simpler solution to this > problem (using just one SQL statement). > > > > In addition UNION and EXCEPT should be implemented (if these are not > possible to work around). > > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problem with 2.4.9 and Oracle XA connection
We have jboss 2.4.9 in production enviroment with oracle 8.1.7 (jdbc from oracle classes13.zip) I setted it up to use XA connection. It works fine, but sometimes I get this erorr, when I'm calling a getConnection on my DataSource. Any idea? Thanks in advance for your time. Stefano - [17:28:42,657,XAConnectionFactory] Unable to register with TransactionManager java.lang.IllegalStateException: Already started committing. at org.jboss.tm.TxCapsule.enlistResource(TxCapsule.java:567) at org.jboss.tm.TransactionImpl.enlistResource(TransactionImpl.java:102) at org.jboss.pool.jdbc.xa.XAConnectionFactory.prepareObject(XAConnectionFactory.java:369) at org.jboss.pool.ObjectPool.getObject(ObjectPool.java:676) at org.jboss.pool.jdbc.xa.XAPoolDataSource.getConnection(XAPoolDataSource.java:258) at it.lince.deoas.singletons.ServiceLocator.getConnectionStandardDS(ServiceLocator.java:143) at it.lince.deoas.dao.DeOASDAO.openConnection(DeOASDAO.java:97) at it.lince.deoas.dao.DeOASDAO.(DeOASDAO.java:85) at it.lince.deoas.sessionControllerNoState.SessionControllerNoStateBean.cercaAzienda(SessionControllerNoStateBean.java:347) at sun.reflect.GeneratedMethodAccessor62.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:542) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:82) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeNext(TxInterceptorCMT.java:138) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:347) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:100) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:127) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:170) at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:286) at org.jboss.ejb.plugins.jrmp.server.JRMPContainerInvoker.invoke(JRMPContainerInvoker.java:506) at org.jboss.ejb.plugins.jrmp.interfaces.GenericProxy.invokeContainer(GenericProxy.java:335) at org.jboss.ejb.plugins.jrmp.interfaces.StatelessSessionProxy.invoke(StatelessSessionProxy.java:123) at $Proxy281.cercaAzienda(Unknown Source) at it.lince.deoas.servlets.RicercaServlet.performAction(RicercaServlet.java:55) at it.lince.deoas.abstractClass.AbstractServletNoState.doGet(AbstractServletNoState.java:170) at javax.servlet.http.HttpServlet.service(HttpServlet.java:740) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:243) at org.apache.catalina.core.StandardPipeline.invokeNext(StandardPipeline.java:566) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.jav --- all work and no play makes Jack a dull boy --- bye Stefano [EMAIL PROTECTED] www.javalinux.it MSN messanger: [EMAIL PROTECTED] ICQ uin: 122192578 #jedit IRC channel as
[JBoss-user] corba authentication
How do I authenticate a non-java client at a stateless-sessionbean using JAAS jboss ldap. -- | Emerson Cargnin | | Analista de Sistemas Sr. | | Tel : (051) 3358-4959| | SICREDI Serviços | | Porto Alegre - Brasil| |xx| --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss, cmp and external application
Hi I have read-only CMP bean, it uses a table updated by external perl application. I don't use any transaction attributes. The problem is that CMP can't see the external changes. I tried all commit-option values (ABCD) in standardjboss.xml but without success. How should I do this? regards --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity Bean Performance Tuning Help (intersection)
That shouldn't be to hard once we add support for sub queries, but unless it is supported by most of the major vendors (postgres, oracle, ms, ibm), it wouldn't be worth the work. -dain [EMAIL PROTECTED] wrote: On Tue, Nov 12, 2002 at 04:53:28PM -0600, Dain Sundstrom wrote: What is an INTERSECTION query? From postgresql-help: Syntax: SELECT [ ALL | DISTINCT [ ON ( expression [, ...] ) ] ] * | expression [ AS output_name ] [, ...] [ FROM from_item [, ...] ] [ WHERE condition ] [ GROUP BY expression [, ...] ] [ HAVING condition [, ...] ] ***[ { UNION | INTERSECT | EXCEPT [ ALL ] } select ] *** [ ORDER BY expression [ ASC | DESC | USING operator ] [, ...] ] [ FOR UPDATE [ OF tablename [, ...] ] ] [ LIMIT { count | ALL } [ { OFFSET | , } start ]] I think it is used like: SELECT personID from persondata where datatype=1 AND value="ln1" INTERSECT SELECT personID from persondata where datatype=2 AND value="ln2" finds the persons registered with ln1 as datatype 1 and ln2 as datatype 2. I think the obvious solution "SELECT personID from persondata where (datatype=1 AND value=ln1") AND (datatype=2 AND value="ln2") doesn't work, as it compares one and one row. In this table, personID isn't unique. Is it widely supported? I suppose so in the major DBs, if it isn't a simpler solution to this problem (using just one SQL statement). In addition UNION and EXCEPT should be implemented (if these are not possible to work around). --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Entity Bean Performance Tuning Help
Michael Bartmann wrote: Dain, I could help defining the grammar; unfortunately I'm quite busy this week and on a long sought vacation next week, so you'll have to be patient with me. No rush; I won't be able to get to it for a while anyway. The current grammar for JBossQL is not exactly tiny, at least the JavaCC representation is a bit difficult to read due to the way JavaCC grammars model nested expressions. But the things we will have to extend work on a higher syntactical level mostly, as in UPDATE SomeEntity SET SomeField= which could use similar low level tokens as the existing grammar when doing SELECT ... WHERE SomeField= Agreed We'll also have to decide which features are to be supported; One thing to think about is resultset postprocessing: e.g. in the case of a container iterating over a resultset it _could_ do some postprocessing if there is no adequate sql equivalent of the eql query. Example: SELECT arcsinh(SomeField) ... with a database not supporting that function. This smells like "jet-engine" anyway; I would speak against such postprocessing. One reason is my original wish to support providing the generated sql to any SLSB, and the session would simply pump it into a jdbc driver without any knowledge about need for postprocessing. So are we speaking only of a transformation engine mapping eql/jbossql to db specific sql, as would suffice in the case of UPDATES, where there is no need to postprocess anyway? I have no plans to do any post processing. I also don't have plans for a real query engine. All I plan on writing my self is a cross compiler. If someone wants to write it, that would be cool. That leaves the problem of function support across all databases. My current plan it to simply throw some sort of unsupported function exception when the query is compiled (deployment or at runtime for DynamicQL). -dain --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] TX Bug: Transaction failure not passed back to the client
Folks, I found my main problem. It turned out that I had a trigger on the Card insert which inserted a record in another table using a FK which at insert time was still null. I have two points to make: 1. The logging in the server just told me it was a SQL error, but it never gave any details. I had to change the org.jboss.resource.connectionmanager.LocalTxConnectionManager class to log the linkedException. Can we print the messages in all linked exceptions when they are logged? 2. I still don't know why the transaction can fail during commit and not send notification back to the client. Ciao, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Jonathan.O'[EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 13.11.2002 12:29 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:[JBoss-user] TX Bug: Transaction failure not passed back to the client We are implementing a workaround to allow NOT NULL foreign key columns to be set in ejbPostCreate. We converted our NOT NULL constraints in our Oracle9 DB into NOT NULL DEFERABLE INITIALLY DEFERRED. This means that constraints are only checked at commit time. This is great because this lets us have non null foreign keys without changing the way JBoss (I'm on 3.0.4) works. This seems to work for some of our entities. However, for our Card EJB shows the following strange behavior: 1. client code calls sessionBeanRemote.issueCard( ... ); 2. JBoss automatically starts a transaction 3. SessionBean.issueCard(...) calls cardHome.create(...) 4. JBoss internally calls CardBean.ejbCreate, followed by CardBean.ejbPostCreate 5. SessionBean.issueCard() returns cardLocal.getPrimaryKey() to the client 6a. JBoss tries to call UPDATE for the ejbPostCreate stuff which seems to succeed. 6b. JBoss then tries to commit the transaction started in step 2, and fails, throwing an exception. The server logs show a stack trace of the problem. 6b. The client continues on after calling sessionBeanRemote.issueCard(...) as if nothing went wrong. Some questions come to mind: a) Why is the client not told of the exception? b) Why is the UPDATE command executed long after cardHome.create() has returned? Is this a "Don't trust the order of the logs" problem? c) What is causing the XaException? Here's the relevant pieces of my log: [Steps 1 and 2] 2002-11-13 11:37:00,043 INFO [xcom.traxbahn.bproc.bcomponents.ejb.CardBcBean] Getting ChangeControl for changeControlId: 1 [Step 3 and 4] 2002-11-13 11:37:00,234 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Create: pk=383 2002-11-13 11:37:00,234 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Executing SQL: SELECT COUNT(*) FROM T_CARD WHERE T_CARD_ID=? 2002-11-13 11:37:00,244 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Executing SQL: INSERT INTO T_CARD (T_CARD_ID, PAN, EXPIRY_DATE, HOST_ID, VALID_FROM, PRODUCT_TYPE, HAS_PIN, HAS_CARD, STATUS, CREDITLIMIT, TMPLIMIT, TMPLIMITVALID, OVERDRAFT, OVERDRAFTVALID, OVERPAY, RISKDETECTED, REISSUE_CODE, REPLACE_ID, REPLACE_DATE, T_PERSON_ID, AUTHPROFILE, RISKPROFILE, OWNPROFILE, T_CHANGECONTROL_ID, T_ACCOUNT_ID, STATEMENT_ADDRESS, DELIVERY_ADDRESS) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 2002-11-13 11:37:00,264 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Rows affected = 1 [Step 4] 2002-11-13 11:37:00,334 DEBUG [xcom.traxbahn.baseentity.ejb.CardBean] PostCreate: accountId=275 stmtAddr=288 billingAddr=288 [Step 5] 2002-11-13 11:37:00,334 DEBUG [xcom.traxbahn.bproc.bcomponents.ejb.CardBcBean] Issued New Card ThinCardDTO: cardID: 383 pan 4539782720326763 expiryDate: 2003.06 productType Cirrus [Step 6a] 2002-11-13 11:37:00,334 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.Card] Executing SQL: UPDATE T_CARD SET STATEMENT_ADDRESS=?, DELIVERY_ADDRESS=? WHERE T_CARD_ID=? 2002-11-13 11:37:00,344 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.Card] Rows affected = 1 [Step 6b] 2002-11-13 11:37:00,384 WARN [org.jboss.tm.TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=XCOM-IRL-JONATHAN//9, BranchQual=] errorCode=XA_UNKNOWN(0) javax.transaction.xa.XAException: could not commit local txjavax.resource.ResourceException: SQLException at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEventListener.commit(LocalTxConnectionManager.java:567) at org.jboss.tm.TxCapsule.commitResources(TxCapsule.java:1714) at org.jboss.tm.TxCapsule.commit(TxCapsule.java:393) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:201) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60) at org.jboss.ejb.plugins.SecurityInterceptor.invok
Re: [JBoss-user] JBoss Xdoclet Tag Question
Thanks Jonathan. I do use Ant 1.5. And I will think about moving to new XDoclet. Last night I made a hack solution to my problem - I made my own ant task to read the generated jbosscmp-jdbc.xml and rewrite it with required info. Oh well. Thanks again. Greg Jonathan.O'[EMAIL PROTECTED] wrote: Greg, I've forgotten how you do this in 1.1.2, but if you are using JBoss 3.0.1 or later, I'd recommend getting the new XDoclet beta. The documentation is quite good. As far as I know, XDoclet 1.1.2 only worked up to JBoss 3.0.0, or was it a beta? BTW, you will need Ant 1.5 and you'll need to change your build script slightly for the new XDoclet, and you may have to rework your relationship code. HTH, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Greg Turner <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12.11.2002 17:55 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:[JBoss-user] JBoss Xdoclet Tag Question I'm using jboss xdoclet tags to specify a many to many relationship between 2 beans. In the jbosscmp-jdbc.xml that is generated, the relation-table-mapping element comes up empty. The XDoclet jboss docs do not specify how to specify the relationship's table name in a tag.. Does anyone know how to do it? I'm using XDoclet 1.1.2 Thanks Greg --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Greg Turner, JBoss Authorized Consultant Tiburon Enterprise Systems http://www.tiburon-e-systems.com Box 1171 Tiburon, CA 94920 415-927-2543 --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss-Cluster
Just a guess. Maybe networking issues. How are the 5 nodes connected? JBoss clustering uses multicast to send and receive their cluster information. Sebastian > -Original Message- > From: Mokas Vassilis ([EMAIL PROTECTED]) > [mailto:vassilis.mokas@;intracom.gr] > Sent: Wednesday, November 13, 2002 6:47 AM > To: '[EMAIL PROTECTED]' > Subject: [JBoss-user] JBoss-Cluster > > > I am sure that I have configured and started properly 5 > application servers in a cluster. > > However, the Replicant manager does not show all the > servers.Only two of them! > > (All the servers are in the same (Default) Partition. > > Any ideas? > > Vassilis > > > --- > This sf.net email is sponsored by: Are you worried about > your web server security? Click here for a FREE Thawte > Apache SSL Guide and answer your Apache SSL security > needs: http://www.gothawte.com/rd523.html > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] CASTOR: Installation under JBoss 3.0.4
Hello, have anyone successfull experience deploying CASTOR JDO under JBoss 3.0.4? I just tried as stated in http://www.jboss.org/developers/projects/jboss/castor.jsp but it seems that guide is for JBoss 2.x version. It talks about lib\ext directory but there is nothing like this on JBoss 3.x. Can some provide me with information how to start this on JBoss 3.0.4? Thank you David Marko [EMAIL PROTECTED]
[JBoss-user] TX Bug: Transaction failure not passed back to the client
We are implementing a workaround to allow NOT NULL foreign key columns to be set in ejbPostCreate. We converted our NOT NULL constraints in our Oracle9 DB into NOT NULL DEFERABLE INITIALLY DEFERRED. This means that constraints are only checked at commit time. This is great because this lets us have non null foreign keys without changing the way JBoss (I'm on 3.0.4) works. This seems to work for some of our entities. However, for our Card EJB shows the following strange behavior: 1. client code calls sessionBeanRemote.issueCard( ... ); 2. JBoss automatically starts a transaction 3. SessionBean.issueCard(...) calls cardHome.create(...) 4. JBoss internally calls CardBean.ejbCreate, followed by CardBean.ejbPostCreate 5. SessionBean.issueCard() returns cardLocal.getPrimaryKey() to the client 6a. JBoss tries to call UPDATE for the ejbPostCreate stuff which seems to succeed. 6b. JBoss then tries to commit the transaction started in step 2, and fails, throwing an exception. The server logs show a stack trace of the problem. 6b. The client continues on after calling sessionBeanRemote.issueCard(...) as if nothing went wrong. Some questions come to mind: a) Why is the client not told of the exception? b) Why is the UPDATE command executed long after cardHome.create() has returned? Is this a "Don't trust the order of the logs" problem? c) What is causing the XaException? Here's the relevant pieces of my log: [Steps 1 and 2] 2002-11-13 11:37:00,043 INFO [xcom.traxbahn.bproc.bcomponents.ejb.CardBcBean] Getting ChangeControl for changeControlId: 1 [Step 3 and 4] 2002-11-13 11:37:00,234 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Create: pk=383 2002-11-13 11:37:00,234 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Executing SQL: SELECT COUNT(*) FROM T_CARD WHERE T_CARD_ID=? 2002-11-13 11:37:00,244 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Executing SQL: INSERT INTO T_CARD (T_CARD_ID, PAN, EXPIRY_DATE, HOST_ID, VALID_FROM, PRODUCT_TYPE, HAS_PIN, HAS_CARD, STATUS, CREDITLIMIT, TMPLIMIT, TMPLIMITVALID, OVERDRAFT, OVERDRAFTVALID, OVERPAY, RISKDETECTED, REISSUE_CODE, REPLACE_ID, REPLACE_DATE, T_PERSON_ID, AUTHPROFILE, RISKPROFILE, OWNPROFILE, T_CHANGECONTROL_ID, T_ACCOUNT_ID, STATEMENT_ADDRESS, DELIVERY_ADDRESS) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) 2002-11-13 11:37:00,264 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.Card] Rows affected = 1 [Step 4] 2002-11-13 11:37:00,334 DEBUG [xcom.traxbahn.baseentity.ejb.CardBean] PostCreate: accountId=275 stmtAddr=288 billingAddr=288 [Step 5] 2002-11-13 11:37:00,334 DEBUG [xcom.traxbahn.bproc.bcomponents.ejb.CardBcBean] Issued New Card ThinCardDTO: cardID: 383 pan 4539782720326763 expiryDate: 2003.06 productType Cirrus [Step 6a] 2002-11-13 11:37:00,334 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.Card] Executing SQL: UPDATE T_CARD SET STATEMENT_ADDRESS=?, DELIVERY_ADDRESS=? WHERE T_CARD_ID=? 2002-11-13 11:37:00,344 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreEntityCommand.Card] Rows affected = 1 [Step 6b] 2002-11-13 11:37:00,384 WARN [org.jboss.tm.TxCapsule] XAException: tx=XidImpl [FormatId=257, GlobalId=XCOM-IRL-JONATHAN//9, BranchQual=] errorCode=XA_UNKNOWN(0) javax.transaction.xa.XAException: could not commit local txjavax.resource.ResourceException: SQLException at org.jboss.resource.connectionmanager.LocalTxConnectionManager$LocalConnectionEventListener.commit(LocalTxConnectionManager.java:567) at org.jboss.tm.TxCapsule.commitResources(TxCapsule.java:1714) at org.jboss.tm.TxCapsule.commit(TxCapsule.java:393) at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:73) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:201) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:60) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:130) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:204) at org.jboss.ejb.StatelessSessionContainer.invoke(StatelessSessionContainer.java:313) at org.jboss.ejb.Container.invoke(Container.java:712) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:517) at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:382) at sun.reflect.GeneratedMethodAccessor35.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) at sun.rmi.transport.Transport$1.run(Transport.java:148) at java.security.AccessController.doPrivileged(Native Method) at sun.rmi.transport.Transport.serviceCall(Transport.java:14
[JBoss-user] JBoss-Cluster
I am sure that I have configured and started properly 5 application servers in a cluster. However, the Replicant manager does not show all the servers.Only two of them! (All the servers are in the same (Default) Partition. Any ideas? Vassilis --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] 企业上网主机域名
Öйú·þÎñÈ«ÇòרҵµÄÓòÃû×¢²áÌṩÉÌ£¬ÏÖÍƳöÖ÷»ú¡¢ÓòÃû×¢²áÓŻݷþÎñ£º ¡°ÌØ»Ý1+1ÆóÒµÉÏÍøÌײ͡±ÊÇÖйú·þÎñÆ÷ÍøÂçÓÐÏÞ¹«Ë¾ÎªÄúÍƳöµÄ³¬Öµ·þÎñ£¬ ¡°ÏÈ·þÎñ£¬ºóÊÕ·Ñ£¡¡±ÄÚÈÝ°üÀ¨£º 30M asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö 250Ôª/Äê (ËÍÎå¸öÓÊÏä) 100M asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö£¬Ö»Ðè 350Ôª/Äê(ËÍÁù¸öÓÊÏä) 200N asp cgi,php +ACCESS Êý¾Ý¿â,Ë͹ú¼Ê¶¥¼¶ÓòÃûÒ»¸ö,Ö»Ðè 600Ôª/Äê ÌØ»Ý1+1ÉÏÍøÌײÍÊÇÆóÒµÉÏÍø£¬ÆóÒµÉÌÎñ»¯µÄÀíÏëÑ¡Ôñ£¬ÏÖÕý»ð±¬Ñ¡¹ºÖÐ ¿ìËÙ¶ÈÉêÇë(Çëµã»÷£©£º http://www.linemail.net/host/index.asp = °Ù¶È¾º¼Û¡¢ÐÂÀËÅÅÃû¡¢ËѺüÅÅÃû¡¢ÍøÒ×ÅÅÃûµÈ·þÎñ£¬Ê¹ÄúµÄÍøÕ¾ÖªÃû¶È´ó´óÌá ¸ß¡£ÏµÁг¬ÖµÔùËÍ·þÎñ£¬²»¿É²»¿´£¡ ÂíÉÏÉêÇë: http://www.linemail.net/special/index.asp == »¶Ó·ÃÎÊÎÒ˾ÍøÕ¾½øÒ»²½Á˽⣺ http://www.linemail.net ÁªÏµµç»°:0592-2180338 QQ:93767793 --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] JBoss Xdoclet Tag Question
Greg, I've forgotten how you do this in 1.1.2, but if you are using JBoss 3.0.1 or later, I'd recommend getting the new XDoclet beta. The documentation is quite good. As far as I know, XDoclet 1.1.2 only worked up to JBoss 3.0.0, or was it a beta? BTW, you will need Ant 1.5 and you'll need to change your build script slightly for the new XDoclet, and you may have to rework your relationship code. HTH, Jonathan O'Connor Ph: +353 1 872 3305 Mob: +353 86 824 9736 Fax: +353 1 873 3612 Greg Turner <[EMAIL PROTECTED]> Sent by: [EMAIL PROTECTED] 12.11.2002 17:55 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:[JBoss-user] JBoss Xdoclet Tag Question I'm using jboss xdoclet tags to specify a many to many relationship between 2 beans. In the jbosscmp-jdbc.xml that is generated, the relation-table-mapping element comes up empty. The XDoclet jboss docs do not specify how to specify the relationship's table name in a tag.. Does anyone know how to do it? I'm using XDoclet 1.1.2 Thanks Greg --- This sf.net email is sponsored by: To learn the basics of securing your web site with SSL, click here to get a FREE TRIAL of a Thawte Server Certificate: http://www.gothawte.com/rd522.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This sf.net email is sponsored by: Are you worried about your web server security? Click here for a FREE Thawte Apache SSL Guide and answer your Apache SSL security needs: http://www.gothawte.com/rd523.html ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user