[jboss-user] [JBoss Messaging] - Re: cluster performance with many queues

2008-11-12 Thread bartvh
"timfox" wrote : Yes you can have failover without clustering, but it's not automatic. You need to catch the exception from the ExceptionListener and recreate your connection on the new node. This is failover of the connection, right? What about the queue? Is there a way to have it also moved ov

[jboss-user] [Clustering/JBoss] - Re: how to share file system folder accoss Jboss Application

2008-11-12 Thread FrankTheTank
I have the same issues. The common guideline here seems to use a TreeCache to replicate the data between the nodes (somehow). But I am not really happy with this solution. There already seems to exist all the required elements in how the farming (FarmMemberService, ClusterFileTransfer) does the

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: RMI behind a firewall

2008-11-12 Thread FrankTheTank
Does anyone even use JBoss on a WinXP 'server' behind a firewall? If so, do you also use RMI or something else? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188978#4188978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&

[jboss-user] [JBoss Portal] - jboss server taken too mach time

2008-11-12 Thread Nagendra1020
Hi, i am using jboss-portal-2.6.6 it is taken too much time to start can i remove any service expect portal service from jboss server to improve start time. thanks in adv View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188977#4188977 Reply to the post :

[jboss-user] [JBoss jBPM] - JBPM Oracle connection Issue

2008-11-12 Thread Kodee
Hi, We are new to Jbpm and we are trying to change default hsqldb to oracledb. When we try to connect with Oracle database with jbpm, while deploying my processdefinition.xml, it displays the following error. Please do the needful Warm Regards, Kodee Error Message in Console 10:45:10,118 D

[jboss-user] [Security & JAAS/JBoss] - Ldap Configuration & different principals / suffixes

2008-11-12 Thread braca
Hello, I like to use the Ldap-Login-Module for JBoss. However, I have a configuration problem regarding Ldap. It's because of the organizational structure which is like this: ou=users,ou=cityA,ou=BW,o=GER ou=users,ou=cityB,ou=BW,o=GER ou=users,ou=cityC,ou=BW,o=GER For this reason, I cant' do s

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log4j hit error but no mail sent?

2008-11-12 Thread gan.gary
I forgot to add here as well: | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188974#4188974 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188974 _

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Log4j hit error but no mail sent?

2008-11-12 Thread gan.gary
if searching for "Log4j", it seems nothing can be found on service=Logging,type=Log4jService under "jboss.system" & J2EEApplication=null,J2EEServer=Local,ServiceModule=jboss-service.xml,j2eeType=MBean,name=jboss.system:type=Log4jService,service=Logging under "jboss.management.local" View the o

[jboss-user] [JBoss Portal] - Re: Destroy third party session when logging off portal

2008-11-12 Thread ronak2121
I have a similar issue in that I want to invalidate an HTTP Session I have with a Google Web Toolkit Frontend in one of my portlets. There is no way to detect that the portlet has been closed and then signal through my Portlet and JSP that the HTTPSession should be closed. Can I do this through

[jboss-user] [JBoss jBPM] - deployment in starter kit

2008-11-12 Thread asique
I m new in jboss jBPM.i have downloaded the jBPM starter kit 3.1.3 after doing all configuration i can run jboss AS and use the default websale prject i have also developed my own process and deployed it using eclipse as far as i know a process archive is created that is deployed on jboss AS but i

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Log4j hit error but no mail sent?

2008-11-12 Thread gan.gary
I use a JBoss for queue. I have configured the SMTPAppender in "jboss-log4j.xml" in "C:\jboss-4.2.2.GA\server\default\conf". ( the add are hid) | | | | | | | | | | | The same settings I used for simple javaMa

[jboss-user] [JBoss AOP] - Re: Executable file created by install4j can not be run

2008-11-12 Thread cpsaop
Hi Flavia, Many thanks for your reply. Actually, I have tried both of the instrumentors, ClassicInstrumentor(by the property you mentioned) and GeneratedAdvisorInstrumentor(by default), but VerifyError still occurs, although the exception message is different. I am wondering, Will JBoss AOP com

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-12 Thread dennyxu
If you could attach some screenshots about how you create the web service, that would be great , it's very important feedback to us :) About the package way, unfortunately WTP does not provide a way to package to a war, but there is also a workaround, after generate codes, just delete the xxEA

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Startup Script

