RE: [JBoss-user] use of http-invoker
The http-invoker handles RMI/HTTP transport. This has nothing to do with the jmx-console which provides an html interface to the JMX server. You have to write Java code that accesses the RMIAdaptor and invokes the JMS queue creation operation on the destination manager mbean if you use the http-invoker. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Ionel GARDAIS Sent: Monday, December 29, 2003 4:27 AM To: jboss-user Subject: [JBoss-user] use of http-invoker Hi folks, Merry Chrismas and Happy new year to all What is the URL to dynamicly create a JMS queue using the http-invoker ? I already have a URL which points to jmx-console/HtmlAdaptor but I'd like not to have to deploy the jmx-console (just using the http-invoker) thanks, ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] NoClassDefFoundError - org/xml/sax/EntityResolver
Show the full stacktrace along with what jars are included in the war lib directory. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Richard Hosking Sent: Monday, December 29, 2003 10:52 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] NoClassDefFoundError - org/xml/sax/EntityResolver I need to have my ear use it's own loader repository, hence the line 'richardh.test:loader=test.ear' I have added to my jboss-app. Deploying the ear now results in an exception:- java.lang.NoClassDefFoundError: org/xml/sax/EntityResolver when the servlet starts. I'm using Java 1.4.2 so this class should be present. It worked before the loader-repository line was added. JBoss 3.2.3 Happy new year, Richard. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] RMI and SSL in JBoss 3.2.2...
Your SecurityDomain attribute value is incorrect. It needs to be java:/jaas/RMI+SSL as used in the chapter 8 example. Scott Stark Chief Technology Officer JBoss Group, LLC From: [EMAIL PROTECTED] on behalf of [EMAIL PROTECTED] Sent: Mon 12/29/2003 2:31 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] RMI and SSL in JBoss 3.2.2... OK, I give up. I'm tired of beating my head against the wall here. I'm sure it;s something obvious but I'm just not seeing it. I'm trying to secure RMI in JBoss 3.2.2 with SSL and it aint working. Yes, I have read the chap8 sample. I'm trying to adapt that to secure ALL EJB access over RMI with SSL. To that end, I've made the following change in jboss/server/default/conf/jboss-service.xml (excerpt below): ${jboss.server.config.url}/.keystore changeit ${jboss.bind.address} org.jboss.security.ssl.RMISSLClientSocketFactory org.jboss.security.ssl.RMISSLServerSocketFactory RMI+SSL jboss.security:service=JaasSecurityDomain,domain=RMI+SSL I've tried every variation I can think off and I still get this error during startup: 17:16:10,115 DEBUG [JaasSecurityManagerService] Starting 17:16:10,115 DEBUG [JaasSecurityManagerService] securityMgrCtxPath=java:/jaas 17:16:10,125 DEBUG [JaasSecurityManagerService] cachePolicyCtxPath=java:/timedCacheFactory 17:16:10,125 DEBUG [JaasSecurityManagerService] [EMAIL PROTECTED] 17:16:10,135 INFO [JaasSecurityManagerService] Started jboss.security:service=JaasSecurityManager 17:16:10,175 INFO [TransactionManagerService] Started jboss:service=TransactionManager 17:16:10,185 INFO [LocalInvoker] Started jboss:service=invoker,type=local 17:16:10,255 INFO [PooledInvoker] Started jboss:service=invoker,type=pooled 17:16:10,335 INFO [MainDeployer] Adding deployer: [EMAIL PROTECTED] 17:16:10,335 INFO [EJBDeployer] Started jboss.ejb:service=EJBDeployer 17:16:10,335 INFO [RMI+SSL] Starting 17:16:10,335 DEBUG [RMI+SSL] Adding com.sun.net.ssl.internal.ssl.Provider 17:16:11,597 INFO [JaasSecurityManagerService] Added RMI+SSL, [EMAIL PROTECTED] to map 17:16:11,717 DEBUG [RMI+SSL] CachePolicy set to: [EMAIL PROTECTED] 17:16:11,717 INFO [JaasSecurityManagerService] setCachePolicy, [EMAIL PROTECTED] 17:16:11,717 INFO [RMI+SSL] Started 17:16:11,727 ERROR [JRMPInvoker] Failed to setSecurityDomain=RMI+SSL on socket factory 17:16:11,757 ERROR [JRMPInvoker] Starting failed java.lang.NullPointerException at org.jboss.security.ssl.DomainServerSocketFactory.initSSLContext <>
RE: [JBoss-user] Why undeployment could not delete temp directories...
Linkage errors indicate an inconsistent type system due to repdeployment. Open a bug report if you have an example that demonstrates what you are seeing. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rod Macpherson Sent: Monday, December 29, 2003 1:05 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] Why undeployment could not delete temp directories... The question was deleting tmp and the point was that you can delete tmp and work folders as a precaution during development but that it would be very bad form to do so in production. I guess that is a "no you should not be responsible" for deleting them. Regarding the linkage error, we have the same problem hot deploying EJB jars. This sounds like a serious problem because it means we cannot hot deploy squat. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Docs
Updates should have been sent out last week. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Peter Ondruska Sent: Monday, December 29, 2003 1:30 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss Docs Haven't got any update from Componentsource yet. When shall I expect this to happen? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Docs
No, it will be available standalone in the next version of the admin and devel guide. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Rafal Kedziorski Sent: Monday, December 29, 2003 1:08 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss Docs At 19:59 29.12.2003, Scott M Stark wrote: >The latest cmp2 docs are in the admin devel guide of the all docs >subscription. Will be there be an extra cmp2 subscription? Regards, Rafal --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] RMI and SSL in JBoss 3.2.2...
OK, I give up. I'm tired of beating my head against the wall here. I'm sure it;s something obvious but I'm just not seeing it. I'm trying to secure RMI in JBoss 3.2.2 with SSL and it aint working. Yes, I have read the chap8 sample. I'm trying to adapt that to secure ALL EJB access over RMI with SSL. To that end, I've made the following change in jboss/server/default/conf/jboss-service.xml (excerpt below): name="jboss.security:service=JaasSecurityDomain,domain=RMI+SSL"> ${jboss.server.config.url}/.keystore changeit name="jboss:service=invoker,type=jrmp"> ${jboss.bind.address} org.jboss.security.ssl.RMISSLClientSocketFactory org.jboss.security.ssl.RMISSLServerSocketFactory RMI+SSL jboss.security:service=JaasSecurityDomain,domain=RMI+SSL I've tried every variation I can think off and I still get this error during startup: 17:16:10,115 DEBUG [JaasSecurityManagerService] Starting 17:16:10,115 DEBUG [JaasSecurityManagerService] securityMgrCtxPath=java:/jaas 17:16:10,125 DEBUG [JaasSecurityManagerService] cachePolicyCtxPath=java:/timedCacheFactory 17:16:10,125 DEBUG [JaasSecurityManagerService] [EMAIL PROTECTED] 17:16:10,135 INFO [JaasSecurityManagerService] Started jboss.security:service=JaasSecurityManager 17:16:10,175 INFO [TransactionManagerService] Started jboss:service=TransactionManager 17:16:10,185 INFO [LocalInvoker] Started jboss:service=invoker,type=local 17:16:10,255 INFO [PooledInvoker] Started jboss:service=invoker,type=pooled 17:16:10,335 INFO [MainDeployer] Adding deployer: [EMAIL PROTECTED] 17:16:10,335 INFO [EJBDeployer] Started jboss.ejb:service=EJBDeployer 17:16:10,335 INFO [RMI+SSL] Starting 17:16:10,335 DEBUG [RMI+SSL] Adding com.sun.net.ssl.internal.ssl.Provider 17:16:11,597 INFO [JaasSecurityManagerService] Added RMI+SSL, [EMAIL PROTECTED] to map 17:16:11,717 DEBUG [RMI+SSL] CachePolicy set to: [EMAIL PROTECTED] 17:16:11,717 INFO [JaasSecurityManagerService] setCachePolicy, [EMAIL PROTECTED] 17:16:11,717 INFO [RMI+SSL] Started 17:16:11,727 ERROR [JRMPInvoker] Failed to setSecurityDomain=RMI+SSL on socket factory 17:16:11,757 ERROR [JRMPInvoker] Starting failed java.lang.NullPointerException at org.jboss.security.ssl.DomainServerSocketFactory.initSSLContext(DomainServerSocketFactory.java:171) at org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(DomainServerSocketFactory.java:103) at org.jboss.security.ssl.DomainServerSocketFactory.createServerSocket(DomainServerSocketFactory.java:81) at org.jboss.security.ssl.RMISSLServerSocketFactory.createServerSocket(RMISSLServerSocketFactory.java:70) at sun.rmi.transport.tcp.TCPEndpoint.newServerSocket(TCPEndpoint.java:615) at sun.rmi.transport.tcp.TCPTransport.listen(TCPTransport.java:231) at sun.rmi.transport.tcp.TCPTransport.exportObject(TCPTransport.java:178) at sun.rmi.transport.tcp.TCPEndpoint.exportObject(TCPEndpoint.java:382) at sun.rmi.transport.LiveRef.exportObject(LiveRef.java:116) at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:145) at sun.rmi.server.UnicastServerRef.exportObject(UnicastServerRef.java:129) at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:275) at java.rmi.server.UnicastRemoteObject.exportObject(UnicastRemoteObject.java:206) at org.jboss.invocation.jrmp.server.JRMPInvoker.exportCI(JRMPInvoker.java:394) at org.jboss.invocation.jrmp.server.JRMPInvoker.startService(JRMPInvoker.java:305) at org.jboss.invocation.jrmp.server.JRMPInvoker$1.startService(JRMPInvoker.java:108) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) at org.jboss.invocation.jrmp.server.JRMPInvoker.start(JRMPInvoker.java:566) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:394) at org.jboss.system.ServiceController.start(ServiceController.java:411) at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at o
Re: [JBoss-user] Why undeployment could not delete temp directories...
Rod Macpherson wrote: > > Regarding the linkage error, we have the same problem hot deploying EJB > jars. This sounds like a serious problem because it means we cannot hot > deploy squat. - Let me know if you somehow determine this problem, my ejb .ear works without LinakgeError problems with Sun reference implementation, but with JBoss works only on first deployment; every other redeployment produces class loading troubles... > > > -Original Message- > From: Svetozar Radojcin [mailto:[EMAIL PROTECTED] > > - What I only know is that, in fact, with these old directories, > subsequent redeployments of the same .ear produces LinkageError and > other class loading errors ... > --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Docs
Haven't got any update from Componentsource yet. When shall I expect this to happen? Original Message Follows From: Rafal Kedziorski <[EMAIL PROTECTED]> Reply-To: [EMAIL PROTECTED] To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] JBoss Docs Date: Mon, 29 Dec 2003 22:07:34 +0100 At 19:59 29.12.2003, Scott M Stark wrote: The latest cmp2 docs are in the admin devel guide of the all docs subscription. Will be there be an extra cmp2 subscription? Regards, Rafal --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user _ Plan your week with MSN Weather - http://www.msn.cz/weather/ --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Docs
At 19:59 29.12.2003, Scott M Stark wrote: The latest cmp2 docs are in the admin devel guide of the all docs subscription. Will be there be an extra cmp2 subscription? Regards, Rafal --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Why undeployment could not delete temp directories...
The question was deleting tmp and the point was that you can delete tmp and work folders as a precaution during development but that it would be very bad form to do so in production. I guess that is a "no you should not be responsible" for deleting them. Regarding the linkage error, we have the same problem hot deploying EJB jars. This sounds like a serious problem because it means we cannot hot deploy squat. -Original Message- From: Svetozar Radojcin [mailto:[EMAIL PROTECTED] Sent: Monday, December 29, 2003 7:36 AM To: [EMAIL PROTECTED] Subject: Re: [JBoss-user] Why undeployment could not delete temp directories... Rod Macpherson wrote: > A "sanitize" ant task to take out the tmp folder and work folder > (compiled JSPs from jasper) seems prudent to ensure a clean deploy. > That would not be wise in a production environment since you do not > want to pull the rug out from under active clients and you would not > want to affect other deployments in the same config. So what you want to say, should my ant task be responsible for deletion of these old directories, or not ? - What I only know is that, in fact, with these old directories, subsequent redeployments of the same .ear produces LinkageError and other class loading errors ... > > > > > -Original Message- > From: Svetozar Radojcin [mailto:[EMAIL PROTECTED] > Sent: Sun 12/28/2003 4:34 AM > To: [EMAIL PROTECTED] > Cc: > Subject: [JBoss-user] Why undeployment could not delete temp > directories... > > > > ... from /tmp/deploy/ ? > > - Is this any other way to delete these temp. directories after > undeployment some .ear archive ? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] CMR fields and sorting?
I am using XDoclet to generate EJBs that have some CMR fields. I'm using the XDoclet VO's as well. I'm curious if anyone knows of a way to sort the CMR field given some Comparator class. Not sure if there is a way to do this with JBoss during the construction of the EJB object, or with XDoclet, or in the XDoclet produced code. Thanks. Troy --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss Docs
The latest cmp2 docs are in the admin devel guide of the all docs subscription. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Hunter Hillegas Sent: Monday, December 29, 2003 10:46 AM To: JBoss User Subject: [JBoss-user] JBoss Docs I bought the JBoss 3.x CMP docs a long time ago. They are now pretty behind the times since I know a lot has gone into the CMP engine. Where can I get the most up to date CMP docs? Thanks, Hunter --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] NoClassDefFoundError - org/xml/sax/EntityResolver
I need to have my ear use it's own loader repository, hence the line 'richardh.test:loader=test.ear' I have added to my jboss-app. Deploying the ear now results in an exception:- java.lang.NoClassDefFoundError: org/xml/sax/EntityResolver when the servlet starts. I'm using Java 1.4.2 so this class should be present. It worked before the loader-repository line was added. JBoss 3.2.3 Happy new year, Richard. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] JBoss Docs
I bought the JBoss 3.x CMP docs a long time ago. They are now pretty behind the times since I know a lot has gone into the CMP engine. Where can I get the most up to date CMP docs? Thanks, Hunter --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Prob lem
Hi, I'm confused... I cannot remove the target-relation tag, because it is needed to generate the jbosscmp-jdbc.xml mappings for the relationshipp I'm trying to create. What I am trying to do is fetch data from tableB based on a key found in tableA, in a 1:1 relationship, where tableB is reference data and has no knowledge of tableA and used as a lookup so that tableA doesn't need to store a bunch of duplicate data for each entry. Here is an example of something I want to do: 1) Beer Recipe table Recipe_Grain_Id - primary key Grain_Type - integer mapping to the grain table mapping to grain.grain_id 2) Grain table Grain_Id - primary key Grain_name - data Grain data 1 Grain data 2 Etc. How should this relationship be set up? I initially thought of making it a 1:1 unidirectional, where the recipe table can return the local bean object of the grain itself. However, I don't seem to be able to get the jbosscmp-jdbc.xml relationship element setup for jboss to understand this. Is this just something that cannot be done in this context? If it can be done, how would the relationship look in jbosscmp-jdbc.xml (key-field, column-name, field-name)? Does this have anything to do with primary key fields? The code in JDBCRelationshipRoleMetaData.java, where the exceptions have been thrown, seems to look like the grain_type column from table #1 must be a primary key field. I'm lost... Can someone set me straight on if this relationship should work??? I would really need to know exactly how the relationship should look in jbosscmp-jdbc.xml. Thanks, in advance, for the help... Regards, Matt Hanson -Original Message- From: Alexey Loubyansky [mailto:[EMAIL PROTECTED] Sent: Tuesday, December 23, 2003 1:27 PM To: [EMAIL PROTECTED] Subject: RE: [JBoss-user] 1:1 Unidirectional (Aggregate) Relationship Problem Because you mapped the foreign key to the primary key field with this: * @jboss.target-relation fk-column="recipe_grain_id" * related-pk-field="recipeGrainId" Just removed it. --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
Re: [JBoss-user] Why undeployment could not delete temp directories...
Rod Macpherson wrote: > A "sanitize" ant task to take out the tmp folder and work folder (compiled JSPs from > jasper) seems prudent to ensure a clean deploy. That would not be wise in a > production environment since you do not want to pull the rug out from under active > clients and you would not want to affect other deployments in the same config. So what you want to say, should my ant task be responsible for deletion of these old directories, or not ? - What I only know is that, in fact, with these old directories, subsequent redeployments of the same .ear produces LinkageError and other class loading errors ... > > > > > -Original Message- > From: Svetozar Radojcin [mailto:[EMAIL PROTECTED] > Sent: Sun 12/28/2003 4:34 AM > To: [EMAIL PROTECTED] > Cc: > Subject: [JBoss-user] Why undeployment could not delete temp directories... > > > > ... from /tmp/deploy/ ? > > - Is this any other way to delete these temp. directories after > undeployment some .ear archive ? --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] JBoss 4.x and J2EE 1.4 certification
A 4.x release will be certified, but its not likely to be the 4.0.0 final release. The 4.0.x releases will be j2ee 1.4 compliant. Dates are still in planning. Scott Stark Chief Technology Officer JBoss Group, LLC -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of Sasidharan, Manoj Sent: Saturday, December 27, 2003 6:19 PM To: [EMAIL PROTECTED] Subject: [JBoss-user] JBoss 4.x and J2EE 1.4 certification Hello All, Will the JBoss v4.0 release be J2EE 1.4 certified? Or will the initial release be compliant and would be certified later. We have developed a J2EE application product that requires J2EE 1.3 compliant application server like JBoss 3.2.x. In the next release, we would be using J2EE 1.4 specifics and would be interested in knowing the planned dates for the release of JBoss 4.x and its certification. Hope you all had a wonderful X-Mas. Wishing you all a Happy and Prosperous New Year 2004. MS --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Local/Global transaction with MDB
Title: RE: [JBoss-user] Local/Global transaction with MDB Nobody answer, so I can assume that it is all correct ? :-) I do not want to trigger a lengthy debate that might have already been discussed previously. I am just looking for some pointers if something is not right in the way I think the MDB are working with transactions. Thanks. Thomas -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: Tuesday, December 23, 2003 1:30 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] Local/Global transaction with MDB I am trying to list the different possible transaction options and behavior for a Message Driven that is also sending JMS messages as part of the logic of its onMessage operation. This subject has already been touched through multiple post in the mailing list, but I did not find any consolidated version. Here is what was able to determine so far. Please, feel free to comment, especially if something is not accurate. Thanks. Container-managed transaction === - The trans-attribute of the onMessage operation can be set to Required or NotSupported. I am not sure to understand the difference between the two since, in both cases, it seems that according to the EJB specification, the reading of incoming messages will be done within a transaction created by the container. In the case of Jboss, it seems that if NotSupported is used, the messages are read in a transaction but not in a global XA one (no messages can be sent as part of a global XA transaction from within the onMessage method). Can I expect that this behavior will be the same on all app servers? - The connection factory of the input destination must be an XA connection factory. This is not clearly stated by the spec, so I guess it is up to each app server. In the case of Jboss, I can use the false in the jboss.xml to specify that it is not. In this case, the JBoss container will do a "regular" commit on the JMS session. A global transaction is still created and JMS messages can be sent from within onMessage in this global transaction. When onMessage returns the global transaction is committed and then the input message session is committed. - According to EJB spec, any JMS session open within a global transaction (open within a container managed transaction MDB) will be enlisted in the global transaction and the createXXXSession parameters (boolean transacted, int acknowledgeMode) are ignored. It also means, I suppose, that the corresponding connectionFactory must be an XA connection factory. If a non-XA connection factory is used, the behavior is probably app server specific. In the case of Jboss, if a non-XA connection factory is used (not JmsXA) the JMS session is not enlisted automatically and this is the responsibility of the onMessage code to do the commit (or abort) on the JMS session (or to use auto-acknowledge JMS session). - In the case of an exception thrown by onMessage (it is not supposed to happen, but just in case), any global transaction will be aborted. In the case the input message has been read in a regular JMS transaction (Jboss specific when input destination connection factory is not XA or when NotSupported is used for trans-attribute) then this regular JMS transaction is also aborted. Bean-managed transaction - This case is much simpler, a global transaction is never created by the container. The input JMS message is acknowledge before onMessage is called (according to the acknowledge-mode). - JMS messages sent from the onMessage code are following the regular JMS rules for transaction. Multiple messages can be sent within one global transaction if this transaction is explicitly created within the onMessage code (getUserTransaction) and provided that XA connection factories are used. Thomas --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] use of http-invoker
Hi folks, Merry Chrismas and Happy new year to all What is the URL to dynamicly create a JMS queue using the http-invoker ? I already have a URL which points to jmx-console/HtmlAdaptor but I'd like not to have to deploy the jmx-console (just using the http-invoker) thanks, ionel ___ Do You Yahoo!? -- Une adresse @yahoo.fr gratuite et en français ! Yahoo! Mail : http://fr.mail.yahoo.com --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278&alloc_id=3371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] Cannot access EJB with multiple CMR columns
Hi, did you check that all column names are not sql reserved words? Some databases check for them at every place while others are more relaxed and when they know that at a certain place only a column name is allowed, allow the use of reserved words. You can (from 3.2.2 on) have JBoss escape reserved words. Have a look at the bottom of standardjbosscmp-jdbc.xml > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] Behalf Of Rod > Macpherson > Sent: Wednesday, December 24, 2003 6:57 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Cannot access EJB with multiple CMR columns > > > It's on a developer's local sandbox so when he gets back I > will have him > turn on the SQL debug output and we will provide you with the exact > query that is failing. > > Rod > > -Original Message- > From: Alexey Loubyansky [mailto:[EMAIL PROTECTED] > Sent: Tuesday, December 23, 2003 11:11 PM > To: [EMAIL PROTECTED] > Subject: RE: [JBoss-user] Cannot access EJB with multiple CMR columns > > > So what is causing the SQLException? Incorrect SQL? > > > -Original Message- > > From: [EMAIL PROTECTED] > > [mailto:[EMAIL PROTECTED] On Behalf Of > > Rod Macpherson > > Sent: Wednesday, December 24, 2003 12:34 AM > > To: [EMAIL PROTECTED] > > Subject: [JBoss-user] Cannot access EJB with multiple CMR columns > > > > > > We get the following error fetching one of our entity beans in JBoss > > 3.2.2: > > > > java.sql.SQLException: ORA-00936: missing expression > > > > The associated table is different than every other table in > > the schema. > > I will use a fictitious example to explain. Assume you have a > > TREE table with six columns that reference the ORNAMENT > > table. Therefore each TREE is restricted to six associated > > ORNAMENT records. The entity beans associated with TREE are > > failing to load. This is not a common structure. In general > > we use an intersect table to associate any number of child > > records with the parent. We can use that as a workaround. > > Also noted that eliminating all or all but one of the > > ORNAMENT refereces from the TREE bean's deployment descritor > > fixes the problem. The failure only shows up when a given EJB > > has several foreign key references to the same table. > > > > > > > > > > > > > > > > --- > > This SF.net email is sponsored by: IBM Linux Tutorials. Become an > > expert in LINUX or just sharpen your skills. Sign up for > IBM's Free > > Linux Tutorials. Learn everything from the bash shell to sys admin. > > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick > > ___ > > JBoss-user mailing list > > [EMAIL PROTECTED] > > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > > > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign up for > IBM's Free Linux Tutorials. Learn everything from the bash > shell to sys > admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > > > --- > This SF.net email is sponsored by: IBM Linux Tutorials. > Become an expert in LINUX or just sharpen your skills. Sign > up for IBM's > Free Linux Tutorials. Learn everything from the bash shell > to sys admin. > Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=ick > ___ > JBoss-user mailing list > [EMAIL PROTECTED] > https://lists.sourceforge.net/lists/listinfo/jboss-user > --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id78&alloc_id371&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user