Re: [JBoss-user] 3.2.2 : limit on columns in entity beans
Is this a new limitation or was this introduced in 3.2.2? We have 64 column entity beans and AFAIK we have been inserting on them. Thx This limitation didn't exist in 3.2.1, it appeared in 3.2.2. In which RC was it introduced? I am currently using RC2 and have not noticed any problems (one of my entities has 70 fields). Was planning to move to 3.2.2 this week, but it might be better to delay this a bit. I was hoping to be able to benefit from the improved efficiency in the CMP engine... Someone said that the DB structure should be reworked when there are many fields, but this is not always straightforward (in my case, the number of fields are the result of a flattened inheritance tree. Many classes only add one or two fields, so having some kind of middle ground between one table per class or one table for all classes is not so simple. Joachim --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] FK Columns cant have NOT NULL constraints
Hi All Is the following statement regarding Foreign keys in JBoss valid? If it is in which version of JBoss will it be fixed? JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT NULL constraints, because it issues an insert/commit between ejbCreate() and ejbPostCreate(). This is according to the official pay CMP docs and own personal experience. Kind regards Denzil Fillis --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
AW: [JBoss-user] FK Columns cant have NOT NULL constraints
From 3.2.2. (some RC release) there is something like insert-after-ejb-post-create/. You can use this tag to define your own container config that extends the standard CMP 2.x Entity Bean config. After that JBoss should issue the insert after ejbPostCreate and NOT NOLL FK columns shouldn't be a problem any longer. I haven't tried it myself, but I assume it should work. Cheers, Bernie -Ursprüngliche Nachricht- Von: Denzil Fillis [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Oktober 2003 08:42 An: '[EMAIL PROTECTED]' Betreff: [JBoss-user] FK Columns cant have NOT NULL constraints Hi All Is the following statement regarding Foreign keys in JBoss valid? If it is in which version of JBoss will it be fixed? JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT NULL constraints, because it issues an insert/commit between ejbCreate() and ejbPostCreate(). This is according to the official pay CMP docs and own personal experience. Kind regards Denzil Fillis --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003 http://symposium.gartner.com/story.php.id.3323.s.5.html Please note that LogicaCMG does not have control over content from,or availability of, this website --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Specifying deployment order in EAR - JBoss 3.2.2
Scott, As Sherlock Holmes said (?), when all the probable causes have been eliminated, then we must look at the improbable causes! The problem is the listener in the WAR is failing because the session beans do not exist. And as the ejb jar was deployed first, then its deployment must have failed. I'll look into that and get back to you if I find anything. Thanks, Jonathan O'Connor XCOM Dublin Scott M Stark [EMAIL PROTECTED] Sent by: [EMAIL PROTECTED] 20.10.2003 17:06 Please respond to jboss-user To: [EMAIL PROTECTED] cc: Subject:Re: [JBoss-user] Specifying deployment order in EAR - JBoss 3.2.2 ejb jars are deployed before wars so show the startup ordering. A test.ear with ejbs and a war shows the ejbs started before the war: 09:14:48,246 INFO [MainDeployer] Starting deployment of package: file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/ 09:14:48,247 INFO [EARDeployer] Init J2EE application: file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/ 09:14:49,956 INFO [EjbModule] Deploying BMPBean 09:14:50,216 INFO [EjbModule] Deploying BMPCallbackBean 09:14:50,232 INFO [EjbModule] Deploying CMPBean 09:14:50,272 INFO [EjbModule] Deploying CMPBean2 ... 09:14:53,536 INFO [EJBDeployer] Deployed: file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/cts.jar 09:14:53,794 INFO [EmbeddedTomcatService] deploy, ctxPath=/traxbahn, warUrl=file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/traxbahn.war/ 09:14:54,312 INFO [Engine] ContextConfig[/traxbahn]: Added certificates - request attribute Valve ... 09:14:54,347 INFO [Engine] StandardWrapper[/traxbahn:invoker]: Loading container servlet invoker 09:14:54,758 INFO [EARDeployer] Started J2EE application: file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/ 09:14:54,758 INFO [MainDeployer] Deployed package: file:/tmp/jboss-3.2.2/server/default/deploy/test.ear/ -- Scott Stark Chief Technology Officer JBoss Group, LLC Jonathan.O'[EMAIL PROTECTED] wrote: Hi, I'm trying to migrate our code from JBoss 3.0.6 to 3.2.2 and I've got a problem due to deployment order. My ear file has a backend.jar containing entity beans and session beans, a frontend.war. In 3.0.6, the backend.jar was always deployed first before the WAR. This meant that a listener in the WAR ran happily accessing session beans in the backend. But in 3.2.2 (and in RC4 too) I get an exception trying to run the listener code in contextInitialized(). It seems that the session beans in the backend.jar have not been loaded yet. Is there a way of setting a dependency on the order of loading in 3.2.2? jboss-service.xml has a depends clause, but that won't work for ejb or web stuff. Any help would be greatly appreciated Ciao, Jonathan O'Connor XCOM Dublin --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [OT] Frameworks
Having spent a fair amount of time with Eclipse recently, I couldn't help feeling that many of the concepts used for their plug-in architecture would greatly improve complex server side applications. I'd just like to pick out two issues; let me know if have any solutions or workarounds... 1) Dependency management Eclipse requires you to assign a unique identifiers to each deployable unit, and allows dependencies to be specified based on these identifiers. JBoss allows this on the level of individual MBeans, but I am not sure there is any way to do the same for complete applications (ear, war...). JBoss does assign identifiers to deployed applications (looks something like J2EEServer=Local,j2eeType=J2EEApplication,name=test.ear, I believe), but I am not aware of any possibility to use this for specifying dependencies (as a partial workaround you can rely on the alphabetic ordering of your deployment units a la Linux rc. 2) Extensibility of web applications It seems to be rather hard, if not impossible, to add pages, servlets, tags etc. to an already deployed web application from another application that is deployed independantly. This would be necessary if you wanted to provide certain extension points (e.g. in the navigation bar, overview page, dropdown menus etc.) in your core application. Does anyone know of a framework that allows you to do such a thing, or must I write my own (TM)? -- Eric Jain --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] LDAP Reader: does not work in EJB environment?
Hi, I have a strange experience (at least for me) using jldap from Novell. Here are two files attached, a simple class which try to read from a LDAP url, and the corresponding TestCase. The test class contains 2 methods-test for reading from LDAP, one directly with the jldap functions, other through own reader. Let's suppose i have the CRL entry in LDAP (the entry searched: i see it with a ldap browser). Also i have running JBoss 3.2.1. If i run the test using JUnit framework, usually () the test succeeds. Usually means: 9 times from 10! i really don't know why sometime the assert fails, like not finding the entry in ldap: ldap-test: [junit] .F. [junit] Time: 2.326 [junit] There was 1 failure: [junit] 1) testPublishCRL1(org.eupki.ca.test.LdapTest)junit.framework.AssertionFailedError [junit] at org.eupki.ca.test.LdapTest.testPublishCRL1(LdapTest.java:54) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] FAILURES!!! [junit] Tests run: 2, Failures: 1, Errors: 0 If i run the test using EJBTestCase, ussualy () the test fails. Again, usually means let's say 8 times from 10, and i don't know why sometime the test succeeds. ldap-test: [junit] .F. [junit] Time: 1.671 [junit] There was 1 failure: [junit] 1) testPublishCRL1(org.eupki.ca.test.LdapTest)junit.framework.AssertionFailedError [junit] at org.eupki.ca.test.LdapTest.testPublishCRL1(LdapTest.java:54) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at net.sourceforge.junitejb.EJBTestCase.runBare(EJBTestCase.java:133) [junit] at net.sourceforge.junitejb.EJBTestRunnerBean.runTestCase(EJBTestRunnerBean.java:102) [junit] at net.sourceforge.junitejb.EJBTestRunnerBean.run(EJBTestRunnerBean.java:44) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [junit] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:629) [junit] at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:186) [junit] at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) [junit] at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144) [junit] at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62) [junit] at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) [junit] at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:117) [junit] at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) [junit] at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) [junit] at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:322) [junit] at org.jboss.ejb.Container.invoke(Container.java:674) [junit] at sun.reflect.GeneratedMethodAccessor108.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) [junit] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) [junit] at org.jboss.invocation.jrmp.server.JRMPInvoker.invoke(JRMPInvoker.java:359) [junit] at sun.reflect.GeneratedMethodAccessor107.invoke(Unknown Source) [junit] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [junit] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) [junit] at sun.rmi.transport.Transport$1.run(Transport.java:148) [junit] at java.security.AccessController.doPrivileged(Native Method) [junit] at sun.rmi.transport.Transport.serviceCall(Transport.java:144) [junit] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) [junit] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) [junit] at java.lang.Thread.run(Thread.java:536) [junit] FAILURES!!! [junit] Tests run: 2, Failures: 1, Errors: 0 So,
[JBoss-user] jBoss 3.2.2 OILServerILService Connection failure (1).
Hi, just started with jboss 3.2.2 final relase (Jetty version), and i get the following error after jboss has been running for a while. Anyone seen this, or got some idea to whats happening? 2003-10-23 19:16:23,290 WARN [org.jboss.mq.il.oil.OILServerILService] Connection failure (1). java.net.SocketTimeoutException: Read timed out at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:183) at java.io.BufferedInputStream.read(BufferedInputStream.java:201) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2133) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2313) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2380) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2452) at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2601) at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845) at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:210) at java.lang.Thread.run(Thread.java:534) 2003-10-23 19:16:23,320 WARN [org.jboss.mq.Connection] Connection failure: org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.EOFException) at org.jboss.mq.Connection.asynchFailure(Connection.java:718) at org.jboss.mq.Connection$PingTask.run(Connection.java:1311) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) at java.lang.Thread.run(Thread.java:534) Caused by: java.io.EOFException at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2603) at java.io.ObjectInputStream.readByte(ObjectInputStream.java:845) at org.jboss.mq.il.oil.OILServerIL.waitAnswer(OILServerIL.java:601) at org.jboss.mq.il.oil.OILServerIL.ping(OILServerIL.java:424) at org.jboss.mq.Connection.pingServer(Connection.java:1141) at org.jboss.mq.Connection$PingTask.run(Connection.java:1307) ... 2 more 2003-10-23 19:17:30,711 WARN [org.jboss.mq.Connection] Connection failure: org.jboss.mq.SpyJMSException: Connection Failed; - nested throwable: (java.io.IOException: ping timeout.) at org.jboss.mq.Connection.asynchFailure(Connection.java:718) at org.jboss.mq.Connection$PingTask.run(Connection.java:1311) at EDU.oswego.cs.dl.util.concurrent.ClockDaemon$RunLoop.run(ClockDaemon.java:364) at java.lang.Thread.run(Thread.java:534) Caused by: java.io.IOException: ping timeout. at org.jboss.mq.Connection$PingTask.run(Connection.java:1303) ... 2 more --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] jboss.org extreeeemly slow
Whats happened recently that jboss.org takes forever to come up, if it comes up at all? Eric J. Kaplan Armanta, Inc. 350 Mt. Kemble Ave. Morristown, NJ 07960
[JBoss-user] PostgreSQL and NOT NULL integer fields
Hi, I'm using JBoss 3.2.2 and PostgreSQL 7.3.4. JBoss is doing something that I can't figure out why. In my CMP beans, JBoss always use the constraint NOT NULL for fields of type integer, even thought I don't set the not-null/ property in jbosscmp-jdbc.xml for the fields. If the persistent field in the CMP bean is of type int or Integer, JBoss creates the database table with the constraint NOT NULL for integer type fields. Does anyone knows why JBoss does this? -- _/_/_/ _/_/_/_/_/_/ Ivens Porto _/ _/_/_/ OSE - Open Systems Engineering _/ _/_/_/ http://www.ose.com.br _/ _/ _/_/_/ _/_/_/_/ Phone: (55) 34 - 3214-5995 _/ _/_/_/ Fax: (55) 34 - 3214-5994 _/ _/_/_/ _/_/_/_/_/_/ _/_/_/ --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Balance JBoss Load
One first tought that crossed my mind was to setup an apache in front, directing the requests for the right machine by a URL match. Check google for apache load balancing, apache ajp, ... Both tomcat and Jetty can be plugued-in by ajp to a apache server in front. -- Joao Pedro Clemente jpcl @ rnl.ist.utl.pt (when not working out) (when not sleeping) (when not surfing) (when not ... ;) On Wed, 22 Oct 2003, sun zheng wrote: Hi all, I get to think about the topic. As we get more and more JARs in JBOSS_HOME/server/default/deploy, in order to balance the load, we plan to divide those JARs into multiple JBosses which are located in different Linux Servers. My question is, how to do it after installing independent JBosses? with best wishes Zheng Sun _ 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 OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] FK Columns cant have NOT NULL constraints
Works great. Without this the INSERT happens after ejbCreate but you cannot set your CMRs until ejbPostCreate: hence the null constraint violations on foreign keys. With this switch the INSERT happens after ejbPostCreate giving you a chance to update the CMRs and by extension foreign keys will be fully populated. Override Standard CMP 2.x EntityBean from jbossstandard.xml by adding the following to your jboss.xml file: jboss ... Stuff ... container-configurations container-configuration extends=Standard CMP 2.x EntityBean container-namefoobar/container-name insert-after-ejb-post-createtrue/insert-after-ejb-post-create /container-configuration /jboss Note: The container name is not important, this configuration is applied to all of the CMP 2.0 beans listed in this jboss.xml file. --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problems with JMX Invoke Ant Task 3.2.2
Hello, I just upgraded to 3.2.2 from 3.2.2RC3 and now my ant target that deploys my app using the JMX/Invoke task in jbossjmx-ant.jar fails. The exact same target worked perfectly in 3.2.2RC3. Any ideas? See the exception Im getting below. My target is a very vanilla deploy based off of the example in varia\src\main\org\jboss\ant\package.html The host youngm is the name of my machine and it does resolve correctly. Mike [jmx] javax.naming.NameNotFoundException: jmx:youngm:rmi not bound [jmx] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) [jmx] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) [jmx] at org.jnp.server.NamingServer.getObject(NamingServer.java:509) [jmx] at org.jnp.server.NamingServer.lookup(NamingServer.java:282) [jmx] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jmx] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [jmx] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [jmx] at java.lang.reflect.Method.invoke(Method.java:324) [jmx] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) [jmx] at sun.rmi.transport.Transport$1.run(Transport.java:148) [jmx] at java.security.AccessController.doPrivileged(Native Method) [jmx] at sun.rmi.transport.Transport.serviceCall(Transport.java:144) [jmx] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) [jmx] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) [jmx] at java.lang.Thread.run(Thread.java:534) [jmx] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) [jmx] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) [jmx] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) [jmx] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) [jmx] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528) [jmx] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) [jmx] at javax.naming.InitialContext.lookup(InitialContext.java:347) [jmx] at org.jboss.ant.JMX.execute(JMX.java:209) [jmx] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [jmx] at org.apache.tools.ant.Task.perform(Task.java:341) [jmx] at org.apache.tools.ant.Target.execute(Target.java:309) [jmx] at org.apache.tools.ant.Target.performTasks(Target.java:336) [jmx] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [jmx] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [jmx] at org.apache.tools.ant.Main.runBuild(Main.java:609) [jmx] at org.apache.tools.ant.Main.start(Main.java:196) [jmx] at org.apache.tools.ant.Main.main(Main.java:235)
[JBoss-user] jboss 3.2.2 / tomcat and virtual host
Hallo, I tried to configure virtual host as I read in Admin devel documentation. But I cannot found file tomcat4-service.xml - to where I must put it? Without it, I create onl war with WEB-INF/jboss-web.xml contained: jboss-web context-root//context-root virtual-hostvirthost/virtual-host /jboss-web and jboss always shows this war as deafult. To where I must put the tomcat4-service.xml or is there any other way? Thanks, Jiri --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] new behavior in 3.2.2 - TransactionRolledbackLocalException
Are there CMP fields mapped to the foreign key column? If not that is expected behaviour. alex Jason Essington wrote: I have some tables in a database that are used by some of my CMP/CMR entity beans. The foreign key columns in some of these tables don't have foreign key integrity checks enforced in the database, and rather than having null in the column when there is no foreign key they contain a 0 (zero). This database can be accessed (and changed) outside the scope of the J2EE application. In 3.2.1 when the cmp engine ran across this situation it would just return a null object for the relationship, but in 3.2.2 the engine returns a non null object and the first time this object is accessed a NoSuchObjectLocalException is thrown and then rethrown as a TransactionRolledbackLocalException. I suppose the new behavior is probably more correct, but I would like to be able to handle this situation without rolling back my transaction. The problem is there doesn't seem to be a way to catch and handle the NoSuchObjectLocalException prior to it being rethrown as a TransactionRolledbackLocalException. Any ideas on how to work around this new behavior? -jason --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] jboss 3.2.2 / tomcat and virtual host
Edit the jbossweb-tomcat41.sar/META-INF/jboss-service.xml descriptor. -- Scott Stark Chief Technology Officer JBoss Group, LLC [EMAIL PROTECTED] wrote: Hallo, I tried to configure virtual host as I read in Admin devel documentation. But I cannot found file tomcat4-service.xml - to where I must put it? Without it, I create onl war with WEB-INF/jboss-web.xml contained: jboss-web context-root//context-root virtual-hostvirthost/virtual-host /jboss-web and jboss always shows this war as deafult. To where I must put the tomcat4-service.xml or is there any other way? Thanks, Jiri --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] FK Columns cant have NOT NULL constraints
Its been fixed in the 3.2.2 release. ?xml version=1.0 encoding=UTF-8? !DOCTYPE jboss PUBLIC -//JBoss//DTD JBOSS 3.2//EN http://www.jboss.org/j2ee/dtd/jboss_3_2.dtd; jboss enterprise-beans entity ejb-nameChildUPK/ejb-name local-jndi-nameChildUPKLocal/local-jndi-name configuration-nameejbPostCreate Container/configurationname ... /entity /enterprise-beans container-configurations container-configuration extends=Standard CMP 2.x EntityBean container-nameejbPostCreate Container/container-name insert-after-ejb-post-createtrue/insert-after-ejb-post-create /container-configuration /container-configurations /jboss Scott Stark Chief Technology Officer JBoss Group, LLC Denzil Fillis wrote: Hi All Is the following statement regarding Foreign keys in JBoss valid? If it is in which version of JBoss will it be fixed? JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT NULL constraints, because it issues an insert/commit between ejbCreate() and ejbPostCreate(). This is according to the official pay CMP docs and own personal experience. Kind regards Denzil Fillis --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Balance JBoss Load
I think his issue is that the number of jars and wars and ears that he has on one system is swamping the boat. That is to say even if there was one person using the system the problem would still exist. -Original Message- From: Joao Pedro Clemente [mailto:[EMAIL PROTECTED] Sent: Wednesday, October 22, 2003 6:59 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Balance JBoss Load One first tought that crossed my mind was to setup an apache in front, directing the requests for the right machine by a URL match. Check google for apache load balancing, apache ajp, ... Both tomcat and Jetty can be plugued-in by ajp to a apache server in front. -- Joao Pedro Clemente jpcl @ rnl.ist.utl.pt (when not working out) (when not sleeping) (when not surfing) (when not ... ;) On Wed, 22 Oct 2003, sun zheng wrote: Hi all, I get to think about the topic. As we get more and more JARs in JBOSS_HOME/server/default/deploy, in order to balance the load, we plan to divide those JARs into multiple JBosses which are located in different Linux Servers. My question is, how to do it after installing independent JBosses? with best wishes Zheng Sun _ 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 OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] 3.2.2 : Null primary key on create
Regarding this 64 column limit that was introduced and fixed, where do we get the fix given that 3.2.2 has been released? Does that mean the official release has been re-jarred with the fix or does it mean we have to checkout a CVS branch or how exactly does that work? We have a couple monster tables greater than 64 (warehouse-ish tables) so we need the fix. TIA, Rod --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] new behavior in 3.2.2 - TransactionRolledbackLocalException
On Thursday, October 23, 2003, at 05:08 AM, Alexey Loubyansky wrote: Are there CMP fields mapped to the foreign key column? If not that is expected behaviour. There are not CMP fields mapped to the foreign key column only CMR. are you saying that I could add CMP fields in addition to the CMR fields for these columns and then use the CMP field to check for the inappropriate values? Jason Essington wrote: I have some tables in a database that are used by some of my CMP/CMR entity beans. The foreign key columns in some of these tables don't have foreign key integrity checks enforced in the database, and rather than having null in the column when there is no foreign key they contain a 0 (zero). This database can be accessed (and changed) outside the scope of the J2EE application. In 3.2.1 when the cmp engine ran across this situation it would just return a null object for the relationship, but in 3.2.2 the engine returns a non null object and the first time this object is accessed a NoSuchObjectLocalException is thrown and then rethrown as a TransactionRolledbackLocalException. I suppose the new behavior is probably more correct, but I would like to be able to handle this situation without rolling back my transaction. The problem is there doesn't seem to be a way to catch and handle the NoSuchObjectLocalException prior to it being rethrown as a TransactionRolledbackLocalException. Any ideas on how to work around this new behavior? --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] FK Columns cant have NOT NULL constraints
I am using this and it works great. Without this the INSERT happens after ejbCreate but you cannot set your CMRs until ejbPostCreate: hence the null constraint violations on foreign keys. With this switch the INSERT happens after ejbPostCreate giving you a chance to update the CMRs and by extension foreign keys will be fully populated. jboss container-configurations container-configuration extends=Standard CMP 2.x EntityBean container-namefoobar/container-name insert-after-ejb-post-createtrue/insert-after-ejb-post-create /container-configuration /jboss Note: The container name is not important, this configuration is applied to all of the CMP 2.0 beans listed in this jboss.xml file. -Original Message- From: Meyer-Willner, Bernhard [mailto:[EMAIL PROTECTED] Sent: Thursday, October 23, 2003 1:35 AM To: '[EMAIL PROTECTED]' Subject: AW: [JBoss-user] FK Columns cant have NOT NULL constraints From 3.2.2. (some RC release) there is something like insert-after-ejb-post-create/. You can use this tag to define your own container config that extends the standard CMP 2.x Entity Bean config. After that JBoss should issue the insert after ejbPostCreate and NOT NOLL FK columns shouldn't be a problem any longer. I haven't tried it myself, but I assume it should work. Cheers, Bernie -Ursprüngliche Nachricht- Von: Denzil Fillis [mailto:[EMAIL PROTECTED] Gesendet: Donnerstag, 23. Oktober 2003 08:42 An: '[EMAIL PROTECTED]' Betreff: [JBoss-user] FK Columns cant have NOT NULL constraints Hi All Is the following statement regarding Foreign keys in JBoss valid? If it is in which version of JBoss will it be fixed? JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT NULL constraints, because it issues an insert/commit between ejbCreate() and ejbPostCreate(). This is according to the official pay CMP docs and own personal experience. Kind regards Denzil Fillis --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user This e-mail and any attachment is for authorised use by the intended recipient(s) only. It may contain proprietary material, confidential information and/or be subject to legal privilege. It should not be copied, disclosed to, retained or used by, any other party. If you are not an intended recipient then please promptly delete this e-mail and any attachment and all copies and inform the sender. Thank you. LogicaCMG global sponsors, Gartner Symposium, Cannes, 4th -7th November 2003 http://symposium.gartner.com/story.php.id.3323.s.5.html Please note that LogicaCMG does not have control over content from,or availability of, this website --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.2 : Null primary key on create
You have to get the 3.2 branch. There will be a 3.2.3RC1 next weekend. -- Scott Stark Chief Technology Officer JBoss Group, LLC Rod Macpherson wrote: Regarding this 64 column limit that was introduced and fixed, where do we get the fix given that 3.2.2 has been released? Does that mean the official release has been re-jarred with the fix or does it mean we have to checkout a CVS branch or how exactly does that work? We have a couple monster tables greater than 64 (warehouse-ish tables) so we need the fix. TIA, Rod --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] Problems with JMX Invoke Ant Task 3.2.2 (Try 2)
(Sorry for the possible duplicate post I originally sent this 24 hours ago and never saw in on the List) Hello, I just upgraded to 3.2.2 from 3.2.2RC3 and now my ant target that deploys my app using the JMX/Invoke task in jbossjmx-ant.jar fails. The exact same target worked perfectly in 3.2.2RC3. Any ideas? See the exception Im getting below. My target is a very vanilla deploy based off of the example in varia\src\main\org\jboss\ant\package.html The host youngm is the name of my machine and it does resolve correctly. Mike [jmx] javax.naming.NameNotFoundException: jmx:youngm:rmi not bound [jmx] at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) [jmx] at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) [jmx] at org.jnp.server.NamingServer.getObject(NamingServer.java:509) [jmx] at org.jnp.server.NamingServer.lookup(NamingServer.java:282) [jmx] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [jmx] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [jmx] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [jmx] at java.lang.reflect.Method.invoke(Method.java:324) [jmx] at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:261) [jmx] at sun.rmi.transport.Transport$1.run(Transport.java:148) [jmx] at java.security.AccessController.doPrivileged(Native Method) [jmx] at sun.rmi.transport.Transport.serviceCall(Transport.java:144) [jmx] at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:460) [jmx] at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:701) [jmx] at java.lang.Thread.run(Thread.java:534) [jmx] at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) [jmx] at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) [jmx] at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:133) [jmx] at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) [jmx] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:528) [jmx] at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507) [jmx] at javax.naming.InitialContext.lookup(InitialContext.java:347) [jmx] at org.jboss.ant.JMX.execute(JMX.java:209) [jmx] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:193) [jmx] at org.apache.tools.ant.Task.perform(Task.java:341) [jmx] at org.apache.tools.ant.Target.execute(Target.java:309) [jmx] at org.apache.tools.ant.Target.performTasks(Target.java:336) [jmx] at org.apache.tools.ant.Project.executeTarget(Project.java:1339) [jmx] at org.apache.tools.ant.Project.executeTargets(Project.java:1255) [jmx] at org.apache.tools.ant.Main.runBuild(Main.java:609) [jmx] at org.apache.tools.ant.Main.start(Main.java:196) [jmx] at org.apache.tools.ant.Main.main(Main.java:235)
Re: [JBoss-user] FK Columns cant have NOT NULL constraints
3.2.2RC3 http://sourceforge.net/tracker/?func=detailaid=784322group_id=22866atid=381174 alex Denzil Fillis wrote: Hi All Is the following statement regarding Foreign keys in JBoss valid? If it is in which version of JBoss will it be fixed? JBoss 3.0.x's CMP engine has this problem that FK columns can't have NOT NULL constraints, because it issues an insert/commit between ejbCreate() and ejbPostCreate(). This is according to the official pay CMP docs and own personal experience. Kind regards Denzil Fillis --- This SF.net email is sponsored by OSDN developer relations Here's your chance to show off your extensive product knowledge We want to know what you know. Tell us and you have a chance to win $100 http://www.zoomerang.com/survey.zgi?HRPT1X3RYQNC5V4MLNSV3E54 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] 3.2.2 : Null primary key on create
I'll be doing a 3.2.3RC1 release as soon as I can. Rod Macpherson wrote: Regarding this 64 column limit that was introduced and fixed, where do we get the fix given that 3.2.2 has been released? Does that mean the official release has been re-jarred with the fix or does it mean we have to checkout a CVS branch or how exactly does that work? We have a couple monster tables greater than 64 (warehouse-ish tables) so we need the fix. TIA, Rod --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user -- Bill Burke Chief Architect JBoss Group LLC. --- This SF.net email is sponsored by: The SF.net Donation Program. Do you like what SourceForge.net is doing for the Open Source Community? Make a contribution, and help us add new features and functionality. Click here: http://sourceforge.net/donate/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user