2008-11-12 Thread vpire
Thanks jaikiran and PeterJ. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188962#4188962 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188962 ___ jboss-user mailing list jbo

[jboss-user] [EJB 3.0] - Socket client running slow in stateless bean 3.0

2008-11-12 Thread [EMAIL PROTECTED]
I found the socket client inside of SLSB 3.0 takes more time to connect to a server which is implented by c++. but the same code works very fast on Tomcat . actually the code is very simple: | Socket socket = new Socket(host, port); | OutputStream out

[jboss-user] [Beginners Corner] - JBoss failed for stress test? Memory too low?

2008-11-12 Thread gan.gary
I am using .NET multithread (100 threads for 200, 000 records) app client to perform stress test on JBoss server. once i hit this msg & 5 records were lost when allocate default 512MB max memory, with all showing this msg: "org.jboss.mq.SpyJMSException: Cannot authenticate user; - nested throwab

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread benhu
"kukeltje" wrote : Alpha 1 is targeted Jan 2009, not sure how many alpha's and beta's will be there before a CR, might be 4 releases, so 4x8 weeks after Jan 2009... it's up to you. Sorry, I confused myself between alpha 1 and cr1. I will think about the timeline issue. Thx! View the original

[jboss-user] [JBoss jBPM] - Re: jBPM 4 Design Question: Stateful Process Instance

2008-11-12 Thread benhu
"kukeltje" wrote : how do you mean stateless? Is that the same as no persistence to you? 95% of current jBPM usage is with persistance, Can you point me to the wiki page and tell me what you think this statefull means? The wiki page is here: http://www.jboss.org/community/docs/DOC-12855 My und

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-12 Thread gan.gary
Thanks erasmomarciano, jaikiran, PeterJ. I think i gotta modify the "run.bat" anyway, because I need to run the JBoss as windows service, "service.bat" which in turn will call "run.bat" thru': :cmdStart | REM Executed on service start | del .r.lock 2>&1 | findstr /C:"being used" > nul | if

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: why still getting

2008-11-12 Thread gan.gary
"PeterJ" wrote : The doc link you provided in your first post is for JBoss Message, but the location of the jms-ds.xml file you provided in your second post is for JBossMQ - two completely different messaging systems. If you want to make use of the recovery mechanisms, you need to first install

[jboss-user] [JBoss jBPM] - Re: jBPM 4 Design Question: Stateful Process Instance

2008-11-12 Thread kukeltje
how do you mean stateless? Is that the same as no persistence to you? 95% of current jBPM usage is with persistance, Can you point me to the wiki page and tell me what you think this statefull means? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188949#4188

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread kukeltje
Alpha 1 is targeted Jan 2009, not sure how many alpha's and beta's will be there before a CR, might be 4 releases, so 4x8 weeks after Jan 2009... it's up to you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188948#4188948 Reply to the post : http://www.jb

[jboss-user] [JBoss jBPM] - Re: Using pooled actors in a mail template?

2008-11-12 Thread kukeltje
the 'to' list is independent of the templating itself. a afaik, the to can have a string, string[] and something more. The sourcecode (e.g. testcases) is your friend. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188947#4188947 Reply to the post : http://w

[jboss-user] [JBoss Portal] - Destroy third party session when logging off portal

2008-11-12 Thread tulip
Hi All, Here are my env details: Jboss Portal : 2.7.0CR1 (deployed from source) Jboss app server : 4.2.2.GA JDK: 1.5 Portlet Bridge : B3 We are integrating with a 3rd party software and I am creating a session with the 3rd party application in my jboss portlet. I need to destroy the 3rd party s

[jboss-user] [JBoss Portal] - Downloading a File from within a Portlet.

2008-11-12 Thread analyzediz
I'm trying to create a portlet that allows a user to download a file from it. Since I can't figure out a way of changing the response header from within portlet, there's no way of setting the Content-Disposition. So if the content-disposition can't be set on the header, the browser doesn't know

