Re: [JBoss-dev] Re: [JBoss-user] Problems getting started ...
Hello! Am Son, den 18.01.2004 schrieb Sacha Labourey um 11:54: That's something to modify in the jmx-console/web-console: we should precompile JSP at build time. Good idea. But be aware that the precompiled JSPs do NOT run on every JSP-container. Jetty should be fine because they use Jasper (the Tomcat JSP-compiler), too. CU Thomas --- The SF.Net email is sponsored by EclipseCon 2004 Premiere Conference on Open Tools Development and Integration See the breadth of Eclipse activity. February 3-5 in Anaheim, CA. http://www.eclipsecon.org/osdn ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Web integration (clustering) updates
Hello! Am Mit, den 07.01.2004 schrieb Remy Maucherat um 07:01: IMO, the TC 5 code which I ported should be kept in sync (it's in src/main/org/jboss/web/tomcat/tc5/session). Also, would it be possible to test it so that the TC 5 integration has the same features as TC 4.1 ? I don't quite have the right setup myself. I am looking into this tomorrow. Would it be possible to switch to TC 5 for JB 3.2.4 (assuming there's someone to test and bugfix the clustering code) ? I did add the JSR 77 stats, so the web console works and has the same stats as with TC 4.1 now. +1 from me. CU Thomas --- This SF.net email is sponsored by: IBM Linux Tutorials. Become an expert in LINUX or just sharpen your skills. Sign up for IBM's Free Linux Tutorials. Learn everything from the bash shell to sys admin. Click now! http://ads.osdn.com/?ad_id=1278alloc_id=3371op=click ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Re: added graphing to web console
Hello Bill! sorry, just thought I'd add the browsers I've tested with: Netscape 7.1 I.E. 6.0 The graphing does not work with Mozilla 1.4.1/JDK 1.4.2_02-plugin on LINUX. The menu does not appear. In the right frame only the normal MBean-view gets loaded if you right-click on the attribute. On Windows everything works fine. CU Thomas --- This SF.net email is sponsored by: SF.net Giveback Program. Does SourceForge.net help you be more productive? Does it help you create better code? SHARE THE LOVE, and help us help YOU! Click Here: http://sourceforge.net/donate/ ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] Reverse Proxy Servlet
Hello Scott! Put it into the docs/examples/varia/servlets directory of the dist along with any docs you have. It can then be installed by users as needed. I did that. Another question: can a WAR be packaged into a SAR? CU Thomas --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Reverse Proxy Servlet
I added my Reverse Proxy Servlet (aka Loadbalancer) to the CVS repository today. The only problem I have is to which run-configuration (minimal, default or all) I should add the loadbalancer.war to. The problem is: The WAR overlays the other webapps that have been deployed (it maps to context /). The WAR is only generated to the directory varia/output/lib at the moment. You have to copy it manually to deploy it. Has someone an idea what to do? Thanks Thomas --- This SF.Net email sponsored by: ApacheCon 2003, 16-19 November in Las Vegas. Learn firsthand the latest developments in Apache, PHP, Perl, XML, Java, MySQL, WebDAV, and more! http://www.apachecon.com/ ___ JBoss-Development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] MBean Deployment Problem
Hello! I am trying to deploy a simple MBean onto JBoss and I keep getting the following error: (java.lang.NoSuchMethodException: com.fts.timertasks.TsTestMBean .init())) mbean code=com.fts.timertasks.TsTestMBean name=jboss:type=Service,Name=TestMBean /mbean You try to instantiate the interface com.fts.timertasks.TsTestMBean. Obviously this cannot work. The error message is a little bit irritating. But an interface has no init-method ;-). What you want to do is to instantiate an object of com.fts.timertasks.TsTest and register this as an MBean. So use this: mbean code=com.fts.timertasks.TsTest name=jboss:type=Service,Name=TestMBean /mbean CU Thomas --- This SF.Net email sponsored by: Free pre-built ASP.NET sites including Data Reports, E-commerce, Portals, and Forums are available now. Download today and enter to win an XBOX or Visual Studio .NET. http://aspnet.click-url.com/go/psa0016ave/direct;at.asp_061203_01/01 ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] HEAD and Tomcat 4.1.24
Hello! I get following exception with HEAD and Tomcat 4.1.24 when executing the first JSP of the JMX-Console. The ant.jar is only in /server/default/lib. Subsequent calls only show other classes in the exception (org/apache/tools/ant/types/FilterSet, ...). What is going on here? java.lang.LinkageError: duplicate class definition: org/apache/tools/ant/Task at org.apache.jasper.compiler.Compiler.getProject(Compiler.java:152) at org.apache.jasper.compiler.Compiler.generateClass(Compiler.java:273) at org.apache.jasper.compiler.Compiler.compile(Compiler.java:370) at org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:473) at org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:190) at org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:295) at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:241) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:247) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:193) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:256) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:480) at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:995) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:643) at org.jboss.web.catalina.security.JBossSecurityMgrRealm.invoke(JBossSecurityMgrRealm.java:236) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) at org.apache.catalina.valves.CertificatesValve.invoke(CertificatesValve.java:246) at org.apache.catalina.core.StandardPipeline$StandardPipelineValveContext.invokeNext(StandardPipeline.java:641) CU Thomas --- This SF.Net email is sponsored by: INetU Attention Web Developers Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Generic ThreadPool in JBoss?
Hello! I need a thread pool to simplify my code for the HTTP-loadbalancer. Is there a generic ThreadPool in JBoss-code (HEAD)? Any hints welcome CU Thomas --- This SF.net email is sponsored by: The Definitive IT and Networking Event. Be There! NetWorld+Interop Las Vegas 2003 -- Register today! http://ads.sourceforge.net/cgi-bin/redirect.pl?keyn0001en ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Too many open files-errors
I am having problems to get JBoss run for longer than 1 week. Then the OS (Linux 2.4.x) throws Too many open files-errors. Environment used: - RedHat Linux 7.2 on a SMP-machine. - BEA JRockit 8 (we are using JRockit because we see excessive GC-pauses (500s !!) with the Sun JDK), heap-size 1.2GB - JBoss 3.0.3 (tried JBoss 3.0.6, too) with Tomcat 4.0.6 A first investigation with the lsof (list open files) showed that the JVM has opened 140.000 files! I then had a look which files were open. One that is opened 100.000 times is one called ${jboss.home}/server/default/tmp/deploy/.../conf/jboss-service.xml. Can someone give me a hint where in the code this file is opened? I patched one place in JBoss already. That brought down the inital file open count to 10.000. So we now run into problems a little later. Comments welcome Thomas --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] HttpProxyServlet?
Scott M Stark wrote: Thomas Peuss is working on a load balancer that would encompass this. You can see if there is code that is usable for you task. The code is only in HEAD for now. You find the code at {jboss.src}/varia/src/main/org/jboss/web/loadbalancer/. The compiled service is ${jboss.src}/varia/output/lib/loadbalancer.sar. The config file is easy to understand. I am currently working on the SSL-listener. Comments welcome. CU Thomas --- This SF.net email is sponsored by: SlickEdit Inc. Develop an edge. The most comprehensive and flexible code editor you can use. Code faster. C/C++, C#, Java, HTML, XML, many more. FREE 30-Day Trial. www.slickedit.com/sourceforge ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] ATTENTION! Developers with CVS access
Hi Bill! Bill Burke wrote: 1. What have you worked on in the past? Tomcat session clustering and some minor bug fixes. 2. What are you currently working on? Further improvments of the session clustering. 3. What will you be working on and when? The JBoss loadbalancer planning/coding is starting now. 5. What is your SourceForge name/id? (So I can cross you off list of who contacted me). My souceforge id: tpeuss CU Thomas --- This sf.net email is sponsored by: With Great Power, Comes Great Responsibility Learn to use your power at OSDN's High Performance Computing Channel http://hpc.devchannel.org/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Coding-Style-page
Hello! On http://www.jboss.org/developers/guides/codestyle.jsp Class cls = Class.forName(dataSourceClass); is given as an example of good coding style. Shouldn't we change this to Thread.currentThread().getContextClassLoader().loadClass(dataSourceClass)? CU Thomas --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Documentation
Hello! If I remember right we should provide docs for new pieces we add to JBoss. Where should I put this docs? CU Thomas --- This SF.net email is sponsored by: ApacheCon, November 18-21 in Las Vegas (supported by COMDEX), the only Apache event to be fully supported by the ASF. http://www.apachecon.com ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] JBoss3.2-Tomcat4.1.10
Hello Liam! Liam Magee wrote: I've uploaded the patch via the link below. Let me know if there are any problems with this. At the moment there is no integration between the Tomcat Mbeans and JBossJMX. I tried to attach the Catalina MBeans to the JBoss-MBeanServer. I got some parts to work. Now I am stuck because org.apache.catalina.startup.Embedded emits not the same Lifecycle-events as org.apache.catalina.core.StandardServer would do. Maybe we have to ask the Jakarta-guys to implement those events in Embedded. CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc --- This sf.net email is sponsored by:ThinkGeek Welcome to geek heaven. http://thinkgeek.com/sf ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] HTTPSession-clustering for catalina
Hello guys! I commited my httpsession-clustering code for the catalina-plugin tonight. It is based on Sacha's generic httpsession-clustering-code he built with Jetty in mind... ;-) Build the catalina-plugin as usual. Before startup of JBoss copy the sar-file jbossha-httpsession.sar (from cluster/output/lib) to your deploy-directory and enjoy... Sacha: I did a bugfix in your httpsession-clustering. There was an interceptor missing in the container-configuration of your EntityBean. This was causing my IllegalStateExceptions... They are gone now... CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] HTTPSession-clustering for catalina
Hello! On Mon, May 27, 2002 at 03:59:39PM -0400, Bill Burke wrote: Is this in the 3.0 branch too? No. Only in CVS-HEAD at the moment. It needs further testing... CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Don't miss the 2002 Sprint PCS Application Developer's Conference August 25-28 in Las Vegas -- http://devcon.sprintpcs.com/adp/index.cfm ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] NPE in MarshalledObject.get()
Hello all! Can someone give me a hint on this problem? - What can cause a NullPointerException in a call to MarshalledObject.get()? The MarshalledObject itself is NOT null (I can call toString() on it)! JDK: Sun JDK 1.4 on Linux. CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Have big pipes? SourceForge.net is looking for download mirrors. We supply the hardware. You get the recognition. Email Us: [EMAIL PROTECTED] ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] NPE in MarshalledObject.get()
Hallo! On Fri, May 17, 2002 at 05:51:05PM +0200, Anders Engstrom wrote: At what line in MarshalledObject does this exception occur? Check the line number and have a look at the source-code (distributed with the JDK as src.zip) to find out what's wrong :) The JVM does not give the line number where the exception occurs. According to the JVM the exception occurs in the first line of the catch-block. But this is not true. I found the correct line with println()s. Here is the code snippet (part of Sacha's HTTPSession-clustering): protected void unserializeSession() throws EJBException { try { MarshalledObject mo = (MarshalledObject)this.getSerializedSession (); if (mo != null) NPE - this.tmpSession = (SerializableHttpSession)(mo.get ()); } catch (Exception e) { throw new EJBException (e.toString ()); } } Sacha has no idea what is going on, too. CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Hundreds of nodes, one monster rendering program. Now thatÂ’s a super model! Visit http://clustering.foundries.sf.net/ ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: AW: [JBoss-dev] JMX HTML... From the Pure Fluff Department...
Hello James! On Sun, Apr 07, 2002 at 06:49:11PM +0200, Marcus Redeker wrote: James, your screenshots look almos like the SUN stuff ;-) Is there already a CVS module or some files to download and take 'live' look at it? I want to help with this project, too. CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
[JBoss-dev] Embedded Tomcat in JBoss 3.0beta2
I am trying the embedded tomcat in JBoss 3.0b2. It is not useful at the moment. I have several problems: - classloader problems: Tomcat finds only standard JDK-classes. - XML-parsing problems while reading web.xml: Tomcat tries to load the DTD for the web.xml-validation from the web. This does not work if you are behind a firewall. - Deploy/Undeploy-problems: If something goes wrong during deployment (e.g. an error in web.xml) you cannot undeploy anymore. Is there some work going on? If not: can someone give me a hint where I have to look for the classloader problems (IMHO the biggest problem ;-) )? CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] JMX HTML... From the Pure Fluff Department...
Hello Marcus! On Sat, Mar 30, 2002 at 09:36:26PM +0100, Marcus Redeker wrote: I was playing around a little the other day and created a JTree with MutableTreeNodes that looks similar to the list of all deployed MBeans which the HTML adaptor shows. I will probably extend that to be able to select one MBean and display attributes and operations. Hmmm. I did the same thing yesterday... ;-) When I was looking at the stuff I was thinking that we actually have two systems of MBeans which need management. One is the view which the current SUN RI HTML Adaptor gives and the other would be a view oriented on the JSR77 domain hierarchy. I think we should get the MBean-view done first. So when we create something new either Swing or Webapp oriented we should think of combining these two views into one console application. IMHO there should be two applications, because the JSR77-console could be used by your webmaster to deploy EJBs, WARs, etc. But he (or she) should not be able to control the deep JBoss functions. Is that something you guys agree with or am I totally on the wrong track here? One more think I am interested in (and also project managers in the project I am working for) is the statistics stuff from JSR77. It would be great to see these information in an upcoming management client. Is anybody working on implementing the StatisticsProvider interface for the JSR77 MBeans? I think there was no need to expose such information because there is no application that reads it. So we are here to change that... ;-) CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development
Re: [JBoss-dev] JMX HTML... From the Pure Fluff Department...
Hello! On Tue, Mar 26, 2002 at 11:35:48AM -0600, Adrian Brock wrote: Of course, there could be two versions. One for embedded, and one using servlets/jsp. IMHO the JMX-HTML-adapter should be completely independent of any other service (servlet or jsp). The MX4J-guys (http://mx4j.sourceforge.net/) do it in an interesting way: their HTML-adapter produces XML and you can attach a XSLT-processor in front of it to produce the HTML-View (or whatever you like e.g. WML to manage your JBoss with your mobile-phone ;-) ). OK, that's not lightweight. ;-) But interesting... CU Thomas -- AIM-Nickname : tpeuss Homepage : http://www.peuss.de/ PGP-Public-Key : http://www.peuss.de/PublicKey.asc ___ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development