[jboss-user] [JBoss Portal] - Found the management interface

2009-06-26 Thread TomHombergs
I downloaded the JBoss Portal source and had a thorough look at the admin portlets (core-admin project), in which the portal structure is modified. Then, I imitated it in my own portlet. Here is how it works: Entries in jboss-portlet.xml to get access to some JBoss-Services: | service |

[jboss-user] [Beginners Corner] - Log4j Configuration

2009-06-26 Thread gopib
Hi How to configure Log4j with jboss seam framework. Thanking you. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240221#4240221 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240221

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread hilmer
I believe that all you need to do is define a new datasource with JDNI name PortalDS. The HSQLDB one, is defined in portal-hsqldb-ds.xml (at least in my setup) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240222#4240222 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread dorothy
Is this the only place where we need to change because the HSQLDB is found in the name of the xml file as well. So it means that somewhere we may need to specify the name of the xml as well View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240226#4240226 Reply

[jboss-user] [JBoss Messaging] - Re: Can't control queues from jconsole

2009-06-26 Thread ataylor
you are getting th error because jConsole doesn't have access to the JBoss Messaging classes. add the jars if you want to do this. alternatively use the JMX or Admin console View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240230#4240230 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - Re: node.getChild() returning inconsistent results

2009-06-26 Thread galder.zamarr...@jboss.com
Hi again, actually, I have to apologise because my previous comment was not entirely correct. getChild() takes only the name of the direct child, so root.getChild(content/timestamp) and root.getChild(Fqn.fromString(content/timestamp)) should be return null as well. Only,

[jboss-user] [EJB 3.0] - problem

2009-06-26 Thread daviddev
Hi guys, I do have an error when i deploy my j2ee application on a jboss server. 08:53:02,986 [ScannerThread] ERROR [URLDeploymentScanner] Incomplete Deployment listing: --- MBeans waiting for other MBeans --- ObjectName:

[jboss-user] [EJB 3.0] - Re: problem

2009-06-26 Thread jaikiran
|--MyMMClient1EJB.jar (my application that use the message manager beans) | |--ejb-jar.xml | |--persistence.xml | The ejb-jar.xml and the persistence.xml should be in the META-INF folder of the ejb jar (MyMMClient1EJB.jar) View the original post :

[jboss-user] [EJB 3.0] - Re: problem

2009-06-26 Thread daviddev
Thanks for replying. both files are in the meta-inf directory (I just forgot to add the directory in my structure when i post the problem). | |--MyMMClient1EJB.jar (my application that use the message manager beans) | |--META-INF | |--ejb-jar.xml |

[jboss-user] [JBoss jBPM] - Re: Indentityservice - Jbpm4

2009-06-26 Thread nilspreusker
Hi all, I've tried to register a custom IdentitySessionImpl the way it is described in chapter 9 of the user guide (implementing org.jbpm.session.IdentitySession - which has been moved to org.jbpm.pvm.internal.identity.spi.IdentitySession - and configuring it in the trasnaction-context of the

[jboss-user] [EJB 3.0] - Re: problem

2009-06-26 Thread jaikiran
Just to be sure, the folder name should be META-INF (case sensitive). Is that what you have named it? Looking at the error message, it looks like the bean that is relying on the persistence context injection is in a different jar than the one containing the persistence.xml. So you should try

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread hilmer
My understanding is, that the name of the xml is unimportant. You just place the xml file in the deploy directory and it will be picked up at deploy time. Then the portal will use the JNDI name PortalDS to get to the datasource. View the original post :

[jboss-user] [JBossWS] - Re: JBOSS-5.1.0.GA web service client doesn't work ( runtime

2009-06-26 Thread rangalo
Thanks, Now I have at least some other error ! If I use only lib I get this error, I think it is related to stax implementation. Am I missing some jar? | [har...@antariksh: HelloWsClient]$ wsrunclient.sh -cp dist/hello-client.jar:jboss-generated:lib com.hardik.mejb.JAXWSClient |

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread thomas.he...@jboss.com
correct, as long as it ends with -ds.xml Also make sure to not deploy 2 datasources with the same name View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240249#4240249 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240249

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread dorothy
also can this custom portal database be on a different machine that is remote from where the portal server has been installed? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240254#4240254 Reply to the post :

[jboss-user] [Clustering/JBoss] - Re: Two asterisks in JSESSIONID before jvmRoute