[jboss-user] [JBossWS] - Re: replacement of REPLACE_WITH_ACTUAL_URL when using annota

2008-11-12 Thread bschmoll1
I've been recently struggling with the same issue. Apache operates as a front-end for our JBoss server which host several apps, one of which is a web service. Look at the: ../deploy/jbossws.sar/jbossws.beans/META-INF/jboss-beans.xml | | | | | true | | | T

[jboss-user] [JBoss jBPM] - jBPM 4 Design Question: Stateful Process Instance

2008-11-12 Thread benhu
I am designing a service in my system based on jBPM and I am trying to make the service stateless for scalability issue. For current jBPM 3, the process instance is stateless, so I can design my stateless service to start an instance, signal the token and deal with tasks. Today when I am readin

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread benhu
"kukeltje" wrote : What I'd suggest then (and would be a good approach anyway) is to use a what 'we' call PAO, Process Access Object, just like a DAO. Use more business friendly method signatures in these like | | finishPayment(Amount amount) { } | | The implementation can be jbpm 3 no

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-12 Thread PeterJ
I should point out the I edited the hosts file on the system running JConsole, not the system running JBossAS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188929#4188929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-12 Thread PeterJ
Eureka! The problem is related to the problem discussed here: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=93668 And the solution is the same - edit the /etc/hosts file and add the IP address and host name of the system running the app server. For example, on my laptop I added this

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-12 Thread PeterJ
Here are my latest findings. First, I have to state that earlier I was working from my office, but now I am working at home so things are different. At home, if I run the app server on Windows, I can connect using JConsole on another Windows machine. But I cannot connect running JConsole on Linu

[jboss-user] [JBossWS] - Re: JDK 1.6.0_10/JBoss4.2.0.GA/JBossWS 2.0.0 - setProperty m

2008-11-12 Thread lcompton
I solved my problem. Here's a synopsis of the winning configuration: 1. Configured JBoss via the ant script in "jbossws-native-2.0.0". Ended up with the following in "$JBOSS_HOME/lib/endorsed": - jaxb-api.jar - jboss-jaxrpc.jar - jboss-jaxws.jar - jboss-saaj.jar - serializer.jar - xalan.jar - xer

[jboss-user] [EJB 3.0] - Accessing SOAP web services from session bean error

2008-11-12 Thread mxc
Hi all, I have a session bean that is trying to access a soap web service, wrap the response and return it to the callee. When I run unit test directly against the code that does the calling i.e. when it is outside the JEE container everything works as planned. However when I call the code fro

[jboss-user] [JCA/JBoss] - Re: Setting up XA datasource with oranxo driver and RAC

2008-11-12 Thread vickyk
Well host2 property will not work as setHost2 is not here http://www.inetsoftware.de/products/jdbc/oracle/doc/com/inet/ora/OraDataSource.html Try setting host1=host1name,port1=port1val,host2=host2name,port2=port2val http://www.inetsoftware.de/products/jdbc/oracle/doc/com/inet/ora/XDataSource.htm

[jboss-user] [Clustering/JBoss] - Re: Monitoring nodes partecipating in the cluster

2008-11-12 Thread noelo
There is a JMX bean available that will display the nodes active in a cluster. I think the name of it is org.jboss.ha.framework.server.ClusterPartition. You can get to it via the jmx console... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188920#4188920 Rep

[jboss-user] [JCA/JBoss] - Re: Setting up XA datasource with oranxo driver and RAC

2008-11-12 Thread jplater
I tried that the other day but oranxo doesn't support the URL property. Here is the link to the oranxo documentation. http://www.inetsoftware.de/products/jdbc/oracle/manual.asp View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188909#4188909 Reply to the po

[jboss-user] [JBoss Messaging] - Re: cluster performance with many queues

2008-11-12 Thread timfox
Yes you can have failover without clustering, but it's not automatic. You need to catch the exception from the ExceptionListener and recreate your connection on the new node. You can use HA-JNDI to look up the node in the cluster. View the original post : http://www.jboss.com/index.html?module

[jboss-user] [JBoss Messaging] - Re: Message distribution in cluster

