[JBoss-user] [EJB/JBoss] - Re: java.net.SocketTimeoutException: Read timed out

2004-02-25 Thread [EMAIL PROTECTED]
I tried out but then also the same error The whole stack trace is as follows javax.naming.CommunicationException. Root exception is java.rmi.ConnectIOExcept ion: error during JRMP connection establishment; nested exception is: java.net.SocketTimeoutException: Read timed out at sun.

[JBoss-user] [Management, JMX/JBoss] - Re: SnmpAgent startup sequence

2004-02-25 Thread andd
Currently SnmpAgent subscribes/unsubscribes for notifications during start()/stop() and it requires that the target mbeans are present. The closest you can get is start SnmpAgent first and use a "depends" clause in his mbean descriptor, so that it starts immediatelly after the target mbeans. Thi

RE: [JBoss-user] Memory leak in 3.2.3

2004-02-25 Thread Stephane Nicoll
Guys, This problem is not new :/ http://sourceforge.net/tracker/index.php?func=detail&aid=576913&group_id=2286 6&atid=376685 Regards, Stephane -Original Message- From: Matthew Van Horn [mailto:[EMAIL PROTECTED] Sent: Thursday, February 26, 2004 8:48 AM To: [EMAIL PROTECTED] Subject: R

RE: [JBoss-user] Memory leak in 3.2.3

