[jboss-user] [Installation, Configuration & Deployment] - Re: Making the application as default

2007-03-20 Thread kaobe
If I may guess from the above stacktrace, it is an 5.0.0 BETA JBoss. I would hint at a misspelled entry and / or the usage of a wrong JBoss runtime installation, when the index page is still coming up, although the ROOT.war has been removed. Did you delete the tmp and work directories? Perhaps t

[jboss-user] [Beginners Corner] - Re: What jars to be included with a remote client

2007-03-20 Thread kaobe
Hi, it depends on what you want to do on the client. In most cases it is sufficient to add the jbossall-client.jar to the client classpath. You can find that jar under JBOSS_HOME/client. If you already did add this library, you have to give more information about what you are doing on the cli

[jboss-user] [Installation, Configuration & Deployment] - Re: The ultimate linux distro for jboss?

2007-02-15 Thread kaobe
Hi, I've never tried to get JBoss via a package system, but maybe Red Hat offers that (look to the upper left corner -> JBoss - a division of Red Hat :) ). But why do you want to get it via a package system? You just have to unzip te folder with the jboss installation to get it installed. Chan

[jboss-user] [Beginners Corner] - Re: Java Error While Trying To Access JBoss Console or The J

2007-02-15 Thread kaobe
Hi, it looks like you pointed to a JRE instead of an JDK. Tomcat needs a JDK to be able to compile the JSPs into Servlets. So I think you have not pointed JAVA_HOME to the SDK (btw, what is SDK 5.5?), but to a JRE. Peter View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [Beginners Corner] - Re: Sharing libs