2008-11-12 Thread timfox
Please first read the wiki explanation of clustering. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188907#4188907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188907 ___ j

[jboss-user] [JBoss Cache: Core Edition] - problem with hibernate configuration

2008-11-12 Thread cmatric
hi all, I am new on jboss forum. we are using jbosscache-core 2.1.1.GA with hibernate 3.3.1.GA. we would create a distributed transactional cache with MultiplexedJBossCacheRegionFactory. I have read the tutorial of hibernate and the jboss tutorial about integration of them, and I have produced th

[jboss-user] [JBoss Messaging] - Re: Message distribution in cluster

2008-11-12 Thread rana24
You mean to say , Creating multiple connection for multiple node ? that doesnt serve the purpose of cluster right ? if there are 5 nodes , Do we need to create 5 Connection for 5 node ? Plz. explain. thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=41889

[jboss-user] [JCA/JBoss] - Re: Setting up XA datasource with oranxo driver and RAC

2008-11-12 Thread vickyk
Can you try setting URL property? jdbc:oracle:oci8:@tc And in the URL you can set what is explained in the docs for connection-url jdbc:oracle:thin:@(description=(address_list=(load_balance=on)(failover=on)(address=(protocol=tcp)(host=host1)(port=1521))(address=(protocol=tcp)(host=host2

[jboss-user] [JBoss Tools (users)] - Re: Error creating Seam 2.1.0 SP1 Web Project with Tools 3 b

2008-11-12 Thread elenctic87
I get these exceptions creating a new Seam Web Project with DWP Seam 2.0, JPA enabled. Exception message "Failed while installing Seam 2.0" | | java.lang.NullPointerException | at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.registerAsModelStateListener(EMF2DOMSSERenderer

[jboss-user] [JBoss Tools (users)] - Re: Error creating Seam 2.1.0 SP1 Web Project with Tools 3 b

2008-11-12 Thread elenctic87
I get this exception with DWP Seam 2.0, No JPA. It occurs within a brand new workspace in Ganymede. Please see my next post for exceptions that occur with JPA enabled. | java.lang.NullPointerException | at org.eclipse.wst.xml.core.internal.emf2xml.EMF2DOMSSERenderer.registerAsModelStateL

[jboss-user] [JBoss Messaging] - Re: Message distribution in cluster

2008-11-12 Thread ataylor
The load balance is done at a connection level so once youve created you're connection all message will be sent to the same server. Try creating multiple connections to see what happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188900#4188900 Reply to

[jboss-user] [JBoss Messaging] - Re: Message distribution in cluster

2008-11-12 Thread rana24
Thanks Andy, Even if my client sends messages from a Remote Location ( M/C - A). It always comes to M/C -B. Never goes to M/C -C , which is also part of same cluster. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188899#4188899 Reply to the post : http://ww

[jboss-user] [JBoss jBPM] - Re: Using pooled actors in a mail template?

2008-11-12 Thread ClayM
Is it possible to assign a list of people in a mail node or is that going to have the same templating problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188894#4188894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p

[jboss-user] [Clustering/JBoss] - Waning message in log

2008-11-12 Thread rana24
Hi , i am runnng a cluster on Jboss 4.2.3 on two nodes. I keep getting below mentioned Warning on Console on Node 1 [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] [EMAIL PROTECTED]: detected failure on control connection Thread[control: Socket[addr=SYNPUNE0342/10.31.2.85,port=

[jboss-user] [JBoss Messaging] - Re: Message distribution in cluster

2008-11-12 Thread ataylor
This questions been raised quite a few times, search the forums to see. in short when you have a distributed queue it will always deliver to its local consumers first. There's no point wasting a network round trip if there is a consumer locally. View the original post : http://www.jboss.com/in

[jboss-user] [JBoss Messaging] - Re: cluster performance with many queues

2008-11-12 Thread ataylor
anonymous wrote : Is there a way to have failover without clustering? Not with JBM. I guess you create you're queue dynamically, you could make it so that you always create you're producers and consumers on the same machine you create the queue on, but this would have to be done at the applicati

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JConsole / jmxremote connection problems

2008-11-12 Thread PeterJ
anonymous wrote : JBoss running on Windows and JConsole on Fedora working connecting to windows okay, but trying to run JBoss on Fedora and JConsole on windows did not? | That is correct. anonymous wrote : Presumably if I find a Linux OS with a desktop envrionment you're saying JConsole _m

[jboss-user] [JBoss Portal] - Re: i want to disable page

2008-11-12 Thread PeterJ
Two things to check: 1: make sure that the portal does not have a recursive access permission set. 2: Try dropping all the tables from the database, this will eliminate any old configuration settings. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=413#41

[jboss-user] [EJB/JBoss] - Using EJB 2.x cmp with annotations

2008-11-12 Thread msecrist
I posted earlier some issues I was having with local (in container) vs remote (separate VM) calls. A common theme seems to be the use of the utility class generated by the xdoclet processing. Or - it may be something in the way JBoss handles servlet requests as opposed to ejb->ejb requests. W

[jboss-user] [JBoss jBPM] - Re: How can i get inform about running tokens/processes.

2008-11-12 Thread kukeltje
First of all, 'nodes' should not be long running in the client thread (the thread from which it is signalled). Use the jBPM async functionality for this. The functionality you describe is already in the current jBPM webconsole and will eventually also make it into the new upcoming GWT based con

[jboss-user] [Clustering/JBoss] - Message distribution in cluster

2008-11-12 Thread rana24
Hi , We have a scenario , where my MDB is listening to a Queue , application is configured in to cluster. JMS client is sending msg to Queue . Surprisingly all the messages are coming to Node1 in Cluster. We wanted to distribute it to all the nodes but it is not working. I am making context

[jboss-user] [JBoss Messaging] - Message distribution in cluster

2008-11-12 Thread rana24
Hi , We have a scenario , where my MDB is listening to a Queue , application is configured in to cluster. JMS client is sending msg to Queue . Surprisingly all the messages are coming to Node1 in Cluster. We wanted to distribute it to all the nodes but it is not working. I am making context

[jboss-user] [JBossWS] - Re: Sigining a SOAP message using the enveloped-signature tr

2008-11-12 Thread MrGuy
Unfortunately, the WS-Security documentation hasn't helped with the particular problem. It was very helpful in getting the WS-Security set up initially, and working from there I created the following jboss-wsse-client.xml file: | http://www.jboss.com/ws-security/config"; |

[jboss-user] [JBoss Messaging] - Re: cluster performance with many queues

2008-11-12 Thread bartvh
Is there a way to have failover without clustering? I know about the ha-singleton setup, but this would place the jms server only at one of the nodes in the cluster. And I do want to distribute the load of the growing number of clients over multiple instances. View the original post : http://

[jboss-user] [JBoss AOP] - Re: The use of the file

2008-11-12 Thread [EMAIL PROTECTED]
"hou84" wrote : | When I use under the file "jboss-aop.xml" the tag "bind pointcut" I use dynamic AOP Hi! Nope, you are not using dynamic AOP. Dynamic AOP is when you add and/or remove aspects at runtime. You can do this by hot deployment (available only in AS) or by using our dynamic AOP AP

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: New classfiles not getting picked up from EAR

2008-11-12 Thread aditya_adobe
These class files are normal java beans being referenced from JSPs. I deploy the EAR by placing it in the deploy folder directly. It doesn't happen each time. JDK 1.5, Windows 2003 We have moved to newer JBoss, but we support upgrading earlier version of our application which was supported on 4.

[jboss-user] [JBoss Portal] - Re: problem connection : Transaction is not active

2008-11-12 Thread Donigm
Hi, we have the same problem. Can you solve it?. If yes, how you solve it? Thanks, Doni. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188854#4188854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188854 _

[jboss-user] [JBoss jBPM] - Re: How can i get inform about running tokens/processes.

2008-11-12 Thread exe
My problem is the next: First: load process instance send signal to token (now the node thread is running ... ) while the node is running i load the process instance from an other jbpm context and try to send an other signal i'll get an exception: "Error signalling token: An exception of ty

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread kukeltje
What I'd suggest then (and would be a good approach anyway) is to use a what 'we' call PAO, Process Access Object, just like a DAO. Use more business friendly method signatures in these like finishPayment(Amount amount) { } The implementation can be jbpm 3 now and more easily changed to the jB

[jboss-user] [JBossWS] - Re: Sigining a SOAP message using the enveloped-signature tr

2008-11-12 Thread PeterJ
Does the WS-Security section of the docs help: http://jbossws.jboss.org/mediawiki/index.php?title=JAX-WS_User_Guide#WS-Security View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188850#4188850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=pos

[jboss-user] [EJB 3.0] - Re: Detach entities - Obtaining a clear pojo

2008-11-12 Thread juandbotiva
Hi! I'm getting an java.lang.IllegalAccessError when trying to access the fields in the getInnerCollection method. Is there a workaround for this ? java.lang.IllegalAccessError: tried to access field org.hibernate.collection.PersistentBag.bag from class org.hibernate.collection.HibernateCleane

[jboss-user] [Clustering/JBoss] - Monitoring nodes partecipating in the cluster

2008-11-12 Thread marcopb
Sorry for the question.. but I'm really a jboss newbie. I've configured two machine to be part of a jboss cluster. Now I've started one of this machine... hoping I've well configured cluster-service.xml files on both jboss machine... how can I monitoring if I have the cluster working well and how

[jboss-user] [Clustering/JBoss] - Exception in JNDI lookup based on partition and Udp group

2008-11-12 Thread mohitanchlia
Here is the lookup code: | | properties.put("jnp.partitionName", getSystemConfig().getBackendPartition()); | properties.put("jnp.discoveryGroup", getSystemConfig().getBackendUdpGroup()); | try { | this.backEndCtx = new InitialContex

[jboss-user] [JBoss Portal] - region and Layout

2008-11-12 Thread nhearne
Hi I have four windows in a page and I have chosen "generic" theme which is available from the admin console for the page. THis gives me center and left regions. in my *-object.xml I defined four windows (for four portlets already defined in portlet.xml and portletInstance.xml) and set the regi

[jboss-user] [EJB 3.0] - Manually created Hibernate EntityManager vs. injected one

2008-11-12 Thread alexeinov
Because of isolated classloading problems with several applications in the same container I have to avoid injecting EntityManager via a @PersistenceContext annotation. I tried to use the following code in my stateless bean: | private EntityManager em; | | @PostConstruct |

[jboss-user] [JNDI/Naming/Network] - Re: classCastException while casting ejb Home's proxy.

2008-11-12 Thread PeterJ
Another possible solution: remove the ejb interfaces from the war file. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188842#4188842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188842 ___

[jboss-user] [JBoss Portal] - Re: Font size change

2008-11-12 Thread PeterJ
Yes you can and the mechanisms are the same as for plain JSP pages (think about it - JavaScript is run by the browser and all the browser knows is that it has an HTML page, it has no idea what software was used to generate the page). However, have you tired to manually change the font size for p

[jboss-user] [JNDI/Naming/Network] - Re: Multiple databases solution

2008-11-12 Thread jaikiran
Please give more information about what you are trying to do and what issue you are running into. This is a 3 year old thread and you probably wont get any response if you don't provide any information. I would recommend that you open a new thread in the Installation & Deployment forum http://w

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-12 Thread PeterJ
erasmarciano, the run.conf file is not used on Windows, so editing it does no good. In addition, gan.gary wanted to know how to set JVM heap options - your example script file does not do this and thus does not solve gan.gary's problem. View the original post : http://www.jboss.com/index.html?m

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread benhu
"kukeltje" wrote : The current 'api' has been fairly stable for the last 2 years, so it is not really bad thing to use (even across upgrades). The 'stable' api will not be fully ready until the 4.0 CR1 release I think. The upcoming January release of jBPM 4 (alpha 1) will contain the first cut o

[jboss-user] [JNDI/Naming/Network] - Re: JNDI/JDBC error

2008-11-12 Thread PeterJ
After you are done using the connection ("basa" in your code), do you call "basa.close()"? The error message indicates that you are not doing this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188834#4188834 Reply to the post : http://www.jboss.com/index.h

[jboss-user] [JNDI/Naming/Network] - Re: Multiple databases solution

2008-11-12 Thread mitabhushan
Could you able to make it work with multiple databases View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188833#4188833 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188833 ___

[jboss-user] [Remoting] - Re: How to classify instances of InvokerCallbackHandler ?

2008-11-12 Thread jaikiran
Maybe you could create multiple server invocation handlers, each serving a different "sub-system" (which can correspond to an event). The Client which does the addListener can then connect/listen to the appropriate sub-system using the following constructor: public Client(InvokerLocator locator

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Startup Script

2008-11-12 Thread PeterJ
Why not set up JBossAS to run at system startup, that is, as a service, and use a script stop and start the service? For running as a service, see http://www.jboss.org/community/docs/DOC-12305 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188831#4188831 Rep

[jboss-user] [JBossWS] - Sigining a SOAP message using the enveloped-signature transf

2008-11-12 Thread MrGuy
I have an application that needs to consume a webservice. I've generated the client stubs with wsconsume, and I've configured most of the security settings our partner requires ( username tokens, and a signature ). However, the webservice provider requires that the SOAP envelope be signed using

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread benhu
Thanks for your explanation. By current 'api', you mean the existing interfaces in jBPM 3 code base? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188826#4188826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188826

[jboss-user] [JBoss Portal] - Re: accessing one page to another page

2008-11-12 Thread PeterJ
In on of your portlets on PageA, place this hyperlink: PageD[/url] | | At least, I think that is the correct URL (it could be "/portal/portal/portalname/PageD"). I know that you can get to a specific page by entering this into the browser: | | http://localhost:8080/portal/portal/portal

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread kukeltje
The current 'api' has been fairly stable for the last 2 years, so it is not really bad thing to use (even across upgrades). The 'stable' api will not be fully ready until the 4.0 CR1 release I think. The upcoming January release of jBPM 4 (alpha 1) will contain the first cut of this stable api.

[jboss-user] [JBoss Messaging] - Re: cluster performance with many queues

2008-11-12 Thread ataylor
If a queue is clustered and it has a local consumers then it distributes the messages to the local consumers in a round robin fashion. If a queue has no local consumers then it will distribute the messages around the cluster. If you have a clustered queue with only one consumer then (apart from

[jboss-user] [JBossWS] - Re: the generated java file has errors when using wsprovide

2008-11-12 Thread PeterJ
Try adding @WebMethod to the echo method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188821#4188821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4188821 ___ jboss-user ma

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: why still getting

2008-11-12 Thread PeterJ
The doc link you provided in your first post is for JBoss Message, but the location of the jms-ds.xml file you provided in your second post is for JBossMQ - two completely different messaging systems. If you want to make use of the recovery mechanisms, you need to first install JBoss Messaging.

[jboss-user] [JBoss jBPM] - executing process with timer

2008-11-12 Thread boxwala
I am encountering an error trying to execute a process that has a timer. I am running jbpm 3.2.1 in its app-server form, using the ear file, on jboss AS 4.2.1.GA. The only change we made in the ear was to modify the hibernate config file since we switched the DBMS to MSSQL 2005. That seems to

[jboss-user] [Remoting] - Re: When to use EJB container and when Remoting ?

2008-11-12 Thread jaikiran
I am new to Remoting too :-) But based on the documentation that i have seen, Remoting is a framework for communication between processes. EJB container on the other hand provides you many more services like transactions, security etc... View the original post : http://www.jboss.com/index.htm

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: where to set the JAVA_OPTS for Max memory allocated

2008-11-12 Thread erasmomarciano
It is not rigth to modify the file run.bat If you have to set JAVA_HOME, it is better to edit run.conf. NOTE: It seems it does not work in WINDOWS :( So i advice you to create a new file of start. | | @echo on | rem --

[jboss-user] [JBoss Messaging] - cluster performance with many queues

2008-11-12 Thread bartvh
As far as I understand, the documentation on clustering always assumes one is clustering to handle more messages over the same number of queues, that is, to scale the number of messages. My question is if clustering is also helpful when the number of messages per queue remains the same, but th

[jboss-user] [JBoss jBPM] - Re: Question about jBPM Client API

2008-11-12 Thread benhu
I am trying to use jBPM in my system and I am designing common interfaces layer which talks to jBPM and provides bpm support to the rest of the system. This stable jBPM API is a great thing for me because I do not need to change a lot even jBPM upgrades. Thus I want to try with the new API to be

[jboss-user] [JBoss Cache: Core Edition] - Re: is compatible jboss cache 3.0 with hibernate 3.3?

2008-11-12 Thread repkin
I was trying, and I have taken error, and I decided to write, I have seen sninsky have been writed already, these are my logs: | Nov 12, 2008 4:25:43 PM org.apache.catalina.core.StandardContext listenerStart | SEVERE: Exception sending context initialized event to listener instance of cla

[jboss-user] [Security & JAAS/JBoss] - kerberos configuration

2008-11-12 Thread cro110011
hi all I try to setup a kerberos security configuration with a standalone java client on windows xp; the client correctly gets the kerberos token from windows os using a configuration that looks like this: kerberoslogincontextname { com.sun.security.auth.module.Krb5LoginModule required debu

[jboss-user] [JBoss Tools (users)] - Re: Cannot build bottom up web service in eclipse using JBos

2008-11-12 Thread newmanw10
Ah ok I see. But that does not fix my problem. Actually I had that set correctly all along. Select project TestWeb in project explorer, and then right click and select new -> other -> web service, and the Service Project fills in correclty. Another question, I would like to deploy this war as

[jboss-user] [Microcontainer] - Re: Classloading docs?

2008-11-12 Thread emmartins
"[EMAIL PROTECTED]" wrote : | classLoaderPolicy.setImportAll(true); // if you want to see other classes in the domain | classLoaderPolicy.setExportAll(ExportAll.NON_EMPTY)); // if you want others to see your classes It worked, thanks :-) View the original post : http://www.jboss.com/index

[jboss-user] [JBoss jBPM] - Re: How can i get inform about running tokens/processes.

2008-11-12 Thread kukeltje
anonymous wrote : - create a list from waiting process ( i need to create a task for every resumable tokens?) No, you can just use the token to acquire more info about it or the node it is in, like name, description etc anonymous wrote : | -signaling (i want to take a signal for the tokens

[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 jbpm-console with a different database

2008-11-12 Thread kukeltje
similar or identical? In the latter case, the solution is to populate the database correctly. In the former, it is a new issue and requires a new topic. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188799#4188799 Reply to the post : http://www.jboss.com/i

[jboss-user] [EJB 3.0] - Re: JEE 5 packaging + add jars to ejb modules

2008-11-12 Thread cangelim
Hi, Georg You can't put a jar file inside another jar file. One solution is to reference external.jar as a shared lib inside ear's application.xml Your packaging layout would become: | ear | - module_1.jar | - module_2.jar | - lib | - external.jar | and your applicati

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: xa-datasource issue

2008-11-12 Thread rotor
I had to work around it by granting permissions across schemas and creating a view containing what I needed. In my case that was a safe thing to do - it might not be in all cases. Thanks and good luck! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4188795#4

[jboss-user] [Microcontainer] - Re: Classloading docs?

2008-11-12 Thread emmartins
"[EMAIL PROTECTED]" wrote : "[EMAIL PROTECTED]" wrote : guys, don't we have better doc for people wanting to try something like this? | | What makes you think I would document people creating their own classloaders? | (I will but this stuff will be in the reference guide rather than the us

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: New classfiles not getting picked up from EAR

2008-11-12 Thread jaikiran
anonymous wrote : restart the server, the changes are not picked up many a times. I haven't heard of such an issue. Restarting the server should start the application from a clean state. Can you provide more details about these class files that are not updated? How do you deploy the applicat

[jboss-user] [Installation, Configuration & DEPLOYMENT] - New classfiles not getting picked up from EAR

2008-11-12 Thread aditya_adobe
I have an application running on JBoss 4.0.3 deployed as an EAR. If I update some classfiles in one of the wars present inside the ear, and restart the server, the changes are not picked up many a times. I have to manually go and delete the files from tmp and work folder and then start the serve

  1   2   >