[jboss-user] [JBoss jBPM] - Re: JBPM Process Ending Events

2009-01-02 Thread jeremiah.lumontod
when you design a process, that's the point that you assign the code for an event. but when you check the process, its an xml file. it means upon deployment the framework will check any class attached to a certain event. in my idea, they are implementing dependency injection here and it means i

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2009-01-02 Thread ezanih
The error appears to occur at this line : | InitialContext ic = new InitialContext(); | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199162#4199162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199162

[jboss-user] [Remoting] - Re: Stream Corrupted Exception on Server side

2009-01-02 Thread vink
As suggested, i've set Remoting to TRACE level. And, then I launched my clients (~32). Observation; - Server starts bouncing connections after few minutes of running - The ping timedout for server completly after sometime. - netstat tool shows many connections on 1098 & 1099 in TIME_WAIT state.

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2009-01-02 Thread ezanih
Hi I think I've narrowed down the possible JNDI naming problem to this few lines of code :- | Properties p = new Properties(); | p.put("java.naming.factory.initial", "org.jnp.interfaces.NamingContextFactory"); | p.put("java.naming.provider.url", "localhost:1099"); | p.p

[jboss-user] [JBoss jBPM] - Re: JBPM Process Ending Events

2009-01-02 Thread kukeltje
you can attach events design and runtime and even persist the latter View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199187#4199187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199187 __

[jboss-user] [JBoss jBPM] - Re: cannot build distribution

