[jboss-user] [Microcontainer] - Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Hi; I am trying to implement a new deployer for my application but I confused because of MC project having a lots of interfaces, abstract classes, etc. related with deployers. Is there any clean tutorial that explains step by step to write simple deployer? Thanks; --Gurkan View the

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread beve
Hi, not sure if you've seen it already but this blog by Bob McWhirter really help me: http://oddthesis.org/posts/2008-09-deployers-in-jboss-microcontainer Regards, /Daniel View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237786#4237786 Reply to the post :

[jboss-user] [JCA/JBoss] - Re: Error while closing connection from a pool

2009-06-16 Thread rohit.macherla
Hello vickyk and jboss-user-1234, Thanks for the suggestion. I have rechecked the code and found out that I overlooked commenting one piece of code. Finally, closing the wrapped connection is working. Closing the underlying connection is closing the actual connection. Thanks. View the

[jboss-user] [JBoss jBPM] - Re: Reg:Cannot read the xml file

2009-06-16 Thread shekharv
Had this problem with Spring WS once. Was something related to the incorrect version of the xml parser(xalan). maybe the incorrect version is getting picked? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237788#4237788 Reply to the post :

[jboss-user] [JBoss Tools (users)] - Re: Installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 u

2009-06-16 Thread max.ander...@jboss.com
Torleif: jboss.org/tools click the big download icon and you get info on where to download this. About error messages - paste them here (just the top lvl messages to start with, not the full stacktraces) so we can see. View the original post :

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread alesj
There are many abstract/helper deployers. You just need to choose the right one, the rest is then easy + just your own custom logic. So, I recommend you check the existing ones + those from TorqueBox (as recommended by beve), and I'm sure you'll be able to find useful info. But if you still

[jboss-user] [JBoss Tools (users)] - Re: Installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 u

2009-06-16 Thread Torleif
what you mean with just the top lvl messages? It is quiet alot of things here. Could i send you the file over the internet maybe? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237793#4237793 Reply to the post :

[jboss-user] [JBoss Tools (users)] - Re: Installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 u

2009-06-16 Thread Torleif
what you mean with just the top lvl messages? It is quiet alot of things here. Could i send you the file over the internet maybe? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237794#4237794 Reply to the post :

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Hey, Thanks a lot for answers, I have just read the aforementioned link. Actually I want to do is that whenever I add jar file with ending .msar to the JBoss deploy directory, my deployer will take the responsibility. So I write a structure deployer that extends AbstractVFSStructureDeployer.

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread alesj
You don't need a new structure deployer to be able to handle .msar. All you need to do is update suffixes in JarUtils, so JarStructureDeployer recognizes your .msar as a jar. And then have a real deployer (not structure) to add your MSarMetaData based on .msar suffix. What is your deployer

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Thanks Ales. But if there is no structure class, how do I create a meta data attachment? After the structure determineStructure returns true, how MC decides to call which deployer is responsible for? Does it look for the attached meta data class that is set on the Deployer constructor

[jboss-user] [JNDI/Naming/Network] - Re: Migrating 4.2.3.GA to 5.1.0.GA - JNDI missing?

2009-06-16 Thread jaikiran
A ejb-jar.xml without an EJB3 namespace isn't considered a EJB3 deployment. That was the reason for the deployment to be skipped (or rather incorrectly handled). I am not sure whether adding a warning is the right thing to do, but let's see how we can handle this better. View the original

[jboss-user] [Security JAAS/JBoss] - Is XACML PDP Thread Safe?

2009-06-16 Thread ffaure32
Hi all, This is my first post; sorry if it is too or not enough precise. I'm currently testing the JBoss XACML Implementation with the SAML Servlet enveloppe. I first simply deployed the SAML Servlet and the PDP with my own policies on a JBoss Server 4.2.3GA It was running fine (ie all my SAML

[jboss-user] [JBoss Tools (users)] - hbm2doc column descriptions

2009-06-16 Thread benjfayle
Does anyone know how to get hbm2doc to generate descriptions when using JPA annotations? When I use it now all the descriptions (comments) for the tables and columns appear blank. It would be nice if it used the Javadoc. View the original post :

[jboss-user] [EJB 3.0] - Control SLSB min pool size

