[jboss-user] [EJB 3.0] - Re: Requesting the EJB container to remove an instance

2009-03-15 Thread ALRubinger
ALRubinger wrote : https://jira.jboss.org/jira/browse/EJBTHREE-1773

Done.  Relevant unit test showing usage is:

http://anonsvn.jboss.org/repos/jbossas/projects/ejb3/trunk/core/src/test/java/org/jboss/ejb3/core/test/ejbthree1773/unit/RemoveRequestFromSessionProxyUnitTestCase.java

ALRubinger wrote : I'll implement remove() for us.

It's in a patch attached to WBINT-7.  I didn't commit it due to the SNAPSHOT 
dependency upon org.jboss.ejb3:jboss-ejb3-proxy-spi (Don't know if you guys 
permit SNAPs).

S,
ALR

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218069#4218069

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218069
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Can't intall jbossas plugin on eclipse 3.4.2

2009-03-15 Thread erahamim
Hi,

I have update the site to 
http://download.jboss.org/jbosstools/updates/nightly/3.0.x/
When I tries to install jbossas version : 20.0.GA-N200903131158-h26 
I still get the same error message.

An error occurred while collecting items to be installed
  No repository found containing: 
org.jboss.ide.eclipse.firstrun/osgi.bundle/2.1.1.GA
  No repository found containing: 
org.jboss.tools.jmx.core/osgi.bundle/1.0.0.GA-R200903031917-H9

Could it be that I need to install some other component before the jbossas?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218070#4218070

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218070
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: JBoss/WinXP/SPNEGO, Kerberos MIT/unix, JGSS question?

2009-03-15 Thread neoben
The ticket needs to be forwardable. If it is, in firefox, you add your website 
to the trusted URIs for delegation ( in about:config). At this point, you 
should see context.getDelegState()=true in the logs.
The missing bit in the jboss-negotiation project is to get the delegated 
credendentials and store them in the private credentials of the Subject in the 
SPNEGOLoginModule. It needs to be destroyed or cleared in the logout method.
Then, you will need to manage yourself the kerberos ticket and implement 
yourself the WS-kerberos (if your webservice is using a HTTP binding, i suppose 
it would be easy to secure the webservice via spnego). Jboss does not implement 
these things for you so, you have to take care of the ticket renewal and 
propagation...

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218072#4218072

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218072
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Microcontainer] - DeploymentManager in 5.1.0.Beta1

2009-03-15 Thread Juergen.Zimmermann
I want to migrate my redeploy workaround to 5.1.0.Beta1. Using JBoss 5.0.0 and 
5.0.1 I did it this way to redeploy a running EAR app:
DeploymentManager dm = ...;
  | DeploymentProgress stop = dm.stop(DeploymentPhase.APPLICATION, hska);
  | stop.run();
  | checkProgress(stop);
  | 
  | DeploymentProgress distribute = dm.distribute(hska, 
DeploymentPhase.APPLICATION, new 
URL(file:/C:/.../server/default/deploy/hska.ear/), false);
  | distribute.run();
  | checkProgress(distribute);

In 5.1.0.Beta1 the constant DeploymentPhase.APPLICATION is not required 
anymore. Fine.

However, looking at 
https://anonsvn.jboss.org/repos/jbossas/trunk/testsuite/src/main/org/jboss/test/deployers/AbstractDeploymentTest.java
 I'm not sure how to use the methods distribute(), start(), stop() and 
undeploy() of DeploymentManager. Any hint is appreciated!

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218073#4218073

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - No two Schemas should share the same targetNamespace

2009-03-15 Thread yary
Good day everyone,

I am new to this community so, first of all, I'd like to present myself: I'm 
Yary from Italy, a student of computer science at the last year who is writing 
his final work.

My final work involves the use of jBPM, which I'm trying to understand, but 
until now I could only complete the installation.

I think I followed strictly the rules of installation in the user guide but 
still I can't execute any of the examples since I catch every time the same 
error, after a set of assertions complete correctly.

The error is about xml validation:

