[JBoss-user] [Clustering/JBoss] - Re: Failed to start AutomaticDiscovery

2005-11-23 Thread fudeus
Ok, not the AutoDiscoveryAddress seems to be relevant but the AutoDiscoveryBindAddress. This defaults to jboss.bind.address which defaults to 0.0.0.0. Setting this to some "real" value makes AutoDiscovery work. I read some thread in the forum in respect to problems with the wildcard address. Fo

[JBoss-user] [Clustering/JBoss] - Re: Failed to start AutomaticDiscovery

2005-11-23 Thread fudeus
I saw the same (since 4.0.3sp1 - used 4.0.2 before) without binding only to loopback. Configuration says | 230.0.0.4 | | 08:18:05,687 INFO [vakuum] I am (172.17.12.57:1099) received membershipChanged event: | 08:18:05,687 INFO [vakuum] Dead members: 0 ([]) | 08:18:05,688 INFO [v

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread [EMAIL PROTECTED]
and when you execute your portlet, is the thread local set or not like in the demo ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908848#3908848 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908848 ---

[JBoss-user] [Management, JMX/JBoss] - JDMK Cascading Service

2005-11-23 Thread ramesh_mds
Hi, Is it possible to use the JDMK 5.1 cascading service with the JBoss RMI adaptor. If yes, please let me know if there are any code samples and what JMXService URL should be used to mount. Thanks ! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908847#3

[JBoss-user] [JBossCache] - Re: JBoss Cache using Multicast.

2005-11-23 Thread [EMAIL PROTECTED]
2.2.9RC1 has bot been verified to work with 1.2.4, but it should work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908845#3908845 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908845 --

[JBoss-user] [Messaging, JMS & JBossMQ] - whne DLQ is full

2005-11-23 Thread [EMAIL PROTECTED]
In order to capture the messages during exceptions we have used DLQ. we have implemented MDBs to subscribe for messages. when the DLQ reaches its maximum limit, the container (JBoss) goes into a loop posting for the message. we found that it is due to the fact that DLQ reaches its maximum d

[JBoss-user] [JBossCache] - Re: How do I configure JBossCache in JBoss-3.2.7?

2005-11-23 Thread satori
I renamed the treecache.xml to treecache-service.xml. Its working...I could see the TreeCache in jmx-console. Thanks for your help. Vnay View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908841#3908841 Reply to the post : http://www.jboss.com/index.html?module

[JBoss-user] [JBoss Portal] - retrive query string in another portal

2005-11-23 Thread ramesa
hi, i want to pass the query string in and i have to get in another portlet which i mentioned in anchor tag itslef through getParameter. How cani achieve that. It is like master table a href for each value of master i have to set the parameter and retrive the query string. Regards, Rames

[JBoss-user] [JBossCache] - Re: Reading from persisted TreeCacheAop leads to Instantiati

2005-11-23 Thread [EMAIL PROTECTED]
Sorry to reply back late. I am in the process of relocating back to Taipei. :-) Yes, it is possible. But I need help here to reproduce your problem so I can fix the bug (if there is one). It should be easy for you to cook up a simple JUnit test case that illustrates the problem instead of me try

[JBoss-user] [JBossCache] - Re: Performance Benchmarks