2009-01-02 Thread kukeltje
they have to be in your maven repository, so you have to build them first with maven install View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199188#4199188 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199188 _

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2009-01-02 Thread ezanih
Ok...I think I'm getting very close to resolving this...please help me. This is some new info I found. The first part: I've changed my InitialContext code from : | Properties p = new Properties(); | p.put("java.naming.factory.initial", "org.jnp.interfac

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2009-01-02 Thread ezanih
Ok..whatever name I'm putting in the lookup line of code and j2ee.clientName in jndi.properties is bouncing back with the error saying it is not bound. I am seeing the BiddingClient.jar in the directory of the EAR module. I have not added application-client.xml and jboss-client.xml to the EAR's

[jboss-user] [JBoss jBPM] - Re: cannot login in jbpm-console using jbpm-3.3.0 mysql jbos

2009-01-02 Thread jeremiah.lumontod
Hello Ronald here's the message when i login: HTTP Status 403 - Access to the requested resource has been denied type Status report message Access to the requested resource has been denied description Access to the specified resource (Access to the requested resource has been denied) has be

[jboss-user] [JBoss jBPM] - Re: cannot login in jbpm-console using jbpm-3.3.0 mysql jbos

2009-01-02 Thread kukeltje
posting the error would help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199185#4199185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199185 ___ jboss-user mailing list jb

[jboss-user] [JBoss jBPM] - Re: cannot login in jbpm-console using jbpm-3.3.0 mysql jbos

2009-01-02 Thread jeremiah.lumontod
Additional error logs from console: 14:49:25,703 ERROR [STDERR] Jan 2, 2009 2:49:25 PM com.sun.facelets.compiler.Tag LibraryConfig loadImplicit INFO: Added Library from: jar:file:/C:/jboss-4.2.2.GA/server/default/deploy/jbpm /jbpm-enterprise-bundle.ear/jsf-console.war/WEB-INF/lib/gravel-1.0.0

[jboss-user] [JBoss jBPM] - Re: JBPM Process Ending Events

2009-01-02 Thread dhanushgopinath
How do I add them ? Is it through processdefinition.addEvent()? If so how will i get the handle to the event fired then View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199197#4199197 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&m

[jboss-user] [EJB 3.0] - How to inject sessionbean from sessionbean

2009-01-02 Thread NSchweig
Hi, for injecting my sessionBean "groupHandler" from my jsf-managedBeans I use: | @EJB(mappedName="GroupHandler/remote") | private GroupHandlerRemote groupHandler; (with this code in GroupHandler: public static final String RemoteJNDIName = GroupHandler.class.getSimpleName() + "/remote";)

[jboss-user] [JBoss jBPM] - org.hibernate.TransientObjectException

2009-01-02 Thread rodosa
Hello! I've a problem and I don't know how to solucionate. I've implemented a web service whose code is: | @WebMethod | @WebResult(targetNamespace = "next") | public boolean next(@WebParam(name = "id_instance")Long id_instance)throws RemoteException{ | try { |

[jboss-user] [JBoss Cache: Core Edition] - Re: org.jboss.cache.TreeCache and JBoss cache > 1.4.1

2009-01-02 Thread manik.surt...@jboss.com
Brian is correct, you cannot replace JBC 1.4.x with 3.x in JBoss AS 4.x. I thought you wanted to migrate from 1.4.x to 3.x in one of your custom apps and hence my comment earlier. If you have a webapp or an ear that directly interfaces with JBC and you want to use the new features in 3.x an

[jboss-user] [JBoss jBPM] - Re: findAllProcessDefinitions()

2009-01-02 Thread giridhar_be
Hi Kukeltje, Thanks for your help.. With your first answer now its clear to me, I should write my own code to show which processes I have to show for which users... In this case the user interface code always have to modify if new process definitions are adding But I am still thinking this

[jboss-user] [JBoss Cache: Core Edition] - Re: Cluster hanging when a member is non responsive

2009-01-02 Thread manik.surt...@jboss.com
Yeah, you might want FD as well as FD_SOCK in there. Have a look at this article. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199208#4199208 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199208 ___

[jboss-user] [JBoss Cache: Core Edition] - Re: Error function when working with passivation.

2009-01-02 Thread manik.surt...@jboss.com
This line in your config: | cache.jdbc.sql-concat=1 || 2 | may be the issue. AFAIR that was a hack for Derby's non-standard SQL string concatenation. Try removing that line altogether, or replacing it with | cache.jdbc.sql-concat=concat(1,2) | See the com

[jboss-user] [EJB 3.0] - Re: EJBException: Failed to acquire the pool semaphore, stri

2009-01-02 Thread pbaker01
Hi jaikiran, Problem solved. Thank-you. I have added the annotation and that solved the current problem... I have a new problem and I'll start a new thread for that. By the way, the documentation needs to be updated for JBoss 5. The documenation refers to PoolClass and it appears that JBo

[jboss-user] [Beginners Corner] - Re: PoolClass in a descriptor

2009-01-02 Thread babernat
Thank you very much. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199227#4199227 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199227 ___ jboss-user mailing list jboss-user

[jboss-user] [Installation, Configuration & DEPLOYMENT] - Is it possible to override the xercesImpl.jar that comes wit

2009-01-02 Thread philajack
Hi, I am trying to deploy our ear file to JBoss 5.0.0GA, we have always historically packaged xerces and xalan within the lib directory in the war file and it has deployed to JBoss 4.0.4 previously successfully, however, I have noticed that the classloaders are loading those classes from the en

[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-02 Thread jaikiran
anonymous wrote : when kabir is set as student, it works as expected, but when i change the role as "teacher". the result is same, it is giving error for division and it does subtract operation fine. Did you restart the server after changing the roles.properties? View the original post : htt

[jboss-user] [JBoss Cache: Core Edition] - Re: Data gravitation not work if you create two nodes with s

2009-01-02 Thread manik.surt...@jboss.com
Data gravitation takes place on a per-node level (and by node, I mean a node in the cache's tree structure such as /testRegion). Since both servers in your case (what you call NodeA and NodeB) are putting things in the same tree node in the cache (/testRegion) you have a problem. Each server

[jboss-user] [EJB 3.0] - Re: JBoss 5 deployment error

2009-01-02 Thread jhsingle
Sorry about the truncation of the stack trace. When I used "Preview" on my posting, it looked OK, but when I submitted it, the trace was truncated. If you need to see more, please tell me how I can submit it. The file containing the trace is about 448k in size. View the original post : http

[jboss-user] [JCA/JBoss] - DS files not being loaded when using wrapper - w2k3

2009-01-02 Thread creynolds
Ok, I apologize if this is the wrong forum, if so mods please move. I am running JBoss 4.0.3 (upgrading isn't an option). I have two separate instances running as a windows service (windows server 2003 w/sp1) using the wrapper. When I start up the AS as a service it fails to use the x-ds.

[jboss-user] [JBoss Cache: Core Edition] - Re: Naga 3.0.1/3.0.2 - cannot jndi-bind Cache instance.

2009-01-02 Thread manik.surt...@jboss.com
Please see this wiki page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199243#4199243 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199243 ___ jboss-user mailing list jboss

[jboss-user] [JBoss jBPM] - Re: cannot login in jbpm-console using jbpm-3.3.0 mysql jbos

2009-01-02 Thread jeremiah.lumontod
got it. it has something to do with the following tables: jbpm_id_group jbpm_id_user jbpm_id_membership View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199246#4199246 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=41

[jboss-user] [JBoss jBPM] - Trying to persist process instances - need some help

2009-01-02 Thread terigox
Hi All, I'm new to jBpm here and have been trying to follow some of the guides on the JBoss site as well as some examples included in the Jbpm distribution. I've successfully created some simple examples and am now trying to work with some DB persistence. I am using Jboss 5, JBpm 3.3. The Mysq

[jboss-user] [JBoss Portal] - Problem accessing a class outside the portlet WAR

2009-01-02 Thread Putzeudel
I have a web project with a portlet that uses a JSP. This JSP uses a FormBean from within the WAR, and this class uses a class outside the WAR (simple java project). All development is done in eclipse ganymede with the latest jboss tools and latest dev portal server (2.7). In eclipse i can even

[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-02 Thread rudreshtcs
Hi, It is working after server restart, my assumption on jboss was that, we need not restart the server, just create a ejb jar again and deploy. Meanwhile, just as every ejb3 beginner, even i have a doubt on calling stateful session bean, the example given for stateful works fine..but it gives

[jboss-user] [JBoss jBPM] - Re: Trying to persist process instances - need some help

2009-01-02 Thread kukeltje
you forgot to save the processinstance closing the context is not enough View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199257#4199257 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199257 __

[jboss-user] [JBoss jBPM] - Re: findAllProcessDefinitions()

2009-01-02 Thread kukeltje
anonymous wrote : there is no way to restick only particular group of users to start the processdefinition. Yes there is... in your application. In the jBPM console there is no such functionality since it was never intended to be used by end-users. View the original post : http://www.jboss.

[jboss-user] [JBoss jBPM] - Re: org.hibernate.TransientObjectException

2009-01-02 Thread kukeltje
Why are you creating new tokens? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199259#4199259 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199259 ___ jboss-user mailing lis

[jboss-user] [JBoss jBPM] - Re: Trying to persist process instances - need some help

2009-01-02 Thread terigox
Good point! Thanks for that. I must have removed it while trying different things. Unfortunately I still receive the same exception. Not saving it should only prevent me from trying to retrieve it later, which I haven't even gotten to that point, right? I begin getting this exception as soon as

[jboss-user] [JBoss Tools (users)] - How to install JBT should include ref to CR1 site

2009-01-02 Thread bdlink
The document http://jboss.org/community/docs/DOC-10044 has a reference to the stable site (for eclipse 3.3) and the nightly site (for eclipse 3.4). The development site http://download.jboss.org/jbosstools/updates/development/ should be added for people who want a more stable version than the ni

[jboss-user] [Beginners Corner] - Jboss updates

2009-01-02 Thread averagecoder
Hi All, I am new to JBoss and would like to seek advice on the following information: 1. Is there patch version number to Jboss release? I am looking at JBoss 3.2.3. Is there patch version such that the JBoss is 3.2.3 patch 101. Is there such thing or any similar thing to denote the level of pat

[jboss-user] [JBoss Messaging] - Re: Running JMS with MySQL

2009-01-02 Thread PeterJ
In the mysql-persistence-service.xml file, did you remember to comment out this line: jboss.jgroups:service=ChannelFactory View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199267#4199267 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting

[jboss-user] [Installation, Configuration & DEPLOYMENT] - can an MessageDriven bean listen on more than one queue

2009-01-02 Thread ilangocal
Hi I have an Message Driven at the present time that is listening to just one queue. I am interested in having my Message Driven Bean listen to more than one queue. For the present time I want it to listen to two queues. Is it possible to use JBoss to achieve this end, and if so is there a code

[jboss-user] [Beginners Corner] - Re: JBoss MDB Beginner Question

2009-01-02 Thread babernat
Thanks dvh75. Let's talk about the String data for a minute because that is exactly what I need to do. The "MyConfigValue" would have to be exposed in JNDI, correct? If so, how do I configure JBoss to place that value in the JNDI directory? View the original post : http://www.jboss.com/index

[jboss-user] [Beginners Corner] - ClassNotFoundException

2009-01-02 Thread Kwiatu
Hi! I'm getting this exception while deploying application: | 00:21:33,142 INFO [AnnotationBinder] Binding entity from annotated class: User | 00:21:33,142 INFO [AnnotationBinder] Binding type definition: encryptedString | 00:21:33,146 WARN [ServiceController] Problem starting service p

[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBoss Web install - Download what?

2009-01-02 Thread tsu2
Am following the instructions at www.jboss.org/jbossweb/install/index.html In particular the relevant paragraph anonymous wrote : Downloading JBoss Web | JBoss Web is distributed as a standalone webserver. The distribution can be downloaded directly from the JBossWeb downloads page. JBoss Web

[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache (TcpCacheServer) configuration

2009-01-02 Thread rs1050
Anyone - any ideas as to what might be causing de-serialization problem? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199287#4199287 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4199287 __

[jboss-user] [Remoting] - Re: JBoss AS 4.2.3.GA java.net.SocketException

2009-01-02 Thread ron.si...@jboss.com
The message is nothing to worry about, which is why it is logged at DEBUG level. When a socket is closed on the server side, an attempt is made to write a pair of bytes which are interpreted on the client side to mean that the connection should not be used. But if the client has already shut d

[jboss-user] [Remoting] - Re: Why so many retries?

2009-01-02 Thread ron.si...@jboss.com
"mohitanchlia" wrote : | I don't understand why would it keep trying to connect to remote host even after numberOfRetries is set to 1. | You're using a relatively old version of Remoting, 2.2.2.SP2 or earlier. We're up to 2.2.2.SP10 now, and the parameter "numberOfRetries" no longer exist

[jboss-user] [EJB 3.0] - Re: JBoss 5 deployment error

2009-01-02 Thread jaikiran
The application.xml looks correct. However, the classnotfoundexception stacktrace, which even lists the jar files where the class is looked for, does not show any reference to your jar files (or is it truncated while posting?) In your jboss-app.xml, i see that you are using anonymous wrote : j

[jboss-user] [Remoting] - Re: Socket Invoker timeout

2009-01-02 Thread ron.si...@jboss.com
mohitanchlia" wrote : | What does timeout 5000 mean? | On the server side, an "active" worker thread (one not in the thread pool waiting to get reused) waits in a socket read() for the next invocation. It will time out after 5 seconds and the worker thread will return itself to the thread

[jboss-user] [Security & JAAS/JBoss] - Re: Ejb3 security using properties file

2009-01-02 Thread jaikiran
"rudreshtcs" wrote : | It is working after server restart, my assumption on jboss was that, we need not restart the server, just create a ejb jar again and deploy. | JBoss caches the roles that have been assigned to a principal. So any changes to roles will not be visible till the cache is

[jboss-user] [JCA/JBoss] - Re: DS files not being loaded when using wrapper - w2k3

2009-01-02 Thread jaikiran
anonymous wrote : wrapper.java.additional.2=-Djboss.partition.name=Partition2 | Is this an intentional setting you have done? When you start without this parameter from the command line, i guess this value is DefaultPartition. If you don't need this, then remove it from the wrapper.conf (and

[jboss-user] [Beginners Corner] - Re: JBoss MDB Beginner Question

2009-01-02 Thread jaikiran
You can use the env-entry element in the ejb-jar.xml and corresponding jboss.xml. Those values get bound to java:comp/env namespace of the component in the JNDI. Look for the dtds of ejb-jar.xml and jboss.xml for more details. Let us know, if you are having trouble in configuring them. View th

[jboss-user] [JBoss Cache: Core Edition] - Re: JPA entity caching with JBossCache in JBoss-5.0 GA

2009-01-02 Thread jaikiran
"bstansbe...@jboss.com" wrote : | Javadocs are at http://www.jboss.org/file-access/default/members/jbosscache/freezone/docs/3.0.1.GA/apidocs/index.html. The second param is whether the cache manager should create the "mvcc-entity" cache if not already created. Whether you pass true or false

[jboss-user] [EJB 3.0] - Re: EJBException: Failed to acquire the pool semaphore, stri

2009-01-02 Thread jaikiran
"pbaker01" wrote : By the way, the documentation needs to be updated for JBoss 5. | | The documenation refers to PoolClass and it appears that JBoss 5 uses "Pool" and not "PoolClass". | | | That's correct. The documentation for JBossAS-5 will be updated soon. View the origin

[jboss-user] [EJB 3.0] - Re: How to inject sessionbean from sessionbean

2009-01-02 Thread jaikiran
Please post the entire exception stacktrace and even the console logs. Which version of JBossAS and Java do you use? And are those EJBs part of the same deployed application? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4199298#4199298 Reply to the post :

[jboss-user] [Remoting] - Re: Why so many retries?

2009-01-02 Thread mohitanchlia
I made the change to EJB deployer only but for some reason it didn't work because I had a typo. Upgrading the jboss remoting might be a problem with Jboss support group. In order to continue to get their support they require us to use that comes in their distribution. In any case why numberOf

[jboss-user] [Remoting] - Re: Socket Invoker timeout

2009-01-02 Thread mohitanchlia
anonymous wrote : The call to java.net.Socket.connect(SocketAddress endpoint), which is the overloaded version of connect() used in org.jboss.remoting.transport.socket.MicroSocketClientInvoker, does not time out. I didn't understand the above "does not timeout". With what you described then I s

[jboss-user] [JBoss Messaging] - Re: Running JMS with MySQL

2009-01-02 Thread tregulski
Thanks! That fixed the problem. Just to note - when I followed the directions at the enclosed web site, it made no mention of commenting out that line. http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Administration_And_Configuration_Guide/5/html_single/index.html#d0e4998

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Could not find datasource message in client JPA although

2009-01-02 Thread jaikiran
ezanih, I wasn't aware you were running an application-client. I thought you were running a standalone java client. What exactly are you trying to do through the client - that will give us an idea whether you can just use a standalone client instead of the application client (which is a bit com

[jboss-user] [JBoss Cache: Core Edition] - Cache service not registered on cold start EAR persistent un

2009-01-02 Thread ryanrlamothe
I have been working to enable Hibernate second-level entity caching for use with our detached entities. Server: JBossAS 4.2.2 Cache: 1.4.1 (included version in JBossAS 4.2.2) The behavior that I am seeing is that if I cold start the container with no EAR deployed, everything starts fine, includ

[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2009-01-02 Thread ron.si...@jboss.com
Hi Vinay, I'm looking at your thread dumps, and I don't see anything strange from the perspective of Remoting. I see a bunch of Remoting ServerThreads in a WAITING state, which implies they're currently not in use. The only exception I've noticed is in the server-stack.log file you sent me:

[jboss-user] [Remoting] - Re: JBREM-877: New Socket Connection is being Created for Ev

2009-01-02 Thread ron.si...@jboss.com
Hi Clive, The "invokerDestructionDelay" parameter is processed on the client side, which means your client must have access to the updated version of Remoting. While the server goes to $JBOSS_HOME/server/$CONFIG/lib/default, the client goes to $JBOSS_HOME/client, which the Remoting classes are