error: couldn't parse xml document : java.lang.IllegalArgumentException:  When 
using array of Objects as the value of SCHEMA_SOURCE property , no two Schemas 
should share the same targetNamespace. 

Having it even before starting to write code hampers me seriously in learning.

Did you experience the same problem yet? How did you solved it? Do you know, 
more simply, why it occurs and how to solve it?

I would be very thankful.

Yary

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218074#4218074

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218074
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Can't intall jbossas plugin on eclipse 3.4.2

2009-03-15 Thread max.ander...@jboss.com
It works for me no matter what I do - I just use a clan eclipse ganymede JEE 
install, add the updatesite and it installs.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218075#4218075

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218075
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Can't intall jbossas plugin on eclipse 3.4.2

2009-03-15 Thread max.ander...@jboss.com
note, we are releasing the final version this week - please try from there when 
it becomes available.

the nightly update sites are not guaranteed to work perfectly.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218076#4218076

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218076
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Messaging gets stuck

2009-03-15 Thread bonio100
Hi,

I can confirm the upgrade fixed the problem - This has been running flawless 
for weeks and faster too.

I suggest anyone with the same problem do the same - The upgrade wont take as 
long as you think it will and the config files are not that different.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218077#4218077

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218077
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - Re: OSGI Roadmap

2009-03-15 Thread cbwhitebu
We have an app that we are deploying in Eclipse (as a plugin) and JBoss (as a 
sar). I would be interested in testing OSGI deployments of the application to 
JBoss. Let me know if this type of thing would be helpful in getting the JBoss 
OSGI stuff tested.

Chris

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218080#4218080

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218080
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Can't deploy EAR on JBoss 5.0.1 (Mac OS)

2009-03-15 Thread buki79
Hi,

I've got an EJB3 application and a web client bundled in an EAR.
When I try to deploy the EAR on JBoss 5.0.1 on Mac OS, I get the error below.
Further information: I use eclipse 3.4 to deploy. I configure JBoss to run with 
a 1.6.0 JRE and compiled to project with Java 1.5.0.
 
  | 14:35:31,925 INFO  [ServerImpl] Starting JBoss (Microcontainer)...
  | 14:35:31,927 INFO  [ServerImpl] Release ID: JBoss [Morpheus] 5.0.1.GA 
(build: SVNTag=JBoss_5_0_1_GA date=200902231221)
  | 14:35:31,927 INFO  [ServerImpl] Bootstrap URL: null
  | 14:35:31,927 INFO  [ServerImpl] Home Dir: /Applications/jboss-5.0.1.GA
  | 14:35:31,927 INFO  [ServerImpl] Home URL: file:/Applications/jboss-5.0.1.GA/
  | 14:35:31,927 INFO  [ServerImpl] Library URL: 
file:/Applications/jboss-5.0.1.GA/lib/
  | 14:35:31,928 INFO  [ServerImpl] Patch URL: null
  | 14:35:31,928 INFO  [ServerImpl] Common Base URL: 
file:/Applications/jboss-5.0.1.GA/common/
  | 14:35:31,929 INFO  [ServerImpl] Common Library URL: 
file:/Applications/jboss-5.0.1.GA/common/lib/
  | 14:35:31,929 INFO  [ServerImpl] Server Name: default
  | 14:35:31,929 INFO  [ServerImpl] Server Base Dir: 
/Applications/jboss-5.0.1.GA/server
  | 14:35:31,929 INFO  [ServerImpl] Server Base URL: 
file:/Applications/jboss-5.0.1.GA/server/
  | 14:35:31,930 INFO  [ServerImpl] Server Config URL: 
file:/Applications/jboss-5.0.1.GA/server/default/conf/
  | 14:35:31,930 INFO  [ServerImpl] Server Home Dir: 
/Applications/jboss-5.0.1.GA/server/default
  | 14:35:31,930 INFO  [ServerImpl] Server Home URL: 
file:/Applications/jboss-5.0.1.GA/server/default/
  | 14:35:31,930 INFO  [ServerImpl] Server Data Dir: 
