[JBoss-user] [Beginners Corner] - Loading an app through MBean's startService()?

2005-03-25 Thread charles_so
Hello, I am trying to start a custom application. This application is supposed to get started via a A.jar (which contains a META-INF/MANIFEST.MF and org/abc/*.class files) I've build a .SAR directory (placed in server/default/deploy), and have written 2 .java files - (AService.java extends Ser

[JBoss-user] [Beginners Corner] - Stopping loading *.jar files in .sar when JBoss starts up?

2005-03-25 Thread charles_so
Hello, I am trying to configure a deployment of an application using .SAR. I suppose to load an MBean, then this MBean kicks off a lot of other .jar files to start this app. But JBoss will scan all subdir of this .SAR, and load everything (mostly .jar files) when it starts up! How can I confi

[JBoss-user] [Installation & Configuration] - Re: JBoss 4.0.1sp1 fails to work when configured for J2EE 1.

2005-03-25 Thread [EMAIL PROTECTED]
The commons-logging.jar cannot be included in any scoped war deployment currently. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871669#3871669 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871669

[JBoss-user] [Installation & Configuration] - JBoss 4.0.1sp1 fails to work when configured for J2EE 1.4 co

2005-03-25 Thread minmay
This issue has already been addressed in the JIRA for JBoss J2EE 1.4 compliance, under JBAS-1503. Anyway, when you follow the directions in the readme.html file that ships with JBoss 4.0.1sp1, it seems to have problems with certain war files, and log4j, and commons-logging.jar. My application, w

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS DLQ Exception

2005-03-25 Thread prozario
can you give little more info ... i looked for release notes, but can't find anything releated to the workaround you're talking about (or perhaps i didn't look in the right place). A link would be helpful View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871666

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Protect a queue from remote accesses and replace DLQ

2005-03-25 Thread nlmarco
Hello Adrian, first: Thanks a lot for the quick reply! "[EMAIL PROTECTED]" wrote : 1) Asking questions about security in the JMS forum? | My first question is about both, messaging and security, thus, I thought it would fit into either forum. Sorry. ...and the DLQ related question is purely

[JBoss-user] [HTTPD, Servlets & JSP] - Re: add virtual directoy to a context

2005-03-25 Thread [EMAIL PROTECTED]
I could have sworn this forum said "HTTPD, Servlets & JSP" maybe I missed where it said this was the Microsoft file system help forum? For those that don't know how to use a search engine or aren't prepared to pay M$ for this feature: http://www.sysinternals.com/ntw2k/source/misc.shtml#junction a

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Runtime information about jboss cluster

2005-03-25 Thread ravi2box
Sorry...wrong forum!.have routed it to the clustering forum Apologize for my blunder... Thanks Ravi View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871662#3871662 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871662

[JBoss-user] [Clustering/JBoss] - Runtime info about cluster

2005-03-25 Thread ravi2box
HI, I need to collect some statistics about object serialization when one cluster node fails over to another node in the partition.Specifically I would like to observe how long it takes to fail over and replicate objects on another node.Is there some way I can write a small agent app that join

[JBoss-user] [HTTPD, Servlets & JSP] - Runtime information about jboss cluster

2005-03-25 Thread ravi2box
HI, I need to collect some statistics about object serialization when one cluster node fails over to another node in the partition.Specifically I would like to observe how long it takes to fail over and replicate objects on another node.Is there some way I can write a small agent app that join

[JBoss-user] [HTTPD, Servlets & JSP] - Runtime information about jboss cluster

2005-03-25 Thread ravi2box
HI, I need to collect some statistics about object serialization when one cluster node fails over to another node in the partition.Specifically I would like to observe how long it takes to fail over and replicate objects on another node.Is there some way I can write a small agent app that join

[JBoss-user] [HTTPD, Servlets & JSP] - Re: add virtual directoy to a context

2005-03-25 Thread edrotleff
huhu ist it possible or not ??? do u understand what i mean??? even if its not possible, it would be nice to know that!!! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871657#3871657 Reply to the post : http://www.jboss.org/index

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Protect a queue from remote accesses and replace DLQ

2005-03-25 Thread [EMAIL PROTECTED]
"nlmarco" wrote : | What am I doing wrong? | 1) Asking questions about security in the JMS forum? 2) Not reading the documentation/wiki/using search before posting? 3) Hijacking other people's threads? http://www.jboss.org/index.html?module=bb&op=viewtopic&t=47026 etc. View the original pos

[JBoss-user] [Messaging, JMS & JBossMQ] - Protect a queue from remote accesses and replace DLQ

2005-03-25 Thread nlmarco
Hello *! I'm using a message queue to asynchronously execute time consuming tasks: A client connects to a stateless session bean which puts a task "envelope" into a queue. This task is then executed by a message driven bean. It all works fine, now, but is unsecure as everyone (even remotely) co

[JBoss-user] [Installation & Configuration] - Problem deploying a MBean

2005-03-25 Thread chetansanghi
Hi I have a MBean interface called DeviceMBean and then its implementation called DeviceMBeanImpl. Under the deploy directory of my configuration, I created a device.sar directory and put all the jars needed to run this code alongwith jboss-service.xml. When I start the JBoss server I get th

[JBoss-user] [Clustering/JBoss] - Interserver communication/Intelligent load balancing

2005-03-25 Thread abitha
Hi - We have a JBoss cluster, which we use mainly to run regular POJO's and services at the moment. We have Tomcat for webserver, and mod-jk doing the load balancing. Is there a way I can write extra logic at the mod-jk layer such that the requests are only funelled to certain appserver based

[JBoss-user] [Beginners Corner] - Re: No Classloaders found for...

2005-03-25 Thread raygardner
I see this issue was first posted months ago, so, not sure this will still help you. Maybe my post will help somebody else though. (Better late than never.) I too had the same exception as pointed out. I too followed the Getting Started guide, but, it needs to be corrected. It states to crea

[JBoss-user] [JBoss Getting Started Documentation] - Re: Login error. What is wrong?

2005-03-25 Thread fallstone
richard, thanks for reply, I deploy the ear file, and redeploy it, I found there are errors when I deploy the bank application. this is the error message? don't know how to do it jboss version is 4.0 JDK is 1.4 13:06:18,602 INFO [STDOUT] [EMAIL PROTECTED]: Database [index=0, id=1, db=file:C :

[JBoss-user] [J2EE Design Patterns] - Re: Multiple jvm's

2005-03-25 Thread ishq
I think there is a way to run JBoss on different JVM's. For that, you have to change the run.bat file in jboss server bin directory replace the %JAVA_HOME% variable by absolute jdk path. Therefore it refers to user defined JDK at startup rather than environment variable. It works for me , as i

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: No Hope - JMS over HTTP 4.0.1

2005-03-25 Thread gberish
Thanks. If anyone else hits this question and is using a JBoss server, please note that the other problem was that I did not have jbossall-client.xml in my classpathwhen I ran the client. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871634#3871634 Reply t

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: No Hope - JMS over HTTP 4.0.1

2005-03-25 Thread [EMAIL PROTECTED]
Ok, now I see where you got that gibberish from, the documenation is wrong. I've raised a bug report for this; http://jira.jboss.com/jira/browse/JBDOCS-45 It should be | http://localhost:8080/invoker/JNDIFactory | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Persistence & CMP/JBoss] - Re: Can JBoss wait until the database becomes available?

2005-03-25 Thread studenik
glum, Thank you for your suggestion. Probably your workaround should work. But I was wondering if there is a configurable parameter that would tell the deployer not to give up right away and continue to ping the database until it becomes available. Thanks, Yevgeny. View the original post :

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ClassCastException DynamicLoginModule on JMS

2005-03-25 Thread [EMAIL PROTECTED]
Moderated: Your description of your configuration changes is incomplete. You missed the step where you didn't follow the instructions properly in docs/examples/jms/file-state-service.xml or just changed conf/login-config.xml without knowing what you were doing. View the original post : http://ww

[JBoss-user] [JBoss Getting Started Documentation] - Re: Login error. What is wrong?

2005-03-25 Thread [EMAIL PROTECTED]
Do you see a NullPointerException in your log file in the getAccounts() method? If not, what do you see? There is a bug with Duke's Bank that I solved with the CustomerHackFilter class in the lastest getting started guide. It would look exactly like what you showed, but I can't be sure with

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Displaying images in a JSP.

2005-03-25 Thread robr
Okay I figured this out. Just a matter of not ever doing this before. I gave the wrong path for the image file in the src attribute of the img tag. Here is my new sample code called home.jsp. | <%-- | Created by IntelliJ IDEA. | User: rb | Date: Mar 24, 2005 | Time: 11:03:29

[JBoss-user] [Management, JMX/JBoss] - Re: exclude deployment file types

2005-03-25 Thread [EMAIL PROTECTED]
The DeploymentScanner is configured at the end of ./conf/jboss-service.xml. This fellow has an attribute that supplies a class, that filters out certain file types: | ... | | org.jboss.deployment.scanner.DeploymentFilter | ... | You need to provide your own filter class

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: CurrentMemoryUsage skyhigh...

2005-03-25 Thread [EMAIL PROTECTED]
I've added a link to the Memory Usage/MessageSoftening wiki page to the FAQ, and also added some big bold letters at the top of that page just to avoid any possible misunderstanding of what it does. http://www.jboss.org/wiki/Wiki.jsp?page=MessageSoftening View the original post : http://www.jboss

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: javax.naming.NameNotFoundException: UIL2ConnectionFactor

2005-03-25 Thread [EMAIL PROTECTED]
For the 10,000th time. JNDI configration is not a subject for this forum. That includes looking up JMS objects in JNDI. Now if you show me the problem is that the JMS objects are not being bound into JNDI then I'll tell you to read the FAQ. View the original post : http://www.jboss.org/index.htm

[JBoss-user] [JBoss Getting Started Documentation] - Login error. What is wrong?

2005-03-25 Thread fallstone
After I deploy, start jboss and bank web application, I type 200/j2ee, but following error happened. any one know how to fix it? thanks a lot ... Your request cannot be completed. The server got the following error: javax.servlet.jsp.JspTa

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS DLQ Exception

2005-03-25 Thread [EMAIL PROTECTED]
Moderated: Suck it and see. Or in the alternative read the release notes, where you can find the version where this WSMQ bug has workaround. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871621#3871621 Reply to the post : http://www.jboss.org/index.html?mod

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: XAException: tx=TransactionImpl:XidImpl [FormatId=257, G

2005-03-25 Thread [EMAIL PROTECTED]
Moderated: What does "READ THIS FIRST" say about hijacking/ME TOO "bonanza4000" wrote : Are you saying that we cannot have two MDBs writing to and listening on the same Queue? | Just to avoid the blind leading the blind; the original question is about sharing the persistent store NOT queues.

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: wanted sample jms application with jboss(with out MDB)

2005-03-25 Thread [EMAIL PROTECTED]
Or the getting started guide and admin docs. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871619#3871619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871619 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: wanted sample jms application with jboss(with out MDB)

2005-03-25 Thread [EMAIL PROTECTED]
Moderated: There are examples on the WIKI View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871618#3871618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871618 --- SF

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Suspend JMS Service

2005-03-25 Thread [EMAIL PROTECTED]
Use JMX to stop()/start() the destination manager. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871617#3871617 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871617 --

[JBoss-user] [JCA/JBoss] - Re: RMI Server and JCA

2005-03-25 Thread [EMAIL PROTECTED]
JCA is an infrastructure API, why do you think it would explicitly about a specific implementation? HINT: RMI -> XYZ, now go back to the FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871616#3871616 Reply to the post : http://www.jboss.org/index.html?mo

[JBoss-user] [JCA/JBoss] - Re: How to access DataSource properties

2005-03-25 Thread [EMAIL PROTECTED]
Use JMX, the jboss.jca domain View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871615#3871615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871615 --- SF email is spo

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Specification equivalent of DLQ

2005-03-25 Thread nlmarco
"cluck" wrote : Thats what I thought - pity, it is very useful behaviour but I can't use it an keep our app portable. As most of the J2EE implementations have it, why not rely on it being existent and just make configurable in your app what queue it is? We do it this way - hence our app is mayb

[JBoss-user] [Persistence & CMP/JBoss] - Re: data source mapping

2005-03-25 Thread darranl
All of the data source mappings are defined in the file 'standardjbosscmp-jdbc.xml' in the conf folder. The one you are looking for is: - MS SQLSERVER2000 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871607#3871607 Reply to the post : http://www.jboss.o

[JBoss-user] [Persistence & CMP/JBoss] - data source mapping

2005-03-25 Thread krishr
hi , what is the data source mapping for Microsoft SQL Server 2000 ? to tbe precise what is that i have to type between the for jboss to work with MS SQL server 2000 please help thank you krishnan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=

[JBoss-user] [Security & JAAS/JBoss] - Client Login Module

2005-03-25 Thread Rahjesh
Hi, my web application is running in JBoss4.0.0. From this web app Im trying to access Remote EJB. The EJB is using org.jboss.security.ClientLoginModule. So Im using Login Context to login to the subject and I succeed in it. Only the first time i am getting the EJB. Next time Im getting error

[JBoss-user] [JBoss.NET] - JBoss.NET with Jboss 3.2.3 SOAP Problem

2005-03-25 Thread Allosan
Hi all i exported a simple java class inside my ear as a webservice over java:RPC. At the origin i'd like to return a custom java class but, having problem, i finshed to return a string array. Now ll is fine but i'd like to use SOAP instead of RPC and returning the original java class instead of

[JBoss-user] [Management, JMX/JBoss] - exclude deployment file types

2005-03-25 Thread jboss123456
How do I set up JBoss to exclude a certain file type, like .war, from beeing unpacked and deployed ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871600#3871600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871600

[JBoss-user] [JCA/JBoss] - Re: Can not invoke a native method

2005-03-25 Thread [EMAIL PROTECTED]
This has nothing to do with the spec and everything to do with OS configuration and java limitations. 1) You cannot load the library. This is because JBoss unpacks the dll to | ${jboss.server.home.dir}/tmp/native | which is not in your library path. We make no attempt to modify your library

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error When calling the HSQL Database Manager, page 23

2005-03-25 Thread [EMAIL PROTECTED]
That's a great tip for people UNIX users. I hadn't really thought of simply setting the DISPLAY. Very nice. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871597#3871597 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [JBoss Getting Started Documentation] - Re: Error When calling the HSQL Database Manager, page 23

2005-03-25 Thread evilclive
I suffered the same problem, but then noticed somebody pointing out it's a straight java application, not a web-based one. I set the DISPLAY before starting jboss, then hit the startDatabaseManager button on my client (IE on a different machine), and a new window appeared on my chosen display (F

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Virtual Hosts - asked before, got no response

2005-03-25 Thread binario
First of all Scott - thank you so much for pointing me in the right direction! I would be forever indebted if you could possibly explain what you mean when you say "is not supported by configuration alone. You need virtual hosting with a valve/filter" Do you mean that it's not possible by using

[JBoss-user] [JBossWS] - Re: Problem getting unexpected element name returned to clie

2005-03-25 Thread acxsjones
Let me add the wscompile from server and client server wscompile | | | | client wscompile | | | | View the original post : http://www.jboss.org/index.html?module=bb

[JBoss-user] [JBossWS] - Problem getting unexpected element name returned to client

2005-03-25 Thread acxsjones
I have work through examples and have a simple hello world working gen'd from an EJB. I am trying to get a complex EJB, with my objects in and out, working. I am able to get the server deployed and get the client compiled. The client sends the request server. The server prints out the inform

[JBoss-user] [Installation & Configuration] - Re: jBoss 3.2.3 on JDK 1.5 - run.bat

2005-03-25 Thread bmelloni
Thx. I modified run.bat to declare JAVA_HOME to point to JDK 1.4.2_07 and ignore the O/S' value for it. That way 3.2.3 runs fine, with its intended JDK. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871590#3871590 Reply to the post : http://www.jboss.org/

[JBoss-user] [Persistence & CMP/JBoss] - Re: Relation accross different ejb.jars once again

2005-03-25 Thread radl01
Why do you need to spread CMP (CMR) in more than one ejb.jar file ? Ww have more than 100 CMP/CMR beans in one jar and we did not see any problem. CMP is always the lowist tier in the project and should be compact for all applications based on this structure. Jan View the original post : http

[JBoss-user] [Installation & Configuration] - Re: install JBOSS on WINDOW XP

2005-03-25 Thread tranct
Thanx very much to ALL, Everything go well now. TRANCT View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871588#3871588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871588 -

[JBoss-user] [Persistence & CMP/JBoss] - Re: Entity Bean, with DB2 can't create

2005-03-25 Thread radl01
This is a problem of IDE. You never know what IDE did behind. It is better to use XDoclets Jan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871587#3871587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871587

[JBoss-user] [EJB/JBoss] - Timer behavior after server normal restart

2005-03-25 Thread artem_work
Hi all, I have a problem. I need my timer to continue working after server restart. I'm talking about server normal restart, because after abnormal restart (crash) - everything works fine. Server stops and destroys all the timers, when shutting down. How can I avoid this? Thanks for every rep

[JBoss-user] [Persistence & CMP/JBoss] - Re: Stateful session bean failed to passivate and save state

2005-03-25 Thread darranl
I think the following issue is the same as the problem you are encountering: - http://jira.jboss.com/jira/browse/JBAS-1442 Can you try your code that reproduces the problem on JBoss 4.0.2 RC1. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871584#3871584 Rep

[JBoss-user] [Installation & Configuration] - Re: installation guide

2005-03-25 Thread darranl
The installation is the same as for any other JBoss version. Install an appropriate JDK. Set the JAVA_HOME environment variable to reference the top folder of the JDK installation. Unzip the JBoss distribution. Execute the run.sh script in the bin folder to start JBoss. View the original post

[JBoss-user] [JCA/JBoss] - Re: Can not invoke a native method

2005-03-25 Thread ramses
Means that, that JBoss can not handle native librarys for an adapter! The Connector Architecture Specification Version 1.5 chapter 17.2 Packaging specifies to put an native library in the rar archive. 1) JBoss loads the native library during the deployment (class SubDeployerSupport). But when

[JBoss-user] [Installation & Configuration] - Re: installation guide

2005-03-25 Thread Massimo.Signoretto
"Massimo.Signoretto" wrote : JBoss 1.4.1 sp1 - jdk1.5 in linux slackware 10.1 - kde 3.3 there is installation guides for this configuration ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871581#3871581 Reply to the post : http://www.jboss.org/index.html

[JBoss-user] [Installation & Configuration] - installation guide

2005-03-25 Thread Massimo.Signoretto
JBoss 1.4.1 sp1 - jdk1.5 in linux slackware 10.1 - kde 3.3 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871580#3871580 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871580

[JBoss-user] [Messaging, JMS & JBossMQ] - Suspend JMS Service

2005-03-25 Thread ivang
Hi all here, is there a way to suspend the JMS server in JBoss on runtime? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3871578#3871578 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3871578

[JBoss-user] [JBossWS] - Re: Bug in ServiceDeployerEjb's portURI

2005-03-25 Thread eykatz
Hi Raja and Thomas I am having the same problem on my project. I didn't understand the solution offered: updating port-uri in jboss.xml I am quite new to JBoss and to JBoss-WS (I dont even know where to put jboss.xml). If you could post an example of jboss.xml and the port-uri elements that solv