[JBoss-user] [Security & JAAS/JBoss] - Login Configuration Enhancement
Currently, I can reuse login modules by changing the login configuration stack in various security domains. Would it be possible to make a given security domain referenceable from another stack/domain in the future as an enhancement? Without this, configuration can get messy (so it seems). For example, I want to use the LDAP login module, and I have a domain that contains this login module in its stack. This could be deployed in the static login-config.xml file or as a part of a DynamicLoginConfig deployment. Then, I have another domain that needs the same LDAP configuration plus additional login modules. This means that the same configuration information is now in two different locations (and possibly deployments). This is what I would like to avoid if possible. I can think of two possible solutions. The first would be to reference domains inside a domain's login module stack as I have already alluded to. The second would be to write a login module that could talk to another domain (and thereby accomplish the same thing as the first solution). Are there other alternatives/possibilities out there than can solve this double configuration problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3956234#3956234 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3956234 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - JBossWS 1.0.1 & JBWS-943
Can anyone tell me if JBWS-943 is fixed in JBossWS 1.0.1? The Jira issue is unclear (there is no fix version listed). If not, will there be a patch to solve the EAR scoping issue when using JBoss WS 1.0.1? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3955124#3955124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3955124 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: AJP, Apache, Tomcat SSL question
"acxsjones" wrote : Any help? Given this verbage on the Tomcat AJP connector configuration site for the aforementioned attribute, I would guess that this redirect just allows for conversion to HTTPS. I have used the same security constraint to require the redirect of HTTP traffic to HTTPS. anonymous wrote : If this Connector is supporting non-SSL requests, and a request is received for which a matching requires SSL transport, Catalina will automatically redirect the request to the port number specified here. So, to answer your question, the redirect attribute has nothing to do with AJP per se. Given that, I would assume that there is no AJP+SSL "out of the box". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3949484#3949484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3949484 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Perl SOAP:Lite Client Issues With 4.0.4.GA
I have a J2EE 1.4-based webservice (backed by an EJB). I have been using this same EJB since JBoss 4.0.2. With JBoss 4.0.2/4.0.3, Perl SOAP clients using SOAP:Lite could talk to my web service. With JBoss 4.0.4, the Perl SOAP clients no longer work. Using JBoss 4.0.2 (with TCPMon inbetween the client/server), I can see that the Perl SOAP client posts the following message: | POST /j2eehello/1.0?wsdl HTTP/1.1 | TE: deflate,gzip;q=0.3 | Connection: TE, close | Accept: text/xml | Accept: multipart/* | Accept: application/soap | Host: mwood0205:8080 | User-Agent: SOAP::Lite/Perl/0.66.1 | Content-Length: 432 | Content-Type: text/xml; charset=utf-8 | SOAPAction: "#hello" | | |http://www.w3.org/2001/XMLSchema-instance"; | xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"; | xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";> | | | Melinda | | | | With this request, the 4.0.2-backed request behaves as expected. When changing to JBoss 4.0.4.GA, the same client sending posting exactly the same thing receives the following error response: | HTTP/1.1 500 Internal Server Error | Server: Apache-Coyote/1.1 | X-Powered-By: Servlet 2.4; JBoss-4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200605151000)/Tomcat-5.5 | Set-Cookie: JSESSIONID=9075EE0705C5B3C8648C57AB6EFEB619; Path=/ | Content-Type: text/xml;charset=UTF-8 | Date: Tue, 30 May 2006 21:08:18 GMT | Connection: close | | | | | | env:Client | Endpoint {http://acxiom.com/j2eehello/1.0}J2EEHelloPort does not contain operation meta data for: hello | | | | In contrast, a Java client, which works with both JBoss 4.0.2 and 4.0.4.GA, posts the following: | POST /j2eehello/1.0 HTTP/1.1 | Content-Type: text/xml; charset=utf-8 | Content-Length: 392 | SOAPAction: "" | User-Agent: Java/1.4.2_11 | Host: mwood0205:8080 | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | Connection: keep-alive | | |http://schemas.xmlsoap.org/soap/envelope/"; | xmlns:xsd="http://www.w3.org/2001/XMLSchema"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xmlns:enc="http://schemas.xmlsoap.org/soap/encoding/"; | xmlns:ns0="http://acxiom.com/j2eehello/1.0";> | | | Melinda | | | | The extra namespace definition on the hello object appears to be the answer to the immediate problem, but does this mean that JBoss 4.0.4 is more strict than the JBoss 4.0.2 version? Furthermore, does anyone have any suggestions on how I might find a work around for the Perl client when using JBoss 4.0.4.GA? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3947870#3947870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3947870 --- All the advantages of Linux Managed Hosting--Without the Cost and Risk! Fully trained technicians. The highest number of Red Hat certifications in the hosting industry. Fanatical Support. Click to learn more http://sel.as-us.falkag.net/sel?cmd=lnk&kid=107521&bid=248729&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Reducing the JBoss Server
See the Tuning and Slimming JBossAS Wiki. While it appears to be based on JBoss 3.2.6, it still contains a lot of valid information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3941961#3941961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3941961 --- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&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: How can one find the jboss version that is installed?
"[EMAIL PROTECTED]" wrote : Is there any other way to find the jboss version. Use the Version attribute of the jboss.system:type=Server MBean. Use this wiki to see how to communicate with MBeans from Java-based code when running as a part of the application server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937983#3937983 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937983 --- 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] [Management, JMX/JBoss] - Re: LoggingMonitor mbean dependencies
I should have added that this issue is solved by the JBoss Barrier Controller service in JBoss 3.2.8+/4.0.2+, which was written to solve problems just like this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937280#3937280 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937280 --- 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] [Management, JMX/JBoss] - Re: LoggingMonitor mbean dependencies
"mtihepner" wrote : Is there a way I can set the LoggingMonitor to load last? In your server configuration's deploy directory, add a deploy.last directory and place your LoggingMonitor MBean descriptor in that directory. Then, it will get deployed last, but since the MBean you are monitoring deals with Tomcat's connectors (which get loaded after JBoss "starts"), I am not sure this will work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3937277#3937277 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3937277 --- 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: Remote deployment of WARs, EARs and JARs
"Fernando1910" wrote : I am looking for a way to allow all team members to deploy our WARs/EARs/JARs on the remote JBoss server without having to log on to the OS or to perform an ftp to a directory on the server. Check out the jboss.system:service=MainDeployer MBean via the JMX console. There is a deploy method that takes a URL, and it is easy enough to run a small web server on your workstation to host your components so that they can be deployed in this manner. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936909#3936909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936909 --- 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] [Beginners Corner] - Re: Logging level for SMTPAppender
"dzollinger" wrote : The problem I have is that it doesn't seem to matter what value I set the Threshold or filter/LevelMin values to, I only ever get emails for ERROR or FATAL log events. The issue is likely that the SMTPAppender uses the concept of a triggering event. Log messages that are not triggering events are stored in a cyclical buffer whose size is governed by the SMTPAppender.BufferSize attribute. When a log message that is a triggering event is sent to the appender, that message, plus the messages in the cyclical buffer are sent out via the appender. The SMTPAppender.EvaluatorClass attribute is used to setup what determines the triggering event. If this attribute is not set, the default trigger is any message whose level is greater than or equal to ERROR. To change this, you will need to write your own evaluator class. The TriggeringEventEvaluator Javadoc should be helpful in doing this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936607#3936607 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936607 --- 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: Jacorb timeout
"golubec" wrote : I'm using JBOSS 4.0.0 (and I can't update it to the new version, since there are some business constraints). So jacorb went along with my JBOSS doesn't have such property...So what could you advise me? If there is possibility to update my jacorb can you provide me with details? The version of JacORB that shipped with JBoss 4.0.0 appears to have been JacORB 2.2 (JBoss Patch 2). I downloaded JacORB 2.2 from the JacORB website, and looked at the jacorb.properties file template contained in that JacORB distribution. It contains the property shown below (and mentioned in previous posts): # Initial timeout for establishing a connection. | #jacorb.connection.client.connect_timeout=0 Given that, you should try adding it to your jacorb.properties file in the conf subdirectory of your server configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3936391#3936391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3936391 --- 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: Jacorb timeout
"golubec" wrote : The problem is when application tries to talk by jacorb with host that isn't accessible - it takes a lot of time (probably ~ 20secs). So I've edited jacorb.properties file and changed number of retries to zero (It takes about 1 minute when retries was 5). But 20 secs is still not acceptible :(. | So I guess that i can't affect on this timeout by changing only jacorb.properies timeouts. You certainly can change the timeouts for various client-side aspects, but I am not sure what you want to solve given your post above. Is the issue that you wish JacORB to figure out the server is not available in less than 20 seconds? Depending on your version of JBoss (and subsequently the version of JacORB), you may have the ability to set the following property, and it may be of some help to you. Which version of JBoss are you using? # Initial timeout for establishing a connection. | #jacorb.connection.client.connect_timeout=0 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935854#3935854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935854 --- 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] [Beginners Corner] - Re: Sending Mail on Errors with Log4j
"jiwils" wrote : "khoyaraaz" wrote : Take a look at http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html for more information. | | The http://logging.apache.org/log4j/docs/api/org/apache/log4j/spi/TriggeringEventEvaluator.html class has more helpful input too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935665#3935665 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935665 --- 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] [Beginners Corner] - Re: Sending Mail on Errors with Log4j
"khoyaraaz" wrote : I am receiving 2 emails though, one for each error. Anyone know how I could get a bunch of errors in the same mail, grouped by time or session? The Log4j SMTPAppender provides much of that functionality by default. Take a look at http://logging.apache.org/log4j/docs/api/org/apache/log4j/net/SMTPAppender.html for more information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935662#3935662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935662 --- 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] [Beginners Corner] - Re: Log Settings
"lycovian" wrote : So, is there a way to tell JBoss to append to the existing log rather than simply overwriting it? Check the log4j.xml file that you are using in your server configuration's conf directory or this http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3935657#3935657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3935657 --- 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] [Beginners Corner] - Re: JBOSS auto starts main() method
"_monkey_" wrote : My question is: how can I tell jboss to deploy the .sar file AFTER those ejbs (.ear file) are deployed (instead of deploying .sar file in the first instance)? You can setup dependancies via the depends tag in your jboss-service.xml file. Browse to http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanAnMBeanDependOnASessionBean for more information. Before posting questions here, you might should check out the JBoss JMX FAQ located at http://wiki.jboss.org/wiki/Wiki.jsp?page=FAQJBossJMX in order to get a faster answer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3934391#3934391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3934391 --- 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] [Beginners Corner] - Re: JBOSS auto starts main() method
"_monkey_" wrote : Are there any ways to tell jboss to start running this main() method as soon as Jboss starts (instead of using a servlet)? Write a MBean service, and implement the startService method. If you wish to not depend on JBoss-provided classes, you can implement a start method. The wiki link below explains both of these approaches and provides example code. http://wiki.jboss.org/wiki/Wiki.jsp?page=ExampleHelloWorldService View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3933864#3933864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3933864 --- 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] [Management, JMX/JBoss] - Re: how do i check if JBoss is started?
See http://wiki.jboss.org/wiki/Wiki.jsp?page=StartupAndDeploymentCheck for more information. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932901#3932901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932901 --- 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] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA
"asoleto" wrote : I tried: | - to put classes tree directly inside the SAR file root dir | | +-- META-INF | | +--- jboss.service.xml (similar to the one you provided) | | +--- MANIFEST.MF | +-- test | +-- MyTestMbean.class | +-- MyTest.class | | - to put classes tree inside a jar file in the SAR file root dir | | +-- META-INF | | +--- jboss.service.xml (similar to the one you provided) | | +--- MANIFEST.MF | +-- MyTest.jar | | Always the same error. Notate that the error is not a "NotClassFound" exception, but "No ClassLoader found". This is the reason why I think that JBoss is not able to deploy MBean whitout using JBoss specific classes or XMbean tags. | | ...snip... | | This is like the Loch Ness monster, everybody says that it exists but nobody has never saw it. Whether there is a Loch Ness monster or not, I can say in this case that I have deployed many, many custom written, non-JBoss dependent MBeans in this manner both with JAR files inside the SAR and class files inside the SAR. I have never had any trouble. Two things look problematic to me in the quoted part of your post. They may / may not be typos, but if they are really what you have, they will cause you trouble. #1: You appear to have named your jboss-service.xml file jboss.service.xml which is not correct. Make sure you really name it correctly. In trying to replicate your problem by doing this, I got a jboss-service.xml not found message type of message so this does not appear to be your issue. I'll assume it is a typo. #2: Could it be that you are not packaging your Java classes correctly? It appears (based on your post) that your Java classes are not in the test subdirectory. That could definately lead to the error you are seeing. Furthermore, it may be that the same thing is happening with your JAR file. That would explain why you have trouble using either method of getting your *.class files inside the SAR. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3932466#3932466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3932466 --- 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] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA
"asoleto" wrote : Do you have any example? | | ...snip... | | BUT I don't know if there is a "magic tag" in the jboss-service.xml file that allows me to deploy a custom Standard MBean without using the xmbean-dd tag. By reading your answer, it seems that it is possible. | | My concern is to use SAR without using xmbean or JBoss specific classes. I want to use just JSR-3. Take the JBoss Wiki-provided Hello MBean example *-service.xml descriptor: | | | | Hello World | | The format of this file does not use the XMBean stuff, and whether or not the MBean is written by extending JBoss classes or not is irrelevant. So long as com.acme.HelloWorldService follows JMX standards, and has a corresponding *MBean interface, this will deploy just fine whether in a SAR or deployed via an XML file alone. Have you actually tried any of this? You questions indicate that you have not. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931657#3931657 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931657 --- 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: Safe mail sending that doesn't fill up the mailbox
Write a Log4j filter that filter's messages (based on logger name maybe?) when they occur within a given frequency. See http://logging.apache.org/log4j/docs/api/org/apache/log4j/spi/Filter.html in order to get started. Then, you will need to configure your SMTPAppender so that this filter is used in the log4j.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3931387#3931387 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3931387 --- 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] [JBossWS] - Re: Frustration supporting multiple clients
Is there a reason that you can not use two session beans with one bean delegating to a local interface of the other? That way you really only have one component that does the work with the others just providing the alternate interface? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3930128#3930128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3930128 --- 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] [JBossWS] - Re: Web Service URL
Not sure about how that is created exactly, but it has a lot to do with the EAR and EJB JAR file names (possibly the WAR filename, if you are not using EJB-backed web services). If you added a jboss.xml deployment descriptor to your EJB JAR (and possibly jboss-web.xml to your WAR if you are using a non-EJB backed web service?...not sure) you can specify a port-component-uri tag to override this behavior. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929939#3929939 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929939 --- 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] [Management, JMX/JBoss] - Re: How Can I deploy a Standard MBean on JBoss by using a SA
"asoleto" wrote : As long as I now, only Model MBean, and more precisely XMBean, can be deployed by using a *-service.xml file into a SAR. My MBean implementation has to extend ServiceMBeanSupport and my MBean interface has to extend MBeanService. | | Can I deploy a simple Standard MBean (without extending or implementing jboss classes)? Yes, this is possible. Just write your standard implementation and *MBean interface. If your question is how do I get start and stop behavior without inheriting JBoss-specific classes, just put start and stop methods on your MBean interface. JBoss will recognize that they exist, and it will call them. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3929465#3929465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3929465 --- 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] [Management, JMX/JBoss] - Re: The
I went ahead and created a JIRA issue. http://jira.jboss.com/jira/browse/JBAS-2697 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918769#3918769 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918769 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: The
"jiwils" wrote : Is there any way we could have the shutdown hook send the notification? Then, it could be coded in one place (not the three methods), and I'll be sure it get it in the Ctrl+C and kill cases too. In looking at the Runtime.halt method Javadoc, it does look like it might be necessary to send the notification from multiple places as halt does not invoke the Shutdown Hooks... So, I guess my question is whether or not we might could add this notification to the JBoss Shutdown Hook as well? In all but the Runtime.halt cases, it would take care it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918758#3918758 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918758 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: The
"jiwils" wrote : I know we have tried this with JBoss 4.0.3 (and had the same results), but I am not sure if that was SP1 or not. I will verify this... Okay, I have the same problem in 4.0.3sp1, but its because I am not using the MBean methods to shutdown (in all cases). I am using both Ctrl+C and kill, so while your fixes add the notification to more than one method, it still will not get sent in then. Is there any way we could have the shutdown hook send the notification? Then, it could be coded in one place (not the three methods), and I'll be sure it get it in the Ctrl+C and kill cases too. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918740#3918740 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918740 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: The
The subject did not print correctly... I know we have tried this with JBoss 4.0.3 (and had the same results), but I am not sure if that was SP1 or not. I will verify this... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918693#3918693 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918693 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - The
The org.jboss.system.server.stopped notification appears to only be emitted if ServerImpl.halt/halt(exitcode) is called. Given that server shutdown can be precipitated by the shutdown and exit methods on the same class in addition to a signal sent by Ctrl+C and/or kill depending on your platform, could a sentStopNotification method be added to contain this behavior and to be called by the JBoss Shutdown Hook defined in that same Java file? This seems like it would ensure that the notification was sent regardless of the shutdown method used. Is there a reason that the halt methods are the only ones to emit this notfication that I may have missed? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3918686#3918686 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3918686 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: log4jservice unable to turn off logging
Set your category back to INFO (or WARN, ERROR, FATAL, or OFF) rather than "DEBUG". The level that you choose should be the level you gave the root logger in order to switch back to "default" behavior. Removing a logger from the configuration file does not "remove" it. That does not make sense from a log4j point of view. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917685#3917685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917685 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - BarrierController Service and Dependent Service
I am using JBoss 4.0.2 with the BarrierController service in order to have some custom MBeans depend upon the starting of the Tomcat connectors. Upon startup, everything works just as expected, but upon shutdown of the application server, the "stop" method of my custom MBeans is never called. To verify that my MBean is working correctly, I removed the dependency on the BarrierController service (the MBean it dynamically creates), and all works as expected including the stop method. I've added my BarrierController XML and a simple Test MBean code below (in case I am doing something crazy), but could I have happened upon a bug? In the Test MBean code below, the "Stopping..." log message is never printed when the dependency to the BarrierController is added. | | | false | true | | com.acxiom.grid.jboss.services:name=TomcatConnectors,type=Barrier | | start | stop | | | | | | | | | | | | | | | | package com.acxiom.grid.jboss.services.test; | | public interface TestMBean | { | void start(); | | void stop(); | } package com.acxiom.grid.jboss.services.test; | | import org.apache.log4j.Logger; | | public class Test implements TestMBean | { | Logger logger; | | public Test() | { | logger = Logger.getLogger(getClass()); | } | | public void start() | { | logger.info("Starting..."); | } | | public void stop() | { | logger.info("Stopping..."); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3917197#3917197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3917197 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Adding A Log4jService Reconfiguration MBean Notification
I am confused about one particular aspect of this solution... How does the Log4jService MBean indicate via the implementation of NotificationBroadcaster.getNotificationInfo that it emits this new notification (or does it at all)? I can see via the new Log4jService code that a notification is emitted, but the non-overridden implementation of NotificationBroadcaster.getNotificationInfo just returns an empty array by default. Furthermore, the Log4jService's XML descriptor (in jboss-service.xml) and the XMBean descriptor that it refers to do not appear to add this notification information. Is there some functionality that I am missing, or is the implementation of the NotificationBroadcaster.getNotificationInfo method not a big deal (the code should work anyway)? I ask because in the development of my own NotificationBroadcaster's, should I override the behavior provided by NotificationBroadcasterSupport, use a JBoss XML descriptor in some fashion, or is this a detail that I should not worry about? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3916498#3916498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3916498 --- This SF.net email is sponsored by: Splunk Inc. Do you grep through log files for problems? Stop! Download the new AJAX search engine that makes searching your log files as easy as surfing the web. DOWNLOAD SPLUNK! http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Adding A Log4jService Reconfiguration MBean Notification
JIRA Link: http://jira.jboss.com/jira/browse/JBAS-2449 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907569#3907569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907569 --- 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. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Adding A Log4jService Reconfiguration MBean Notification?
Would it be possible to add a MBean notification to the Log4jService when it reconfigures itself in a future version of JBoss AS? When appenders, filters, etc. are added programmatically (via MBeans), they can be lost if a reconifguration happens, but with a notification, they could be "reconfigured" as well. It would be easy enough to write an aspect to call a custom notification broadcaster if reconfiguration occurs, but it seems like having the service do it explicitly is the right approach. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3907479#3907479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3907479 --- 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. For more info visit: http://ads.osdn.com/?ad_id=7628&alloc_id=16845&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Replicated caches with each node having its own store
I was not trying to suggest you set the CacheLoaderShared attribute to true. I was only asking how it was set in your case given the observed behavior. If you have set CacheLoaderShared to false, that, at least, would seem to be correct. I have used independant cache loaders like this before, and I have not had this trouble. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904880#3904880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904880 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Replicated caches with each node having its own store
Is your cache loader setup to be shared or unshared? This sounds like shared cache loader behavior, which based on your post, you do not want. Example the following attribute in your cache configuration file: true View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3904673#3904673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3904673 --- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Adding a Tomcat Valve Via An MBean?
It looks like JBoss deploys valves in semi-dynamic fashion since the tomcat5-service.jar contains Tomcat MBean descriptor XML files. I am unsure how these are getting deployed however. I tried mocking up my own JAR with a descriptor for a valve and placed it in the jbossweb-tomcat55.sar directory, but I had no luck with that. I also tried using the Listener concept in server.xml as described by http://tomcat.apache.org/tomcat-5.0-doc/mbeans-descriptor-howto.html to refer to the same mock JAR's descriptor, but that did not seem to make a difference. Am I approaching this the correct way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903305#3903305 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903305 --- 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] [Installation, Configuration & Deployment] - JBoss 4.0.3sp1 Released?
According to http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903030#3903030, a new 4.0.3sp1 version of JBoss is now available for download. Is this release going to be officially available from the JBoss website, and in the future, will it be possible for updates such as this to be applied incrementally (4.0.3 then 4.0.3sp1) so that unchanged binaries to not have to "updated"? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3903046#3903046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3903046 --- 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] [Tomcat, HTTPD, Servlets & JSP] - Adding a Tomcat Valve Via An MBean?
I would like to add the Tomcat AccessLogValve programmatically to a running JBossAS instance. I would like to be able to leave the default server.xml configuration alone so it can be packaged "as is", and it would be neat to be able to enable/disable a valve such as this on an "as needed" basis. While it looks like I might could create a server configuration Element and pass that to the server through the JBossWeb/Tomcat MBeans, I would rather not completely reconfigure Tomcat in order to accomplish this (and I am guessing that this route would cause that behavior). Even if there is no "upfront" MBean way to do this, could I add an MBean that could do so programatically by using Tomcat-specific classes, and if so, could anyone help point me to the classes that I need to look at in order to do so? I would have no problem contributing such an MBean if others would find it useful to add any valve to Tomcat on the fly (not just the one I need). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3902181#3902181 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3902181 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Sample of replSync-service.xml done through API instead?
I guess the question is why do you want to use the programmatic API? Are you doing something that requires dynamic cache creation on the fly? If not, I might rethink part of my approach... Specifically, it seems to me that for the JGroups configuration (what the setClusterConfig method pertains to), you could use a XML file packaged in a JAR, so you can pass an Element created from this file without too much effort. It should not be too hard to figure out which types of JGroups configurations you need, and you could prepackage them in this manner. Regardless of whether or not you will use dynamic caches, your JGroups settings should not be that dynamic (if they are, use an XML file that is external to the JAR). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3900494#3900494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3900494 --- This SF.Net email is sponsored by: Power Architecture Resource Center: Free content, downloads, discussions, and more. http://solutions.newsforge.com/ibmarch.tmpl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor -
"ramone1234" wrote : Do you have any idea why this is happening? The short answer is that the logging monitor service is being deployed before JBossWeb (Tomcat), so the MBean you wish to monitor is not yet available. The errors you see go away (and everything works like you wish) once the MBean you are monitoring becomes available. For many uses of logging monitor, you can resolve this issue by using the MBean depends tag in the logging monitor XML descriptor to cause the deployment of logging monitor to depend on the deployment of the MBean you are monitoring. See the provided example for monitoring the default datasource on the wiki page for an illustration on how to do this ( http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossLoggingMonitorExampleDefaultDSServiceConfig ). In your case, however, the MBean that you are using can not be depended on in this manner. See http://wiki.jboss.org/wiki/Wiki.jsp?page=MyDependencyDoesntWork for more information. By adding the dependency specified below to your logging monitor deployment descriptor, you can make the logging monitor deployment depend upon the deployment of the web server service, and that causes the logging monitor deployment to wait until the web server service (and the MBean you wish to monitor) becomes available. jboss.web:service=WebServer View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890294#3890294 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890294 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor -
"ramone1234" wrote : Unfortunately, the Logging Monitor Wiki doesn't give any clue or a better explanation about what might be the "logger" attribute. May you give me a hint about where can I find this information? The logger attribute is the name of the Log4j logger that you wish to use. Strictly speaking, in a programming sense, the line of code where that attribute is used is: Logger logger = Logger.getLogger(); This allows you to take advantage of Log4j logging inheritance/configuration, but that is really beyond the scope of this post. The simplest answer would be that any arbitrary (but meaningful) logger name should do just fine. For more information on Log4j and its use, see the Log4j website: http://logging.apache.org/log4j/. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3890066#3890066 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3890066 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: clustering problems - nodes fail to cluster
Are you starting JBoss on both boxes at close to the same time? Previous versions of JGroups could sometimes run into problems if this is the case. Try shutting down both JBoss instances, then start one, wait until it starts completely, then start the other. See if this makes any difference. Depending on which version of JGroups you downloaded to attempt to use the ViewDemo, that version may contain the resolution to this issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886911#3886911 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886911 --- SF.Net email is Sponsored by the Better Software Conference & EXPO September 19-22, 2005 * San Francisco, CA * Development Lifecycle Practices Agile & Plan-Driven Development * Managing Projects & Teams * Testing & QA Security * Process Improvement & Measurement * http://www.sqe.com/bsce5sf ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Log4J & SMTPAppender
Try using the HTMLLayout by using the following layout elment in your SMTPAppender element: As this is really a Log4j question, you should reference the Log4j website (http://logging.apache.org/log4j/) for help with questions like this. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3886818#3886818 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3886818 --- SF.Net email is sponsored by: Discover Easy Linux Migration Strategies from IBM. Find simple to follow Roadmaps, straightforward articles, informative Webcasts and more! Get everything you need to get up to speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: help with how to debug
It is unlikely that something other than your code is making changes to your objects. You could implement a TreeCacheListener or use one of the pre-existing TreeCacheListener implementations such as TreeCacheView, TreeCacheView2, or ConsoleListener to give you a peek into cache events. Check out the Javadoc packaged as a part of the JBossCache distribution to have a look at the interface and various implementations mentioned. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877733#3877733 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877733 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss/Log4j hangs at startup
Does you configuration file not use a Log4J CONSOLE appender? If not, that is the last line you will see printed on the console. Regardless, if the above is the problem, JBoss is not hanging, it is now longing elsewhere. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877585#3877585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877585 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Clustering
Posts like this should probably be in the Clustering/JBoss user forum located at http://www.jboss.org/index.html?module=bb&op=viewforum&f=64... Your post does not really give much of an indication of what you are trying to do, so it is very hard to come up with much to say in response. A specific question is likely to yield a direct answer. You should probably review the information provided in the links below before posting about clustering, as it will give you some context for your particular use case/question. The JBoss Clustering Wiki: http://www.jboss.org/wiki/Wiki.jsp?page=JBossHA The JBoss 3 Clustering Documentation: http://docs.jboss.org/jbossas/clustering/JBossClustering.pdf View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3877114#3877114 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3877114 --- This SF.Net email is sponsored by Oracle Space Sweepstakes Want to be the first software developer in space? Enter now for the Oracle Space Sweepstakes! http://ads.osdn.com/?ad_id=7393&alloc_id=16281&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Have you coded a cool MBean service you want to share?
"jiwils" wrote : I have an MBean service that I would like to share, and I have it all packaged and ready to use (with a README that can double as a Wiki). However, I do not seem to be able to edit the Wiki page provided. Not sure if this was due to my post or not, but the ability (for me anyway) to edit Wiki's has been restored. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876564#3876564 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876564 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: JBoss LoggingMonitor MBean Submission
I have released version 1.1 that allows for configuration of the monitor's log file rollover period. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876562#3876562 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876562 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - JBoss LoggingMonitor MBean Submission
I have submitted a JBoss Logging Monitor MBean that provides for the logging of specified MBean attributes. >From the introduction section of the wiki: anonymous wrote : The JBoss LoggingMonitor service is similar in purpose to the other monitoring services provided as a part of JBossAS in the org.jboss.monitor package. The JBoss LoggingMonitor service monitor's the specified attributes of a MBean periodically and logs their value to the filename specified. This file can then be used for debugging and/or charting JBoss services information based upon your specific use case(s). More information is available from the wiki: http://www.jboss.org/wiki/Wiki.jsp?page=JBossLoggingMonitor View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876248#3876248 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876248 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Have you coded a cool MBean service you want to share?
I have an MBean service that I would like to share, and I have it all packaged and ready to use (with a README that can double as a Wiki). However, I do not seem to be able to edit the Wiki page provided. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3876094#3876094 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3876094 --- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Creating CORBA wrapper servants for EJB objects
"reverbel" wrote : anonymous wrote : | | I have been interested in contributing an MBean that provided this type of behavior for a while now. | | | Your contribution will be very welcome! (Good to see you in JBoss forums, Jimmy.) Post http://www.jboss.org/index.html?module=bb&op=viewtopic&t=62736 in the IIOP development forum spells out what I thinking (at the moment). Can you take a look and see if there is anything to add/focus on? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874106#3874106 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874106 --- 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: Possible to use JBOSS AS for a non-EJB CORBA application
It seems to me that writing an MBean to host your CORBA servant is probably the way to go if you already have the CORBA servant part written. I plan to contribute a CORBA service framework MBean that you can plug any CORBA servant into in the near future. I plan to post about this in the Design of JBoss IIOP on JBoss development forum today. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3874049#3874049 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3874049 --- 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] [JBossCache] - Re: Use of
http://jira.jboss.com/jira/browse/JBCACHE-131 Attached to it is a modified version of TreeCache based on the latest CVS revision that provides the behavior described in this thread. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873950#3873950 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873950 --- 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] [JBossCache] - Re: Use of
"[EMAIL PROTECTED]" wrote : I'm not sure I see the use case, because a CacheLoader usually sits on a large persistent store, so unless those (unshared) stores would be in-sync, I don't see the point of this. This is exactly the use case I have (I think). My cache is not used to cache datastore data, my datastore is used to persist the cache. It is only for backup purposes (in case of total cache failure), so it duplicates the transient cache state (if more than one loader existed, they would be in synch). Furthermore, there is no eviction. This is very close to the use case described in the TreeCache documentation surrounding cache loader figure 4.2: anonymous wrote : This is a similar case as the previous one, but here only one node in the cluster interacts with a backend store via its CacheLoader. All other nodes perform in-memory replication. A use case for this is HTTP session replication, where all nodes replicate sessions in-memory, and - in addition - one node saves the sessions to a persistent backend store. While I am not doing HTTP session replication, I think the same use case applies. I have a single, unshared cache loader in the cluster, so that if I lose all of the "in memory" cache instances, I still have a backup of the state that I can use to recreate the "in memory" cache. The issue arises when the cache loader node is down (involuntarily) and some changes have occurred to the still running, memory-only cache instances. I need to be able to repersist the cache state to disk (by starting a new cache loader instance) so that I can continue to have a backup. Even in the HTTP session replication situation related above, wouldn't this be a good feature to have? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873828#3873828 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873828 --- 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] [JBossCache] - Re: Use of
"[EMAIL PROTECTED]" wrote : Yes, it will *not* persist anything, unless you | (a) enable CacheLoaderFetchPersistentState and | (b) have a CacheLoader. | | We're talking pure in-memory state transfer So would an enhancement that allowed a cache with a unshared cache loader to persist transient state upon joining a cache cluster be a feasible idea/alternative? Do the example changes I sent make sense in that regard? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873775#3873775 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873775 --- 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] [Security & JAAS/JBoss] - Re: How to config JBoss to support https
"liqundu" wrote : Hi, I am new to JBoss, and would like someone to help me to figure out how to configurate JBoss so it can support https. http://docs.jboss.org/jbossas/jboss4guide/r2/html/ch9.chapt.html#d0e22416 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873308#3873308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873308 --- 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] [JBossCache] - Re: Use of Fetch Flags for Cache Loaders
"jiwils" wrote : Oops! I meant to ask about the CacheLoaderFetchTransientState attribute not the CacheLoaderFetchPersistentState attribute. I must have copy/pasted the wrong thing. When using CacheLoaderFetchTransientState set to true, the cache loader never has anything added to it when joining an extant cluster of caches, and it was this behavior to which I was referring. So, is it correct behavior for a cache with a cache loader newly introduced to a cluster with the transient attribute set to true to *not* persist the transient state? That is the behavior I am experiencing. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873307#3873307 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873307 --- 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] [EJB/JBoss] - Re: Creating CORBA wrapper servants for EJB objects
"radl01" wrote : Using MBean is the good point but you can write your own CORB-to-EJB proxy servants and run this servants in separate CORBA server. It is very easy to write proxy generator which does all the work for you. This solution has one big advantage: | | You can use this scenerio for any J2EE App server. We use this solution for very lage system with a lot of SSB and SFB. I have been interested in contributing an MBean that provided this type of behavior for a while now. It seems to me that while the external CORBA server idea would work, it could be much faster using the MBean method since everything would/could be in the same process and you could utilize EJB local interfaces. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873116#3873116 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873116 --- 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] [JBossCache] - Re: Use of Fetch Flags for Cache Loaders
Oops! I meant to ask about the CacheLoaderFetchTransientState attribute not the CacheLoaderFetchPersistentState attribute. I must have copy/pasted the wrong thing. When using CacheLoaderFetchTransientState set to true, the cache loader never has anything added to it when joining an extant cluster of caches, and it was this behavior to which I was referring. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3873061#3873061 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3873061 --- 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] [JBossCache] - Use of
My interpretation of the CacheLoaderFetchPersistentState attribute is that when a cache instance is joins a cluster of extant caches, the cache loader will fetch the "in memory" state of the cache and then persist it. Of course this only happens if the cache loader is unshared (and mine is). However, this does not appear to happen. The "in memory" cache for the cache instance with the attached cache loader does get the transient state, but apparently nothing about that state is written to disk. Is there a way to cause this to happen? Otherwise, if a cache instance with a cache loader fails, how can recreate that persisted state? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872904#3872904 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872904 --- 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] [JBossCache] - Re: Externalizeable versus Serializeable For Cache Loaders
"[EMAIL PROTECTED]" wrote : sync or async repl ? Can you describe this a bit more in detail ? I will do my best... My application, for testing purposes, consists of a single client, an application instance, and a cache loader instance. The client talks to the application instance that fronts the cache, and the cache loader instance contains just the cache configured to utilize a cache loader. Replication between the cache instances happens asynchronously. The reason that the application instance and cache loader instance are seperate is the use of a cache loader on the application instance had a large impact to performance. The application uses two top-level nodes in the cache, one "/hash" node and one "/root" node. The /hash node's map contains a hash of all of the other locations contained as decendents of the /root node. I think that part of my problem is that as the /root tree grows, the map of the /hash node grows as well (and can get quite large). When using the Sleepycat cache loader, the CPU utilization of the cache loader instance is extremely high (90+%), and persistence of cache data (viewed by watching ReplicationInterceptor TRACE) lags way behind. If I use the File-based cache loader, the lag is greatly diminished and the CPU utilization is less, but the issue still remains. My question is related to how might I improve on this lag. Could I create a customized File-based cache loader so that it only writes the /hash node's changes periodically? Could I try to change my objects to externalizeable from serializeable? Cache-to-cache transient state transmission seems rather fast. Could I perdiodically use that method for persistence instead of the single changes captured by the cache loader? Any other thoughts or impressions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872899#3872899 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872899 --- 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] [JBossCache] - Externalizeable versus Serializeable For Cache Loaders
In my application there are two non-cache loader cache instances (plus my application layer) and a single cache loader instance (without my application layer). With this setup, my "application layer" does not seem to be adversly affected with the addition of the cache loader (as it was in the unshared cache loader case in conjunction with my application layer). However the cache loader instance seems to lag behind (by quite a bit), maybe hours. I am not using TreeCacheAop, because my objects really only have one member, and I am not updating any objects "in place". Would implementing the externalizeable interface make much difference in cache loader performance versus the serializeable implementation? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3872625#3872625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3872625 --- 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] [Clustering/JBoss] - Re: How to isolate clusters ? Modifying mcast_addr isn't wo
I am not sure I can explain the wierd behavior you are seeing, but the reason there are two files that ultimately contain JGroups configurations is that one is for JBoss AS clustering (cluster messaging via JMX, clustered EJBs, etc) and the other is for Tomcat clustering/session replication which does indeed use JBossCache. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871844#3871844 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871844 --- 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] [JBossWS] - Re: Need example of EJB Endpoint Doc/Lit and Standalone Clie
Is portability the only concern that DII or Dynamic proxies avoid? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871810#3871810 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871810 --- 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] [JBossWS] - Re: Need example of EJB Endpoint Doc/Lit and Standalone Clie
Based on the other posts of this thread (and other threads in this forum), I am confused. When you mention that JBoss does not "support" wscompile (or Axis as previous threads have indicated) on the client side, do you mean that these two options do not work with JBoss web services or that JBoss does not provide support (like a support contract) for them? It seems to me that the point of web services is to decouple implmentations of the spec from each other (the client and server). Why would JBoss care what tool I use on the client side? Is it that neither Axis nor wscompile work correctly when building client-side stubs? Could you comment more on the use of DII in this case? Why is this case such a good candidate for this? The inherit type-safety in these other mechanisms seems far more preferable. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871803#3871803 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871803 --- 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] [Security & JAAS/JBoss] - Re: Security Threat
Hmmm...in 4.0.1sp1 I can not replicate that behavior. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871525#3871525 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871525 --- 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] [The Lizzard's corner] - Business Rules Engine Presentation @ JBW Missing?
The business rules engine presentation @ JBW is not currently available. I believe it was in the JBoss Integration Middleware track. Is this just because permission has not been given to display it, or is the issue that permission will likely not be given? We would really like to view these slides again. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871502#3871502 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871502 --- This SF.net email is sponsored by Microsoft Mobile & Embedded DevCon 2005 Attend MEDC 2005 May 9-12 in Vegas. Learn more about the latest Windows Embedded(r) & Windows Mobile(tm) platforms, applications & content. Register by 3/29 & save $300 http://ads.osdn.com/?ad_id=6883&alloc_id=15149&op=click ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Hot Deployment Using JMX
Lookup the MainDeployer MBean on the JMX console using jboss.system as a filter... View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3870148#3870148 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3870148 --- 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] [Installation & Configuration] - Re: Jacorb version
JBoss 3.2.3 certainly does not have the latest JacORB version. I do not remember what version 3.2.3 is packaged with, but I have built a MBean for use in exactly this situation. It reflectively loads the JacORB version class, and reports the information that it contains. I can e-mail it to you if you like. Maybe I should create an MBean that does this for every 3rd party tool/library (where possible), and maybe I should post it on the Wiki? You can update the version of JacORB by replacing jacorb.jar in your server configuration's lib directory. What issue specifically are you trying to solve by incorporating the latest version of JacORB, and are you sure this will solve your problem? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868021#3868021 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868021 --- 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] [Performance Tuning] - Re: GARBAGE COLLECTOR PROBLEM
anonymous wrote : OutOfMemory: unable to create new native thread. This error is actually not necessarily related to lack of memory. It basically means that the JVM could not create a new thread of execution as requested. I have only ever seen it in relation to the Linux kernel 2.4's (and earlier) use of lightweight processes instead of true "threads". 2.4 has a hard-coded limit of 1024 processes that a process can spawn/create. So, because a thread is a process in 2.4 (and earlier), you can only create 1024 in your Java program. This limitation is not just a Java limitation however. I have read that you can recompile the kernel to increase this hardcoded limitation, but I have not done that. For Kernel 2.6+, the use of the NPTL (Native Posix Thread Library) which allows for more "true" thread behavior, will allow you to overcome this limitation (so I have read). You can monitor the number of threads used by your process by using the JMX console in conjunction with the ServerInfo MBean's listThreadDump method. See if you start seeing this exception if your thread count gets up above 1000. If so, then this kernel limitation is the likely source of this particluar exception. In applications where I had this problem, I limited various thread pools so that I never reached the process-wide 1024 thread limit, and that seemed to work well. I am not sure how to address you other problems, but I hope this information helps. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3868018#3868018 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3868018 --- 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] [Installation & Configuration] - Re: Build JBoss Javadoc
I was unable to get this to work in 3.2.4 or 3.2.6. I posted a bug report on JIRA. Vote for it! http://jira.jboss.com/jira/browse/JBBUILD-6 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867779#3867779 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867779 --- 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: JBoss API documentation (JavaDoc)
I experienced a very similar build failed message when trying to use the docs target with JBoss 3.2.4/3.2.6. See forum post/thread http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862405. Unfortunately, the suggested workaround resulted in other build failures. Since using this same, advertised, target in the 4.x branch seems to fail with a similar issue, I wonder if this issue deserves bug report in JIRA. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3863664#3863664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3863664 --- This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting Tool for open source databases. Create drag-&-drop reports. Save time by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc. Download a FREE copy at http://www.intelliview.com/go/osdn_nl ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Build JBoss Javadoc
"[EMAIL PROTECTED]" wrote : Use the all target. I thought you might say that, so I have also run build all for both JBoss 3.2.4 and 3.2.6 and both targets result in failed builds. The specific build errors are below: For 3.2.4: .. | | docs-javadocs: | | _buildmagic:init: | | init: | | docs-javadocs-check: | | docs-javadocs_1_4: | [mkdir] Created dir: C:\dev\jboss-3.2.4-src\remoting\output\api | | BUILD FAILED | C:\dev\jboss-3.2.4-src\tools\etc\buildmagic\buildmagic.ent:662: | No source files and no packages have been specified. | | Total time: 21 minutes 18 seconds For 3.2.6: .. | | docs-javadocs: | | _buildmagic:init: | | init: | | docs-javadocs-check: | | docs-javadocs_1_4: | [mkdir] Created dir: C:\dev\jboss-3.2.6-src\jaxrpc\output\api | | BUILD FAILED | C:\dev\jboss-3.2.6-src\tools\etc\buildmagic\buildmagic.ent:662: | No source files and no packages have been specified. | | Total time: 47 minutes 18 seconds View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862490#3862490 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862490 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Build JBoss Javadoc
We use JBoss 3.2.4 in production, and due to our use of JMX, the JBoss service lifecycle, clustering, and some other JBoss-specific functionality, we have long wanted to utilize the JBoss Javadoc. Using the JBoss 3.2.4 source tar, running build docs from the build directory, as the help suggests, results in the following builld error: buildmagic.ent:662: C:\dev\jboss-3.2.4-src\build${source.java} not found. Just to see if this was a bug that had been fixed, I downloaded the JBoss 3.2.6 source tar, and tried the same thing. I received the same error. Can anyone help me make sense of this? Looking at the buildmagic.ent file at the specified line does not yield any answers. The "${source.java}" property is a part of that line, but I am not sure what to substitute as it looks like this could be invoked many times with a different value for that property. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3862405#3862405 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3862405 --- The SF.Net email is sponsored by: Beat the post-holiday blues Get a FREE limited edition SourceForge.net t-shirt from ThinkGeek. It's fun and FREE -- well, almosthttp://www.thinkgeek.com/sfshirt ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: How can I rename a cluster partition?
The posts regarding changing the cluster name are right to caution you. To do that, you will have to correctly change the cluster name attribute in several configuration files, and you must only change the attribute "PartitionName" not the MBean name itself (which is also "DefaultPartition"). If you change the multicast address (or even port) you can accomplish much the same thing with a single configuration file change. Inside cluster-service.xml search for "mcast_addr". That is the multicast address setting. In the same section is a setting for the port number. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853664#3853664 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853664 --- 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] [Security & JAAS/JBoss] - Re: JAAS-based Single Sign-On for JBoss 3.2.6
JBoss comes with the ability to support SSO with some minor configuration changes I thought. Could you help me understand what JOSSO brings to the table? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3853323#3853323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3853323 --- 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] [Clustering/JBoss] - Re: how to use singleton
"lac_raz" wrote : Have tou read the singleton discussion on TheServerSide.com ? "monocongo" wrote : Thanks for making me aware of this discussion. Could either of you provide a link to the aforementioned discussion? Many referenced discussions come up when searching for "singletons" on the ServiceSide site. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3852788#3852788 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3852788 --- 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] [JBoss.NET] - Re: wsdl returns complex type mapping for all jboss.net ear
In your web-service.xml file, are you bean/type mapping tags inside your service tag or outside of it? When our bean/type mapping tags were outside of the service tag, we had the same issue. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3850085#3850085 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3850085 --- 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] [Management, JMX/JBoss] - Deployment Events
I am looking to capture EJB deployment events (and I would like to be able to inspect a bean implementation class too). Several posts in this forum indicate that I could subclass a deployer and utilize the "accept" method, but those posts indicated they wanted to participate in the deployment process whereas I just want to observe it. Is there a listener framework that I can attach to for EJB deployment events? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3843352#3843352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3843352 --- 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] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
My changes have been checked in. Is our JChannel "constructor" discussion something to have in this forum? Another topic maybe? Or the JGroups mailing list? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842406#3842406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842406 --- 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] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
I will check in the changes after work tonight. I do not have a copy of my private key at work currently. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842315#3842315 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842315 --- 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] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
The XML unit tests passed (and my test did too). Basically, I ended up making the XMLConfigurator parse(InputStream) method call the parse(Element) method, fixed a possible ClassCastException causing situation in ConfiguratorFactory (I caused one), and added File as a possible parameter for the JChannel constructor that is used in ConfiguratorFactory. So, how should I get these changes to you: post forums diffs (like last time, but longer), via CVS checkin ("jiwils" is my sourceforge account name), or some other method? One other question: why does the JChannel constructor takes one Object parameter rather than having overloaded constructors? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842288#3842288 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842288 --- 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] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
Nevermind my unit test question, they were right there in front of me (and the tests for XML have their own Ant target)! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842285#3842285 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842285 --- 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] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
Great!! I am taking a closer look at XMLConfigurator now in order to try to make the changes you alluded to. Is there a unit test out there for this stuff? I would feel more comfortable with my changes if there was (though I will test them regardless). Given that this change is likely to be larger than the other (too big for a diff in a forum), how should I submit this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842265#3842265 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842265 --- 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] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
Could I also get the source for JGroups 2.2.4? What tag (if any) could I pull from CVS? I would like to apply these changes to that version (they seem unlikely to affect any other part of the code) since we are using JBoss 3.2.4 and my seperate client code (JGroups 2.2.5+) throws an exception when it sees the 2.2.4 version. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842085#3842085 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842085 --- 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] [Clustering/JBoss] - Re: JGroups Configuration With XML Element
Your XMLConfigurator changes added a bug, and it makes your changes unlikely to work. The try block at line 323 in the parse method that takes an Element as a parameter starts like this: try { | Node root=null; | | NodeList roots=root_element.getChildNodes(); | for(int i =0; i < roots.getLength(); i++) { | root=roots.item(i); | if(root.getNodeType() != Node.ELEMENT_NODE) | continue; | } | | String root_name=root.getNodeName(); Considering that the Element passed is likely the "config" element, this code would not work, and since the root node is always assigned regardless of its node type in the for loop, who knows what node you will end up with. I made the following changes in order to get the expected behavior: try { | Node root=root_element; | | //NodeList roots=root_element.getChildNodes(); | //for(int i =0; i < roots.getLength(); i++) { | //root=roots.item(i); | //if(root.getNodeType() != Node.ELEMENT_NODE) | //continue; | //} | | String root_name=root.getNodeName(); Can you commit this change (or something like it) to CVS? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3842081#3842081 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3842081 --- 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] [Clustering/JBoss] - JGroups Configuration With XML Element
I am programatically reading/parsing the cluster-service.xml file from JBoss 3.2.4 in order to get the configuration information for a standalone JGroups program (I want it to be in the same "group" as the JBoss instance). I am then passing the XML Element that is the "Config" element object to JChannel's constructor (the JGroups source indicates that I can do this). By stepping through the JGroups 2.2.5 source code with a debugger, I can see that my Object parameter is correctly interpreted as an Element, but it does not appear to be able to parse it. Just for kicks, I tried recompiling the same code with the jgroups.jar that shipped with JBoss 3.2.4, but I get the same result. Further inspection seems to indicate that the XMLConfigurator class might be looking for the wrong thing (a "protocol" tag) that does not exist in my (or JBoss's) XML. Printing the XML Element instance outputs the following: | | | | | | | | | | | | | | | | | Any ideas? Can I pass this element to JChannel on instantiation and expect it to be able to parse it or did I misunderstand? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841926#3841926 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841926 --- 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] [Installation & Configuration] - Re: Mapping vitual servers to .war files
It may be that the Apache module mod_jk2 is just what you are looking for. It provides smart connectivity/routing from Apache HTTPD to Tomcat instances. There is a Wiki page describing how to install mod_jk2 into Apache HTTPD and how to configure it here: http://www.jboss.org/wiki/Wiki.jsp?page=UsingMod_jkWithJBoss For more information, you can also consult the documentation/help pages on the mod_jk2 web site here: http://archive.apache.org/dist/jakarta/tomcat-connectors/jk2/v2.0.0/doc/index.html View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841896#3841896 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841896 --- 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] [Clustering/JBoss] - HA CORBA Naming Service
Has any thought been given to the creation of a HA CORBA Naming Service utilizing JGroups for state replication and either some kind of port forwarding scheme or even Xtradyne's IIOP firewall/router product in conjunction with a JacORB-based naming service solution? Does the JacORB-based CORBA naming service that is started by default with JBoss hold the promise of such capability (maybe backed by HA-JNDI in some way)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3841426#3841426 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3841426 --- 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] [Clustering/JBoss] - Re: Why is this logged with the WARN level?
I meant that the random selection idea would select the port for a cluster of nodes, not just a particular node, but it would have to exist at a "cluster" startup level not a "node" startup level. If I utilized ${system property name} replacement in the file, and then passed the same port for a multicast configuration to the VM as a system property for every node in the cluster, it seems to me it would work. Currently, we are doing that for the cluster partition name, but you are right, I have include that substitution in several different places. The port number would be a single substitution in a single file. Does the cited example in UDP.java easily map to multicast configurations too, so I could test random or hash-selected cluster multicast port numbers for listeners? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840560#3840560 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840560 --- 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] [Clustering/JBoss] - Re: Why is this logged with the WARN level?
I should have asked if there were any negative effects other than the use of CPU to reject the message from different parititions? Furthermore to solve the problem of automatic port number selection (so we can do this programatically), is there any example JBoss/JGroups code that we could use to test to see if a randomly selected port number was in use for multicasting? We are considering doing something like this or just using some kind of hash to (mostly) guarantee uniqueness. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840526#3840526 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840526 --- 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] [Clustering/JBoss] - Re: Why is this logged with the WARN level?
Are there any negative effects from this type of setup? We chose only to change partition names because we already had a mechanism that would ensure those names were not repeated (the unique naming of our clusters). If I were to change the port number, what would be the benefit (if any) in having a different partition name? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840516#3840516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840516 --- 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] [Clustering/JBoss] - Why is this logged with the WARN level?
I have multiple jboss cluster partiitions that can see each other (but they are named differently). About every 10 seconds, I get messages like the following: 2004-06-30 09:22:39,900 WARN [org.jgroups.protocols.UDP] discarded message from different group (cluster partition name). Sender was host:port (additional data: 16 bytes) It seems to me that this is not really a situtation for a WARN message as it is completely expected given my environment setup. Was this logged at the WARN level because usually this indicates a problem? I am not sure why that would be the justification because setting this up requires some configuration changes that mean you were likely trying to change partition names in the first place. Disabling this warning is difficult because I would like to see cluster INFO messages. Currently, I have clustering messages logging to a different file, but it would be nice to have the ability to disable this type of message specifically. Any suggestions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3840501#3840501 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3840501 --- 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] [Clustering/JBoss] - Re: How to easily separate clusters from each other?
"pedrosalazar" wrote : It's obvious that the alternative 1) is more simpler than number 2). So, when does the alternative 2) makes sense to use? I am not sure that alternative 2 is really that much harder to "implement" (once you know what files to change), but it does mean that you have to specify the partition name for your clustered EJBs in their jboss.xml descriptor as well since they will use "DefaultPartition" for the partition name if one is not specified. It would be nice if this "default" could be set as well so that the assumed partition name would be what we set the partition name to be upon startup, but that is another topic... For us, alternative 2 made sense because if you change the multicast IP/port, you have to keep up with that information so you do not have two configurations clobbering each other. It is true that you have to keep up with the various partition names (as opposed to ip/port information) with this alternative, but we already had a mechanism that could do that (our clusters already have a naming convention). In the future, we may use both methods in order to get the best configuration across all of our clusters. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839993#3839993 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839993 --- 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] [Clustering/JBoss] - Re: How to easily separate clusters from each other?
"darranl" wrote : I don't have the list of files that would need changing but if you search these forums the list has been discussed quite a few times in the past. The list of files for JBoss 3.2.4 based on the "all" configuration is: * deploy/cluster-service.xml * deploy/jbossha-httpsession.sar/ClusteredHttpSessionEB.jar/META-INF/jboss.xml * deploy/deploy-hasingleton-service.xml You can search for "DefaultPartition" and find what you need to change, but do not do a global replace. You only need to change this setting where it describes the name of the partition not the DefaultPartition itself. We use system property substitution in all of these places (we use something like ${partition.name} in the files in place of the partition name) so that we can specify the name of the partition as a system property on the command line. This makes it a "one setting" change for us as well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839980#3839980 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839980 --- 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] [Security & JAAS/JBoss] - Are substitutions allowed in login-config.xml?
We using the substitution feature in many of our configuration files/deployment descriptors where "${property}" will be substituted with the the value specified on the command line as a system property ("-Dproperty=value"). However, this does not appear to work for login-config.xml. Is there a reason that this functionality does not work here? Security maybe? Is there a workaround? The reason I ask is that we are using LDAP-based security, and we want to choose the LDAP server's hostname at startup (it is not necessarily known at when the JBoss binaries/server configurations are deployed). Any help would be appreciated! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3839870#3839870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3839870 --- 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] [Clustering/JBoss] - Multiple Clusters In Multiple Grid Environments
We are going to be dynamically deploying JBoss clusters in multiple grid environments. Obviously, we do not want every grid node in the same partition, so we need a way to dynamically deploy nodes that will exist in different partitions. This is problematic because various SARs depend on the name "DefaultPartition", so when changing the partition name, we have to update all of the relevant SAR deployment descriptors as well. This is further complicated when deploying clustered EJBs. When the EJB is built we may not know the name of the cluster that it will be deployed in, and by default, a clustered EJB looks for "DefaultParition" unless the partition is explicity named in the EJB's jboss.xml deployment descriptor. Previous posts have indicated that the easiest way to get around cluster partition naming is to change the UDP port, but this means that I have to have a central repository of UDP port numbers that are already in use in deployed JBoss clusters. Are there any ideas how I might go about solving this? Could I utilize system property substition in the deployment descriptors in combination with customized property defintions (-D) on the command line? It seems to me that I should be able to name the default parition so that I can keep different clusters seperate, but that deployed components should lookup the default partition without looking for the name "DefaultPartition" explicitly. Is this kind of thing possible? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838201#3838201 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838201 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Deployment Descriptors & System Properties Subsitution
System properties substitution is allowed in jboss-service.xml deployment descriptors using ${system property name} syntax. Is this true for all deployment descriptor files (including the ones specified by the various J2EE standards)? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838196#3838196 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838196 --- This SF.Net email is sponsored by: GNOME Foundation Hackers Unite! GUADEC: The world's #1 Open Source Desktop Event. GNOME Users and Developers European Conference, 28-30th June in Norway http://2004/guadec.org ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - MOD_JK2 & JMX Runtime Configuration
The mod_jk2 configuration website http://jakarta.apache.org/tomcat/tomcat-4.1-doc/jk2/jk2/configweb.html indicates that Tomcat can be configured to create JMX proxies for configuration of the Apache instance running mod_jk2 (add/removing entries in workers2.properties): anonymous wrote : On tomcat side, you must enable the JMX proxy. This is done by setting "modjk.webServerHost" and "modjk.webServerPort" in jk2.properties to point to the web server port that contains /jkstatus. ( recent versions of jk and mod_jk are required ). You can also add mx4j-tools.jar to server/lib and set "mx.enable=true" in jk2.properties to enable the console, or use your favorite JMX console or tools. You could also select http and/or jrmp protocol, with mx.httpPort, mx.httpHost, mxjrmpPort and mx.jrmpPort. Given that Tomcat is wrapped by JBoss where can I set the aforementioned properties? There is no jk2.properties file in either JBoss 3.2.3 or 3.2.4RC2. Is there an equivalent setting in the jboss-service.xml file for Tomcat or is it simply a matter of placing a jk2.properties file in a specific location? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835870#3835870 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835870 --- 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