/Applications/jboss-5.0.1.GA/server/default/data
  | 14:35:31,930 INFO  [ServerImpl] Server Library URL: 
file:/Applications/jboss-5.0.1.GA/server/default/lib/
  | 14:35:31,931 INFO  [ServerImpl] Server Log Dir: 
/Applications/jboss-5.0.1.GA/server/default/log
  | 14:35:31,931 INFO  [ServerImpl] Server Native Dir: 
/Applications/jboss-5.0.1.GA/server/default/tmp/native
  | 14:35:31,931 INFO  [ServerImpl] Server Temp Dir: 
/Applications/jboss-5.0.1.GA/server/default/tmp
  | 14:35:31,931 INFO  [ServerImpl] Server Temp Deploy Dir: 
/Applications/jboss-5.0.1.GA/server/default/tmp/deploy
  | 14:35:32,584 INFO  [ServerImpl] Starting Microcontainer, 
bootstrapURL=file:/Applications/jboss-5.0.1.GA/server/default/conf/bootstrap.xml
  | 14:35:33,083 INFO  [VFSCacheFactory] Initializing VFSCache 
[org.jboss.virtual.plugins.cache.CombinedVFSCache]
  | 14:35:33,085 INFO  [VFSCacheFactory] Using VFSCache 
[CombinedVFSCache[real-cache: null]]
  | 14:35:33,397 INFO  [CopyMechanism] VFS temp dir: 
/Applications/jboss-5.0.1.GA/server/default/tmp
  | 14:35:33,398 INFO  [ZipEntryContext] VFS force nested jars copy-mode is 
enabled.
  | 14:35:34,681 INFO  [ServerInfo] Java version: 1.6.0_07,Apple Inc.
  | 14:35:34,681 INFO  [ServerInfo] Java Runtime: Java(TM) SE Runtime 
Environment (build 1.6.0_07-b06-153)
  | 14:35:34,681 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
1.6.0_07-b06-57,Apple Inc.
  | 14:35:34,681 INFO  [ServerInfo] OS-System: Mac OS X 10.5.6,x86_64
  | 14:35:34,710 INFO  [JMXKernel] Legacy JMX core initialized
  | 14:35:37,207 INFO  [ProfileServiceImpl] Loading profile: default from: 
org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@177fcdf1(root=/Applications/jboss-5.0.1.GA/server,
 
key=org.jboss.profileservice.spi.profile...@143b82c3[domain=default,server=default,name=default])
  | 14:35:37,209 INFO  [ProfileImpl] Using 
repository:org.jboss.system.server.profileservice.repository.serializabledeploymentreposit...@177fcdf1(root=/Applications/jboss-5.0.1.GA/server,
 
key=org.jboss.profileservice.spi.profile...@143b82c3[domain=default,server=default,name=default])
  | 14:35:37,209 INFO  [ProfileServiceImpl] Loaded profile: 
profilei...@75c859c7{key=org.jboss.profileservice.spi.profilekey@143b82c3[domain=default,server=default,name=default]}
  | 14:35:38,888 INFO  [WebService] Using RMI server codebase: 
http://localhost:8083/
  | 14:35:49,133 INFO  [NativeServerConfig] JBoss Web Services - Stack Native 
Core
  | 14:35:49,134 INFO  [NativeServerConfig] 3.0.5.GA
  | 14:35:58,089 ERROR [AbstractKernelController] Error installing to 
ClassLoader: 
name=vfsfile:/Applications/jboss-5.0.1.GA/server/default/deploy/Twitter.ear/ 
state=Describe mode=Manual requiredState=ClassLoader
  | org.jboss.deployers.spi.DeploymentException: Error creating classloader for 
vfsfile:/Applications/jboss-5.0.1.GA/server/default/deploy/Twitter.ear/
  | at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.createClassLoader(AbstractDeploymentContext.java:576)
  | at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.createClassLoader(AbstractDeploymentUnit.java:159)
  | at 

