[JBoss-user] [JBoss Getting Started Documentation] - media module can't be build under jdk5.0 & 1.5.0_1 at debian

2005-02-19 Thread Bwlee
Anyone can help me with this problem? thx! buffer overflow when scanning, I need to set the buffer size? cvs version : time Feb 20, 10:00 jdk : jdk1.5.0 also update 1 error info: [javac] ^ [javac] /home/lbw/temp/jboss-head/media/src/main/javax/emb/MetaDataValidationEx

[JBoss-user] [Clustering/JBoss] - Re: Load Balancer is Single Point of Failure?

2005-02-19 Thread ricardoarguello
We use a Cisco 11150: http://www.cisco.com/en/US/products/hw/contnetw/ps789/ps791/ in front of a couple of Apache HTTP servers, proxying 4 Tomcat instances via AJP. Ricardo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867179#3867179 Reply to the post : h

[JBoss-user] [Javassist user questions] - Constructor modification?

2005-02-19 Thread javasvada
I am modifying an existing constructor | CtConstructor constructor=cc.getConstructors()[0]; | constructor.setBody("System.out.println(\"hello1\"); System.out.println(\"hello2\"); "); | But for some reason, only the first statement is added (I double checked by decompiling the class), an

[JBoss-user] [HTTPD, Servlets & JSP] - Re: JBoss/Tomcat Hot Deployment

2005-02-19 Thread [EMAIL PROTECTED]
no setting needed. Hot deployment is standard in JBoss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867175#3867175 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867175

[JBoss-user] [Clustering/JBoss] - Re: Load Balancer is Single Point of Failure?

2005-02-19 Thread [EMAIL PROTECTED]
Use mod_jk1.2.x and not mod_jk2 (deprecated/unsupported). You can use a hardware switch in front of the two apache instances. This switch should provide stickyness (ie. all requests from the same client go to the same apache). View the original post : http://www.jboss.org/index.html?module=b

[JBoss-user] [JBoss Getting Started Documentation] - Dike's Bank example - build failed

2005-02-19 Thread alexmo
This topic came up many times, but I haven't seen a satisfactory answer yet. I installed JBoss 4.0.1, and the latest of Apache Ant (1.6.2). I downloaded the supplemental tutorial file jbossj2ee-src.zip and added it to the Sun's j2eetutorial14. Started working with the "Getting Started with JBoss

[JBoss-user] [EJB/JBoss] - Jboss will neither bind my bean names nor throw an error?

2005-02-19 Thread gberish
I start my JBoss 3.2.6 server with nothing deployed, then hot copy my application into it. The log show the deployement was successful. (See Log Below). Bu my enterprise beans cannot be seen in the console JNDI list. Can anyone point me to the problem area? Without an error, I don't know where

[JBoss-user] [Nukes User] - Frustrating! What IS JBoss/Nukes?

2005-02-19 Thread gary_kephart
{vent} You know, as astounding as it may seem, there are people out there who've never used PHP, much less Nukes. And barely know about CMS. I'm a Java programmer, and could take the time to research all of that stuff and I would understand it, but that would take a LOT of time, which I don't ha

[JBoss-user] [Beginners Corner] - Re: Where is the

2005-02-19 Thread kcudwort
I can't find it either. Does anyone know where it is? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867168#3867168 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3867168 --

[JBoss-user] [EJB/JBoss] - Re: Removing a Stateless Session Bean

2005-02-19 Thread jamesstrachan
Kalyan, I'm not quite sure where you are coming from. The code sample that you include won't compile (attribute home is not defined). The class is not a session bean (doesn't implement the SessionBean interface). The class is not a singleton (doesn't have a private constructor and a getInstanc

[JBoss-user] [Management, JMX/JBoss] - Re: hiding jmx lifecycle methods in html console

2005-02-19 Thread [EMAIL PROTECTED]
The methods on the MBeanRegistration interface are completely irrelevant to the interface exposed by an MBean. Again, it's a matter of applying security constraints to the invocation of an attribute (i.e. who's calling me?) But because this is a bit complicated, I reckon the best solution for y

[JBoss-user] [Installation & Configuration] - Problem configuring service jboss:service=CorbaORB

2005-02-19 Thread KaMiKaTze
Hi! I'm trying to get JBoss-Portal-2.0 run on my multi-homed SuSe 9.2 Linux box on JBoss-4.0.0. I get the following message: | 2005-02-19 14:58:22,550 DEBUG [org.jboss.system.ServiceCreator] Created bean: jboss:service=CorbaORB | 2005-02-19 14:58:22,551 DEBUG [org.jboss.system.ServiceConf

[JBoss-user] [J2EE Design Patterns] - Re: global config file design pattern

2005-02-19 Thread jamesstrachan
kevliang, I think that everything you suggest will work, except that I don't know whether you can register an mbean with JNDI. I have found it possible to use an entity bean as a singleton by defining a single constant value as the primary key. The constant value is defined somewhere in the p

[JBoss-user] [Javassist user questions] - Re: Copy-Method

2005-02-19 Thread sirrurg
Hmm ... i should be more precise with this "question". Here is the code fragment of the class i am instrumenting. | | public void putNewEntry(Object key, SimpleEntry entry) | throws AlreadyContainedException{ | | } | | This method simply inserts an new key-value pair into a

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4.1: Specified key was too long; max key length is

2005-02-19 Thread darranl
What table type are you using with MySQL? I think it is MyISAM tables that impose this restriction - try setting the default table type to InnoDB tables which are required for transaction support anyway. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3867162#

[JBoss-user] [Persistence & CMP/JBoss] - Re: MySQL 4.1: Specified key was too long; max key length is

2005-02-19 Thread Czernay
That was a typo, the error message shows limit of 1024. The to be created table would have a primkey of two varchar-fields. A varchar-field is set to 250 in the JBoss default configuration, even if I assume two-byte characters, that would only sum up to 500 - not even close to 1024. Neverthel

[JBoss-user] [Performance Tuning] - Re: Hypothesis: JBoss is slow compared to BEA

2005-02-19 Thread triathlon98
You really need to give more technical details about the application and the kind of tunings you have already applied. Also check the wiki, forums and there is an entry in the blogs about tuning. When comparing, please compare using the same version JVM. Sun 1.5 is faster than 1.4, JRockit is s

[JBoss-user] [Javassist user questions] - Copy-Method

2005-02-19 Thread sirrurg
Hi, i have discovered a strange behaviour. I tried to instrument methods of a class and somehow i get after the instrumentation, which seemed to work an Error. When i try to use the changed class in its old "enviroment", i get an exception/error by the verify, which says, that the given stack si