[JBoss-user] [Installation, Configuration & Deployment] - Re: Ears, Depends and Deployment ordering
"bwallis42" wrote : | It looks like the substitution of the system properties into the -ds.xml file is happening before the system property service is deployed. I have a dependency in the -ds on the property service but that doesn't seem to help. | To re-ask what should be a simple question, Is the -ds.xml file expanded before anything is deployed. I suppose it has to work this way if the dependencies specified in the -ds.xml file cannot be worked out until it has been expanded. Is this correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936467#3936467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936467 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Ear deployment ordering and Extension-Name/Extension-Lis
Isn't the contents of "Extension-List" a list of the other extensions that a jar uses? Is there no way to define inter ear dependencies? I know I can use a prefix deployment sorter but that is so clunky, I have to rename all the ears/jars/*.xmls when they deployed to get them deployed in the right order. I did write a deployment sorter of my own that had a file containing a list of the deployments in the correct order but having to manage a central list of applications is a source of errors when there are multiple applications and developers. I was hoping to find a better way to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936441#3936441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936441 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Ear deployment ordering and Extension-Name/Extension-List
Am I correct in believing that setting the Extension-Name value in one ear file's MANIFEST.MF and including that same name in the Extension-List value in another ear file's MANIFEST.MF should cause the first ear file to be deployed before the second one? I'm sure I had this working once before but now it doesn't seem to be. I am running on JBoss 3.2.3. thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936261#3936261 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936261 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Ears, Depends and Deployment ordering
I have an ear file with a -service.xml file containing a system properties service that loads some properties that I want to use to configure a -ds.xml file that defines a resource adaptor service. (the service and ds files are included below) If I deploy the ear file the properties are not substituted into the -ds.xml file when the resource adaptor is deployed. But if I move the property service outside of the ear file then it all deploys OK. It looks like the substitution of the system properties into the -ds.xml file is happening before the system property service is deployed. I have a dependency in the -ds on the property service but that doesn't seem to help. Is there any way to get this to work as expected? I think the expansion of the -ds.xml file is happening too soon when it is included in the ear file. I'm running a 3.2.3 jboss server. | | | | | ./properties/javacommon.commonutils.properties | | | -- | | | | | | | | | OpenCIConnection | | OpenCI/Connection | | ${javacommon.commonutils.OPENCIHOST} | ${javacommon.commonutils.OPENCIPORT} | ${javacommon.commonutils.OPENCISYSTEM} | true | ${javacommon.commonutils.OPENCIUSER} | ${javacommon.commonutils.OPENCIPASSWD} | | | ${javacommon.commonutils.MINOPENCICONNECTIONS} | | ${javacommon.commonutils.MAXOPENCICONNECTIONS} | | 24 | | 60 | | | | | ot.javacommon.commonutils:type=Service,name=SystemProperties | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934962#3934962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934962 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Simple Service Parameterization
Thanks Scott for pointing me to that page. I'm running a 3.2.3 jboss installation so i expect that only the system property references are going to work for me. Do these work in 3.2.3? thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930864#3930864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930864 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Simple Service Parameterization
As part of my application I am deploying a mailservice using the org.jboss.mail.MailService mbean. In the service file I need to specify various parameters such as the mail host, login details, etc. Currently we do that at installation time by massaging the mail-serivce.xml file, replacing some tokens with the correct values. Of course this means I cannot include this service.xml file in my ear file as part of the application. Is there anyway I can do this so that I can just use a parameter file somewhere (maybe a properties file or as system properties at jboss startup). ie: my service file would be something like: | | java:/ESERV_Mail | ${mail.user} | ${mail.passwd} | etc... | There are many other cases where I would like to be able to do something like this such as database connection parameters (user/[EMAIL PROTECTED]), database server hostname, JCA parameters for external host names, ports, etc.. Is there a general mechanism for doing this? thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930850#3930850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930850 --- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Trying to get started
"kazan7" wrote : | However, I am getting this stacktrace: | [BasicPropertyAccessor] IllegalArgumentException in class: com.x.persistence.Test, setter method of property: Id | [BasicPropertyAccessor] expected type: java.lang.Integer, actual value: java.lang.Integer | [STDOUT] org.hibernate.PropertyAccessException: IllegalArgumentException occurred while calling setter of com.xxx.persistence.Test.Id That looks like a class path issue. Usually when you get an error like "expected type: java.lang.Integer, actual value: java.lang.Integer" it suggests that you have somehow managed to load two instances of the Integer.class with two different class loaders. You can easily see if this is the case via the Jmx console. Follow the link named "name=Default,service=LoaderRepository" near the top and invoke the "java.lang.String displayClassInfo()" operation with java.lang.Integer as the parameter. It should tell you if you have two copies of Integer loaded (if I remember correctly) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903425#3903425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903425 --- This SF.Net email is sponsored by the JBoss Inc. Get Certified Today * Register for a JBoss Training Course Free Certification Exam for All Training Attendees Through End of 2005 Visit http://www.jboss.com/services/certification for more information ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Does JBoss 4.0.x still support EJB1.1?
"BigCanOfTuna" wrote : | For future reference. The 2.1 specs mandate EJB 1.1 support, and according to EJB3.0 early draft 2, EJB 1.1 is also manadated. | A couple of weeks ago (at the serverside symposium) the EJB 3.0 team were seriously considering removing this from the spec. I'd wait and see what ends up in the public draft which is expected around June before making any permanent decisions on this. If it does remove the compatibility, will it be possible for JBoss to support both containers at the same time? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872804#3872804 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872804 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Configure Oracle with JBOSS
It should work in lib. What is the class that is not found? No need to unpack and classes13.zip and classes13.jar should contain the same classes, a jar file is just a fancy zipfile. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3866997#3866997 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3866997 --- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Username and Password
Do you have an entry for myUser in conf/jbossmq-state.xml? This is where you configure the user/password for a JMS user. It isn't integrated with the JAAS security in any way AFAIK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3854715#3854715 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3854715 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Forcing close/reopen of JMS connection used for MDB
Is there any way to periodically cause the close and reopen of the JMS connection used for an MDB? I'm trying to work around a memory leak problem in an external queue implementation (oracle) and one of the work arounds is to close and restart the session. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853965#3853965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853965 --- This SF.Net email is sponsored by: Sybase ASE Linux Express Edition - download now for FREE LinuxWorld Reader's Choice Award Winner for best database on Linux. http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: What classloader for $JBOSS_HOME//default/l
"bwallis42" wrote : I am working through a class loader issue and was wanting to change the value of jboss.server.lib.url to point to my own server lib directory that is not under the server/ directory. | | It doesn't seem to work, I still seem to be using the lib directory under the server/ directory. I tried tracing through the code and have the following issues/questions | - the value in the jboss.server.lib.url property doesn't seem to be used, is it and where? | To anwer my own old question, I have resolved this. jboss.server.lib.url property is not used, the correct way to specify the location of the server lib directory is by changing or adding entries in the ${jboss.server.home.dir}/conf/jboss-service.xml file. I submitted a bug suggesting that jboss.server.lib.url should be deprecated and generate a warning if used. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852290#3852290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852290 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Authentication for Weblogic app calling EJB in JBoss
I was wondering if anyone has an example of how to configure a weblogic (8.1) ejb that is acting as a client of a JBoss EJB so that it can authenticate it self with the jboss EJB. Our standalone client apps use the jboss ClientLoginModule to authenticate. Can we this from within a WebLogic ejb? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3851995#3851995 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3851995 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Integrating JBossMQ with a foreign JMS provider
I don't know about Tibco, but if you end up having to implement something, there is an example of an integration of JBossMQ with oracle's AdvancedQueueing/JMS in the jboss patch 912173 (see link below). I wouldn't take this example as a good example of an implementation since it does some nasty stuff with inheriting from some internal oracle classes, but it does work OK. http://sourceforge.net/tracker/?group_id=22866&atid=376687&func=detail&aid=912173 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850460#3850460 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850460 --- This SF.net email is sponsored by: IT Product Guide on ITManagersJournal Use IT products in your business? Tell us what you think of them. Give us Your Opinions, Get Free ThinkGeek Gift Certificates! Click to find out more http://productguide.itmanagersjournal.com/guidepromo.tmpl ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - JNI and System.loadLibrary
I have come across what looks like a problem with classloading and JNI. I am using oracle streams, JMS and XML. The oracle/JMS to JBoss interface I'm using is the Oracle AQ Patch 9i from the patches list (http://sourceforge.net/tracker/index.php?func=detail&aid=912173&group_id=22866&atid=376687) by p0six (thanks!) Now, the problem seems to be that two of the oracle jar files have classes with native methods (aqapi.jar and xdb.jar) but the implementations of these are in one shared library (libclntsh.so). If the two jar files are not loaded by the same classloader you seem to get problems with the java native to C symbol mapping. I think that the mapping is setup by the ClassLoader.loadLibrary call and is local to the classloader. So, if one jar in one classloader causes the load of the library any use of a class with native methods from the other jar fails with a LinkageError and the name of the native method. My current workaround is to combine the oracle jars together into a single jar file but this is not a very pretty solution. Another workaround would be to ensure that all jars that load JNI implementations from a single shared library are loaded by the one class loader. Of course you have to know which jars will reference which libraries. Have I understood how the classloaders and JNI libs are related and is there a way of handling this cleanly without an intimate understanding of which jars are using which shared libraries? Any suggestions welcome. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846744#3846744 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846744 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: What classloader for $JBOSS_HOME//default/l
Oops, topic was mean't to be What classloader for $JBOSS_HOME//lib View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846730#3846730 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846730 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - What classloader for $JBOSS_HOME//default/lib
I am working through a class loader issue and was wanting to change the value of jboss.server.lib.url to point to my own server lib directory that is not under the server/ directory. It doesn't seem to work, I still seem to be using the lib directory under the server/ directory. I tried tracing through the code and have the following issues/questions - the value in the jboss.server.lib.url property doesn't seem to be used, is it and where? - I cannot find which classloader is used for the jars in the server lib dir. Running 3.2.3 under linux (2.6.7/glibc2.3.3) and jdk 1.4.2_05 thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846729#3846729 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846729 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=5047&alloc_id=10808&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: conf/web.xml gets truncated
Forgot to mention, I did try putting the conf directory onto the classpath in an "out of the box" jboss 3.2.3 system and it then also truncates the web.xml file so the problem is nicely reproducable now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844623#3844623 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844623 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: conf/web.xml gets truncated
OK, found what it is in our configuration that causes web.xml to be overwritten. For a reason that I cannot quite remember we have always had the server conf directory on our classpath when jboss starts up, something to do with using ClassLoader.getResource() for properties I think, anyway we don't use that anymore. Also when we changed from 3.2.1 to 3.2.3 we also changed from jetty to tomcat. If I take the conf directory off the classpath then the web.xml file is not truncated, although it's last modified time is still updated. On a Solaris system I launched the JVM with truss and then matched up the tracing in the JBoss log with the truss output and found the following. (the first log shown at the end is the jboss log followed with the truss log) The first JBoss timestamp at 2004-08-10 14:37:35,460 corresponds to a time of 123.4634 in the truss log and the last JBoss timestamp is a time of 123.5674 in the truss log so the jboss tracing overlaps the two truss entries shown. Notice that the second open call in the truss log has flags O_CREATE|O_TRUNC which is going to do exactly that, truncate the web.xml file. This second open call fits into the time between the last two jboss log entries shown which seem to be in the UnifiedClassLoader3. That's about as far as I can go as I don't know this area of the JBoss code at all. Is this a bug I should report? The work around is simple, don't put the conf dir on your classpath :-) jboss log: == 2004-08-10 14:37:35,460 TRACE [org.jboss.mx.loading.UnifiedClassLoader] getResourceLocally([EMAIL PROTECTED] url=file:/vobs/NotificationSer vice_build/JAVA_dbg/run/NS_EFD/jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11}), name=web.xml, resURL:file:/vobs/NotificationService_build/JAVA_dbg/run/NS_EFD/jboss/co nf/web.xml 2004-08-10 14:37:35,464 TRACE [org.jboss.mx.loading.UnifiedClassLoader3] attempt(1) was: true for :[EMAIL PROTECTED] url=file:/vobs/Notific ationService_build/JAVA_dbg/run/NS_EFD/jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11} 2004-08-10 14:37:35,465 TRACE [org.jboss.mx.loading.LoadMgr3] registerLoaderThread, [EMAIL PROTECTED] url=file:/vobs/NotificationServic e_build/JAVA_dbg/run/NS_EFD/jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11}, t=Thread[main,5,jboss], prevT=null 2004-08-10 14:37:35,467 TRACE [org.jboss.mx.loading.LoadMgr3] Begin beginLoadTask, [EMAIL PROTECTED]: java.io.FileOutputStream, r equestingThread: Thread[main,5,jboss], requestingClassLoader: [EMAIL PROTECTED] url=file:/vobs/NotificationService_build/JAVA_dbg/run/NS_EF D/jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11}, loadedClass: null, loadOrder: 2147483647, loadException: null, threadTaskCount: 0, state: 0} 2004-08-10 14:37:35,468 TRACE [org.jboss.mx.loading.UnifiedClassLoader] loadClassLocally, name=java.io.FileOutputStream 2004-08-10 14:37:35,469 TRACE [org.jboss.mx.loading.UnifiedLoaderRepository3] cacheLoadedClass, classname: java.io.FileOutputStream, class: class java.io.FileOutputStream, ucl: [EMAIL PROTECTED] url=file:/vobs/NotificationService_build/JAVA_dbg/run/NS_EFD/jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11} 2004-08-10 14:37:35,470 TRACE [org.jboss.mx.loading.LoadMgr3] End beginLoadTask, loadClassFromClassLoader 2004-08-10 14:37:35,472 TRACE [org.jboss.mx.loading.LoadMgr3] Begin endLoadTask, [EMAIL PROTECTED]: java.io.FileOutputStream, req uestingThread: Thread[main,5,jboss], requestingClassLoader: [EMAIL PROTECTED] url=file:/vobs/NotificationService_build/JAVA_dbg/run/NS_EFD/ jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11}, loadedClass: class [EMAIL PROTECTED], loadOrder: 2147483647, loadException: null, thre adTaskCount: 0, state: 4} 2004-08-10 14:37:35,473 TRACE [org.jboss.mx.loading.UnifiedClassLoader3] release(1) for :[EMAIL PROTECTED] url=file:/vobs/NotificationServi ce_build/JAVA_dbg/run/NS_EFD/jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11} 2004-08-10 14:37:35,474 TRACE [org.jboss.mx.loading.UnifiedClassLoader3] released, holds: 0 2004-08-10 14:37:35,522 TRACE [org.jboss.mx.loading.UnifiedClassLoader3] attempt(1) was: true for :[EMAIL PROTECTED] url=file:/vobs/Notific ationService_build/JAVA_dbg/run/NS_EFD/jboss/deploy/jbossweb-tomcat41.sar/ ,addedOrder=11} truss log: === 19438: 123.5093 open("/vobs/NotificationService_build/JAVA_dbg/run/NS_EFD/jboss/conf/web.xml", O_RDONLY|O_LARGEFILE) = 15 19438: 123.5644 open("/vobs/NotificationService_build/JAVA_dbg/run/NS_EFD/jboss/conf/web.xml", O_WRONLY|O_CREAT|O_TRUNC|O_LARGEFILE, 0666) = 17 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844621#3844621 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844621 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free G
[JBoss-user] [HTTPD, Servlets & JSP] - conf/web.xml gets truncated
I'm running JBoss 3.2.3 on gentoo linux (kernel 2.6.7, libc 3.3.2) with jdk 1.4.2_05. When I startup the jboss server it starts OK but then when starts up tomcat (log extract below) it gets a parse error and fails to deploy any of the web apps. The parse error is due to the default web.xml (in conf) being empty. But it was OK before I started jboss. Watching the conf directory you can see it is truncated about 10 seconds after the server starts (about 1/3rd of the startup time). If I change the protection on the web.xml file so it is not writable then everything starts up OK, no error at all. My JBoss configuration is not quite out of the box, the server configuration is a little modified for our production environment, but it is pretty close the original. If I start an out of the box JBoss 3.2.3 system I notice that the web.xml last modified time is changed to the current time so someone is opening the file for write somewhere. brian wallis... --- 2004-08-05 15:24:22,962 INFO [STDOUT] Apache Tomcat/4.1.29 2004-08-05 15:24:23,287 INFO [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on port 19201 2004-08-05 15:24:23,288 INFO [org.jboss.web.localhost.Engine] CoyoteConnector Coyote can't register jmx for protocol 2004-08-05 15:24:23,487 INFO [org.apache.coyote.http11.Http11Protocol] Starting Coyote HTTP/1.1 on port 19201 2004-08-05 15:24:23,552 INFO [org.jboss.web.localhost.Engine] CoyoteConnector Coyote can't register jmx for protocol 2004-08-05 15:24:23,572 INFO [org.apache.jk.common.ChannelSocket] JK2: ajp13 listening on /0.0.0.0:19210 2004-08-05 15:24:23,578 INFO [org.apache.jk.server.JkMain] Jk running ID=0 time=1/26 config=null 2004-08-05 15:24:23,579 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] OK 2004-08-05 15:24:23,579 INFO [org.jboss.deployment.MainDeployer] Adding deployer: [EMAIL PROTECTED] 2004-08-05 15:24:23,579 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/home/brianw/views/wallis_flatcat/vobs/JavaCommon_src/jboss/configs/ default/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 2004-08-05 15:24:23,720 INFO [org.jboss.web.tomcat.tc4.EmbeddedTomcatService] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/home/brianw/views/wallis_flatcat/vobs/JavaComm on_src/jboss/configs/default/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 2004-08-05 15:24:24,063 ERROR [org.apache.commons.digester.Digester] Parse Fatal Error at line -1 column -1: Premature end of file. org.xml.sax.SAXParseException: Premature end of file. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3844200#3844200 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3844200 --- This SF.Net email is sponsored by OSTG. Have you noticed the changes on Linux.com, ITManagersJournal and NewsForge in the past few weeks? Now, one more big change to announce. We are now OSTG- Open Source Technology Group. Come see the changes on the new OSTG site. www.ostg.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Oracle XA Datasources
I know this isn't quite what you want, but we have successfully used them with Oracle 8.1.7 and JBoss 3.2.1. We are just now upgrading to using Oracle 9.2 so I hope they still work as they did. What problem are you having? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842774#3842774 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842774 --- This SF.Net email is sponsored by BEA Weblogic Workshop FREE Java Enterprise J2EE developer tools! Get your free copy of BEA WebLogic Workshop 8.1 today. http://ads.osdn.com/?ad_id=4721&alloc_id=10040&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - JAAS Client login and JMS authentication
I have a client application that accesses an EJB and also receives messages from a JMS topic. As far as I can tell I have to supply login credentials twice, once using JAAS for authentication to access the EJB and again in the createTopicConnection() call when creating the connection to receive messages from the topic. It would be real nice if the JAAS login info were used for the createTopicConnection() call when called with no parameters. (This is running in a separate client JVM, so it is all remote to the JBoss server) I've stepped through the client side code and cannot see how the JAAS authentication details could be used in the JMS createTopicConnection. I have configured the client to use the org.jboss.security.ClientLoginModule I've asked this question before in the JBossMQ forum so sorry for asking again here but I still don't know how to get this to work (or even if it can work). http://jboss.org/index.html?module=bb&op=viewtopic&t=50866 thanks, brian wallis... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840086#3840086 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840086 --- This SF.Net email sponsored by Black Hat Briefings & Training. Attend Black Hat Briefings & Training, Las Vegas July 24-29 - digital self defense, top technical experts, no vendor pitches, unmatched networking opportunities. Visit www.blackhat.com ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Authentication and JAAS
Still cannot get this to work. Currently my client application is logging in twice, once using JAAS for the ejb access and once when creating the topic connection. I cannot work out how to unify the security for JMS and EJBs when using both from an external client. thanks, brian wallis... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839360#3839360 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839360 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Authentication and JAAS
Thanks for the reply. But I think my initial question might have been a little misleading. It is the client side that is accessing the beans AND connecting to the JMS topic, I have something like the following in the client app: lc = new LoginContext("jbossmq",handler); lc.login(); // ... TopicConnectionFactory cf = ...; TopicConnection tc = cf.createTopicConnection(); If I don't put the username/password into the createTopicConnection() call then the JMS connection fails. My loginconfig for the client is: jbossmq { org.jboss.security.ClientLoginModule required; }; and my server login-config.xml contains (as suggested): guest guest In stepping through the client and server side code I cannot see how the info captured by the ClientLoginModule is used for the JMS connection. Obviously the SecurityAssociation principal and credential (set up by the ClientLoginModule) are not being propagated to the server. For a bean invocation from a client, the proxy SecurityInterceptor does this but what does this for a JMS connection? [list=] View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838894#3838894 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838894 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: how can i make an EJB be deployed first
"gudmundsonsc" wrote : Write your own DeploymentSorter. You certainly can do this. Having done it I can't say I recommend it. The way we went was to maintain a global deployment ordering list and sort based on that. It is a pain in the ass to maintain this. Using the PrefixDeploymentSorter is another option, you just have to name your deployed files 01xxx.ear,02yyy.war, etc.. Of course this is really just the same as above. What I think would be real nice is to be able to define dependencies in the deployment descriptors contained in the war/ear/jar files (or somewhere like that) so that the deployment ordering is flexible and a component only has to specify it's own requirements and you don't need a global ordering defined (as in the above two solutions). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838734#3838734 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838734 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - JMS Authentication and JAAS
Is there any relationship between the authentication I have to use for JMS (TopicConnection.createTopicConnection(user,pass)) and the authentication I use to access my beans (LoginContext.login()) or do we have two separate security domains each of which has to be setup and managed differently? I have a client application that needs to use some EJBs to configure a notification server and then listen on a JMS topic for events that are then generated based on the configuration. As far as I can see, the client has to authenticate twice, once for the EJB access using JAAS and again to setup the topic connection. Have I missed something or is this how it is meant to work? thanks, brian wallis... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838733#3838733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838733 --- This SF.Net email is sponsored by The 2004 JavaOne(SM) Conference Learn from the experts at JavaOne(SM), Sun's Worldwide Java Developer Conference, June 28 - July 1 at the Moscone Center in San Francisco, CA REGISTER AND SAVE! http://java.sun.com/javaone/sf Priority Code NWMGYKND ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: TSS, anonymous posting. Anyone JBoss care to explain? Tr
First, I am also a bit concerned about this issue as well. I am not a JBoss developer just a developer who has also championed JBoss in our company with some success. Hopefully we will become a jboss partner/OEM in the near future. "tldtld" wrote : I dont want to spread FUD, make JBoss go down in flames or be anything else but a customer that sees his favorite product do something non-ethical (apparently). The company I work for cannot afford to answer questions like "Your product comes with JBoss - isnt that the people that XXX?" | | THAT is why I ask, because this could be an actual threat to our product as its bundled today. This can't be left with no response though. Most software in the world today is delivered bundled with/to run on a product who's company has twice been convicted of anti competitive behaviour (amongst other things). In the light of that, if JBoss has been in some way guilty as charged (and that is not proven in my mind) it is a very minor offence compared to some! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3836032#3836032 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3836032 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: I need help with JMS and Oracle Trigger in JBoss 3.2.2 R
"cheenu78" wrote : hi all, | I have a senario where in, I need to publish a message when a table in inserted or updated. That is, is it possible for an Oracle Trigger to publish a message to the JMS Topic? | thanks in advance | srinivas A late reply I know, but... We have done this successfully, but we do a little extra work to decouple oracle and JBoss. Our trigger writes a record to a DB table for each change and we periodically poll that table (from an MBean using JDBC) and publish the message using standard JBoss JMS functionality. At the time this was quite successful and easy to maintain but the overhead is a bit high if there are a lot of changes. We are investigating using Oracle Streams (in 9.2.0.5.0) to asynchronously capture and publish the changes and then to interface to the queue either directly or via the oracle JMS interface from our J2EE application. Haven't got that working yet. brian wallis... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834731#3834731 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834731 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBoss.org *wide* web pages
Hmm, no response. It was a serious question. I seem to need to have the browser window (konqueror 3.2) at least 1300 pixels wide to not get the horizontal scroll bar, ditto for IE (6.0) brian wallis... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3834730#3834730 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3834730 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Any release date for 3.2.4?
Is there an expected release date for 3.2.4? I'm being hassled to upgrade our development environment to 3.2.3 and If possible I'd like to put it off for a week or two and go to 3.2.4 instead. thanks, brian wallis... http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827344#3827344";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827344>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Need third party tools version list in release notes
I'm currently looking at upgrading our development to use the latest release of JBoss. Our project uses a number of third party tools and libraries of things such as JacORB, Xerces, Tomcat, Oracle drivers, MySQL drivers, etc... Some come as part of jboss and sometimes we can use the ones included and othertimes we have to replace the one in jboss with a different version (and test that we didn't break something) My problem is finding out what version of what third party tool is included in a particular jboss distribution. I think a list of these third party things should be available in the distribution that lists - What the tool/library is - Where it comes from (web site) - What license it is distributed under - What version is included with this release of JBoss. - Any patches applied (and what) There seems to be a little of this info in some README files under the thirdparty directory in the source distribution, perhaps this could be formalised a bit and then the version info file I want could be generated from these? Perhaps each one needs a VERSION and a PATCHES file? While I'm at it, I was wondering why the release notes are not included with a distribution? In fact there are no README files of any kind in the top directory of a distribution. I would think that including a set of text files for info about the release in the top directory would be very useful, something like: - A quick 1 paragraph jboss overview in README.1st - Release notes in RELEASENOTES.txt - Release version info in VERSION.txt (ie 3.2.4RC1) - Third party version info in THIRDPARTY.txt - Pre-requirements in PREREQS.txt (ie: jdk version, etc.) - The quick start guide book PDF (jbossj2ee.pdf) thanks, brian wallis... http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3827190#3827190";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3827190>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: CorbaNamingService IOR at Runtime
Wouldn't it be possible to use a corbaloc IOR? I think that jacorb supports these but I haven't actually tried it. I've used them with mico and jacorb clients to an Orbix 2000 server. All you need is the hostname and port number for the server ORB (The port number is set in your jacorb.properties file, find OAPort), ie: for your example of the naming service, assuming your hostname is fred.cat.com and using the default IIOP port number you can use an IOR like the following to get an object reference to the NameService: corbaloc:iiop:[EMAIL PROTECTED]:3528/NameService so you just string_to_object and narrow from this. String nsior = "corbaloc:iiop:[EMAIL PROTECTED]:3528/NameService"; org.omg.CORBA.ORB orb = ORB.init(args, props); org.omg.CORBA.Object obj = orb.string_to_object(nsior); NamingContextExt ns = NamingContextExtHelper.narrow(obj); If you are then just going to look up a name and narrow it to the real object you want, you can use a corbaname IOR instead, so to lookup "myobject" in the "mycontext" naming context you can use: corbaname:iiop:[EMAIL PROTECTED]:3528/NameService#mycontext/myobject and do it all in one go. There is a good article on these IORs at: http://www.iona.com/devcenter/corba/corbaloc.pdf brian wallis... http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3826774#3826774";>View the original post http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3826774>Reply to the post --- This SF.Net email is sponsored by: IBM Linux Tutorials Free Linux tutorial presented by Daniel Robbins, President and CEO of GenToo technologies. Learn everything from fundamentals to system administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Advanced Documentation] - Re: 8 hours lost due to missing info in the documentation
As an owner of the jboss all docs subscription (hang on, it expired last month, must resubscribe, thanks for reminding me :-) I feel I must comment I have found the documentation plus the absolutely fabulous support that I get from the forums and mailing list to be far superior to any (so called) commercial support that I have had to pay big bucks for in the past (I'd love to mention names but shouldn't). But with something as complex as a J2EE server it really does come down to knowing the product as well as you are able to be productive with it. If I have a problem that the doco doesn't help with, then I do have the forums and that extra advantage of an open source server: I *have* the source and it is great quality and not that hard to follow. As to loosing 8 hours on what seems like a simple (in hindsight) problem, all I can say is '"Welcome to software development". It happens. I've been doing this for 25 years and it still happens. Having the source at least gives me a fighting chance! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822467#3822467 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822467 --- SF.Net is sponsored by: Speed Start Your Linux Apps Now. Build and deploy apps & Web services for Linux with a free DVD software kit from IBM. Click Now! http://ads.osdn.com/?ad_id=1356&alloc_id=3438&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user