[jboss-user] [EJB 3.0] - Re: Requesting the EJB container to remove an instance

2009-03-15 Thread pete.m...@jboss.org
I would prefer to wait until there is a release, so that we can update the EJB3 
impl in JBoss to the correct version using the plugin updater.

Thanks :-)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218088#4218088

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218088
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: seam-gen IDE vs Console

2009-03-15 Thread treespace
Is there documentation for creating a Seam project in the Eclipse Bundle (JBoss 
Developer Studio)? The first-time user experience has to be nothing short of 
bewildering because the documentation is specific to a given tools version, 
Seam version, seam-gen version. As usual, this will give ammo to those looking 
to shoot it down. 
 
As far as building projects, what has worked marvelously for many years (from 
J2EE through Java EE) has been a custom ant script whose tasks we fired off 
seamlessly (NPI) from the Ant view. The script grows with the project, and both 
the command-line and Eclipse are oblivious to what it does. 

Enter seam-gen. So, we'd like to use seam-gen rather than evolve our build 
script from scratch, and use it for command-line builds (e.g., nightly build) 
or server with no Eclipse installed. We also want to use the same script from 
the IDE via the Ant view, just like the good 'ol days. 

If experienced Eclipse and JBoss developers find this whole documentation 
situation messy, imagine the terror experienced by an adventuresome Ruby addled 
developer looking to break out of their gilded cage? 





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218099#4218099

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218099
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: seam-gen IDE vs Console

2009-03-15 Thread max.ander...@jboss.com
eh - where is it tied to a specific version ?

We support Seam 1.2, Seam 2.0 and Seam 2.1 - of course various bugs have been 
fixed in these but the tooling works with all three.

If you want to use Ant then fine, do that - but what do you want me to document 
besides what is already listed in Seam docs about how to use seam-gen ?

Repeating what is in seam about seam-gen would just make sure our docs is even 
more tied to a specific version, right ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218100#4218100

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218100
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - JBoss5.0.1.GA and JAI (Java Advanced Imaging)

2009-03-15 Thread ramboid
Has somebody run the JAI in JBoss5.0.1.GA (the latest release)? I have been 
running the JAI in JBoss 4.x.GA (several versions) in Linux RedHat  for several 
years and I am testing JBoss5.0.1.GA. Code that runs fine in JBoss4.2..GA fails 
in JBoss5.0.0.GA. In the line of code, javax.media.jai.PlanarImage tmp = 
javax.media.jai.JAI.create(stream, bass), JBoss is throwing the following 
error:
2009-03-15 05:45:55,061 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/carlosv25].[invoker]]
 (http-0.0.0.0-8080-1) Servlet.service() for servlet invoker threw exception
javax.servlet.ServletException: java.lang.ExceptionInInitializerError

I am not quite sure what could be causing this error. I have been running 
JBoss4.2.* headles and I ahve tried to run the code in JBoss5.0.1.GA either 
headless or headfull but the code fails in the same place everytime. 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218101#4218101

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218101
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Cached Item Was Locked causing Select Statement: EHCache +

2009-03-15 Thread cloutierm

I am having trouble with getting some caching to work with hibernate exactly 
the way I would like.  I created some example code to replicate this problem I 
am having. 

I have one object that contains instances of itself.  For instance, a Part that 
is made up of more Parts.  

I really need to minimize the select statements that Hibernate is using when an 
updated object comes in.  After going through the logs, I see this log output 
that is causing a SELECT statement:

Cached item was locked: com.cache.dataobject.Part.parts#1

What can I change in my annotation mappings, xml files, or logic to keep the 
cached item from being locked?  I would really like to get rid of that select 
statement.

I included the Entity, DataObject, code I am testing with, and log output.  


Hibernate version: 3.4

EHCache Version: 1.2.3 (Included with Hibernate Download)

Part DataObject