2009-06-16 Thread ffaure32
Hi all, Apparently, there is no way in JBoss to manage the minimum number of instances in the pool of a Stateless Session Bean. http://www.jboss.org/index.html?module=bbop=viewtopict=132492 I have a stateless session bean that have an expensive initialization (load an XACML PDP). I would like

[jboss-user] [JBossWS] - Re: does jbossws-metro tests works on JBAS 5.x ?

2009-06-16 Thread wwu
true, my bald. With your confirmation, I reinstall everything (jdk 1.5 / JBAS / jbossws-metro). I had some library messing up with JBAS. thank you for your quick reply View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237808#4237808 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss.xml validation problem

2009-06-16 Thread gcoleman
I'm having trouble getting an existing application to deploy on 5.1.0.GA. It deploys fine on 4.2.x. I'm using ignore-dependency elements in jboss.xml to handle circular references and it's causing problems with descriptor validation (I can't use the annotation because the code has to be

[jboss-user] [Beginners Corner] - JBoss Jar file questions.

2009-06-16 Thread fred fred
Out of these three directories, which jar files are for: -JBoss itself -dedicated for Client java program (EJB) access -dedicated for java server program access? C:\Program Files\jboss-5.1.0.GA\lib C:\Program Files\jboss-5.1.0.GA\common\lib C:\Program Files\jboss-5.1.0.GA\common\lib ? View the

[jboss-user] [Microcontainer] - Re: Implement a New Deployer

2009-06-16 Thread gurkanerdogdu
Ok. I got it. I add .msar suffix to JARStructure, then implement ParseDeployer and RealDeployer. Now everything works fine :) Thanks; --Gurkan View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237815#4237815 Reply to the post :

[jboss-user] [Clustering/JBoss] - Clustering of the Seam-booking example

2009-06-16 Thread steppi
Hey Guys, Currently I'm writing a work for school about the JBoss AS and HA-Clustering. I'm working with 2 Ubuntu VMs and everything is perfect up to this point. Jboss is Version 5.1.0.GA. Moreover I use the Seam Framework booking-example. I started everything with the all-Config and Farming

[jboss-user] [JBoss jBPM] - How to get the ProcessInstance for a Task in jBpm 4.0 CR1?

2009-06-16 Thread ahmy
Hello All, I am using the TaskService to get the user tasks but in the Task object there is no reference to the ProcessInstance. my question if I have a Task object , How I get the ProcessInstance for this Task? Thanks, View the original post :

[jboss-user] [Management, JMX/JBoss] - Access another managed Bean (FacesContext)