2007-02-08 Thread kaobe
Hi, you could use the following packaging: - bean classes and bean resources in YOUR_EJB.jar - home and component interfaces in YOUR_EJB_client.jar Then you can put the client.jar into your ear, add the reference to the manifest.mf of your web-application (or give it to any other client you wis

[jboss-user] [Beginners Corner] - Re: Sharing libs

2007-02-08 Thread kaobe
Hi, put the helper-jar in the ear and fill the Classpath-element in META-INF of the war and ejb-jar with this entry. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012928#4012928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=post

[jboss-user] [Installation, Configuration & Deployment] - Re: how to config one database for serveral datasources?

2007-01-10 Thread kaobe
Hi, either you define n *-ds.xml files, each defining one database connection, or you use one -ds.xml file that defines the n connections to the database. Inside the datasources tag you can define n datasources. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=vie

[jboss-user] [Beginners Corner] - Re: java.lang.OutOfMemoryError

2007-01-10 Thread kaobe
Hi, you have to get the information where the leak is located and then fix it. If it is in an external software component that you cannot fix the provider has to fix it. Getting more RAM is not the solution, because it will just last longer until you get the error. If you have incredible pain

[jboss-user] [Messaging, JMS & JBossMQ] - Error persisting message in DB2

2006-12-22 Thread kaobe
Hi there! I have a JBoss 4.0.3 SP1 that does JMS with MDBs. The persistance is done with DB2. There is a message sent to a topic, an MDB reacts and - as a result - sends another message to a Queue. The first message is being sent and received, it is being saved in the database (jms_messages). W

[jboss-user] [Installation, Configuration & Deployment] - Re: error regarding log4j

2006-12-21 Thread kaobe
Hi, you could look at the modified date of the log4j.xml and on the server date. I had this problem when the server date was behind the date of the computer where I changed the log4j.xml. Then jboss compares the system date with the last modified date and realizes a modification on the file. I

[jboss-user] [Installation, Configuration & Deployment] - Re: Setting up an Interceptor on jBoss

2006-11-29 Thread kaobe
Hi Hans-Martin, maybe I'm not understanding your problem correctly, but here is what I would do: 1. You have a jsp with a form that has an action that points to a servlet. 2. In this servlet you are handling the request. You could have one servlet for each button or one servlet for all and th

[jboss-user] [Beginners Corner] - Re: Common Beans???

2006-11-27 Thread kaobe
Hi, you could use the Scheduler MBean to schedule a little module that gets this data and puts it in the JBoss Cache. Information on how to do this is offered in the JBoss documentation. From your System code you could then lookup the cache and get the information you need. If you don't like u

[jboss-user] [Beginners Corner] - Re: Trouble with jboss

2006-11-27 Thread kaobe
Hi! I think there are two possibilities: 1. You finde the one that does develop your applications and ask him. 2. You change the logging level and hope that under a more talkful level you will get the information you need. You can change the logging level under jboss/server//conf/log4j.xml. Th

[jboss-user] [Beginners Corner] - Re: Variables

2006-11-27 Thread kaobe
Hi, you could look at the jmx-console (http://localhost:8080/jmx-console) and there in the domain jboss under "name=SystemProperties,type=Service". There is an operation showAll() that displays the SystemProperties. Peter View the original post : http://www.jboss.com/index.html?module=bb&op

[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-15 Thread kaobe
Hi Ramdas, the configuration is not different from the server.log at all. What messages are given out on the console that do not appear in the server.log (if you have the same threshold defined)? I haven't noticed anything different yet. Peter View the original post : http://www.jboss.com

[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-14 Thread kaobe
Hi Ramdas, there are some errors in your configuration. First you finish the opening appender tag with "/>". That brings a SaxParseException. Then you have the param "Target" that is not possible for the FileAppender. Apart from that your configuration works for me. Peter View the original

[jboss-user] [Beginners Corner] - Re: Looking up MessageDrivenBean/MessageListener

2006-09-14 Thread kaobe
Hi Gabriel, may be that I misunderstand you, but you seem to mix MBean with Message Driven Bean. An MBean is a Managed Bean in the jmx server. The Message Driven Bean is an EJB used for message based communication. You should lookup your MBean with something like this: http://wiki.jboss.org/w

[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-13 Thread kaobe
Hi Ramdas, I'm not sure if I understand you right. But if you want to capture the output to the console in your file, why don't you change the "CONSOLE" appender in log4j.xml to use a RollingFileAppender like the "FILE" appender? Then you could remove the redirect from the shell to console.log

[jboss-user] [Beginners Corner] - Re: org.jboss.deployment.DeploymentException: url file:/C:/j

2006-09-13 Thread kaobe
Hi! It seems there has been an error unzipping the archive, just as Peter (with 'J' :) ) suggested. If you open the zip-file you should see there are several files in conf. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971198#3971198 Reply to the p

[jboss-user] [Installation, Configuration & Deployment] - Re: Rolling over JBoss console log

2006-09-12 Thread kaobe
Hi Ramdas, what does not work when changing the configuration of log4j.xml. Normally this is the place where you put your configuration. What have you changed and what doesn't work? Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970970#3970970 Reply

[jboss-user] [Beginners Corner] - Re: org.jboss.deployment.DeploymentException: url file:/C:/j

2006-09-12 Thread kaobe
Hi Carlos, which version of JBoss did you download and where from? The jboss-service.xml ist an important part of the JBoss configuration and has to be shipped with the application server. Could it be that this exists and is not accessible for the user starting the server? Peter View the ori

[jboss-user] [Beginners Corner] - Re: JBoss 4.0.4GA don't support java 5.0 new features(generi

2006-08-28 Thread kaobe
Hi, Look in deploy/jbossweb-tomcat55.sar/conf/web.xml from line 224 on and uncomment the following: I hope that helps. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967780#3967780 Reply to the post : http://www.jboss.com/index.html?modul

[jboss-user] [Beginners Corner] - Re: Is there An Easy Way to Generate Jboss.xml and Jboss-cli

2006-08-25 Thread kaobe
Hi, you could begin with downloading the JBossIDE for Eclipse or Eclipse with WTP. Both make the work with XDoclet possible and quite easy. I have not worked with XDoclet for a while, but for little examples it is working fine. The wizards of both systems and the tutorial for the JBossIDE show

[jboss-user] [Beginners Corner] - Re: Big problem!How to reload a web module without restart t

2006-08-24 Thread kaobe
Hi! You can try to package your web application and to deploy it as a packaged .war instead of an exploded one. This works for me. Peter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967233#3967233 Reply to the post : http://www.jboss.com/index.html?modu

[jboss-user] [Beginners Corner] - Re: Is there An Easy Way to Generate Jboss.xml and Jboss-cli

2006-08-24 Thread kaobe
Yes. Perhaps you could give us a bit more detail information of what you are trying to do. Do you want to generate the deployment descriptors for J2EE applications? If yes, you could try XDoclet (http://sourceforge.net/projects/xdoclet/). That generates these files from comments in the source