package com.cache.dataobject;
  | 
  | import java.io.Serializable;
  | import java.lang.String;
  | import java.util.List;
  | 
  | import javax.persistence.*;
  | 
  | import org.hibernate.annotations.Cache;
  | import org.hibernate.annotations.CacheConcurrencyStrategy;
  | 
  | import static javax.persistence.CascadeType.ALL;
  | 
  | /**
  |  * Entity implementation class for Entity: Part
  |  * 
  |  */
  | @Entity
  | @Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
  | public class Part implements Serializable {
  | 
  | private int id;
  | private String name;
  | private static final long serialVersionUID = 1L;
  | private Part mainPart;
  | private ListPart parts;
  | 
  | public Part() {
  | super();
  | }
  | 
  | @Id
  | public int getId() {
  | return this.id;
  | }
  | 
  | public void setId(int id) {
  | this.id = id;
  | }
  | 
  | @Column(name = PART_NAME)
  | public String getName() {
  | return this.name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | 
  | @ManyToOne(cascade = ALL)
  | public Part getMainPart() {
  | return mainPart;
  | }
  | 
  | public void setMainPart(Part mainPart) {
  | this.mainPart = mainPart;
  | }
  | 
  | @OneToMany(cascade = ALL)
  | @JoinColumn(name = mainPart_id, referencedColumnName = id)
  | @Cache(usage = CacheConcurrencyStrategy.READ_WRITE)
  | public ListPart getParts() {
  | return parts;
  | }
  | 
  | public void setParts(ListPart parts) {
  | this.parts = parts;
  | }
  | 
  | }

CacheDao
package com.cache.dao;
  | 
  | import java.util.List;
  | 
  | import javax.ejb.Stateless;
  | import javax.persistence.EntityManager;
  | import javax.persistence.PersistenceContext;
  | import javax.persistence.Query;
  | 
  | import com.cache.dataobject.Part;
  | 
  | /**
  |  * Session Bean implementation class CacheDao
  |  */
  | @Stateless(mappedName = ejb/CacheDao)
  | public class CacheDao implements CacheDaoRemote {
  | 
  | @PersistenceContext(unitName=CacheProjectUnit)
  | EntityManager em;
  | 
  | /**
  |  * Default constructor. 
  |  */
  | public CacheDao() {
  | // TODO Auto-generated constructor stub
  | }
  | 
  | public Part addPart(Part part){
  | System.out.println(CALLED PERSIST);
  | em.persist(part);
  | return part;
  | }
  | 
  | public Part updatePart(Part part){
  | System.out.println(CALLED MERGE);
  | em.merge(part);
  | return part;
  | }
  | 
  | }

Test Client Code

  | package com.cache.dao;
  | 
  | import java.util.ArrayList;
  | import java.util.List;
  | 
  | import javax.naming.InitialContext;
  | import javax.naming.NamingException;
  | 
  | import com.cache.dao.CacheDaoRemote;
  | import com.cache.dataobject.Part;
  | 
  | 
  | public class test {
  | 
  | /**
  |  * @param args
  |  */
  | public static void main(String[] args) {
  | InitialContext ctx;
  | try {
  | ctx = new InitialContext();
  | CacheDaoRemote dao = (CacheDaoRemote) 
ctx.lookup(ejb/CacheDao);
  | Part computer = new Part();
  | computer.setId(1);
  | computer.setName(Computer);
  | 
  | ListPart parts = new ArrayListPart();
  | 
  | Part cpu = new Part();
  | cpu.setId(2);
  | cpu.setName(CPU);
  | 
  | Part monitor = new Part();
  | monitor.setId(3);
  | monitor.setName(Monitor);
  | 
  | parts.add(cpu);
  | parts.add(monitor);
  | 
  | 

[jboss-user] [JBossMQ] - Re: UIL2 ReadTask / WriteTask thread leak on 4.0.5 GA

2009-03-15 Thread gogoasa
There is an incantation you *must* follow when you send/receive your JMS 
message. If you don't close the connection, the session or whatever, you get 
this. So make sure in all the points where you use JMS, you properly close 
things up.

And, as I said, enable TRACE in log4j.xml in order to see where your problem 
comes from.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218105#4218105

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218105
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Can't deploy EAR on JBoss 5.0.1 (Mac OS)

2009-03-15 Thread buki79
I deployed the two projects (web client war file and ejb jar file), which form 
the EAR project, separatly. The war works, but the ejb produced the same error.

When I look into the deploy directory, I see that the two files (.war and .jar) 
are regular directories. Is this correct or the reason for my problem. And if 
this is the problem, how can I solve it? The war and the jar files are created 
by eclipse (with jboss tools 3.0.0.CR2-R200901280154)



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218107#4218107

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218107
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Do a transactional call to a remote EJB

2009-03-15 Thread luizroos
How can I do a call from a EJB3 in server 'A' (EJB_A) to other EJB3 in server 
'B' (EJB_B), and the call be transactional? EJB_A and EJB_B update data on its 
own XA datasource

I did it in jboss 5 with JTS, but we can't use jboss 5, both servers are jboss 
4.2.3, and JTS doesn't work.

My ideia now is lookup from EJB_A the UserTransaction of the server B, and if 
happen some problem in EJB_A, I do the rollback on UT of server B.
But, when I lookup the UserTransaction of the server B from EJB_A, instead get 
a ClientUserTransaction, I'm getting a ServerVMClientUserTransaction and it's 
not working.

Do you have any help, link, wiki, other ideia, anything to do this call 
transactional in jboss 4.2.3?!

thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218112#4218112

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218112
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Database Changes between 3.3.1 and 3.2.6

2009-03-15 Thread insumo
I have just downloaded jBPM 3.2.6 SP1 after running 3.3.1, and have found that 
the Oracle database schema has changed, specifically replacing CLOB fields with 
VARCHAR2(4000) fields.

I have been able to find Jira tickets for problems with 4000 char fields, 
(truncation etc) and fixes that use on Sybase TEXT fields instead of 
VARCHAR(4000), however I have not found anything about reverting from TEXT/CLOB 
back to fixed length fields.

So, is there a specific reason for reverting back to 4000 char fields, or is 
this an unintended regression issue?

Thanks in advance
Steve

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218113#4218113

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218113
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Get process definition

2009-03-15 Thread insumo
You can use any one of...
JbpmContext.getGraphSession().findAllProcessDefinitions()
JbpmContext.getGraphSession().findLatestProcessDefinitions()

JbpmContext.getGraphSession().findAllProcessDefinitionVersions(String name)
JbpmContext.getGraphSession().findLatestProcessDefinition(String name)

Cheers
Steve

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218116#4218116

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218116
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - What i can i do if my action handler of node executing for a

2009-03-15 Thread littlejc
Hi, all, this is my first post here.
i have a question Does jBPM have time out attribute can interrupt the 
execution of action hadler of node .

I want to do the system automation using the jBPM.
In order to anvoid the execution time of some actionhandler too long(maybe 
something wrong or enter an infinite loop), So i add a timer in the node, but 
it seems not work successful (i add the Thread.sleep(15 seconds) in 
myActionHandler).

node name=node1 
   
   

 
 

Does any other approaches that i can do that? 
Thanks~



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218120#4218120

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218120
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: What i can i do if my action handler of node executing f

2009-03-15 Thread littlejc
My Test Case: 

  | node name=node1 
  |   action name=node1action calss=com.xxx.xxx.myActionHandler 
  |   /action 
  | timer name=mytimer duedate=6 secondstransition=to_timeout_state/
  | transition to=end name=to_end/ 
  | /node 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218122#4218122

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218122
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - H2 DB Integration w/ JBoss Tools

2009-03-15 Thread jnt30
Hello All, 
I was trying to work through some of the examples in the Seam In Action book, 
which utilizes an H2 DB.

When in Eclipse, I have set up an H2 driver based off of the Generic JDBC 
template and can connect to the DB correctly via the DB perspective, can ping 
the DB correctly via the Test Connection via the Settings screen in the 
seam gen GUI, however when I go to the Seam Generate Entities and try to 
reverse engineer the DB into entities when I try refreshing the DB and it gives 
a message in the database listings Couldn't connect to Database.

I'm guessing I'm just doing something stupid, but I'm not really sure as both 
Seam and H2 are new to me.  Any pointers for the new kid?

Cheers, 
Justin N. 
Chicago, IL

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218124#4218124

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218124
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Server Hang due to dead Lock

2009-03-15 Thread rseetharaman
Hi,

We use jboss-messaging-1.4.0.SP1. We currently have four nodes. we start the 
server using the messaging configuration (-c messaging).

Please find below our messaging-service.xml.

Best Regards,
Ranga.

?xml version=1.0 encoding=UTF-8?
  | 
  | !--
  |  The JBoss Messaging service deployment descriptor.
  | 
  |  $Id: messaging-service.xml 3204 2007-10-19 12:42:17Z timfox $
  |  --
  | 
  | server
  | 
  |!-- ServerPeer MBean configuration
  | == --
  | 
  |mbean code=org.jboss.jms.server.ServerPeer
  |   name=jboss.messaging:service=ServerPeer
  |   xmbean-dd=xmdesc/ServerPeer-xmbean.xml
  | 
  |   !-- The unique id of the server peer - in a cluster each node MUST 
have a unique value - must be an integer --
  | 
  |   attribute name=ServerPeerID134567/attribute
  |   
  |   !-- The default JNDI context to use for queues when they are 
deployed without specifying one -- 
  |   
  |   attribute name=DefaultQueueJNDIContext/queue/attribute
  |   
  |   !-- The default JNDI context to use for topics when they are 
deployed without specifying one -- 
  |   
  |   attribute name=DefaultTopicJNDIContext/topic/attribute
  | 
  |   attribute 
name=PostOfficejboss.messaging:service=PostOffice/attribute
  |   
  |   !-- The JAAS security domain to use for JBoss Messaging --
  |   
  |   attribute name=SecurityDomainjava:/jaas/messaging/attribute
  |   
  |   !-- The default security configuration to apply to destinations - 
this can be overridden on a per destination basis --
  |   
  |   attribute name=DefaultSecurityConfig
  | security
  | role name=guest read=true write=true create=true/
  | /security
  |   /attribute
  |   
  |   !-- The default Dead Letter Queue (DLQ) to use for destinations.
  |This can be overridden on a per destinatin basis --
  |   
  |   attribute 
name=DefaultDLQjboss.messaging.destination:service=Queue,name=DLQ/attribute
  |   
  |   !-- The default maximum number of times to attempt delivery of a 
message before sending to the DLQ (if configured).
  |This can be overridden on a per destinatin basis --
  |   
  |   attribute name=DefaultMaxDeliveryAttempts10/attribute
  |   
  |   !-- The default Expiry Queue to use for destinations. This can be 
overridden on a per destinatin basis --
  |   
  |   attribute 
name=DefaultExpiryQueuejboss.messaging.destination:service=Queue,name=ExpiryQueue/attribute
  |   
  |   !-- The default redelivery delay to impose. This can be overridden 
on a per destination basis --
  |   
  |   attribute name=DefaultRedeliveryDelay0/attribute
  |   
  |   !-- The periodicity of the message counter manager enquiring on 
queues for statistics --
  |   
  |   attribute name=MessageCounterSamplePeriod5000/attribute
  |   
  |   !-- The maximum amount of time for a client to wait for failover to 
start on the server side after
  |it has detected failure --
  |   
  |   attribute name=FailoverStartTimeout6/attribute
  |   
  |   !-- The maximum amount of time for a client to wait for failover to 
complete on the server side after
  |it has detected failure --
  |   
  |   attribute name=FailoverCompleteTimeout30/attribute
  |   
  |   !-- The maximum number of days results to maintain in the message 
counter history --
  |   
  |   attribute name=DefaultMessageCounterHistoryDayLimit-1/attribute
  |   
  |   !-- The name of the connection factory to use for creating 
connections between nodes to pull messages --
  |   
  |   attribute 
name=ClusterPullConnectionFactoryNamejboss.messaging.connectionfactory:service=ClusterPullConnectionFactory/attribute
  |   
  |   !-- Use XA when pulling persistent messages from a remote node to 
this one. --
  |   
  |   attribute name=UseXAForMessagePullfalse/attribute
  |   
  |   !-- When redistributing messages in the cluster. Do we need to 
preserve the order of messages received
  | by a particular consumer from a particular producer? --
  | 
  |   attribute name=DefaultPreserveOrderingfalse/attribute
  |   
  |   !-- Max. time to hold previously delivered messages back waiting for 
clients to reconnect after failover --
  |   
  |   attribute name=RecoverDeliveriesTimeout30/attribute
  |   
  |   !-- The password used by the message sucker connections to create 
connections.
  |THIS SHOULD ALWAYS BE CHANGED AT INSTALL TIME TO SECURE SYSTEM 
--
  |   attribute name=SuckerPasswordtyigtbhj/attribute
  |   
  | 
  |   depends 
optional-attribute-name=PersistenceManagerjboss.messaging:service=PersistenceManager/depends
  |   
  |   depends 

[jboss-user] [JBoss jBPM] - Custom assignment handler in Process Designer

2009-03-15 Thread insumo
According to [JBPM-769] the way to use ones own identity implementation for 
task assignment is to specify a handler class.

The example given is...

  | task name=create jira task
  |   assignment handler=com.owens.OwensAssignment
  |  
expressionthis.expressiontext--is[injected].in.the.expression.field=of-the--assignment[handler].class/expression
  |   /assignment
  | /task
  | 

However it appears that it is not possible to specify the expression via the 
Process Designer, it can only be entered directly into the XML.

So, is there something I'm missing, or should a feature request be created to 
permit the inclusion of an expression when using a custom handler?

Thanks in advance
Steve

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218126#4218126

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218126
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jBPM 4 Developers Guide

2009-03-15 Thread Zeppelinux
I'm not sure why there is no reply... 

Is it too early to ask questions about version 4?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218127#4218127

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218127
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - What login-module will JBoss AS 5.0 provide/include?

2009-03-15 Thread dickson1888
I know that the following login-module provided by JBoss 5.0.  

1. org.jboss.security.auth.spi.UsersRolesLoginModule
2. org.jboss.security.auth.spi.LdapLoginModule

Do anyone know if there is other login-module which JBoss As 5.0 provide by 
default?  Or does any document describe the list or usage of login-module 
provided by JBoss 5.0?

Thanks for any help.  



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218128#4218128

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218128
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Archive tool destination

2009-03-15 Thread rob.stry...@jboss.com
It rebuilds the archive because other users got annoyed, if they didn't have 
automatic building on, that they'd have to build their project, then rebuild 
the archive, then republish the archive, 

It was requested that instead of this, republish should also rebuild.

And so it does. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218129#4218129

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218129
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: basic authentication against unix password file?

2009-03-15 Thread anil.saldh...@jboss.com
Thanks for the info on jpam.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218130#4218130

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218130
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Remove portlet Maximize button.

2009-03-15 Thread peris
Thankyou apemberton and Fuchs. 
I have set the following code in css.


visibility:hidden;
position:absolute;left:-em; 

It is working fine.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218131#4218131

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218131
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Server Hang due to dead Lock

2009-03-15 Thread gaohoward
I can't see anything wrong in your configure file. You may consider upgrade the 
messaging, as we have fixed quite a number of jira issues since sp1. Your 
problem may have already fixed in the later versions if JBM.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218132#4218132

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218132
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Server Hang due to dead Lock

2009-03-15 Thread rseetharaman
Hi,

Is there a specific version that you would recommend that we upgrade to.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218133#4218133

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218133
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Server Hang due to dead Lock

2009-03-15 Thread gaohoward
 I suggest you to use JBM 1.4.2.GA.SP1 if you are using JBOSS 4.x.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4218134#4218134

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4218134
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user