2009-06-16 Thread schlumsch
Hello everyone, im developing Portlets using JBoss. I have 2 managed-Beans, one session and one request-scoped. In my request scoped bean i`m parsing the parameterMap. If the portlet is called with some specific parameters, id like to inject them into my session scoped bean. Searching for a

[jboss-user] [JBoss Tools (users)] - Re: [SOLVED?] Re: Strange deployment with rar files instead

2009-06-16 Thread SpOOnman
nickboldt wrote : So, problem solved by the tried-and-true install a fresh Eclipse + JBoss Tools, start a fresh workspace, import old projects, try again ? No. There is no problem with fresh Eclipse 3.4 + stable JBoss Tools for Eclipse 3.4. Problem occurs with fresh Eclipse 3.5 + latest release

[jboss-user] [Security JAAS/JBoss] - C# fat client using Windows Integrated Authentication over W

2009-06-16 Thread kenshiro2000
I have a very complex architecture and I need some clarifications about the Windows Integrated Authentications and its capability. I have fat C# client that needs to call an EJB3 in JBoss (on Linux) via WS. This is very easy to implement, but when I have to design the client authentication

[jboss-user] [Beginners Corner] - differet memory usage

2009-06-16 Thread pippodev
In my local and remote JBoss I set -Xms170m -Xmx170m Running the same application I have : Total Memory: 176947200 Free Memory: 136908704 in local and : Total Memory: 176947200 Free Memory: 49516976 in remote! The only difference is that local JBoss is 4.2.2 and remote is 5.0.. View the

[jboss-user] [JBossWS] - C# fat client using Windows Integrated Authentication over W

2009-06-16 Thread kenshiro2000
I have a very complex architecture and I need some clarifications about the Windows Integrated Authentications and its capability. I have fat C# client that needs to call an EJB3 in JBoss (on Linux) via WS. This is very easy to implement, but when I have to design the client authentication

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Re-deployment questions?

2009-06-16 Thread Allen_Lei
Why not using cluster with more than one JBoss instance? You can upgrade your app easily in cluster By disabling one node and upgrading it then enabling it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237830#4237830 Reply to the post :

[jboss-user] [JBoss jBPM] - Problem with taskform

2009-06-16 Thread efabbri
Hi! I've installed the new jBpm CR1 release and I tried to run the taskform example as seen on the http://vimeo.com/4643652 but in my machine the example return the exeption: anonymous wrote : HTTP Status 500 - | | type Exception report | | message | | description The server

[jboss-user] [JBoss jBPM] - Problem while using EsbActionHandler in jpdl

2009-06-16 Thread vnm
Hi, I am facing problem while using EsbActionHandler in jpdl..I am using jboss server version 4.2.2.ga and jboss esb version 4.4.ga and jbpm-jpdl3.2.3 Scenario in which we are using jbpm and esb In our web application on specific submit of request I have invoked esb service by calling

[jboss-user] [JBossWS] - Re: C# fat client using Windows Integrated Authentication ov

2009-06-16 Thread alessio.sold...@jboss.com
http://www.jboss.org/community/wiki/JBossWS-Authentication View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237836#4237836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237836 ___

[jboss-user] [JBoss Messaging] - Re: Completely confused by client failover

2009-06-16 Thread chtimi2
Thanks for all the answers, it leaves us with just the failover failure then :) Meanwhile i'm going to checkout the examples. gaohoward wrote : | Did you have any error log when the failover not happening? | No, no error stack anywhere. Here is a more precise test, where -both server

[jboss-user] [JBoss Portal] - Re: integrating Opensso opends with jboss portal 2.7.0

2009-06-16 Thread jpviragine
Hi pooja.ambre, Is your JBoss Portal in an infinite loop? Wich version of OpenSSO have you been using? Have you created cookie domain? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237839#4237839 Reply to the post :

[jboss-user] [JBoss Cache: Core Edition] - Re: snippet of code for eviction policy

2009-06-16 Thread galder.zamarr...@jboss.com
It's in http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/core/src/main/java/org/jboss/ejb3/cache/tree/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237840#4237840 Reply to the post :

[jboss-user] [JBoss jBPM] - instalation of jbpm 3.2 with oracle

2009-06-16 Thread anisj1m
Hi, i started installing jbpm 3.2 with oracle database, i waste a lot of time without any success . does anyone can help me. thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237841#4237841 Reply to the post :

[jboss-user] [JBoss Tools (users)] - Re: Installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 u

2009-06-16 Thread max.ander...@jboss.com
just copy out the message parts and paste here. Just to get an idea of what is in there. if too much then easiest is to open a jira and attach the file there (you can use Help Report a problem) to get it into a .zip file for easy attachment. View the original post :

[jboss-user] [JBoss Tools (users)] - Re: hbm2doc column descriptions

2009-06-16 Thread max.ander...@jboss.com
the javadoc is not available when generation code from classes. so sorry. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237843#4237843 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237843

[jboss-user] [JBoss Tools (users)] - Re: Strange deployment with rar files instead of jar files.

2009-06-16 Thread max.ander...@jboss.com
please try and reduce the project to its minimum set of files which still makes the problem show up and then create a jira with these attached in a .zip file and then please show a screenshot of what you see as different in the two versions. Then we can look. View the original post :

[jboss-user] [Beginners Corner] - Re: Element type

2009-06-16 Thread Wolfgang Knauf
Hi, seems you are stuck in the section Configure an MDB listening on a destination in WebSphereMQ, and it seems the error raises in your ejb-jar.xml? If so: please post its content and the full deploy error. Best regards Wolfgang View the original post :

[jboss-user] [JBoss Messaging] - Problems while creating a bridge service

2009-06-16 Thread PaulMe
Hi all, I've some problems with creating a bridge service. I get to the point when I try to look for a queue that isn't there, it get the error 'Name not found' which indicates that it can reach the server, etc. However when I try to lookup a name that is on the server. I get the following

[jboss-user] [JBoss jBPM] - Re: jBPM Management Console problem in login, (jBPM 4.0.CR1)

2009-06-16 Thread ajvarela
I have discovered that the GWT Console (jBPM Console) works fine in my IE with the user/pass showed in documentation but in Firefox 3.0.11 doesnt work at all in my PC. I have attached some pics about error in previous posts. View the original post :

[jboss-user] [JBoss OSGi] - Problem of running jboss-osgi-1.0.0beta2

2009-06-16 Thread jackiejuju
Hi All, After I installed jboss-osgi-1.0.0bet2 following the instructions of http://jbmuc.dyndns.org:8280/hudson/job/jbossosgi-jdk16/ws/jboss-osgi/distribution/target/auto-install-dest/docs/userguide/html/index.html, ( deselect OGGI-Integration, and choose Felix OSGiFramework), and started up

[jboss-user] [JBoss jBPM] - Re: jBPM Management Console problem in login, (jBPM 4.0.CR1)

2009-06-16 Thread kukeltje
works here in FF 3.0.11 on Linux View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237850#4237850 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237850 ___ jboss-user mailing list

[jboss-user] [JBoss jBPM] - Re: Problem with taskform

2009-06-16 Thread kukeltje
where did you get the example with taskforms from? afaik, there is no example deployed yet in the demo env which has taskforms. So unless you created your own definition AND forms, this error is to be expected View the original post :

[jboss-user] [JBoss Messaging] - Re: Unable to create remote JMS Provider

2009-06-16 Thread PaulMe
Carefully check the names used in the bridge service. There is an typo in the Tutorial View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237855#4237855 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237855

[jboss-user] [JBoss Messaging] - Re: Unable to create remote JMS Provider

2009-06-16 Thread gaohoward
Hi, Can you point out where the typo is? Thanks. Howard View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237856#4237856 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237856 ___

[jboss-user] [JBoss Messaging] - Re: Problems while creating a bridge service

2009-06-16 Thread gaohoward
make sure W2K-TBC04O:7222 is accessible to your client. Also this looks like a tibco JMS client configuration issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237857#4237857 Reply to the post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss.xml validation problem

2009-06-16 Thread Wolfgang Knauf
Hi, I think the order is wrong (the local-jndi-name must be after the resource-ref element): session | ejb-nameBingo/ejb-name | resource-ref | res-ref-namejdbc/DataSource/res-ref-name |

[jboss-user] [EJB 3.0] - JPA query question!

2009-06-16 Thread ericmacau
Hello, How can I define a QL for getting Entity from Collections? class User { List addresses; } class Address { protected String state; } how can I retrieve all the User if the user's state is 'MA' or 'NY'? how can I define the NamedQuery for that? Best regards, Eric View the

[jboss-user] [JBoss jBPM] - Re: Signal process instance asynchronous

2009-06-16 Thread hhhuber
there are reasons why i don't want to make the first node 'async'. so i kept looking for a way to signal a process asynchronously. this is what i implemented: a AsyncProcessSignalJob that can be saved as a jbpm-job. then the job executor finds and executes the job as any other job. |

[jboss-user] [JBoss jBPM] - jBPM 4 CR1 AsyncActivity Unit Test fails due to FK constrain

2009-06-16 Thread joshsiaw
Hi, I just installed jBPM4 CR1 yesterday and have been trying out the examples and testing the api. I tried to run testAsyncActivity on JUnit and it failed with this error. Btw, I'm using MySQL 5 for the JBPM db. | 19:11:49,159 FIN | [ProcessDefinitionImpl] creating new execution for

[jboss-user] [JBoss Cache: Core Edition] - Re: distributed entity cache (invalidation based)

2009-06-16 Thread galder.zamarr...@jboss.com
tcp stack still uses MPING, multicast based member discovery, to find other members in the cluster, so maybe the cluster did not form correctly, which would explain why invalidation does not happen. Check for view messages for the MVCCEntityCache cache instance in the logs. See if the view

[jboss-user] [JBoss Cache: Core Edition] - Re: MVCC lock timeout exception after 0? ms.

2009-06-16 Thread galder.zamarr...@jboss.com
Those lock timeouts with 0ms timeout are not important. These timeouts come when reading an entity from database into the 2nd level cache and it puts it with a timeout of 0ms, so if succeeds, great, if not, it's ignored (someone else might be putting the same entity in the database). View the

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss.xml validation problem

2009-06-16 Thread Wolfgang Knauf
I should note that 5.1.0 is more strict about sequence ordering: https://jira.jboss.org/jira/browse/JBAS-6743 According to this JIRA issue, the startup parameter -Dxb.builder.useUnorderedSequence=true should be set by default, thus it should not happen for you. How do you start JBoss? Best

[jboss-user] [JBoss Messaging] - JBoss Mesaging 2.0.0 beta 2 Released

2009-06-16 Thread timfox
JBoss Messaging 2.0 beta 2 is released and ready for download. Beta 2 is a minor update release for beta 1 that we released last week. We aim to be producing releases at a higher rate than we've previously done in the project - following the release early, release often mantra. Get it here:

[jboss-user] [JBoss jBPM] - Re: Signal process instance asynchronous

2009-06-16 Thread kukeltje
Sure it might work, but I would not have chosen to go this route. For several reasons. Would take me to much time to comment in detail, but if I see your solution, I would have chosen an even different one.Just a plain node as the first node with a timer in it to continue the process. No

[jboss-user] [JBoss jBPM] - Re: Signal process instance asynchronous

2009-06-16 Thread hhhuber
yeah, if i had started from scratch i would have taken the path with the 'async' node. but that was not an option (already deployed processes with long running process instance; want to keep new versions to an absolute minimum) in my case. also, i remember another posting in this forum where

[jboss-user] [JBoss jBPM] - Re: Problem with taskform

2009-06-16 Thread efabbri
If you download http://sourceforge.net/project/downloading.php?group_id=70542filename=jbpm-4.0.CR1.zipa=23689550 package and extract it and go to the folder examples\src\org\jbpm\examples\taskform you will find the example. The demo video of the example is also available at

[jboss-user] [EJB/JBoss] - Interface inheritence / SessionContext.getInvokedBusinessInt

2009-06-16 Thread rmz
Hi everyone, I'm encountering the following problem. I have six interfaces in order to access a Stateful Session Bean, say a bean named Person. The interface inheritence structure is: IPerson | | | --- IPersonInt | || | | IPersonIntRemote | || | |

[jboss-user] [JBossWS] - Binary attachment without WSDL parameter

2009-06-16 Thread rhyali
Hi, is it possible to attach random binary data as an additional attachment besides the usual SOAP request, without mentioning it in the WSDL? So the service consumer sends a request to the provider (CRUD operations), and I now want to attach binary data, but can't/want to put this into the

[jboss-user] [JBoss Cache: Core Edition] - Re: Bind cache with jndi

2009-06-16 Thread galder.zamarr...@jboss.com
Guillaume, we've been discussing best practices for sharing Cache instances between apps and currently, the best way to do so from AS is explained in http://tinyurl.com/lq688t, section 11.2. Paraphrasing Brian Stansberry, the AS Clustering Lead: anonymous wrote : 1) Use the CacheManager to

[jboss-user] [JBoss Cache: Core Edition] - Re: Bind cache with jndi

2009-06-16 Thread galder.zamarr...@jboss.com
http://tinyurl.com/lq688t View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237893#4237893 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237893 ___ jboss-user mailing list

[jboss-user] [JBoss Cache: Core Edition] - Re: How to replace CacheJmxWrapper with JmxRegistrationManag

2009-06-16 Thread galder.zamarr...@jboss.com
See my comment in http://www.jboss.org/index.html?module=bbop=viewtopict=156458start=10 I believe your method is still valid in spite of the deprecation. I'm trying to get further clarification on this and will let u know. View the original post :

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss.xml validation problem

2009-06-16 Thread gcoleman
Thanks. Moving the local-jndi-name and jndi-name elements makes the xml at least in validate from within IDEA. The deployment is still failing and it's less clear where the problem is now: | Caused by: java.lang.Exception: The xml deployfile.ear/bingo-ejbs.jar/META-INF/jboss.xml is not well

[jboss-user] [JBoss jBPM] - Subprocess followed by

2009-06-16 Thread flavio.donze
Hello everyone I want my main process to end if the subprocess returns a certain result. If the subprocess is followed by an end element the following Exception is thrown: | ### EXCEPTION ### | 14:44:51,812 SEV | [AbstractFlushingEventListener]

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging not working as expected

2009-06-16 Thread gaohoward
Hi, I did a simple test as follows: 1. start up a JBM node which has 5 queues deployed. They are A, B, C, D, E 2. start 5 processes on another machine. Each process continuously sends and receive messages from a different queue. My results is that all the process works normally, all messages

[jboss-user] [EJB 3.0] - Re: JPA query question!

2009-06-16 Thread Wolfgang Knauf
Hi Eric, I think it should be this: @NamedQuery (name=findUsersByState, query=select o from User o where o.adresses.state in ('MA', 'NY')) | @Entity() | public class User implements Serializable | { | ... Hope this helps Wolfgang View the original post :

[jboss-user] [JBoss Messaging] - Re: Problems while creating a bridge service

2009-06-16 Thread PaulMe
It seems to me that the server is reachable, because when I try to query an unexisting queue name. I get an error that the Queue isn't found. Could it be that my server is running on Localhost that the other server needs a connection back or something ?? View the original post :

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problem with a OneToOne relation

2009-06-16 Thread krum
Hi, I have a problem when i would lyke to deploy my jar on my jboss server 4.2.2 GA. I generate my entity from my database. and when i have an @OneToOne annotation, i have this error when i deploy: 14:13:55,029 WARN [ServiceController] Problem starting service

[jboss-user] [EJB 3.0] - Re: preventing dirty reads non repetablereads

2009-06-16 Thread wyborowiec
You've got to set proper transaction isolation level in your data source (SERIALIZABLE in your case). @Version annotation is used to turn on optimistic locking policy for a given entity which is separate issue from transaction isolation. View the original post :

[jboss-user] [JBoss Messaging] - Re: Problems while creating a bridge service

2009-06-16 Thread gaohoward
anonymous wrote : | javax.jms.JMSException: Failed to connect to the server at tcp://W2K-TBC04O:7222 | at com.tibco.tibjms.TibjmsxLinkTcp._createSocket(TibjmsxLinkTcp.java:817) | This sounds like to me you cannot create a tcp socket on port 7222. This is a different connection other

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Problems with one-to-many relationship mapping

2009-06-16 Thread a.mulone
Hi, I have this 2 tables: | TABLE TPS16_CONFIGURATION | ( TPS16_NAME, TPS16_VALID_FROM_DATE, TPS16_OPERATING_RANGE_HI, TPS16_OPERATING_RANGE_LO, | TPS16_MAX_OPERATING_DELTA, TPS16_TIME_GRID_PROTOTYPE) | | TPS25_CURRENCIES_DIFFMIN | ( TPS16_ID, TPS25_ISO_CURRENCY, TPS25_DIFF_MIN

[jboss-user] [JBoss Messaging] - Re: JBoss Messaging - Error while getting connection

2009-06-16 Thread ataylor
It looks like a remoting issue. It looks like it cant create a socket on opening the connection. They would probably be able to help you more on the remoting forum. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237924#4237924 Reply to the post :

[jboss-user] [JBoss jBPM] - Re: Help needed : missing scheduler while testing a timer

2009-06-16 Thread prachi.mukhija
Hi, I'm facing the same issue. I have specified the scheduler service | service name=scheduler factory=org.jbpm.scheduler.db.DbSchedulerServiceFactory / | in my jbpm.cfg.xml file. (in the jbpm-context element) However, it still shows that the scheduler is missing. Pls help. Thanks in

[jboss-user] [JBoss Portal] - Problem init managed beans

2009-06-16 Thread schlumsch
Hello everyone, i have a little big :) problem initializing the managed beans of my portlet, maybe someone could help me out. What i do is the following: | managed-bean | managed-bean-namemailPlanning/managed-bean-name |

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss.xml validation problem

2009-06-16 Thread Wolfgang Knauf
Hi, my link was probably confusing: the parameter is automatically set in startup code in 5.1.0GA: https://jira.jboss.org/jira/browse/JBAS-6931 The only case this automatic setting would not be performed is if you set it to false or any other value yourself, but I don't assume this happens for

[jboss-user] [JBoss jBPM] - Timers don't get executed after server crash

2009-06-16 Thread jeppe.klausen
We've experiencing some problems regarding timers that don't get executed using jBPM version 3.2.2 after a server crash. It seems like that not alle timers are re-initiated after rebooting the application server (ver. 4.2.2). This is getting a quite critical issue since we have a lot of

[jboss-user] [EJB 3.0] - Attribute from MappedClass as a part of composit PK ?

2009-06-16 Thread dkalna
Hi there, I have following problem: I have abstract class, which is @MappedSuperclass and there I have (among others) attribute timestamp, which is common for all my entities. Now in entity class (which extends abstract class) I need to define composite primary key, but that timestamp

[jboss-user] [JBoss Messaging] - JBoss SMPP Mobile Messages

2009-06-16 Thread vijay.jbossuser
Can JBoss Application server be configured to send and receive SMPP messages to SMPP Simulator. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237937#4237937 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237937

[jboss-user] [JBossWS] - Re: C# fat client using Windows Integrated Authentication ov

2009-06-16 Thread kenshiro2000
Thanks Alessio. The link you sent me it will be very useful only for the Server side. As I wrote in my first post I don't want the user rewrite in the (Windows) client side their credentials. I would like to use the Windows logon Credentials e pass them to JBoss via WS. I saw the Kerberos

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Can't catch exception caused by unique constraint?

2009-06-16 Thread fernando_jmt
Did you find some solution to this problem? I had my application working pretty fine catching a EntityExistsException and throwing my own @ApplicationException exception in JBoss 4.2.3. Now that I upgraded to JBoss 5.1, the same code does not work anymore, I'm unable to catch neither

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Can't catch exception caused by unique constraint?

2009-06-16 Thread jaikiran
Remember that the actual SQL queries may be executed on transaction commit (i.e. after the control has moved out of your code) which means it's too late to catch such exceptions. But please post the code and the entire exception stacktrace so that we can ascertain that this is not a bug.

[jboss-user] [JBoss jBPM] - Re: Subprocess followed by

2009-06-16 Thread flavio.donze
Ups forgot to tell that I'm using the jBPM 4.0.0.CR1 build BTW, if I add a java element followed by the end element I get the same result. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237954#4237954 Reply to the post :

[jboss-user] [Performance Tuning] - JBOSS Client pooling conections problem, concurrent access.

2009-06-16 Thread mnenchev
Hi, all i am trying to do some performance test for my project. I use apache httpclient 4.0. to do http requests to my tomcat server, that talks to jboss ejbs. Here what i am trying to do: Start 50 threads(users) simulteniously. Each thread firs send http request for cookie creating and get the

[jboss-user] [Performance Tuning] - Re: JBOSS Client pooling conections problem, concurrent acce

2009-06-16 Thread mnenchev
How could i increase the connection size it is 51, but why?!? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237957#4237957 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237957

[jboss-user] [JBoss jBPM] - Re: problem with jbpm-3.2.Beta2

2009-06-16 Thread margotmedia
java.lang.IllegalStateException: Can't overwrite cause It is an error due to a bug with wstx library, I've changed it for an older version than wstx-lgpl-3.2.6.jar (it solves the problem) and it worked fine! View the original post :

[jboss-user] [JBoss jBPM] - Re: Signal process instance asynchronous

2009-06-16 Thread kukeltje
If you want to keep changes to a minimum, you *can* change the attribute of 'async' on a node in a currently deployed definition in the database to true. So... Regarding extending it with your own code, yes, but that would be mostly actionhandlers etc. Only a few have created really custom

[jboss-user] [JBoss Tools (users)] - Re: Installing Jboss 5.0.1.GA, jboss tools 3.1 milestone 1 u

2009-06-16 Thread max.ander...@jboss.com
Nothing JBoss Tools specific here - just eclipse P2 (update manager) complaining. Looks like eclipse.org servers are not reachable for you or are simply down. if it still happens I would report at bugs.eclipse.org for 1) improve this situation that seem to happen often and p2 needs to be

[jboss-user] [JBoss jBPM] - Re: Error while starting process

2009-06-16 Thread margotmedia
It worked for me too after commenting DTD line... thanks! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237963#4237963 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237963 ___

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running JBoss as non-root user while listening on ports

2009-06-16 Thread yiskenderoglu
I have an ugly solution to make org.jboss.Main start inside jsvc by calling it in another class that implements the commons.Daemon interface. The idea is, to extract contents from run.jar, and merge it back with your own class, and adding commons-daemon to the classpath, among with the newly

[jboss-user] [JBoss/Spring Integration] - Re: @Spring injection problem

2009-06-16 Thread jimjamz
I don't have spring bundled in my war file, but I do have spring 2.5.6 jars in the default/lib directory in JBoss. Could this be causing the issue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237967#4237967 Reply to the post :

[jboss-user] [Javassist user questions] - Adding annotations to methods

2009-06-16 Thread PaulKeeble
I want to put my own annotation on a CtMethod. I can only see a getAnnotations method, and equally I can't find a setMethodInfo (which I think could potentially work with AnnotationsWriter). How do you add an annotation? View the original post :

[jboss-user] [Security JAAS/JBoss] - Re: Urgent -Please - Custom Security Manager doesn't work!

2009-06-16 Thread khohl
I believe you also need to configure the JaasSecurityManagerService mbean in jboss-service.xml. See the following posts - http://www.jboss.org/index.html?module=bbop=viewtopict=156834 http://www.jboss.org/index.html?module=bbop=viewtopict=48997 View the original post :

[jboss-user] [JBoss jBPM] - Re: Subprocess followed by

2009-06-16 Thread kukeltje
I see no reason why it should not be possible, so it might be a bug. If you can extend the unittest you mentioned with an additional test that e.g. is called oucomeactivityToEnd or something, then please file a jjra issue and attach the patch for the test there. (and post the link the jira

[jboss-user] [JBoss jBPM] - Re: Help needed : missing scheduler while testing a timer

2009-06-16 Thread kukeltje
are you sure this config file is used and not another one? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237975#4237975 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237975 ___

[jboss-user] [Clustering/JBoss] - Re: JNP lookup from multi-homed client

2009-06-16 Thread FrankTheTank
Thanks for the reply. Yeah, I had tried that with my main NIC but it had not worked. Now I seem to know why. Besides the point that it seems we have to configure the cluster-service.xml for multi-homed servers (which will really be a killer for me) I had noticed the below issue: Ok this is my

[jboss-user] [JBoss Messaging] - Re: Problems while creating a bridge service

2009-06-16 Thread PaulMe
I've downloaded a JMS Gui client ( Hermes ) and I could connect from my computer to the Tibco Server. Could the problem originate because the server runs on 127.0.0.1 ??? These are the settings I've entered in my JBoss configuration xyz-tibco-bridge-service.xml ?xml version=1.0

[jboss-user] [JBoss jBPM] - Re: jBPM 4 CR1 AsyncActivity Unit Test fails due to FK const

2009-06-16 Thread kukeltje
If you would search the forum, you'd see that (unfortunately?) many people suffer identical issues and a jira issue is already posted which could be (is?) related to this. Can you check if it seam related... View the original post :

[jboss-user] [JBoss jBPM] - Re: Problem with taskform

2009-06-16 Thread kukeltje
Ok, sorry. I knew it was there but it is by default *not* deployed. So how did you deploy this process? Are you sure you also deployed the .ftl files? I currently have no time to check if it works here (sorry). View the original post :

[jboss-user] [JBoss jBPM] - Re: Subprocess followed by

2009-06-16 Thread flavio.donze
Done that: https://jira.jboss.org/jira/browse/JBPM-2335 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4237983#4237983 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4237983 ___

[jboss-user] [JBoss Cache: Core Edition] - Language specific content

2009-06-16 Thread steven.whatmore
Good morning, I am trying to drop in a language specific button set that is defined in the file buttons.css in subdirectories such as: /css/en /css/fr /css/zh_CN etc. In my page I have the following code: | link rel=stylesheet type=text/css href=../css/en/buttons.css / |

  1   2   >