2009-06-26 Thread jjfevs
Thank you for your answer. I'll explain more in detail the environment. We have two virtual machines. Each of them we have two instances of JBoss running (with different configurations of course). And one of the instances of one machine forms part of a cluster with other instance in the other

[jboss-user] [JBoss Messaging] - Re: Can't control queues from jconsole

2009-06-26 Thread timfox
However, the user shouldn't have to put the JBM jars on the jconsole classpath, we should only be passing back standard types not SimpleString. We should look into this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240260#4240260 Reply to the post :

[jboss-user] [Security JAAS/JBoss] - Re: Limit access by IP address

2009-06-26 Thread xmedeko
Anyway, it's already in Jboss wiki: http://www.jboss.org/community/wiki/LimitAccessToCertainClients View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240261#4240261 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240261

[jboss-user] [JBoss Messaging] - Re: Can't control queues from jconsole

2009-06-26 Thread jmesnil
this was fixed in 2.0.0.BETA2 release (see https://jira.jboss.org/jira/browse/JBMESSAGING-1605) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240263#4240263 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240263

[jboss-user] [EJB 3.0] - EntityManager through JNDI: Is it container managed?

2009-06-26 Thread mikioma
Hi all, I'm starting a development that will be deployed into JBoss. I'm trying to reuse a bunch of classes I'm currently using in a J2SE application. These classes do already use JPA and get EntityManager through a JNDI lookup. I don't want to convert them into EJB so I can keep reusing them.

[jboss-user] [JBoss Portal] - Re: javax.portlet.PortletException

2009-06-26 Thread chris.lap...@jboss.com
The solution to this problem is actually found here: http://www.jboss.org/community/wiki/UpgradingJSR-168PortletstoJSR-286[/url] and is mentioned in the FAQ: [url]http://www.jboss.org/community/wiki/JBossPortalFAQ View the original post :

[jboss-user] [JBoss Portal] - Re: javax.portlet.PortletException

2009-06-26 Thread chris.lap...@jboss.com
Ooops. The links again: http://www.jboss.org/community/wiki/JBossPortalFAQ http://www.jboss.org/community/wiki/UpgradingJSR-168PortletstoJSR-286 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240268#4240268 Reply to the post :

[jboss-user] [EJB 3.0] - Re: EAR packaging

2009-06-26 Thread xmedeko
Hmm, I do not understand much your explanations. You shoulb be able to break a JAR into more JARs without any problem. Can you describe, what's the content of your EAR? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240269#4240269 Reply to the post :

[jboss-user] [EJB 3.0] - Limit IP access to a session beans (EAR)

2009-06-26 Thread xmedeko
Hi, is it possible to limit IP access to the certain EAR with session beans? It is easily possible for WAR, but I cannot find any solution for EAR. E.g. I have two EARs deployed, each contain some session beans. I want to limit a.EAR for some set of IPs and b.EAR for another set of IPs.

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread hilmer
Sure, that only depends on the connection-url definition in the -ds.xml View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240279#4240279 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240279

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread smar...@redhat.com
After sleeping on it, I don't like the memory impact of my suggestion (serializing attribute values earlier). Your idea sounds better anonymous wrote : If a MutexSource is available, SimpleCachableMarshalledValue.serialize() would call that method and synchronize on the return value.

[jboss-user] [EJB 3.0] - [URGENT] Deploying an EJB using Metro and persistence

2009-06-26 Thread creaturita
Hello, I am still fighting here with JBoss 5, he is like hulk. I have installed EJB and Metro plugins specting to be able to use ejb 3 in a servlet. With JBoss 4 I could not do it. Well, I want to deploy an EJB webservice in a war and I am having lots of difficulties: - It does not resolve

[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence

2009-06-26 Thread mikioma
Can you give more information about how you deploy it? Do you use a single EAR file? If you don't do so, it could be the reason for @EJB and @PersistenceContext to fail... Good luck! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240282#4240282 Reply to the

[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence

2009-06-26 Thread jaikiran
creaturita wrote : Hello, | | I am still fighting here with JBoss 5, he is like hulk. | LOL :) creaturita wrote : | I have installed EJB and Metro plugins specting to be able to use ejb 3 in a servlet. With JBoss 4 I could not do it. | | Well, I want to deploy an EJB webservice

[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence

2009-06-26 Thread creaturita
I am not using any EAR, I am deploying the EAR directly, should be an EAR neccesary? I deploy a war with the following: -WebContent -META-INF ---MANIFEST.MF WEB-INF --lib ---sun-jaxws.xml ---web.xml In web.xml I have the following: ?xml version=1.0

[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)

2009-06-26 Thread mikioma
I don't know J2EE deep enough to be sure... but I don't think you can, I'm affraid. Web applications have concepts like HttpRequest with which you can get things like IP addresses... but AFAIK there is no such concept in EJB. Anyway, I think the point in J2EE applications is to grant or deny

[jboss-user] [JBoss Cache: Core Edition] - Re: Transfered objects during a cluster state transfer event

2009-06-26 Thread galder.zamarr...@jboss.com
We haven't got such information published in a wiki or documentation but I believe you should be able to figure out what the state is composed of by looking at the code in the different org.jboss.cache.remoting.jgroups.ChannelMessageListener.setState calls that effectively delegate the state

[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)

2009-06-26 Thread xmedeko
Well, JEE does not specify this, I was thinking something JBoss specific. Like Tomcat has http://www.jboss.org/community/wiki/LimitAccessToCertainClients View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240290#4240290 Reply to the post :

[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence

2009-06-26 Thread mikioma
I don't know metro... but I don't think it is EJB-aware or EntityManager-aware without some kind of configuration... is it? If you're not using an EAR... I guess you need to configure which EJB you want to call from within your web application (as your web service reside into your web

[jboss-user] [EJB 3.0] - Re: [URGENT] Deploying an EJB using Metro and persistence

2009-06-26 Thread creaturita
The thing is that the EJB is exposed like a webservice, It is not a webservice which calls an EJB, it is a EJB exposed as a webservice. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240294#4240294 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)

2009-06-26 Thread mikioma
I see... I'm sorry I can't help you further. I don't know much abuout JBoss specific configuration. However, I'll keep an eye on this thread as your question is very interesting :-) Good luck, xmedeko!! View the original post :

[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)

2009-06-26 Thread Wolfgang Knauf
Hi, I think XACML could help (I don't know it, just stumbled across this article): http://server.dzone.com/articles/security-features-jboss-510-1 Best regards Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240296#4240296 Reply to the post :

[jboss-user] [JBossWS] - Re: JBOSS-5.1.0.GA web service client doesn't work ( runtime

2009-06-26 Thread rangalo
This was indeed a missing jars in classpath problem. I had to add following to the classpath: | $ echo $CLASSPATH |

[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection

2009-06-26 Thread mike_mackey
This is the contents of my deployers directory $ ls META-INFspring-context-support-2.5.6.jar jboss-spring-int-deployers.jar spring-core-2.5.6.jar jboss-spring-int-vfs.jarspring-orm-2.5.6.jar jboss-spring.jarspring-tx-2.5.6.jar spring-2.5.6.jar

[jboss-user] [JBoss/Spring Integration] - Re: Spring Component Auto Detection

2009-06-26 Thread mike_mackey
thats hard to read ... better | $ ls | META-INF | jboss-spring-int-deployers.jar | jboss-spring-int-vfs.jar | jboss-spring.jar | spring-2.5.6.jar | spring-beans-2.5.6.jar | spring-context-2.5.6.jar | spring-context-support-2.5.6.jar | spring-core-2.5.6.jar |

[jboss-user] [JBoss jBPM] - Re: Indentityservice- Jbpm4

2009-06-26 Thread kukeltje
By changing the source? So the hardcoded reference is not there anymore? (I've not had a look at the source for this part so I'm just suggesting). If you want to help and make it fully plugable (which is not targeted at the 4.0 release) please discuss things in the dev forum. View the

[jboss-user] [JBoss jBPM] - Re: Error while completing task

2009-06-26 Thread kukeltje
is this the full stacktrace? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240316#4240316 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240316 ___ jboss-user mailing list

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread dorothy
Is the same applicable for the portal server's application server as well? Can the application server(of the portal container) reside on a different machine and the portal server on a different one. I mean if it cannot be then is it not a tughtly coupled architecture? View the original post :

[jboss-user] [JBoss Messaging] - Re: Can't control queues from jconsole

2009-06-26 Thread nbhatia
How do I look up queues in JBoss JMX console? I click jboss.messaging then name=JMSProvider,service=JMSProviderLoader, but I don't see any queues under there. At least with jconsole I was able to get to the queues quite easily. View the original post :

[jboss-user] [JBoss Portal] - Re: Programmatically modifying the PortalNode-Tree?

2009-06-26 Thread chris.lap...@jboss.com
Use at your own risk! With great power comes great responsibility! ;) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240335#4240335 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240335

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Problem with NDC

2009-06-26 Thread adalse0
Hi everybody, i'm not sure if this is the right section for my post, but i couldn't find something more suitable... I'm working on a tapestry application and we found out, that it would be very helpful using NDC to assign every log message to the user who triggered it. After tapestry provides

[jboss-user] [JBoss Messaging] - Re: XARecovery: setting the provider name

2009-06-26 Thread mariuszs
I also cant find this, thank you timfox for your fast reply... Can you create working and error less example of configuring failover for JMS? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240338#4240338 Reply to the post :

[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)

2009-06-26 Thread wolfc
An AOP interceptor can access the client address: https://jira.jboss.org/jira/browse/JBREM-758. It's not yet available through an EJB API yet: https://jira.jboss.org/jira/browse/EJBTHREE-902. So you can write an AOP interceptor, put it into ejb3-interceptors-aop.xml and push the client

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Problem with NDC

2009-06-26 Thread jfrederic.cl...@jboss.com
Just to get it right NDC is org.apache.log4j.NDC, isn't it? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240341#4240341 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240341 ___

[jboss-user] [JBoss jBPM] - Help needed in deploying 'par' to JBoss server

2009-06-26 Thread vignesh57
Hi folks, i am new to jBPM. I use to deploy projects using the deployment tab in eclicpse IDE. I now want to deploy it using java code. I tried the following piece of code. No exceptions errors. But the file is not deployed. Please help me in completing this. | JbpmContext ctx =

[jboss-user] [EJB 3.0] - Re: Limit IP access to a session beans (EAR)

2009-06-26 Thread xmedeko
Well, the client address is accessible from thread name :-). So, I can write the Around Invoke Interceptor Method to check this IP. I was just asking if there is some nice JBoss solution for this. You know, some config with IP addresses like 10.1.1.128/20 :-) BTW. about accessing IP from

[jboss-user] [JBoss Messaging] - Re: Can't control queues from jconsole

2009-06-26 Thread jmesnil
JBoss Messaging is not currently manageable through the AS 5 console but it is planned: https://jira.jboss.org/jira/browse/JBMESSAGING-1636 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240352#4240352 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: WARN [ProxyWarnLog] Narrowing proxy to class org.jbpm.g

2009-06-26 Thread vignesh57
Even without using a super state, i am getting this WARNING time again. As my process execution is fine, i just ignored it. But why is it coming ? Experienced people, please address us.. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240353#4240353 Reply to

[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Problem with NDC

2009-06-26 Thread adalse0
Yes Frederic that is what i'm talking about. By the way: I couldn't find an edit Button for my first post, so i'm not able to change the Topic. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240356#4240356 Reply to the post :

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread prabhat....@jboss.com
You have to be more clear on what you mean by portal server. In JBoss Portal case, it's portal bits running on top of JBoss Application server. JBoss Portal bits are deployed on the same machine running JBoss Application server. Currently, JBoss Portal only works with JBoss AS. View the

[jboss-user] [JBoss Messaging] - Re: Can't control queues from jconsole

2009-06-26 Thread jmesnil
err... sorry, I confused JON and AS 5 JMX console. there is an issue in the current configuration of JBoss Messaging which prevents to manage it directly in AS 5 console. To fix it: 1/ change the MBeanServer code in deploy/messaging.sar/jbm-jboss-beans.xml to: |bean name=MBeanServer

[jboss-user] [EJB/JBoss] - EJB remote invocation with JDK 1.3 client

2009-06-26 Thread t...@ap
Hello! Suggest the following environment: | * JBoss 5 application server | * client with JDK 1.3 only Is it possible for the client to remote lookup an EJB and invoke its methods? Thank you very much for any suggestions, - Thomas View the original post :

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread bstansbe...@jboss.com
Good. :-) I very deliberately eliminated the double buffering because of the memory cost. FYI, before this thread got going I'd been thinking (vaguely) in terms of using read/write locks in AS 6 to better handle coordination. E.g., in ClusteredSessionValve acquire a RL before passing the

[jboss-user] [JBossWS] - Data conversion - urgent

2009-06-26 Thread lindabaja
Yesterday, in our company we moved all our webservices from Weblogic to JBoss. There is a wierd error that we are seeing. A response: Amount 0.000 /Amount is being rendered in jboss as : Amount 0E-15 /Amount As a result, our clients are unable to p[rocess this. Does anyone know

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread smar...@redhat.com
anonymous wrote : FYI, before this thread got going I'd been thinking (vaguely) in terms of using read/write locks in AS 6 to better handle coordination. E.g., in ClusteredSessionValve acquire a RL before passing the request down the pipeline, release when it returns, acquire a WL before

[jboss-user] [JBoss Messaging] - JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread simon_temple
How do I get JBM2 to use the JBAS data folder: server/default/data? It currently creates its data folder below the current working folder where JBAS was started. Is there a system property I need to set or... ? TIA View the original post :

[jboss-user] [Performance Tuning] - Re: About the UseParallelOldGC

2009-06-26 Thread PeterJ
You'll notice the question mark after my statement about the free memory list. That means I don't know, I am just guessing and my guess could be completely off. I also stated that I had not had time to look into why the parallel old GC runs slow. So asking me to explain it is futile because I

[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread timfox
Hi Simon- You can easily change the directories used by the server for persisting data. The relevant params are: journal-directory bindings-directory large-messages-directory paging-directory defaults are data/journal, data/bindings, data/large-messages, data/paging More info here:

[jboss-user] [Beginners Corner] - Re: Log4j Configuration

2009-06-26 Thread PeterJ
You should already be getting INFO or DEBUG log entries for Seam. If you need more control, add something like this to the server/xxx/conf/jboss-log4j.xml file: category name=org.jboss.seam | priority value=WARN/ |/category | View the original post :

[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread clebert.suco...@jboss.com
Can you add this to your jbm-configuration.xml please? bindings-directory${jboss.server.data.dir}/messaging/bindings/bindings-directory | | journal-directory${jboss.server.data.dir}/messaging/journal/journal-directory | | (I'm making this part of the default distribution)

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread PeterJ
You can use the same database for the Portal's data as well as for the data for the portlets that you write (or that you obtain from third parties). However, I usually recommend that you use separate databases - imagine the hassle if you have to reset the Portal's database for some reason and

[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread clebert.suco...@jboss.com
Actually, As Tim pointed out, there is also paging and large-message So, you would need to add this to your jbm-configuration.xml | large-messages-directory${jboss.server.data.dir}/messaging/largemessages/large-messages-directory |

[jboss-user] [JBoss Messaging] - Re: Thread Pool questions

2009-06-26 Thread andy.mil...@jboss.com
andy.mil...@jboss.com wrote : gaohoward wrote : Inside the AS container, a MDB's connection to JBM is handled by JCA layer, which has its own pooling of connections. | | | | JBM_clientMaxPool is not about connection pool, it's about thread pool size at the remoting client side. | |

[jboss-user] [JBoss Cache: Core Edition] - Re: BerkeleyDB Deadlock Exception from JBoss Cache Loader: B

2009-06-26 Thread niuxuetao_fiserv
Thanks for your reply Galder! I couldn't reproduce the deadlocking problem on my windows machine anymore (with a rather large number of lockWaiting time config), I am trying on Linux where it does happen randomly. About the write-intensive stuff, yes, we will have a lot more calls to attach()

[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread simon_temple
That's just what I was looking for. Works fine. Thanks. Will this change be in the next JBAS distro or JBM2 BETA4 (/config/jboss-as ant script)? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240403#4240403 Reply to the post :

[jboss-user] [Clustering/JBoss] - Lost in the documentation UDP-TCP

2009-06-26 Thread giddion
I hope I don't sound too much like an idiot here but I'm having problems establishing clustering/loadbalancing between two servers. I have installed 5.1.0.GA have done a few changes in the configuration mostly involved with getting my DefaultDS set correctly. I have Read through the bulk of

[jboss-user] [JBoss Portal] - Re: Portal database

2009-06-26 Thread PeterJ
I hit Submit too soon. I should have also stated the following: JBoss AS, by default, uses a datasource name DefaultDS, mainly for messaging and timer data. While you can configure both AS and Portal to use the same database, I recommend that you do not for the same reasons I gave for having

[jboss-user] [JBoss jBPM] - jbpm-4.0.CR1 can be used already or is only for testing???

2009-06-26 Thread jwerkmeister
Many of the examples only work when you run them with JUNIT and are excluded from the ANT file. So CR1 is only for testing for now??? | jar destfile=${jbpm.home}/examples/target/examples.bar | fileset dir=${jbpm.home}/examples/src | include name=**/*.jpdl.xml / |

[jboss-user] [JBoss Messaging] - Re: JBM2 BETA3 with JBAS 5.1.0 data folder location

2009-06-26 Thread clebert.suco...@jboss.com
I'm comitting this on trunk as we speak. we started a dev thread about it: http://www.jboss.org/index.html?module=bbop=viewtopict=157681 Sorry for the inconvenience. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240408#4240408 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - JDBCCacheLoader with Oracle 10g problem

2009-06-26 Thread niuxuetao_fiserv
Hi, I am using JBossPojo Cache 3.0.0.GA and evicting cache to oracle 10g using JDBCCacheLoader shipped with JBoss. But when I run it with 1 thread, I always see such exception: | Caused by: java.sql.SQLException: ORA-01461: can bind a LONG value only for insert into a LONG column | |

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread bstansbe...@jboss.com
If we use a R/W lock, there shouldn't be any application activity during the periods where we are serializing etc. The WL we acquire prevents it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240412#4240412 Reply to the post :

[jboss-user] [JBoss Messaging] - Re: Can't control queues from jconsole

2009-06-26 Thread timfox
Jeff, please add a JIRA for this too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240413#4240413 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240413 ___ jboss-user mailing

[jboss-user] [JBoss Messaging] - Re: Thread Pool questions

2009-06-26 Thread gaohoward
The maxPoolSize is the max number of server threads that process requests. It's a remoting configuration parameter. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240414#4240414 Reply to the post :

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread smar...@redhat.com
If we are holding the WL lock on some thread, couldn't another thread (processing an application request against the same HTTP session) access the locked attribute (reading/writing attribute values). Maybe I missed how we would force application code to use our RW lock. Does that come for

[jboss-user] [Clustering/JBoss] - Re: Lost in the documentation UDP-TCP

2009-06-26 Thread giddion
Digging a little further I've looked through the HANamingService class and it's dependencies and I don't see properties that I would expect to see if TCP/unicast/TCPPing were supported. For example an InitialHosts or a TransportProtocol is cluster currently limited to UDP/MCast? View the

[jboss-user] [Remoting] - clientConnectAddress not working

2009-06-26 Thread mazz
I am using JBoss/Remoting 2.2.2-SP8 and trying to see how it can be used with NAT involved (where a server binds to one address but my clients need to access it over a different IP). So, here's a simple test I performed to see if clientConnectAddress works. I have a remoting client that tries

[jboss-user] [JBoss Cache: Core Edition] - Re: node.getChild() returning inconsistent results

2009-06-26 Thread drcallaway
galder.zamarr...@jboss.com wrote : What JBoss Cache version are you using? | I'm using version 3.1.0.GA and I seem to be able to retrieve fully qualified nodes from the root node just fine (not just the root node's immediate children). Here is some more sample code from the Users' Guide:

[jboss-user] [EJB 3.0] - Quick install guide on EJB3 plugin homepage

2009-06-26 Thread Wolfgang Knauf
Hi, the homepage of the ejb3 plugin ( http://www.jboss.org/ejb3/ejb3plugin.html ) provides a short installation guide, but it lacks the information that Ant is required. Well, the error message is quite meaningful, but thus I needed two installation attempts ;-). Exception in thread main

[jboss-user] [Clustering/JBoss] - Re: Lost in the documentation UDP-TCP

2009-06-26 Thread bstansbe...@jboss.com
Good question. This topic deserves a wiki page of its own. Simplest way to solve your problem: 1) Include the following in your command line args that you pass to JBoss: -Djboss.default.jgroups.stack=tcp That will change most of the services that use a JGroups channel to use one based on the

[jboss-user] [Performance Tuning] - Re: Full GC not releasing Memory

2009-06-26 Thread vons1234
Hi Peter, Thanks for your input. I am using JDK6 VisualVM as well as JConsole utility to monitor, however VisualVM does not keep old heap analysis, it gives you analysis for last 1-2 hrs only. Jconsole at least gives all the data, if you keep it running, though it does not record. And if it

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread bstansbe...@jboss.com
The key is acquiring a RL in ClusteredSessionValve: |// let the servlet invocation go through |Lock lock = manager.getReadLock(requestedSessionId); |lock.lock(); |try |{ | if (isEvent) | { | getNext().event(request,

[jboss-user] [Performance Tuning] - Re: Full GC not releasing Memory

2009-06-26 Thread vons1234
Also i have taken the screen shot from gcviewer which is easier to look at. | http://66.39.39.38/GC_Running.PNG | http://66.39.39.38/GC_Dead1.PNG | http://66.39.39.38/GC_Dead2.PNG | Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240435#4240435

[jboss-user] [Management, JMX/JBoss] - Re: Problem with JMX authentication

2009-06-26 Thread ccesar
Yes, on both files. Rgds, Caio Ribeiro Cesar View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240436#4240436 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240436 ___ jboss-user

[jboss-user] [Clustering/JBoss] - Re: Lost in the documentation UDP-TCP

2009-06-26 Thread giddion
Thank you, this appears to be exactly the information I needed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240438#4240438 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240438

[jboss-user] [Remoting] - Re: clientConnectAddress not working

2009-06-26 Thread mazz
I'm trying other things - specifically using serverBindAddress and that seems to work better. Did something happen to the Jboss/Remoting client such that it no longer uses or refers to clientConnectAddress?? No matter what I do, I can't get the client to behave any differently, specifying

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread smar...@redhat.com
I see, so we are obtaining the RL for the application (held while the application request is running). This avoids the cooperative locking scheme that would of required the application to lock on the sessionFacade object. Some potential performance issues that could challenge this approach.

[jboss-user] [JCA/JBoss] - JBoss + Oracle InstantClient 10g - works for Tomcat, not for

2009-06-26 Thread pbdavey
I add java.library.path to my Eclipse JBoss server configuration and get this error: java.lang.UnsatisfiedLinkError: C:\Users\Phillip.OFFICE\dev\instantclient_10_2\ocijdbc10.dll: Can't find dependent libraries Any ideas about this one? This directory is in my system PATH and I have

[jboss-user] [JBoss Tools (users)] - High CPU on JSF auto-complete

2009-06-26 Thread jboden
Hi, I see this behavior with Jboss tools and WTP JSF. When I go to autocomplete a jsf tag like value=#{bean.method} it finds the list of beans very quickly. But when I hit ctrl-space after the period (bean.) it takes about 15 seconds with 100% cpu to pull up the list of methods. But it's not

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Is this JBoss or an iBatis issue? Classpath issues...

2009-06-26 Thread adriano...@gmail.com
Hmmm thanks At first try, it didn't work. Thanks a lot for your support. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240446#4240446 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240446

[jboss-user] [JCA/JBoss] - Re: JBoss + Oracle InstantClient 10g - works for Tomcat, not

2009-06-26 Thread PeterJ
What did you set java.library.path to? It has to be set to the full PATH because only java.library.path will be checked for DLLs and the DLLs on which they rely. If you don't want to add everything that is in PATH to java.library.path you can use the Dependency Walker

[jboss-user] [JBoss Tools (users)] - Re: High CPU on JSF auto-complete

2009-06-26 Thread akazakov
Is it jsp or xhtml? Just to check if WTP cause the problem could you create any xhtml and check some EL in text node since in that case only JBoss Tools auto compition will work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240452#4240452 Reply to the post

[jboss-user] [Clustering/JBoss] - Re: Two asterisks in JSESSIONID before jvmRoute

2009-06-26 Thread bstansbe...@jboss.com
jjfevs wrote : | I read the TwoClustersInTheSameNetwork document in JBoss online docs, and yesterday we have applied a workaround explained there in another environment (that is a exact replica of this one). This was about setting emptySessionPath=false in the connector in

[jboss-user] [EJB 3.0] - Re: Quick install guide on EJB3 plugin homepage

2009-06-26 Thread jaikiran
Wolfgang, thanks for these review comments. We will update that page soon. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4240456#4240456 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4240456

[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO not able to build the src folder..

2009-06-26 Thread anil.saldh...@jboss.com
Typically the metadata for an endpoint does not change a whole lot. That is why we have a Filebasedmetadataprovider by default (need to develop the other providers for db, ldap etc). But we can send back saml metadata response. View the original post :

[jboss-user] [Clustering/JBoss] - Re: ConcurrentModificationException during session serializa

2009-06-26 Thread bstansbe...@jboss.com
To answer your #1 and #3, the key thing is to hold the WL for the minimum required time. You only have to hold it long enough to: a) Accurately determine if anything needs to be replicated b) Copy that into the DTO that's passed to the replication layer. c) Serialize attributes. Ideally a) and

  1   2   >