2004-02-25 Thread Matthew Van Horn
I get the same thing happening in 3.2.1 under windows, and possibly on linux as well (I am not remembering right now if it has definitely happened on that machine) > -Original Message- > From: [EMAIL PROTECTED] > [mailto:[EMAIL PROTECTED] On Behalf Of > John Fitzpatrick > Sent: Thursday

[JBoss-user] [Messaging, JMS & JBossMQ] - Sessionbean transaction vs MDB onMessage

2004-02-25 Thread guslid
I am using JBoss3.2.3, and a session bean calling an MDB to do some server-side work (generating side-effects of the call). The session bean creates entitybeans and calls the mdb inside the same transaction. My understanding from documentation is that the message will not actually be sent until

[JBoss-user] [Management, JMX/JBoss] - SnmpAgent startup sequence

2004-02-25 Thread andd
(I moved this here from the Developer's list, Dimitris Andreadis) When SnmpAgent is loaded in JBoss it read 3 files (managers.xml, notifications.xml and mbeans.xml). However, at that moment our application services haven't been loaded by JBoss yet. As a result, I cannot specify these services in

[JBoss-user] [EJB/JBoss] - Calling one EJB method from another ejb on remote server

2004-02-25 Thread anamika
hi all, i am trying call an ejb from another ejb. the two ejbs are in different servers. So I am calling a method from AEJB to BEJB. JBoss 3.0.4 is used. Here at AEJB, i have given like this. Properties props = new Properties(); props.setProperty( "java.naming.factory.initial", "org.jnp.inter

[JBoss-user] [EJB/JBoss] - Re: Transaction Warnings

2004-02-25 Thread milowe
Dont think your setup supports two phase commit (unless you are using a custom XA wrapper). Change to use local datasource for your mySQL instead of xa. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823023#3823023 Reply to the post : http://www.jboss.org/in

[JBoss-user] Memory leak in 3.2.3

2004-02-25 Thread John Fitzpatrick
I've been doing some development under Jboss 3.2.3 for a while and I'm noticing a problem: Each time I place a .ear file in the server's deploy directory, the memory usage for Jboss grows (expected behavior.) If I remove the .ear file, the server un-deploys the application, but the memory is not

Re: [JBoss-user] JBoss/Axis Clustering

2004-02-25 Thread Adrian Brock
You need to put a loadbalancer in front of your JBoss/Tomcat instances, e.g. Apache and ModJK. JBoss never load balances when a request can be served locally. The extra overhead of a remote invocation makes no sense. Regards, Adrian On Tue, 2004-02-24 at 12:24, JAYARAM, Sujay, FM wrote: > Hi all

Re: [JBoss-user] Hung client

2004-02-25 Thread Adrian Brock
Your stacktrace shows it is doing the lookup. It also shows it is stuck trying to make a new tcp/ip connection in the RMI layer. If it was a dns problem, I would expect a timeout. Can you telnet to port 1098 (where the server jnp is bound)? Regards, Adrian On Sat, 2004-02-21 at 16:44, [EMAIL PR

RE: [JBoss-user] [Clustering/JBoss] - Re: javax.naming.Communicat ionException when calling a clust

2004-02-25 Thread Finn, Michael
Title: RE: [JBoss-user] [Clustering/JBoss] - Re: javax.naming.CommunicationException when calling a clust True - I was (wrongly, I guess) assuming client and server not on same subnet. Here, servers are on dedicated subnets (GigaEthernet) and rarely, if ever reachable via multicast from our cl

[JBoss-user] [Management, JMX/JBoss] - Re: JMX-console problem in JBoss 3.2.3

2004-02-25 Thread [EMAIL PROTECTED]
Seems to work fine for me. What version of Tomcat are you using? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823022#3823022 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823022 ---

[JBoss-user] [Management, JMX/JBoss] - Re: Singleton Service

2004-02-25 Thread [EMAIL PROTECTED]
anonymous wrote : | Please let me know soon. I am very close to a deadline and I need to get this working. | Time bound requests should be made through support contact. If you want to find out about development support options, you can drop an email to [EMAIL PROTECTED] View the origina

[JBoss-user] [Management, JMX/JBoss] - Re: I can't get to JMX to start invoking methods... (I need

2004-02-25 Thread [EMAIL PROTECTED]
Depending on the version of JBoss you're using, the lookup name is different, try "jmx/invoker/RMIAdaptor" instead. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823020#3823020 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=re

[JBoss-user] [Installation & Configuration] - Re: Jboss 3.2.3 not work with Xalan 2.5.2

2004-02-25 Thread [EMAIL PROTECTED]
Isolate your application's classloaders from the system with tag. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823019#3823019 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823019 -

[JBoss-user] [Installation & Configuration] - Re: What are some of the common Gotchas/issues with JBOSS?

2004-02-25 Thread [EMAIL PROTECTED]
We have done Weblogic to JBoss migration to our support customers before, if you're interested in more details, drop an email to [EMAIL PROTECTED] or send an email directly to me and I'll forward it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823017#38

[JBoss-user] [J2EE Design Patterns] - Re: Calling MBean from an EJB

2004-02-25 Thread marc fleury
perfectly kosher View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823015#3823015 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823015 --- SF.Net is sponsored by: Spee

[JBoss-user] [Datasource Configuration] - Retrieving CMP datasource at runtime

2004-02-25 Thread tfrith
JBoss 3.2.1, CMP 2.0 My CMP datasource is set in the defaults section of jbosscmp-jdbc.xml. How can I retrieve the value of the datasource setting at runtime? (or any other defaults defined here, for that matter). I'd like to use the same one for some BMPs but not have to change it anywhere exc

[JBoss-user] [Nukes User] - Re: Connection to Apache Cocoon

2004-02-25 Thread jae77
no - this is currently not possible. i don't know if any thought has been given to a future module, but if it's functionality you need, feel free to hack away and contribute to getting it done. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823009#3823009 Re

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to correctly perform cleanup of StdServerSessionPool

2004-02-25 Thread maksimus
I've found the problem. It was in our provider ConnectionConsumer implementation. It was first getting server session and then blocking for new messages. On shutdown session that was taken never got released. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Struts/JBoss error

2004-02-25 Thread Jimmywu
up anyone~? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823008#3823008 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823008 --- SF.Net is sponsored by: Speed St

[JBoss-user] [Connectors and JCA/JBoss] - rar deployment problem

2004-02-25 Thread mburke
I've got a jca adapter that deploys correctly in one ear but not in another ear. In the ear that doesn't deploy correctly jboss log shows: 19:09:50,445 INFO [EARDeployer] Init J2EE application: file:/home/mburke/temp/jboss-3.2.3/server/default/deploy/jcasample.ear 19:09:51,186 INFO [RARMetaData

[JBoss-user] [Installation & Configuration] - JBoss, JavaMail and non-asscii characters

2004-02-25 Thread greiezer
Using the emailer application attached to end of this mail - I'am sending text/plain and text/html multipart messages containing non-ascii (danish) characters. When executed inside NetBeans, mails get encoded as expected. But my EmailerMDB uses exactly the same code for sending emails and execut

[JBoss-user] [Persistence & CMP/JBoss] - Re: A CMR collection may only be used within the transction

2004-02-25 Thread peterhawkins
"I try not to write java code in my jsp pages"? Bahaha! Tags are for fags. :0 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3823004#3823004 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3823004 ---

[JBoss-user] [Security & JAAS/JBoss] - Single Sign On Jboss3.2.3w/tomcat

2004-02-25 Thread mkumar79
I am using CMSecurity for my application, using FORM-BASED LOGIN. My application is using a Realm that's created for LDAP. I have successfully deployed my application and it works. I would like to put a link in my application to Roller Weblogger application (http://www.rollerweblogger.org/page/p

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Standard taglib with jboss 3.2.3, tomcat 5

2004-02-25 Thread remm
"ahardy66" wrote : Thanks for the response. However it's definitely tomcat 5.0.16 that I'm using - I installed it using the ant build script in the jboss docs directory. | | I've narrowed it down to a particular class in tomcat's catalina startup but I'd have to run a debugger over it to wor

[JBoss-user] [Nukes User] - Re: mySQL setup with JBoss Nukes

2004-02-25 Thread mrjabba
Nevermind. I figured out my problem. I didn't copy over t he .ear files from the mysql download. As always, never skip steps in the setup instructions :-) Nukes looks pretty good. Now I gotta try some other modules. Kevin View the original post : http://www.jboss.org/index.html?module=bb&op

[JBoss-user] [HTTPD, Servlets & JSP] - Re: Standard taglib with jboss 3.2.3, tomcat 5

2004-02-25 Thread ahardy66
Yes, I read the spec. Glad it works for you with Jetty. I might have to debug this tomorrow with extra logging statements in the TldConfig class, where the action is meant to happen. I can't see anything in the code that gives any hint why it would fail. If I compile the tomcat jars myself fro

RE: [JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files

2004-02-25 Thread Rod Macpherson
FYI: This is not portable: APP-INF/lib/SharedUtils.jar Works on JBoss but not on WebLogic for example -- at least in WLS 7.0 that was the case. The java module is intended to be an application at the top of the food chain, analogous to a web-app. If you are only using JBoss you will be

[JBoss-user] [Management, JMX/JBoss] - I can't get to JMX to start invoking methods... (I need to i

2004-02-25 Thread RickHigh1
I am trying to use JMX to call into the server and invalidate the security cache, but I can't seem to get to JMX. See for background info: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45932 I can't seem to init the server Code: | protected void init() throws Exception {

[JBoss-user] [Beginners Corner] - javax.naming.NameNotFoundException: cant find.... JMX jmx:lo

2004-02-25 Thread RickHigh1
I am trying to use JMX to call into the server and invalidate the security cache, but I can't seem to get to JMX. See for background info: http://www.jboss.org/index.html?module=bb&op=viewtopic&t=45932 I can't seem to init the server Code: | protected void init() throws Exception {

[JBoss-user] [Security & JAAS/JBoss] - Re: Problems with FORM Authentication

2004-02-25 Thread Martin0
How about getting it working with the JBoss DatabaseServerLoginModule before trying your own custom module? A good starting point might be the updated JavaWorld JAAS Howto paper at http://sourceforge.net/docman/display_doc.php?docid=18240&group_id=22866 I used that paper and now have form based

[JBoss-user] [Installation & Configuration] - Strange behavior with Jboss / Apache

2004-02-25 Thread mmenz
Hi all, with Jboss 3.2.3, apache 2.0.48 and mysql I had no problems running three parallel instances on a multihomed unix server. I used a modified port-bindings.xml from the examples and the jk2 connector. Now that I had to change the configuration running each jboss on a different IP address

RE: [JBoss-user] [Performance Tuning] - Memory Leak in Jboss 3.2.3 ?

2004-02-25 Thread Rod Macpherson
Try turning on GC verbosity to ensure the GC is in fact attempting to scavenge memory "after some time". Adding a forced GC for diagnositic purposes will also be revealing -- System.gc(). I haven't noticed any leaks. -verbose:gc -XX:+PrintGCTimeStamps -XX:+PrintGCDetails -Original Message--

[JBoss-user] [Management, JMX/JBoss] - Singleton Service

2004-02-25 Thread x0004989
Hi I am trying to achieve the following: 1. I dont have a database (except the one supplied with JBoss, dont know what it is called) 2. I want access to few very simple objects, like sessions which can be retrieved from multiple servers. 3. I can change these data objects from any server (very in

[JBoss-user] [Installation & Configuration] - Re: Integrate Apache Jboss-Tomcat, with SSL, users,IP

2004-02-25 Thread JAIME GOMEZ
People does the connector mod_jk2 work very well with Apache 1.3.24 and tomcat 4.1.29? I have problem when I used Apache - Tomcat, but when use mod_jk , Apache - Tomcat works very well I think that is possible Apache 2 mod_jk2 -- Tomcat 4.1.29 or JBoss 3.2.3 Apache 1.3.x

[JBoss-user] [Beginners Corner] - how to debug ejb by eclipse + lomboz + jboss ?

2004-02-25 Thread yaohuang2
Hi, I am a new comer to learn ejb, but I am wondering how to debug a ejb in the environment eclipse + Lomboz + jboss. In the document of lomboz, it only gives instruction to debug JSP. Please help me. Thanks, Yao View the original post : http://www.jboss.org/index.html?module=bb&op=viewtop

[JBoss-user] [Performance Tuning] - Re: Memory Leak in Jboss 3.2.3 ?

2004-02-25 Thread triathlon98
This is known behaviour (listed onder "bugs" somewhere). In any case, hot-deploying applications is considered a feature to make it easier on developers. It can be very practical on live systems as well, but is not to be used too often there. I think the problem with releasing the memory is tha

[JBoss-user] [Messaging, JMS & JBossMQ] - How to identify a

2004-02-25 Thread richieb
We have a problem with one of our client programs that subscribes to a topic (this is a temp subscription). The thread that processes the subscribed messages gets "stuck". Initial effect was that a lot of messages queued up on the topic (in one case we had over 200,000). Now we set a maxDepth on

[JBoss-user] [Performance Tuning] - Memory Leak in Jboss 3.2.3 ?

2004-02-25 Thread [EMAIL PROTECTED]
I've been doing some development under Jboss 3.2.3 for a while and I'm noticing a problem: Each time I place a .ear file in the server's deploy directory, the memory usage for Jboss grows (expected behavior.) If I remove the .ear file, the server un-deploys the application, but the memory is

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to correctly perform cleanup of StdServerSessionPool

2004-02-25 Thread maksimus
Also sessionPool.size is 0 and I verified in debugger that it is empty. Why is numServerSessions >0? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822988#3822988 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822988

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to correctly perform cleanup of StdServerSessionPool

2004-02-25 Thread maksimus
The problem is that there are no transactions going on. I've got a single MDBean that just prints a message. I send a single message only. All WorkerThreads are exited as well. It looks like some cleanup is missing after MDB.onMessage has exited. View the original post : http://www.jboss.org/i

[JBoss-user] [Management, JMX/JBoss] - Re: JMX-console problem in JBoss 3.2.3

2004-02-25 Thread dbeckedo2
I've got the same problem trying to list JNDI info via the jmx-console (JBoss 3.2.3). I don't see any resolutions posted on this. Seems bizarre that something as basic as this would slip through the QA process. -David View the original post : http://www.jboss.org/index.html?module=bb&op=viewt

[JBoss-user] [Beginners Corner] - MySQL with XA wrapper data source

2004-02-25 Thread PatrickBradley
I'm using MySQL and the standard JDBC driver is not XA-compatible. I have noticed that JBoss has an XA datasource that is a wrapper for other non-XA datasources and allows it to participate in distributed transactions. I've been looking all over the place to try and figure out how to configure

[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files

2004-02-25 Thread OldBlue
Thanks Joachim. Your persistence telling me to put it in my application.xml got me to thinking. I think it's working now after I added this: | | APP-INF/lib/SharedUtils.jar | | Interesting that in all the documents I've seen, I've never seen one that added the

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: stopping and destoying a queue after a coarse disconnect

2004-02-25 Thread [EMAIL PROTECTED]
Yes temporary queue names are unique. temporaryQueue.delete(); Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822983#3822983 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822983

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: reborn subscriptions ?

2004-02-25 Thread [EMAIL PROTECTED]
In the top left hand corner of this panel is the "Search" function. Use it and search for "ExceptionListener", "Durable Subscription" Please make an effort to do your own work, rather than posting all of it on these forums. Regards, Adrian View the original post : http://www.jboss.org/index.ht

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: stopping and destoying a queue after a coarse disconnect

2004-02-25 Thread ionel
thanks adrian I formerly understood temporaryQueue as internal queue (kind of loopback queue) Another questions : to inform the other side of the connection I should do a getQueueName() Is the queue name guaranteed to be unique ? If multiple clients create a temporaryQueue at the same time, ea

[JBoss-user] [Installation & Configuration] - Re: Apache/JBoss at Linux Boot

2004-02-25 Thread littlealien
Definitely not joking. The smallest memory footprint I have seen from JBoss is about 300MB. Yes I could cut this down by disabling caching and limiting useage, but hey, this is the real world. To run real applications and deliver a useable level of performance requires a bit of caching. View th

[JBoss-user] [Datasource Configuration] - Re: please help me out!!! connection error

2004-02-25 Thread triathlon98
Unfortunately, this code does not give me much clues about what is going wrong. However, the code can definately be improved a lot. - The pstmt should be prepared outside the loop. The ide about prepared statements is to prepare them once, then reuse them. Your code is a prefect example, but doe

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: stopping and destoying a queue after a coarse disconnect

2004-02-25 Thread [EMAIL PROTECTED]
session.createTemporaryQueue(); Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822977#3822977 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822977

[JBoss-user] [Messaging, JMS & JBossMQ] - reborn subscriptions ?

2004-02-25 Thread ionel
Hi, I have multiple clients connected to a topic. If JBoss crashes (or is restarted for any reasons), how to tell the clients to reconnect ? Is there a way to reuse the previoulsy established connections ? thanks, ionel View the original post : http://www.jboss.org/index.html?module=bb&op=v

[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files

2004-02-25 Thread triathlon98
I am sure that referencing the jar from inside application.xml works. As the xml snipped got eaten (you need to put it in a code block), here is a (working) application.xml from one of my projects: http://java.sun.com/dtd/application_1_3.dtd'> | | | | IC-trace | | |

[JBoss-user] [Messaging, JMS & JBossMQ] - stopping and destoying a queue after a coarse disconnection

2004-02-25 Thread ionel
Hi, I have the following problem : A client application dynamically creates a Queue via the jmx RMIAdaptor. Sometime the client hangs and I have to kill it. JBoss detects that the connection was lost with the client but does not destroy the queue. Is there a way to bypass this behavior and force

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to correctly perform cleanup of StdServerSessionPool

2004-02-25 Thread [EMAIL PROTECTED]
Post the full threaddump. JBoss waits here for in flight transactions to complete. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822973#3822973 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822973

[JBoss-user] [Messaging, JMS & JBossMQ] - How to correctly perform cleanup of StdServerSessionPool?

2004-02-25 Thread maksimus
I'm integrating propriatary JMS implementation with JBoss. The only problem that I'm facing is that JBoss hangs on shutdown. I've found that it happens at StdServerSessionPool.clear method at sessionPool.wait() call. //wait for all server sessions to be returned. synchronized (sessionPoo

[JBoss-user] [Installation & Configuration] - Re: Apache/JBoss at Linux Boot

2004-02-25 Thread acoliver
less than 512MB?? You must be joking. With no cache and light usage JBoss runs happily in the default 64mb heap. Of course if you want to cache then that is another story. I've drafted some instructions here: http://jboss.org/wiki/Wiki.jsp?page=StartJBossOnBootWithLinux How have you connect

[JBoss-user] [Nukes User] - Connection to Apache Cocoon

2004-02-25 Thread ikeapiat
is there any way to display HTML content generated with Apache Cocoon. Is any module for a connection to this web publishing framework planned? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822970#3822970 Reply to the post : http://www.jboss.org/index.htm

[JBoss-user] [Clustering/JBoss] - Re: Apache 2.0 + JBoss 3.2.3 (Tomcat) Cluster

2004-02-25 Thread dshimy_eh
Here is the configuration I added to the web.xml file in the jboss/tomcat dir: 500 /web/index.jsp Where web is another context that is always loaded. Web is not the context I'm trying to load. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=38

[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files

2004-02-25 Thread OldBlue
Hmm If I take the SharedUtils.jar out of the ear and just drop it into the deploy directory, the app can find the classes. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822967#3822967 Reply to the post : http://www.jboss.org/index.html?module=bb&op=post

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: transactio stopped in another thread ...

2004-02-25 Thread [EMAIL PROTECTED]
Say it again, but be more exact - take smaller steps in questions. You are lacking context from your questions. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822965#3822965 Reply to the post : http://www.jboss.org/index.html?module=bb&op=pos

[JBoss-user] [Clustering/JBoss] - Re: Apache 2.0 + JBoss 3.2.3 (Tomcat) Cluster

2004-02-25 Thread dshimy_eh
We do have a hwlb in front. The problem is when the application is being deployed (or redeployed) there is no context for the application. JK can only tell if the server is up, not is the application is deployed. Because of this, when we do a hot deploy, some users see a HTTP Status 500 - No

[JBoss-user] [Connectors and JCA/JBoss] - Re: JBoss Connection Pool for non-DB resource

2004-02-25 Thread [EMAIL PROTECTED]
The ResourceAdapter is part of the j2ee connector architecture spec (JCA) http://java.sun.com/developer/codesamples/connect.html What you describe in failover pools sounds like you want to replace/enhance the connection pool implementation within jboss, although it could be done at the resource ad

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: transactio stopped in another thread ...

2004-02-25 Thread daniel-
sorry for posting it here ... i was looking for something and forgot that i m under that topic!!! in fact, what i was trying to do is possible, just have to pass as parameter to the thread the XAResource used in that transaction, and the Xid cheers daniel View the original post : http://www.

[JBoss-user] [Installation & Configuration] - Re: Apache/JBoss at Linux Boot

2004-02-25 Thread littlealien
Get more RAM, CPU and faster disk. It takes 20 seconds on my P4 2.8GHz with 2G of RAM and IDE disk. I have seen it take much less time to start on much bigger machines. The biggest requirement for JBoss is RAM. Don't bother running it on anything less than 512MB. View the original post : http

[JBoss-user] [Persistence & CMP/JBoss] - Problem with many-to-many relationships under MySQL

2004-02-25 Thread zinumolbap
Hi all, I'm having some troubles with many-to-many bidirectional relationships in MySQL. There're two entity beans (OrderBean and ShopBean) wich are related this way. An order can be placed in many shops and a shop can have many orders. Everything deploys correctly, but when I try to create an O

[JBoss-user] [JBoss Getting Started Documentation] - Re: mysql example for RosterCMP up creek

2004-02-25 Thread luke_t
Ummm. Scottish yes, but no for the other two. Must be another version about somewhere... Luke. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822958#3822958 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822958

[JBoss-user] Problems with Jboss IDE

2004-02-25 Thread ed banfa
Hi, I am trying to build an app with the jboss IDE and I tried to generate component interfaces and deployment descriptor from my CMP bean classes but I dont get anything generated when I try to run Xdoclet on my project, I tried to following the steps decribed in the Jboss IDE tutorial but I still

[JBoss-user] [Persistence & CMP/JBoss] - Re: callbacks from CMP or caching layer

2004-02-25 Thread mandrews-flarion
oh boy, silly me :-) i realized the answer is clearly that i've got the wrong approach... i forgot that i can mix cmp and non-cmp fields in an entity bean, and that way i can have a non-cmp field provide the parsed xml DOM, storing it in an instance variable between invocations. then, the jboss

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: transactio stopped in another thread ...

2004-02-25 Thread [EMAIL PROTECTED]
What does this have to do with messaging? The short answer is that we have such functionality for transaction timeouts, but not nothing that exposes this operation for arbitrary use. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822955#382295

[JBoss-user] [Connectors and JCA/JBoss] - Re: JBoss Connection Pool for non-DB resource

2004-02-25 Thread mikelarnett
Essentially, I have an application that sends many requests to another server. Additionally, if this server is unreachable, there are fail-over servers to which I need to make future requests until the primary servers come back online. What I would like to do is have a Primary Server Connectio

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: New Scheduled Message Delivery Help

2004-02-25 Thread [EMAIL PROTECTED]
It is the sticky topic at the top of this forum marked "FAQ: Read this second" http://www.jboss.org/index.html?module=bb&op=viewtopic&t=43817 Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822953#3822953 Reply to the post : http://www.jboss.o

[JBoss-user] [Security & JAAS/JBoss] - different passwords for different connections

2004-02-25 Thread nl_marco
Hello *! I'm having the following scenario: One client connects to one jboss server and instanciates a session bean. This sessionbean can now communicate to many other jboss servers (including localhost). For every connection, different usernames/passwords are required. When I'm writing the cl

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Limiting the total memory used by queues.

2004-02-25 Thread [EMAIL PROTECTED]
Messages are not durable. Subscriptions are durable. Messages can be persistent. If your message is persistent and the subscription is durable, the MessageCache will have little todo. It will just drop the message from memory since it is already persisted in the db. I suggest you use search where

[JBoss-user] [Datasource Configuration] - Re: CANNOT lookup on a datasource

2004-02-25 Thread [EMAIL PROTECTED]
Correct in jboss-3.2 the datasources are not available outside the virtual machine. Although it is convenient, it does not scale and it is a potential security problem. There is code in jboss4 to do this, but I still wouldn't recommend it. Regards, Adrian View the original post : http://www.jbos

[JBoss-user] [Beginners Corner] - Re: How to read *.properties files?

2004-02-25 Thread nl_marco
Hello! Thanks a lot for your replies! I'm using environment variables in my deployment descriptor, now. They have the disadvantage, that I cannot change them runtime within an EJB, but I think that I can live with that. But what is a "singleton" or "some other application config object"? Could

[JBoss-user] [Datasource Configuration] - Re: datasource packaged in a SAR howto

2004-02-25 Thread [EMAIL PROTECTED]
myds-ds.xml Then put your -ds.xml in the ear. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822947#3822947 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822947

[JBoss-user] [JBoss.NET & SOAP] - Re: Changing targetNamespace in WSDL

2004-02-25 Thread Essington
That stuff is controlled in the jbossnet module of the ejbdoclet (in your build.xml file) So if you have something like: | http://my.url.org/Some/Path"; | prefix="mine" | /> | It should give you | http://xml.apache.org/axis/wsdd/"; | targetN

[JBoss-user] [Messaging, JMS & JBossMQ] - transactio stopped in another thread ...

2004-02-25 Thread daniel-
is it possible to stop a transaction started in a thread in another thread? i know that makes no sense, but would it be possible to do ?? and if so, how ?? thanx View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822945#3822945 Reply to the post : http://www.jb

[JBoss-user] [Clustering/JBoss] - Re: TCPGOSSIP clustering problem with server restart

2004-02-25 Thread crobert
Thanks Bela for the answer and for the tips. If I find time, I'll build the latest jgroups.jar and test with it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822944#3822944 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=repl

[JBoss-user] [Connectors and JCA/JBoss] - Re: JBoss Connection Pool for non-DB resource

2004-02-25 Thread [EMAIL PROTECTED]
For what? The short answer is you write and deploy a resource adapter - a .rar Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822943#3822943 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822943 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: During startup server tries to load all messages in a JM

2004-02-25 Thread [EMAIL PROTECTED]
It is not on my list for 3.2.4 (but I would like to have this feature). The fundamental problem is that the list of messages in JBossMQ's queue/subscriptions are entirely within memory (the messages are not). This is compounded by the fact that to construct those datastructures at a restart it mu

[JBoss-user] [JBoss.NET & SOAP] - Re: Java Client -> JBoss / AXIS -> Stateful EJB ?

2004-02-25 Thread Essington
If you are using JBoss.Net you can add the scope attribute to the @jboss-net.web-service tag something like | * @jboss-net.web-service | * urn="MyStatefullService" | * scope="Session" | * expose-all="true" | Then you just have to maintain the session cookie that axi

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: New Scheduled Message Delivery Help

2004-02-25 Thread sankas
Adrian, I am sorry what is the FAQ you are referring to? Thank You, Sanjeev View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822940#3822940 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3822940 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: New Scheduled Message Delivery Help

2004-02-25 Thread [EMAIL PROTECTED]
I added the link to the FAQ since you guys since can't seem to find the search function. Regards, Adrian View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822939#3822939 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=38229

[JBoss-user] [EJB/JBoss] - Getting new UserTransaction and it is alread marked for roll

2004-02-25 Thread Rudi Vankeirsbilck
Hi all, I have the following code in a server side testcase (cactus): | this.userTransaction = (UserTransaction) getInitialContext().lookup("java:comp/UserTransaction"); | System.out.println("Returned user transaction has status " + this.userTransaction.getStatus()); | Most of the time

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: FAQ - Read this second

2004-02-25 Thread [EMAIL PROTECTED]
Question: What vendor specifc properties does JBoss provide? Answer: As of 3.2.2 JBoss provides properties for scheduled delivery and redelivery control. See the following link for more information. http://sourceforge.net/tracker/index.php?func=detail&aid=744455&group_id=22866&atid=381174 View

[JBoss-user] [Messaging, JMS & JBossMQ] - Limiting the total memory used by queues.

2004-02-25 Thread jeffbannister
Hi, I would just like someone to confirm how I specify an exact maximum limit of memory that queued JMS messages should use. I currently have three separate queues all of which store messages using the JDBC persistence manager into a local Firebird database. Do I just need to change the 'org.j

[JBoss-user] [JBoss.NET & SOAP] - Changing targetNamespace in WSDL

2004-02-25 Thread seytan
I have a stateless session bean and use JBOSS-NET to make this bean accessible as a web service. When I look at the generated WSDL in the definitions tag there stands LOCALHOST instead of my server name in all tags (f.e. targetNamespace). How can I change this? I want my server name or ip adress

RE: [JBoss-user] [Installation & Configuration] - Can't shutdown when running multiple instances

2004-02-25 Thread Rod Macpherson
Have you tried shutting down with host:port? shutdown.sh --server=sandbox:1098 -Original Message- From: dbronk [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 25, 2004 6:56 AM To: [EMAIL PROTECTED] Subject: [JBoss-user] [Installation & Configuration] - Can't shutdown when running

[JBoss-user] [JBoss.NET & SOAP] - Java Client -> JBoss / AXIS -> Stateful EJB ?

2004-02-25 Thread klaser
Hallo, I have a Java Client that is trying to access a stateful Session Bean through AXIS. As it is not a web client, how can the state be maintained? Is it possible? Does anybody have an example of a Java client doing so? (Not RMI/ SOAP only) Thanks in advance. View the original post : htt

[JBoss-user] [Clustering/JBoss] - Re: JBoss Clustering is the Coolest Thing Ever

2004-02-25 Thread nshashidhara
Hi I am new to jboss clustring , can you help me in configure. i have created two jboss3.2.3 instances on linux machine. all and all1 . when i start both instances, nodes are identifing, but when i shutdown any one one server, request is not going to another instance, please help urgent this is

[JBoss-user] [Clustering/JBoss] - Re: JBoss Clustering is the Coolest Thing Ever

2004-02-25 Thread nshashidhara
Hi I am new to jboss clustring , can you help me in configure. i have created two jboss3.2.3 instances on linux machine. all and all1 . when i start both instances, nodes are identifing, but when i shutdown any one one server, request is not going to another instance, please help urgent View th

[JBoss-user] [Persistence & CMP/JBoss] - CMP and iSeries/AS400

2004-02-25 Thread rupshall
Can anybody tell me if anything different needs to be done to do CMP 2.0 relationship mapping to AS400 datasources? I have gotten one-to-one relationships working but I cannot get one-to-many working. Does anybody have experience with CMP entity beans on as400 db2 databases? I cannot find any

[JBoss-user] [Beginners Corner] - Re: How to read *.properties files?

2004-02-25 Thread cluck
...alternatively read in the properties to a singleton or some other application config object if Entity Beans are a non-starter (or you have no DB) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822929#3822929 Reply to the post : http://www.jboss.org/index.

[JBoss-user] [EJB/JBoss] - How to configure TransactionManager!?

2004-02-25 Thread nerotnt
My business layer is in Hibernate. I want to create a service layer of Session Beans to invoke business logic methods. My problem is how to use the TransactionManager to control my methods. I don't want to use UserTransaction interface. I want a container managed transaction facility. Every time a

[JBoss-user] [Security & JAAS/JBoss] - Re: JBoss SX seems to cache user/roles

2004-02-25 Thread RickHigh1
Well I tried... I can't seem to init the server | protected void init() throws Exception { | | if (initialContext == null) { | | initialContext = new InitialContext(); | | } | | if (server == null) { | |

[JBoss-user] [EJB/JBoss] - Re: My ejb application can't see jar files

2004-02-25 Thread OldBlue
Sorry the xml in the application.xml isn't showing up properly. Should be: TradeRanger Infrastructure DocumentBean.jar and so on. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3822924#3822924 Reply to the post : http://www.jboss.org/index.html?module=

[JBoss-user] [Datasource Configuration] - CANNOT lookup on a datasource

2004-02-25 Thread moghrabi
Hello, I'm working on a program mixing EJB and object whose persistance is managed by DAO over JDBC. I'd like to use the JBoss' connection pool to manage the connection available. I thought that the best way is to look up for the datasource and after to get connection from it. However I didn't

  1   2   >