2005-11-23 Thread [EMAIL PROTECTED]
I am working with our partner in Japan to come up with some benchmrk number for JBossCache. Hopefully it can come out really soon as a baseline. :-) Then JBossCacheAop will come next. The cost of AOP is during initial putObject(). Once it is done, fine-grained replication is fairly efficient (s

[JBoss-user] [JBossCache] - Re: How to use TreeCache inside JBoss

2005-11-23 Thread [EMAIL PROTECTED]
There is a unit test case under 4.0 testsuite that shows you how to use that. Basically, it is just like to obtain any MBean. Check out the faq portion as well. -Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908834#3908834 Reply to the post : http://w

[JBoss-user] [Javassist user questions] - Re: copying methods

2005-11-23 Thread chiba
I again recommend you to use ClassPool and CtClass, CtMethod, ... They provide a number of utility methods for creating a getter method etc. Otherwise, you must construct a MethodInfo by hand (you must specify a sequence Java bytecode as a body). Bytecode class would help you. View the origina

[JBoss-user] [Javassist user questions] - Re: loading a modified class directly from a ClassFile

2005-11-23 Thread chiba
I think it would be better to use ClassPool, CtClass, etc. Your problem is that you added an interface but did not change your class to be an abstract class (your class does not implement all methods from the interface.) View the original post : http://www.jboss.com/index.html?module=bb&op=viewt

[JBoss-user] [Javassist user questions] - Re: ClassFile write creates bad byte code

2005-11-23 Thread chiba
You might want to use ClassPool, which does not load a class file as well. ClassPool reads a class file but does not load it. ClassPool is a utility class for reading a class file from various resources. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908828

[JBoss-user] [Javassist user questions] - Re: decoupled persistence layer?

2005-11-23 Thread chiba
writeFile() writes a class file under the current directory, which is sometime hard to identify if the program is running on Tomcat etc. What if giving a full path to writeFile()? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908827#3908827 Reply to the po

[JBoss-user] [Beginners Corner] - Help with lookng up a bean

2005-11-23 Thread simonnunn
>From a servlet, I am looking up a bean. I always get back a $proxy### object >instead of the LocalHome interface. What am I doing wrong? The EJBs are >deployed successfully, and so is the war. I just can't seem to get the >localhome correctly. View the original post : http://www.jboss.com

[JBoss-user] [JBossCache] - How to use TreeCache inside JBoss

2005-11-23 Thread wong_james1
I have followed the directions to use TreeCache inside JBoss. I put the jboss-cache.jar and jgroups.jar in jboss-4.0.0\jboss-4.0.0\server\default\lib directory and the tree-service.xml in the jboss-4.0.0\jboss-4.0.0\server\default\deploy directory. I also add the jboss:service=

[JBoss-user] [Javassist user questions] - copying methods

2005-11-23 Thread johncoleman
How would I implement methods that I copy from an interface in a CtClass, to a class I have as a ClassFile. ClassFile seems only to allow to add methods using a MethodInfo, so how is the body added? Basically I want to implement an interface on a class, and if that class has some getter or set

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread alessandroribeiro
I just went through a debugging session using the Demo application instead of my own, and I have one breakpoint in the JBossServletContextProvider:getServletContext method. In the demo application, when I execute this method, there is a BridgeInfo instance stored in the ThreadLocal variable.

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread alessandroribeiro
Here is the server.log after I send a request to the demo application: 2005-11-23 21:49:49,250 DEBUG [org.jboss.portal.server.impl.invocation.InvocationImpl] Incoming request with id page.default.struts 2005-11-23 21:49:49,250 DEBUG [org.jboss.portal.core.invocation.ContentTypeInterceptor] Foun

[JBoss-user] [JBoss Portal] - Re: Are eclipse plugins available to develop JBOSS portal an

2005-11-23 Thread rincewind23
I'm currently working on a plugin for Eclipse to help create projects for JBoss Portal portlets - it will create the xml files required and generate some skeleton code for a portlet, then be able to bundle them into a WAR you can just dump in your deploy directory on the Appserver. The XML part

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread [EMAIL PROTECTED]
and what happens when you trace the same code for the demo that works ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908812#3908812 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908812 -

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread alessandroribeiro
I have run JBOSS in debug mode. Here is what the application is logging when it receives a request to render a request to my application page. 2005-11-23 21:15:31,765 DEBUG [org.jboss.portal.server.impl.invocation.InvocationImpl] Incoming request with id page.default.StrutsHello 2005-11-23 21:

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread alessandroribeiro
Hi, this is the demo's jboss-portlet.xml: StrutsHelloPortlet StrutsHelloPortlet I had tried both with and without to no avail. I tried to insert this line again in the file, but there is still this "no bridge set" error. And there is also a new error: 21:15:

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread [EMAIL PROTECTED]
did you look at jboss-portlet.xml in the demo ? I think it contains what you need to make this work. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908807#3908807 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908807

[JBoss-user] [Testimonials] - Re: Jboss Tunning and Profiling

2005-11-23 Thread johla
look here http://wiki.jboss.org/wiki/Wiki.jsp?page=MonitoringManagementAndProfilingTools http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming /Lars View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908806#3908806 Reply to the post : http://www.jboss.co

[JBoss-user] [Testimonials] - Re: Weblogic to JBoss Migration

2005-11-23 Thread johla
Have a look at the JBoss World Barcelona re-cap. http://www.jboss.com/pdf/jbw_barc/best_practices/jboss_migration_guide.pdf http://www.jboss.com/events/jbossworld/recap#best_practices /Lars View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908805#3908805 Reply

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread alessandroribeiro
An additional information: I have created some small portlets so far and they work perfectly fine. I also deployed the Struts Bridge demo and it works fine as well. The problem is that I have not been successful creating a very simple Struts application running under a portlet. View the ori

[JBoss-user] [Javassist user questions] - loading a modified class directly from a ClassFile

2005-11-23 Thread johncoleman
I got this to work, just that the classes subclasses now throw java.lang.AbstractMethodError exceptions! // get the class file as a resource InputStream is = getClass().getResourceAsStream(resourceName); DataInputStream dis = new DataInputStream(is); // create a class file object from the class f

[JBoss-user] [Clustering/JBoss] - Re: JMS Queue Problem with other cluster members

2005-11-23 Thread dpabhay
I have found an insight to this issue. It is because it is in server\all\deploy-hasingleton folder. If you move the MBean topic declaration to C:\jboss-3.2.5\server\all\deploy\jms In face there is a bug that is being worked on http://jira.jboss.com/jira/browse/JBCLUSTER-63 may be it is of som

[JBoss-user] [JBoss Portal] - Re: Problems with StrutsBridge

2005-11-23 Thread alessandroribeiro
Some additional information: I'm using JBoss Portal 2.0 embedded in JBoss AS 4.0.2. I created just one Action file called HelloAction: package eco.pep.web.actions; import javax.servlet.http.HttpServletRequest; import javax.servlet.http.HttpServletResponse; import org.apache.struts.action.Actio

[JBoss-user] [Clustering/JBoss] - Re: JMS Queue Problem with other cluster members

2005-11-23 Thread dpabhay
I am also having same problem. I have a Topic created on one server. I am creating a copy of the JBoss installation on another machine and starting it up. The new server does not seem to deploy any of the default queues as well there is no Topic deployment as confirmed from JMX console. I have

[JBoss-user] [JBossWS] - Re: JBoss WS -- Secure WS and UserNameToken

2005-11-23 Thread johnr1111
I did not see much in the way of support for the UserName Token other than the class to support it? I did not see any test cases that called this out, nor do I even see it listed for the JBoss WS 1.0 release. I saw encryption, and signing. I didn't see the authentication part? Am I missing t

[JBoss-user] [Javassist user questions] - Re: ClassFile write creates bad byte code

2005-11-23 Thread johncoleman
opps, I see I should not of changed the classname! d'oh anyway, this technique allows the class to be modified without loading the original class View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908794#3908794 Reply to the post : http://www.jboss.com/index.ht

[JBoss-user] [Javassist user questions] - ClassFile write creates bad byte code

2005-11-23 Thread johncoleman
I've followed this example from notes: BufferedInputStream fin = new BufferedInputStream(new FileInputStream("Point.class")); ClassFile cf = new ClassFile(new DataInputStream(fin)); And then used the write method to create the new class. However, tad throws an exception, so it appears the b

[JBoss-user] [Clustering/JBoss] - Re: Nodes having difficulty discovering each other

2005-11-23 Thread ScottMarlowNovell
I believe that Network switches can be configured to prevent UDP packets from being broadcast. I googled for this and found the following sales info for one network switch that implies that this is true: "Once the port is operational,the network administrator can use both regular and extended

[JBoss-user] [Beginners Corner] - How to use CMR with generated primary keys

2005-11-23 Thread radix_zero
I two CMP beans which use database generated primary keys. (MySQL auto_increment) Tables A and B, with a one-to-many from A to B, cascade delete. The problem is that when I delete a record from A I get an error from MySQL which is of the form "Unknown column 'a' in 'where' clause". It see

[JBoss-user] [JBoss Portal] - Problems with StrutsBridge

2005-11-23 Thread alessandroribeiro
Hi, I'm trying to modify the default StrutsBridge demo application. I created a very simple Struts application, with just one Action. This action just forwards to a static JSP file. I followed the steps in the TXT files of the demo application. My portlet (StrutsHello) now appears on the de

[JBoss-user] [JBossWS] - Re: Alpha 5.0 - Port not found in WSDL

2005-11-23 Thread johnr1111
The following is generated when deploying a JAR on the lates jboss-head version. The same war and other wars deploy fine (Minus the parameter issue) on the previous versions of JBoss. This example web service was taken righ out of the JBoss Admin Guide. I would like to find a version of JB

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Issues with Post Parameters in Tomcat5

2005-11-23 Thread [EMAIL PROTECTED]
You are right. the 302 does happen without the leading slash Here is the header info | http://localhost:8080/tomcat-issue | | POST /tomcat-issue HTTP/1.1 | Host: localhost:8080 | User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.7.12) Gecko/20050915 Firefox/1.0.7 | A

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - tomcat can not talk to jboss

2005-11-23 Thread jack0501
our application is running on the tomcat 4.0.x and jboss 3.2.x. now I try to update jboss to the 4.0.x. first all, I got the hashcode exception. so I update jbossall-client.jar in web-inf\lib of the application on tomcat by the new jboss client\jbossall-client.jar. then, tomcat can not be star

[JBoss-user] [Beginners Corner] - Re: What JAR files does a Remote Client need to access an EJ

2005-11-23 Thread kimbaltrue
I tried that one, but it didn't seem to resolve the missing class. I'm running the client out of the same project that I build the EAR file from, and I wondering if some of the server JAR files are interfering with the client one. View the original post : http://www.jboss.com/index.html?module=

[JBoss-user] [JBossWS] - Re: Alpha 5.0 - Port not found in WSDL

2005-11-23 Thread johnr1111
Is there a build that can deploy war files that does not have the problem with the parameters in the WSDL? The inout string issue that gets caused by the WSDL parameters having the same name while deploying. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Replies and server to server trust

2005-11-23 Thread [EMAIL PROTECTED]
anonymous wrote : Should I ask it a different way? Why ask it at all when it has already been answered many times? anonymous wrote : I can't easily tell how the onMessage is being triggered by a scan of the code. No, but you can by reading the documentation. Adrian Brock, your "friendly" human s

[JBoss-user] [JBoss Portal] - Re: JBoss Portal 2.2 CVS-HEAD, Layouts

2005-11-23 Thread mholzner
np, just tell me where to send it (I won't be back until next Monday though ...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908779#3908779 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908779

[JBoss-user] [JBossCache] - Re: JBoss Cache using Multicast.

2005-11-23 Thread kbisla
I found the problem to be related to the d-link network driver, upgrading the driver fixed it, but now i'm running into out of memory problem with the cache. May be you should check out if there are updates available for the driver. if you don't want to upgrade or don't have a new driver that f

[JBoss-user] [Security & JAAS/JBoss] - group based authentication

2005-11-23 Thread ralluri
wondering if someone can clarify on this. I need to develop a authentication process where based on the roles & group combination. Each group has certain roles and users can be assigned to the group Here is the data in database: Each group has certain roles in it group1 role1 group1 role2 gr

[JBoss-user] [Security & JAAS/JBoss] - SecurityAssociation principal not cleared after client login

2005-11-23 Thread jwynett
Hi: I'm using JBoss 4.0.3 with EJB3. I have a standalone client that accesses the server and uses the ClientLoginModule to login. After the client process ends, the SecurityAssociation principal and credential remain set in the thread in the server. This allows another client to have access on

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread [EMAIL PROTECTED]
"Rudi Vankeirsbilck" wrote : Don't shoot me Adrian if this is another obvious question ;-) | Rudi Bang! You are in the wrong forum to ask questions about JCA pooling and security. Your question has nothing to do with JMS (other than the JMS RAR is on the receiving end of your configuration :-

[JBoss-user] [Javassist user questions] - Re: ClassCastException

2005-11-23 Thread [EMAIL PROTECTED]
Sussed it. Fixed it by setting attribute CallByValue in deploy/ear-deployer.xml to true. Not obvious to us newbies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908759#3908759 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=r

[JBoss-user] [JNDI/Naming/Network] - weblogic JNDI federation problem

2005-11-23 Thread synclab
hi i'd like to import a JNDI tree from weblogic to JBOSS - how can i get it? PS i've tried adding the following mbean in jboss-service.xml mbean code="org.jboss.naming.ExternalContext" name="jboss.jndi:service=ExternalContext,jndiName=external/Bea"> external/Bea true java.naming.factory.initi

[JBoss-user] [Beginners Corner] - Using Swing within EJB

2005-11-23 Thread breuniga
I know it sounds a little bit strange, but I want to use Swing within a EJB-Session bean. I try the following: @Stateless | public class HelloWorldBean implements HelloWorldLocal, HelloWorldRemote{ |public void sayHello(String name) { | try { | JOptionPane.showMessageD

[JBoss-user] [Beginners Corner] - Re: What JAR files does a Remote Client need to access an EJ

2005-11-23 Thread breuniga
Don't know if this is the correct solution, but for me it works: I had to put the jboss-aspect-library-jdk50.jar into the classpath of the client. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908745#3908745 Reply to the post : http://www.jboss.com/index.ht

[JBoss-user] [Javassist user questions] - ClassCastException

2005-11-23 Thread [EMAIL PROTECTED]
Seemingly when I pass a Vector, ArrayList or some other concrete collection from a stateless session bean, when I come to do the iteration and thereby casting of the objects, it throws a ClassCastException in the iter.next() statement. Is there something I am doing wrong. I am running JBoss 4.0

[JBoss-user] [Security & JAAS/JBoss] - using LdapLoginModule with no roles in ldap

2005-11-23 Thread ittay
hi, i want to use the LdapLoginModule, but not to get roles from ldap. The problem I have that while the user is authenticated fine, it fails to be authorized against the security constraints in web.xml. i have a with i've tried not using , using an empty one and using one with an empty rol

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread Rudi Vankeirsbilck
I am back and I think I have found the root cause this time. First I reverted my changes to JmsXARealm in logon-config.xml as Adrian indicated that I should not make unconsidered changes like that. That also reverted my problem to getting | Caused by: javax.jms.JMSSecurityException: Connection

[JBoss-user] [JCA/JBoss] - Re: Wrapped Connection

2005-11-23 Thread [EMAIL PROTECTED]
For people that do come across this duplicate question in future. I've copied the description given in this (non-)bug report: http://jira.jboss.com/jira/browse/JBAS-1426 to the WIKI http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCALazyAutoCommit And I would guess those of you that read release no

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Replies and server to server trust

2005-11-23 Thread thomas.preston
Do you think that I am just asking stupid questions and so give me a link to a FAQ telling me to ask more specific questions? Should I ask it a different way? Basically I want to know if the server is doing RMI back to the client to call the onMessage. I can't easily tell how the onMessage is

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: timeout when invoking stopDelivery

2005-11-23 Thread schachi
thank you for the hint (the solution with the thread works for me) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908737#3908737 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908737 --

[JBoss-user] [JCA/JBoss] - Re: Wrapped Connection

2005-11-23 Thread [EMAIL PROTECTED]
BEGIN LART "FunkyHippy" wrote : Did not read my original post!? | | I HAVE searched. | So much you didn't even "READ THIS FIRST" at the top of the forum. You certainly didn't read the last link I posted anonymous wrote : | I have been searching all day for a way to do this but can find

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread Rudi Vankeirsbilck
I did try to find similar posts before posting this one and came up with: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=63621 and http://www.jboss.com/index.html?module=bb&op=viewtopic&t=43891 The first seems to be exactly the same problem as I am having but nobody has answered that on

[JBoss-user] [Beginners Corner] - Re: Dynamic class loading of EJB3 entities

2005-11-23 Thread mikeboo
... I'm using jboss-4.0.3SP1 and the client runs with following VM-arguments: -Djava.security.manager=java.rmi.RMISecurityManager -Djava.security.policy=client.policy -Djava.rmi.server.codebase=http://localhost:8083/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopi

[JBoss-user] [JBossWS] - Re: How to hide an element in WSDL ? please help.

2005-11-23 Thread chwang
Thank you very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908728#3908728 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908728 --- This SF.net email is sp

[JBoss-user] [JNDI/Naming/Network] - ejb communication over http. JNDI lookup over http.

2005-11-23 Thread ebende
Hi, is it possible to run a JBoss cluster over the internet? In particular, this is what I want: On server A I am running Stateless Session Bean 1. On server B I am running Stateless Session Bean 2. Now I want to let SLSB 1 communicate with SLSB 2. However server A and B are NOT located on the

[JBoss-user] [Clustering/JBoss] - stateless session bean communication over http / internet

2005-11-23 Thread ebende
Hi, is it possible to run a JBoss cluster over the internet? In particular, this is what I want: On server A I am running Stateless Session Bean 1. On server B I am running Stateless Session Bean 2. Now I want to let SLSB 1 communicate with SLSB 2. However server A and B are NOT located on the

[JBoss-user] [JCA/JBoss] - Re: Wrapped Connection

2005-11-23 Thread FunkyHippy
Did not read my original post!? I HAVE searched. I have been searching all day for a way to do this but can find no information about how to do this. (Do you have any links or keywords that would give the results I need). I don't understand what state are you talking about? I am accessing the

[JBoss-user] [Javassist user questions] - decoupled persistence layer?

2005-11-23 Thread johncoleman
Hi, I am attampting to decouple my business logic from my persistence layer (Cayenne). I do not want to code Cayenne modeller classes into my business layer. The business layer should deal with interfaces and the database access taken care of by services in a container, a bit like EJB! Anyway

[JBoss-user] [JNDI/Naming/Network] - getting primarykey using datasource

2005-11-23 Thread kannak7
Hi, Thanks in advance.I got struck in the middle of a problem and please help me. In my application i am using datasouce and performing all operations without establishing any connections as this: JdbcTemplate jt = new JdbcTemplate(datasource); List result=jt.queryForList(query); Now I want to

[JBoss-user] [JCA/JBoss] - Re: JBoss Oracle Unicode support

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Wrong forum. EJB/Persistence. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908718#3908718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908718

[JBoss-user] [JCA/JBoss] - Re: Wrapped Connection

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp No, use search if you want elaboration. anonymous wrote : How do this break connection pooling? Err... Modifying the state in a way unknown to the container? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=39087

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Concurrence limitation for a JSP

2005-11-23 Thread agustinator
Hello, We have a problem with a JSP, when this jsp is called with a certain concurrence it stops working, and refuses to work until the JBoss instance is restarted. On WLS the JSP is limited to 3 concurrent petitions, and new petitions are enqueued waiting for them to finish. Is there a way to

[JBoss-user] [Security & JAAS/JBoss] - Custom callback handler

2005-11-23 Thread oglueck
My app uses a username, userprofile and password to authenticate users. I am authenticating from within a MDB, so I can call secured session bean methods. All information needed to login comes with the message and I provide this via a custom callback handler to JAAS. I am using this login config

[JBoss-user] [Installation, Configuration & Deployment] - Re: How to use IBMJSSE2 with JBoss?

2005-11-23 Thread javahollic
Hey thanks, you just made my day, looks like it was a 'jboss question' after all :) I added the algorithm key to my config and my setup works now, Im looking into M$ AD LDAP auth, but have had basic file config working for a webapp, perhaps I can help. I'm on AMD64 not AIX but I am using the

[JBoss-user] [Beginners Corner] - Dynamic class loading of EJB3 entities

2005-11-23 Thread mikeboo
Hi, maybe it's a stupid question, but I can't find any solution for this. I deployed just interfaces implemented by my entities to the client and I'm accessing it through a SLSB. But I get a NoClassDefFoundError. I already enabled the classloading by setting the DownloadServerClasses flag, but i

[JBoss-user] [EJB/JBoss] - loader-repository stuff

2005-11-23 Thread spoonman464
Oops! It looks like I made a mistake. In the above document, I should have said that the stuff goes in the "jboss-app.xml" file in the META-INF folder and not in the jboss.xml file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908711#3908711 Reply to

[JBoss-user] [JCA/JBoss] - JBoss Oracle Unicode support

2005-11-23 Thread r_q_d
Hi, there, I need to have my application support unicode. the table column type is NVARCHAR2, I use EJB CMP. I know that I can use following code to insert unicode into table: | PreparedStatement updateStmt = con.prepareStatement("update LocaleMessage set message=? where referenceId=0 and

[JBoss-user] [JBoss Portal] - Re: Portal goal?

2005-11-23 Thread lnuxguy
In the 2.2 release, will more portlets be included with the portal? What is the release date for 2.2? Are there any examples of people using this as a full-fledged portal? The few examples I see are people serving up a few static pages... View the original post : http://www.jboss.com/index.htm

[JBoss-user] [Javassist user questions] - Re: field = new CtField seems to do nothing

2005-11-23 Thread chiba
You can make a CtField by calling new CtField(), then set the modifiers to public by calling setModifiers(). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908698#3908698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=

[JBoss-user] [Installation, Configuration & Deployment] - Re: Hot deployment in a web app

2005-11-23 Thread kloper76
Sorry, here's the ant task: | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908697#3908697 Reply to the post : http://www.jboss.com/index.html

[JBoss-user] [Installation, Configuration & Deployment] - Hot deployment in a web app

2005-11-23 Thread kloper76
Hi, I use Debian Linux, Java 1.5, JBoss 4.0.2 and Eclipse 3.1.1. I have a web app, let's call it "myapp": jboss/deploy/server/myapp/deploy: myapp.ear jboss/deploy/server/myapp/deploy/myapp.ear: myapp.war myapp.jar I'm wondering how I can do these things with my web app: 1. to save a JSP templ

[JBoss-user] [JCA/JBoss] - Re: Wrapped Connection

2005-11-23 Thread FunkyHippy
If thats so how do I rollback all transactions on a connection. The autocommit property if always set to true unless I sepcifically change it. How do this break connection pooling? Please elaborate View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908693#39

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS Replies and server to server trust

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Read the docs/wiki View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908692#3908692 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908692 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Using LDAP to store JMS ConnectionFactories and Destinat

2005-11-23 Thread [EMAIL PROTECTED]
"action_jackson_j" wrote : First, some JMS vendors actually DON'T make their objects serializable. | I don't care about other vendors non-compliance anonymous wrote : | Second have you tried this? | Have you? It is you that wants to do it. anonymous wrote : | Or are you just assu

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: at MQ 3.24, JVM binding < UIL2 binding?

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Read the docs/wiki. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908688#3908688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908688 --

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS clustering problem

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Clustering -> clustering forum View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908687#3908687 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908687 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: ReceiveNoWait returns null but many there are 5000 messa

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Unanswerable question. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908685#3908685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908685 ---

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Read the docs before making random configuration changes and use search. This question came up last week. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908684#3908684 Reply to the post : http://www.jboss.com

[JBoss-user] [Installation, Configuration & Deployment] - Logging problem in one bean

2005-11-23 Thread buntjer
In my application I'm using log4j for logging. The configuration for logging is placed in the JBoss log4j.xml config file. All logging in my application goes well except in one sessionbean. This bean uses its own logger and its own appender. I have tested this logger and appender in another bea

[JBoss-user] [JCA/JBoss] - Re: ManagedConnectionPool stat question?

2005-11-23 Thread [EMAIL PROTECTED]
Point of contention elsewhere. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908682#3908682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908682 --- This SF.Net em

[JBoss-user] [JCA/JBoss] - Re: ConcurrentModificationException on WrappedConnection.clo

2005-11-23 Thread [EMAIL PROTECTED]
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp Use search View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908681#3908681 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908681 ---

[JBoss-user] [JBossWS] - Re: How to hide an element in WSDL ? please help.

2005-11-23 Thread BogSolomon
One way to do it would be to remove the setNAme and getName and change them to something else like putName and retrieveName. Basically JBoss AXIS engine will go through your class and add to the message all the public fields plus all the fields that have set and get. WScompile the same. That i

[JBoss-user] [JCA/JBoss] - Re: Wrapped Connection

2005-11-23 Thread [EMAIL PROTECTED]
What are you on about? There is a "lazy auto-commit" optimization that means it doesn't change the auto-commit unless it needs to do so. All you are doing is breaking the pooling. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908679#3908679 Reply to the

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: ListenerInjector IS buggy / incomplete!

2005-11-23 Thread axismundi
I found a solution by not implementing LoadEventListener, but instead extending DefaultLoadEventListener and calling super.onLoad() at the beginning of my onload impl. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908673#3908673 Reply to the post : htt

[JBoss-user] [Security & JAAS/JBoss] - Re: Creating a CertificatePrincipal using DN stored in Datab

2005-11-23 Thread rpa_rio
I'm completly lost... What can i do? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908668#3908668 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3908668 --- This SF.

[JBoss-user] [JCA/JBoss] - Re: Wrapped Connection

2005-11-23 Thread FunkyHippy
I've managed to figure it out. The needed jar is called jboss-common-jdbc-wrapper.jar and is in /server/all/lib. You have to code it in this way: | con = ds.getConnection(); | WrappedConnection wc = (WrappedConnection) con; | wc.getUnderlyingConnection().setAutoCommit(false); | con.setA

[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - log4j errors(org.jboss.logging.util.OnlyOnceErrorHandler)

2005-11-23 Thread chaituu
i am GETTING THIS ERROR wehen i deploy ear in jboss-4.0.2 Calling the context initialized method [EMAIL PROTECTED] log4j:ERROR A "org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a "org.apache.log4j.spi.ErrorHandler" variable. log4j:ERROR The class "org.apache.log

[JBoss-user] [Clustering/JBoss] - Re: Nodes having difficulty discovering each other

2005-11-23 Thread teknokrat
I really appreciate you taking the time provide some help. I also think its a network issue but you just try and convince the network guys this... thank you very much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908664#3908664 Reply to the post : http://w

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Porting jbossmq security configuration from 3.2.3 to 4.0

2005-11-23 Thread Rudi Vankeirsbilck
I have made some changes. I realized that when I publish messages, I am doing that in a XA context so I needed to change the login configuration for JmsXARealm too. | | | | guest | jboss.mq:service=StateManager | jboss.j

[JBoss-user] [JBossWS] - Re: Could not find deserializer for type

2005-11-23 Thread mooreg
"ameisinger" wrote : Hi to everyone! | | I made some attempts with complex types. Now they're working after inserting the corresponding typeMapping. | | I tried a new method: String setStrings(String[]) and there is the same error like before: | | No deserializer defined for array

[JBoss-user] [Clustering/JBoss] - Re: Nodes having difficulty discovering each other

2005-11-23 Thread [EMAIL PROTECTED]
I give up: this is definitely a network problem, which you need to fix. It's hard to diagnose without having access to the network itself... Sorry, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3908658#3908658 Reply to the post : http://www.jboss.com/index.h

  1   2   >