[jboss-user] [EJB3] - Re: Get ear name

2011-01-03 Thread Sverker Abrahamsson
Sverker Abrahamsson [http://community.jboss.org/people/sverker] created the discussion Re: Get ear name To view the discussion, visit: http://community.jboss.org/message/578341#578341 -- I did a workaround. In pom.xml

[jboss-user] [EJB3] - Re: Get ear name

2011-01-03 Thread Sverker Abrahamsson
Sverker Abrahamsson [http://community.jboss.org/people/sverker] created the discussion Re: Get ear name To view the discussion, visit: http://community.jboss.org/message/578342#578342 -- The ServiceLocator has methods like

[jboss-user] [EJB 3.0] New message: Re: Get ear name

2010-03-04 Thread Sverker Abrahamsson
User development, A new message was posted in the thread Get ear name: http://community.jboss.org/message/529923#529923 Author : Sverker Abrahamsson Profile : http://community.jboss.org/people/sverker Message: -- Unforturnatly I've

[jboss-user] [EJB 3.0] New message: Re: Get ear name

2010-03-04 Thread Sverker Abrahamsson
User development, A new message was posted in the thread Get ear name: http://community.jboss.org/message/529950#529950 Author : Sverker Abrahamsson Profile : http://community.jboss.org/people/sverker Message: -- 5.1.0.GA

[jboss-user] [EJB 3.0] New message: Re: Get ear name

2010-03-04 Thread Sverker Abrahamsson
User development, A new message was posted in the thread Get ear name: http://community.jboss.org/message/529958#529958 Author : Sverker Abrahamsson Profile : http://community.jboss.org/people/sverker Message: -- Yes, I know about

[jboss-user] [JMX] - Mbean depends on deployment of EJB3 jar?

2009-11-24 Thread sverker
Hi I have a mbean that is deployed with a *-service.xml file. The issue I see is that it has to be dependant on an EJB3 jar. I.e. it can't start until the ejb3 jar is deployed and it must stop before it is undeployed. I was able to make that work in JBoss 4.2, but not in JBoss 5.1. I can set a

[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?

2009-11-24 Thread sverker
Hi This is the error message I get: 13:43:08,456 WARN [HDScanner] Failed to process changes | org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS): | | DEPLOYMENTS MISSING DEPENDENCIES: | Deployment

[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?

2009-11-24 Thread sverker
It seem to work if I set the dependency on a specific service, but not on the whole module. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267293#4267293 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4267293

[jboss-user] [JMX] - Re: Mbean depends on deployment of EJB3 jar?

2009-11-24 Thread sverker
That has worked before, and works still with EJB2. Is the problem that the module doesn't become availible in jmx until all has deployed, because then that name do exsist? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4267325#4267325 Reply to the post :

[jboss-user] [JBoss Web Services Users] - Re: jbossws does not emit xml declaration on soap response

2009-11-20 Thread sverker
I found after extensive testing that it wasn't the SOAP part that caused the problems but that the client was very sensitive to how the payload was formatted... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4266715#4266715 Reply to the post :

[jboss-user] [JBoss Web Services Users] - How to disable Transfer-encoding: chunked from server side?

2009-11-19 Thread sverker
I have a problem to access a web service on jbossws from a client with User-Agent: SOAP Toolkit 3.0 (Microsoft Office). I've compared the messages on soap level with a service that works and they are the same. The only difference I can see is that jbossws's response use Transfer-encoding:

[jboss-user] [JBoss Web Services Users] - Re: How to disable Transfer-encoding: chunked from server si

2009-11-19 Thread sverker
Pls disregard from this post, I've now been able to decode the SSL traffic that the acctual client use and Transfer-encoding: chunked is not used. I see another thing though that I'll might get back to you about after investigating some more. View the original post :

[jboss-user] [JBoss Web Services Users] - jbossws does not emit xml declaration on soap response

2009-11-19 Thread sverker
Hi, I'm trying to implement a webservice for a Microsoft Office protocol. It identifies itself as User-Agent: SOAP Toolkit 3.0. However I can't get it to work and now I've been able to decode the acctual SSL traffic. I'm comparing what my service responds with a working service. The only

[jboss-user] [JBoss Tools Users] - Re: Modelling tool for JPA - Suggestions?

2009-11-09 Thread sverker
Hi Max, I'm not shure how that would help me but maybe I'm missing something. I create a mapping diagram for my entity Entity1, then I get all the entities Entity1 has direct relations to. Lets say Entity1 has a relation to Entity2 which has a relation to Entity3. The mapping diagram for

[jboss-user] [JBoss Tools Users] - Re: Modelling tool for JPA - Suggestions?

2009-11-09 Thread sverker
Ah, that's more like it. At least it gives the overview although a bit messy with too many entities. I can use this for the time being and model by hand until I can find a suitable modelling tool. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4264547#4264547

[jboss-user] [JBoss Tools Users] - Re: Modelling tool for JPA - Suggestions?

2009-11-07 Thread sverker
Now I've been able to make the mapping diagram work, and although it's useful in visualising how the entities are mapped to the database it's not that much use on visualising the structure of the entities. In this specific project I have 27 entities, which are related to eachothers. That's

[jboss-user] [JBoss Tools Users] - Modelling tool for JPA - Suggestions?

2009-11-04 Thread sverker
In the past I've used AndroMDA for generating domain model from an UML class diagram. First EJB2, then Hibernate and in the last projects EJB3 based entities. It was a great tool for modelling, especially in the old days when it wasn't practically possible to write all those deployment

[jboss-user] [Security] - Re: Problems with authentication on EJB2

2009-10-26 Thread sverker
Ok, I've found a solution. In the case with call to ejb from mbean I added a SecurityAssociation.pushRunAsIdentity(new RunAsIdentity(System, System)) and corresponding pop around the operation. In the case where I called from the web layer it turned out that I first call a SLSB, which calls a

[jboss-user] [Security] - Problems with authentication on EJB2

2009-10-25 Thread sverker
unauthenticatedIdentity=unauthenticated | 22:59:46,113 TRACE [LimeLoginModule] login | 22:59:46,114 TRACE [LimeLoginModule] Trying to authenticate sverker | 22:59:46,119 DEBUG [AccountServiceBean] AccountServiceBean.ejbCreate() | 22:59:46,168 INFO [AccountServiceBean

[jboss-user] [EJB/JBoss] - Multiple war in one ear, deployed to root context in differe

2009-02-12 Thread sverker
I have an application where several sites works with one common back end. That is implemented by having one ear file with multiple war files, one per each site with virtual-host and context-path set in jboss-web.xml. If I add schema information to application.xml then the ear fails to deploy,

[jboss-user] [JBossWS] - Recomended way to build server and client with maven?

2009-01-06 Thread sverker
Hi, I think this should be a FAQ as it's asked many times in the forum but I can't find any answers. What is the recommended way to build server and client side of a webservice for jbossws with maven2? To partly answer my own question, on the where I build my webservice with annotated

[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.0.GA released

2008-03-17 Thread sverker
Hi, the download link for mozilla libraries is not correct, making the install to fail. It would also be good if you can update the install document in wiki, it took me a while until I found the link to the update site. View the original post :

[jboss-user] [JBoss Seam] - Re: Exception thrown on Stateful Session Bean lifecycle

2007-08-08 Thread sverker
Hi, the problem is that my stateful bean does implement Serializable and do have a default constructor. I've also searched all the attributes and they also implements Serializable. That's why I'm pretty lost on this one... View the original post :

[jboss-user] [JBoss Seam] - Re: Exception thrown on Stateful Session Bean lifecycle

2007-08-08 Thread sverker
Ok, maybe I've found it. Look at this: | queue = new PriorityBlockingQueueQueueItem(result.size(), new ComparatorQueueItem() { | public int compare(QueueItem o1, QueueItem o2) { | // This will cause the queue to be sorted in the

[jboss-user] [JBoss Seam] - Exception thrown on Stateful Session Bean lifecycle

2007-08-07 Thread sverker
I keep on getting stacktraces as below: | 12:22:58,152 WARN [Contexts] Could not destroy component: callHandler | java.lang.RuntimeException: java.io.IOException | at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptor | s(StatefulBeanContext.java:809) |

[jboss-user] [JBoss Seam] - How to handle concurrent requests from multiple users

2007-07-30 Thread sverker
When several users are working on the same data set, how to best handle the concurrency with Seam? In the specific case I have an application where approx 100 users concurrently work with registering and administrate contacts (i.e. add, edit, remove). The app is built with a stateful session

[jboss-user] [JBossWS] - Failed to setup client ENC ... Cannot bind webservice to cli

2007-07-04 Thread sverker
We have a project that deploys to the AS as an ear. Suddenly the deployment begun to fail because it says that the webservice clients are already bound. We have two webservice clients that are deployed as jar files in the ear. They are referenced by application.xml like this: | module |

[jboss-user] [JNDI/Naming/Network] - Failure to look up session bean from war in same ear

2007-04-23 Thread sverker
I have an application where a war is packaged in an ear together with an ejb3 jar. The application has worked fine before but suddenly when building a new version it started to cause problems. When trying to look up a session bean from a servlet in the war file I get the following exception:

[jboss-user] [JBoss Portal] - Re: How to do virutal hosts with JBoss Portal

2006-09-13 Thread sverker
I have updated http://jira.jboss.com/jira/browse/JBPORTAL-1004 with a proposed solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3971426#3971426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3971426

[jboss-user] [JBoss Portal] - Re: How to do virutal hosts with JBoss Portal

2006-08-30 Thread sverker
Roy, I have not been able to bind a portal instance to a virtual host. Can you describe how to do that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968308#3968308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=3968308

[jboss-user] [JBoss Portal] - Re: How to do virutal hosts with JBoss Portal

2006-08-29 Thread sverker
I have created a feature request in JIRA, at http://jira.jboss.com/jira/browse/JBPORTAL-1004. Please, everybody that think this is an important functionality, go there and vote for it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=3968259#3968259 Reply to the