[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 the index 
page is being served from there. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029667#4029667

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029667
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 client. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4029665#4029665

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4029665
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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. Change the run.sh to 
point to your jdk and you're ready. If you want to grade your system up you 
have to do a lot of handwork anyway, because you have to put your config-files 
to the new system. The rest is only the unzip of the new archive. To get this a 
bit more easy, you could define another deploy directory just for your config 
files. Then you just have to copy that to the new server and change the 
Deployment Scanner in conf/jboss-service.xml. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4016934#4016934

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016934
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=viewtopic&p=4016930#4016930

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4016930
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 wish) 
and you can be sure, that anyone using your ejb does only need to know the 
client interfaces. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4012996#4012996

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4012996
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=posting&mode=reply&p=4012928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=viewtopic&p=3999788#3999788

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999788
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 you don't just eat more pills, but you look for the 
cause and fix it.  

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3999787#3999787

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3999787
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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). When the answer message 
should be saved it is being sent and JBoss tries to store it, but gets an SQL 
error from DB2, because the unique index defined in 
deploy/jms/-jdbc2-service.xml for the fields txop and txid is being violated. 
There is no transaction running, that's why the values are null and 'A' both 
for the already stored message for the topic and the new one for the queue. 
No my question: is this unique index neccessary? I have dropped it from the 
database for a test and it seemed to work. So I would like to know why there is 
such an index. 
The funny thing is, it worked with hsqldb (with the index). Does that mean 
hsqldb violates the index definition or is there some other reason for this 
behaviour?

Thanks a lot for your help! 

I wish everyone of you merry christmas and a happy new year!

Bye, 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995808#3995808

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995808
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 helped for me to 
change the log4j.xml on the machine where the jboss is running or fixing any 
datetime differences. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3995529#3995529

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3995529
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 then decide inside the servlet which 
button was the source of the click. In the servlet you call an EJB (Session 
Bean) with a method like "buttonPressed(ButtonDescription description)". 
3. This EJB calls a Message Driven Bean (the JMS component) that does the 
asynchronous communication. This is where I don't understand the task, because 
this action is simple and fast, so why does it have to be JMS and asynchronous?
4. The MDB calls an EJB that saves the data in the database. 

The reason for the EJB -> MDB -> EJB is, that an MDB should be called from the 
business logic and should call business logic. Its only reason to exist is that 
is lets the first EJB return at once and not block the client. 

Another possibility is that your professor meant the Interceptor Chain of 
JBoss. Then you would have to implement a class that implements Interceptor (a 
JBoss class, you should look in the docu). This class does the save of the 
button click and is put in the interceptor chain of an EJB in 
server//conf/standardjboss.xml. But this makes no sense because the interceptor 
can not decide which button has been pressed and it is executed at every 
EJB-invocation, where the EJB has this invoker-proxy-binding. 

If I understood you wrong, you would have to clarify this a bit for me. 

Greetings, 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3989586#3989586

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3989586
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 using the scheduler, 
you could even do it the first time the information is needed and populate the 
cache with your information. Following calls would just have to lookup the 
cache and get the information. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988925#3988925

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988925
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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. There you can change the logging level for the 
logger and category you want to something useful (DEBUG, for example). 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3988916#3988916

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988916
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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=viewtopic&p=3988912#3988912

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3988912
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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/index.html?module=bb&op=viewtopic&p=3971866#3971866

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971866
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971490#3971490

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971490
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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/wiki/Wiki.jsp?page=JBossMQ (look for the examples). There 
is an explanation of how to get an MDB and trigger it. 

I hope it helps!

Peter



View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971489#3971489

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971489
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 and configure logging via 
log4j. 

If I got you wrong, please give me some more input. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3971200#3971200

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971200
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3971198
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970970
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3970967#3970967

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3970967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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?module=bb&op=posting&mode=reply&p=3967780
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 you very good what to do. 
If you need a HelloWorld example I could send you my HelloWorld EAR/EJB/WAR 
next week, when I am on my workstation. These projects are Eclipse / WTP 
projects. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967461#3967461

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967461
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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?module=bb&op=posting&mode=reply&p=3967233
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[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 code. 

Peter

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3967232#3967232

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3967232
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user