[jboss-user] [Installation, Configuration DEPLOYMENT] - where to put shared jar in ear file

2009-06-22 Thread javatwo
For an ear file that contains two web modules that use one common lib jar, 
where to put the common lib jar? Thanks!

Dave

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

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


[jboss-user] [JBoss jBPM] - What's the stable version of Jbpm

2009-06-22 Thread richfaces_expert
Please i have a problem with JBPM.I want to know what's the last stable and 
full version of jbpm as well as its documentation because i will use it in 
production.
Thank you

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: where to put shared jar in ear file

2009-06-22 Thread PeterJ
You never said which version of JBoss AS so I will assume 5.0.x or 5.1.0. 
Create a 'lib' directory within the EAR and place the common JAR there. Here's 
and example EAR file layout:

first.war
second.war
lib/common.jar
META-INF/application.xml

There is no need to reference the common.jar in application.xml (unless you are 
not using AS 5.x...)

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer XSDs not in /docs/schema

2009-06-22 Thread Wolfgang Knauf
Done: https://jira.jboss.org/jira/browse/JBMICROCONT-446

Wolfgang

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

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


[jboss-user] [Microcontainer] - Re: Microcontainer XSDs not in /docs/schema

2009-06-22 Thread Wolfgang Knauf
And: https://jira.jboss.org/jira/browse/JBAS-7043

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

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


[jboss-user] [JBoss jBPM] - How to model this process??

2009-06-22 Thread frantisek.ko...@gmail.com
Hi, I have one interesting real world process and don't find the right elements 
to express it. This will be only part of a process. Of course u can advice me 
to code some custom nodes (more specifically Behaviors), we already use PVM. I 
can code this process with process specific nodes but I'm interested in some 
general nodes I can reuse. Also u can advice me what to put in a statemachine 
of object and what into the process logic.

BTW I think it is not a simple object state machine but a workflow or 
combination of both. Look at the process of reviewing.

In process are two role AUTHOR and REVIEWER. Process is about document with 3 
states. CREATED--REVIEWING--ACCEPTED

1. AUTHOR creates document and it is in state CREATED. Author can edit this 
document.
2. If AUTHOR's job is done he moves document to state REVIEWING.
3. There is a ordered list with REVIEWERs which is computed, when document 
comes to this state (given by runtime not definition, in definition is only 
computation). Tasks with reviewing are sequentially created or enabled for 
every REVIEWER. That means if first REVIEWER finish reviewing only then second 
REVIEWER has task to review document.
4. If last reviewer finish reviewing document comes to state ACCEPTED and some 
logic is done.
5. When document is in state REVIEWING, AUTHOR can every time put document back 
to state CREATED. I than time all unfinished task for REVIEWER should be 
deleted/deactivated. When AUTHOR put document to state REVIEWING all the 
REVIEWERs  has to review the document. (Even those who reviewed it already, 
because document changed).


Complicated to do are steps 3. and 5. 5 is more complicated for me. 

I can solve step 3 in two ways, even creating general behavior. Which one is 
better if any?
- Creating special SerialTask. I create serial  tasks for all the REVIEWERs. 
They are in state Inactive if first ends it activates second task and so on. 
When last ends it signals the token.
- Creating a special node. In this node One can specify how the first task 
should look like and how the next task should look like. So it gets the list of 
REVIEWERs and creates first task for the first in the list. Than it creates 
second task if first is finished. It gets the list and look who is next.. So in 
the condition for next task one can use previous task as variable. If there are 
no more REVIEWERs it will signal token.


Thank you for your help!

Fero


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

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


[jboss-user] [EJB 3.0] - Stateful bean fail to deploy - JBoss 5.1.0.GA

2009-06-22 Thread kpupkov
JBoss samples can be deployed without error. However my classes failed to load.

  | package connection.bean;
  | 
  | import java.util.Collection;
  | import java.util.HashMap;
  | 
  | public interface DocumentFacade {
  | 
  | Collection getProjectNameByLogin(String login);
  | 
  | String getRM(String projectName);
  | 
  | HashMap getCreatives(String login);
  | 
  | byte[] getArchiveByProjectName(String projectName);
  | }
  | 
Implementation:
package connection.bean;
  | 
  | import java.io.ByteArrayOutputStream;
  | import java.io.File;
  | import java.io.FileInputStream;
  | import java.io.FileNotFoundException;
  | import java.io.Serializable;
  | import java.util.ArrayList;
  | import java.util.Arrays;
  | import java.util.Collection;
  | import java.util.Collections;
  | import java.util.HashMap;
  | import java.util.HashSet;
  | import java.util.Iterator;
  | import java.util.List;
  | 
  | import javax.ejb.Stateful;
  | import javax.ejb.Remote;
  | import javax.ejb.Remove;
  | import javax.persistence.PersistenceContext;
  | 
  | @Stateful
  | @Remote(DocumentFacade.class)
  | public class DocumentFacadeBean implements DocumentFacade,Serializable {
  | @PersistenceContext
  | private UserFacade user = null;
  | 
  | public Collection getProjectNameByLogin(String login) {
  | List list = new ArrayList();
  | // FIXME homeProject
  | Collection col = null;// homeProject.getByLogin(login);
  | Iterator itr = col.iterator();
  | while (itr.hasNext()) {
  | String name = (String) itr.next();
  | list.add(name);
  | }
  | return list;
  | }
  | 
  | 
  | public String getRM(String projectName) {
  | FileInputStream fis = null;
  | try {
  | fis = new FileInputStream(rm + 
projectName.toUpperCase() + .xml);
  | } catch (FileNotFoundException ex) {
  | return ;
  | }
  | ByteArrayOutputStream baos = new ByteArrayOutputStream();
  | byte b[] = new byte[1024];
  | int r = -1;
  | try {
  | if (fis != null) {
  | while ((r = fis.read(b)) != -1) {
  | baos.write(b, 0, r);
  | }
  | }
  | fis.close();
  | return baos.toString();
  | } catch (Exception e) {
  | return ;
  | }
  | }
  | 
  | 
  | public java.util.HashMapString, byte[] getCreatives(String login) {
  | HashMapString, byte[] map = new HashMapString, byte[]();
  | Collection col = null;// homeProject.getByLogin(login);
  | Iterator itr = col.iterator();
  | while (itr.hasNext()) {
  | String name = (String) itr.next();
  | byte[] b = null;//getArchiveByLogin(login, name);
  | map.put(name, b);
  | }
  | return map;
  | }
  | 
  | 
  | public byte[] getArchiveByProjectName(String projectName) {
  | return null;
  | }
  | 
  | }
  | 

error:
  | 2009-06-21 10:17:27,548 DEBUG [org.jboss.ejb3.session.ProxyDeployer] (main) 
default remote binding has jndiName of DocumentFacadeBean/remote
  | 2009-06-21 10:17:27,549 DEBUG [org.jboss.ejb3.Ejb3Registry] (main) 
Unregistered container 
jboss.j2ee:jar=dfserver.jar,name=DocumentFacadeBean,service=EJB3,VMID=583c10bfdbd326ba:da2fe9b:12203d1cd17:-7ff9
  | 2009-06-21 10:17:27,549 DEBUG [org.jboss.ejb3.Ejb3Registry] (main) 
Unregistered container 
jboss.j2ee:jar=dfserver.jar,name=UserFacadeBean,service=EJB3,VMID=583c10bfdbd326ba:da2fe9b:12203d1cd17:-7ff9
  | 2009-06-21 10:17:27,549 DEBUG [org.jboss.ejb3.Ejb3Deployment] (main) error 
trying to stop ejb deployment: null
  | javax.management.RuntimeOperationsException
  | at 
org.jboss.mx.server.registry.BasicMBeanRegistry.get(BasicMBeanRegistry.java:512)
  | at 
org.jboss.mx.server.MBeanServerImpl.unregisterMBean(MBeanServerImpl.java:383)
  | at 
org.jboss.ejb3.Ejb3Deployment.unregisterDeployment(Ejb3Deployment.java:440)
  | at org.jboss.ejb3.Ejb3Deployment.destroy(Ejb3Deployment.java:747)
  | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:501)
  | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:182)
  | at org.jboss.ejb3.deployers.Ejb3Deployer.deploy(Ejb3Deployer.java:99)
  | at 
org.jboss.deployers.vfs.spi.deployer.AbstractVFSRealDeployer.internalDeploy(AbstractVFSRealDeployer.java:45)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | at 

[jboss-user] [JBoss jBPM] - Re: JBPM4: running multiple PVMs in

2009-06-22 Thread frantisek.ko...@gmail.com
Yup, you are right. Only with timers/asynchronous behaviors can be problem when 
running in multiple threads, you need to synchronize it using JobExecutor or 
Quark library.. Running multiple instances of jBPM is probably meant as running 
it in multiple web/application server threads. And there is only a problem when 
the same process run for two users, and even not always. It is the same as when 
one object is edited in two threads. It is matter of configuration of your ORM 
and database (and there are a lot of options) not a matter of application 
itself.

Fero


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

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


[jboss-user] [JBoss jBPM] - Error in documentation 8.1.6

2009-06-22 Thread miggfried
In the doku 3.2.3 there is one error.

http://docs.jboss.com/jbpm/v3.2/userguide/html/thejbpmdatabase.html#d0e2823

8.1.6. Update the JBoss jBPM Server Configuration


  
java:/jbpm/JbpmConfiguration
jboss.jca:service=DataSourceBinding,name=JbpmDS
  



The class org.jbpm.db.jmx.JbpmService does not exist.

What configuration settings are here correct?






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

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


[jboss-user] [Advanced Documentation] - Re: JBoss configuration to allow CAB and MSI files

2009-06-22 Thread PeterJ
You should be able to place them in your local web.xml because the global one 
is merged with the local one to create the settings used for your web app. My 
guess is that one of the mappings (servlet, perhaps?) in your web.xml is 
causing those files to be passed to your code for processing. I added a couple 
of links to and MSI and CAB file in one of my apps and when I clicked on the 
link I got the file download box, as expected.

Wait a second, What browser are you using? I used Firefox. Then I tried IE and 
it displayed the binary contents of each file. You'd think that the M$ guys 
would be smart enough to tell IE what to do with MSI and CAB files. Sigh.

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

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


[jboss-user] [JBossWS] - Re: JAX-WS from Sessions Bean fails due to missing org/jboss

2009-06-22 Thread saul_bull
aaahola que tal

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

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


[jboss-user] [JBossWS] - Re: JAX-WS from Sessions Bean fails due to missing org/jboss

2009-06-22 Thread saul_bull
aqa

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

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


[jboss-user] [Clustering/JBoss] - Re: How to check whether Jboss has joined cluster?

2009-06-22 Thread Allen_Lei
It seems that one JBoss node not join ths cluster as you can see only one ip 
address by the CurrentView field.Does both of the two JBoss instances use the 
same ip address with different ports?If so,you can see the folowing in the 
CurrentView field:

i.e.
[10.1.1.31:1099, 10.1.1.31:1299] 

You can check this.

And if you use apache and mod_jk for loadbalance,then you can monitor it with 
jkstatus page.

Hope this will help you.

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

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


[jboss-user] [JBoss Portal] - Re: Why JSF portlet show null

2009-06-22 Thread uxa
my three files is

portlet.xml

  | ?xml version=1.0 encoding=UTF-8 standalone=yes?
  | portlet-app version=1.0
  | 
xsi:schemaLocation=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd;
  | 
  | portlet
  | portlet-nameSimplestHelloWorld/portlet-name
  | portlet-class
  | com.king.SimplestHelloWorldPortlet
  | /portlet-class
  | supports
  | mime-typetext/html/mime-type
  | /supports
  | portlet-info
  | titleSimplest Hello World Portlet/title
  | /portlet-info
  | /portlet
  | /portlet-app
  | 

portlet-instance.xml

  | ?xml version=1.0 standalone=yes?
  | !DOCTYPE deployments PUBLIC
  | -//JBoss Portal//DTD Portlet Instances 2.6//EN
  | http://www.jboss.org/portlet/dtd/portlet-instances_2_6.dtd;
  | deployments
  | deployment
  | instance
  | instance-idSimplestHelloWorldInstance/instance-id
  | portlet-refSimplestHelloWorld/portlet-ref
  | /instance
  | /deployment
  | /deployments
  | 

default-object.xml

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE deployments PUBLIC
  | -//JBoss Portal//DTD Portal Object 2.6//EN
  | http://www.jboss.org/portal/dtd/portal-object_2_6.dtd;
  | deployments
  | deployment
  | parent-refdefault/parent-ref
  | if-existsoverwrite/if-exists
  | page
  | page-nameSimplestHelloWorld/page-name
  | window
  | 
window-nameSimplestHelloWorldWindow/window-name
  | content
  | content-typeportlet/content-type
  | content-uri
  | SimplestHelloWorldInstance
  | /content-uri
  | /content
  | regioncenter/region
  | height0/height
  | /window
  | /page
  | /deployment
  | /deployments
  | 

when I depoly, I can't see portlet instance be created.
my file structure is 

SimpleHelloWorld
--MEAT-INF
--WEB-INF
  --classes
--com
  --king
--SimplestHelloWorldPortlet.class
  --css
  --images
  --lib
  --default-object.xml
  --jboss-app.xml
  --portlet-instance.xml
  --portlet.xml
  --web.xml


Is anywhere wrong?

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

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


[jboss-user] [JBoss Portal] - Re: Why JSF portlet show null

2009-06-22 Thread uxa
my three files is

portlet.xml

  | ?xml version=1.0 encoding=UTF-8 standalone=yes?
  | portlet-app version=1.0
  | 
xsi:schemaLocation=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd 
http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd;
  | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  | xmlns=http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd;
  | 
  | portlet
  | portlet-nameSimplestHelloWorld/portlet-name
  | portlet-class
  | com.king.SimplestHelloWorldPortlet
  | /portlet-class
  | supports
  | mime-typetext/html/mime-type
  | /supports
  | portlet-info
  | titleSimplest Hello World Portlet/title
  | /portlet-info
  | /portlet
  | /portlet-app
  | 

portlet-instance.xml

  | ?xml version=1.0 standalone=yes?
  | !DOCTYPE deployments PUBLIC
  | -//JBoss Portal//DTD Portlet Instances 2.6//EN
  | http://www.jboss.org/portlet/dtd/portlet-instances_2_6.dtd;
  | deployments
  | deployment
  | instance
  | instance-idSimplestHelloWorldInstance/instance-id
  | portlet-refSimplestHelloWorld/portlet-ref
  | /instance
  | /deployment
  | /deployments
  | 

default-object.xml

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE deployments PUBLIC
  | -//JBoss Portal//DTD Portal Object 2.6//EN
  | http://www.jboss.org/portal/dtd/portal-object_2_6.dtd;
  | deployments
  | deployment
  | parent-refdefault/parent-ref
  | if-existsoverwrite/if-exists
  | page
  | page-nameSimplestHelloWorld/page-name
  | window
  | 
window-nameSimplestHelloWorldWindow/window-name
  | content
  | content-typeportlet/content-type
  | content-uri
  | SimplestHelloWorldInstance
  | /content-uri
  | /content
  | regioncenter/region
  | height0/height
  | /window
  | /page
  | /deployment
  | /deployments
  | 

when I depoly, I can't see portlet instance be created.
my file structure is 


  | SimpleHelloWorld
  | --MEAT-INF
  | --WEB-INF
  |   --classes
  | --com
  |   --king
  | --SimplestHelloWorldPortlet.class
  |   --css
  |   --images
  |   --lib
  |   --default-object.xml
  |   --jboss-app.xml
  |   --portlet-instance.xml
  |   --portlet.xml
  |   --web.xml
  | 
  |   | 
  |   | Is anywhere wrong?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: where to put shared jar in ear file

2009-06-22 Thread javatwo
yes. we use JBoss 5.0.1.GA.
Thanks for help.

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

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


[jboss-user] [JBoss Portal] - Re: coordination features in jboss portal

2009-06-22 Thread ariel_red
Thanks for your help. I really get quite useful suggestion.Now I'm reading the 
portal-coordination-samples.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: where to put shared jar in ear file

2009-06-22 Thread javatwo
The two web modules share some css and java scripts files. Can we put them in a 
common place? Right now they are in each web module war file.

How about jsp files? for shared jsp files, can they be put in common place too?

Thanks,
Dave

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

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


[jboss-user] [JBoss Portal] - Re: Why JSF portlet show null

2009-06-22 Thread jpviragine
uxa,

Change your default-object.xml to:

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE deployments PUBLIC
  | -//JBoss Portal//DTD Portal Object 2.6//EN
  | http://www.jboss.org/portal/dtd/portal-object_2_6.dtd;
  | deployments
  | deployment
  | parent-refdefault/parent-ref
  | if-existsoverwrite/if-exists
  | page
  | page-nameSimplestHelloWorld/page-name
  | window
  | 
window-nameSimplestHelloWorldWindow/window-name
  | 
instance-refSimplestHelloWorldInstance/instance-ref
  | regioncenter/region
  | height0/height
  | /window
  | /page
  | /deployment
  | /deployments


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

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


[jboss-user] [JBoss Portal] - Re: Why JSF portlet show null

2009-06-22 Thread uxa
I try to use


  | content
  | content-typeportlet/content-type
  | content-uri
  | SimplestHelloWorldInstance
  | /content-uri
  | /content
  | 

or 


  | instance-refSimplestHelloWorldInstance/instance-ref
  | 

the result is the same

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

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


[jboss-user] [JBoss jBPM] - JBPM assign

2009-06-22 Thread LarryLi
Hi,I try to assign a task to a group,anyone can tell me how to do it?

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

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


[jboss-user] [JBoss jBPM] - self-cycle node

2009-06-22 Thread LarryLi
Hello,I want to do a self-cycle node, which could make anyone who complete the 
task get to design whether the task should be done again by other people or was 
finished and move to next node,How should I do?


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

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


[jboss-user] [JBoss AOP] - Re: Eclipse-plugin for JBoss-AOP?

2009-06-22 Thread flavia.rain...@jboss.com
Nope, unfortunately there isn't any option right now. The plugin is outdated 
and we plan to update it sometime in the future.


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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238942
___
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-06-22 Thread dickson1888
Is it impossible to implement this task?

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

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


[jboss-user] [Security JAAS/JBoss] - Simple Web Form authentication using JAAS with DatabaseServe

2009-06-22 Thread mpurdy1973
i implemented JAAS the best i know how; however, when i enter the correct 
username and password with the correct role, it forwards me to the bad login 
page???  i also get no exceptions in the jboss console.

i am using the username: 'tom' and the password 'tomuser'.  as you can see 
below, tom has a password of 'tomuser' and is in the role of 'admin'

what am i missing???

here is my configuration:

mysql sql code

  | use pyxiswebadmin;
  | drop table users;
  | drop table roles;
  | 
  | create table users
  | ( 
  | username varchar(64) not null primary key, 
  | password varchar(64) not null
  | 
  | );
  | 
  | create table roles
  | (
  |username varchar(64),
  |role varchar(64)
  |  
  | );
  | 
  | insert into users values ('tom',   'tomuser');
  | insert into users values ('dick',  'dickuser');
  | insert into users values ('harry', 'harryuser');
  | 
  | insert into roles value ('tom',   'admin');
  | insert into roles value ('dick',  'audit');
  | insert into roles value ('harry', 'user');
  | 
  | commit;
  | 


mysql database data

  | mysql show tables;
  | +-+
  | | Tables_in_pyxiswebadmin |
  | +-+
  | | roles   |
  | | users   |
  | +-+
  | 2 rows in set (0.00 sec)
  | 
  | mysql select * from users;
  | +--+---+
  | | username | password  |
  | +--+---+
  | | tom  | tomuser   |
  | | dick | dickuser  |
  | | harry| harryuser |
  | +--+---+
  | 3 rows in set (0.00 sec)
  | 
  | mysql select * from roles;
  | +--+---+
  | | username | role  |
  | +--+---+
  | | tom  | admin |
  | | dick | audit |
  | | harry| user  |
  | +--+---+
  | 3 rows in set (0.00 sec)
  | 

login-config

  |   !-- ### --
  |   !-- added for Pyxis Server security --
  |   !-- ### --
  |   application-policy name=pyxis-client-login
  |  authentication
  |login-module 
code=org.jboss.security.auth.spi.DatabaseServerLoginModule flag=required
  |  module-option name=dsJndiNamejava:/pyxisDS/module-option
  |  module-option name=principalsQueryselect password from users 
where username=?/module-option
  |  module-option name=roleQueryselect role, 'Role' from roles 
where username=?/module-option
  |/login-module
  |  /authentication
  |   /application-policy
  | 
  |   !-- ### --
  | 


datasource 

  | ?xml version=1.0 encoding=UTF-8?
  | 
  | datasources
  |   local-tx-datasource
  | jndi-namepyxisDS/jndi-name
  | 
connection-urljdbc:mysql://localhost:3306/pyxiswebadmin/connection-url
  | driver-classorg.gjt.mm.mysql.Driver/driver-class
  | user-namepyxis/user-name
  | passwordpyxisuser/password
  |   /local-tx-datasource
  | 
  | /datasources
  | 

jboss-web.xml

  | jboss-web
  |security-domainjava:/jaas/pyxis-client-login/security-domain
  | /jboss-web
  | 

web.xml

  | ?xml version=1.0 encoding=UTF-8?
  | web-app version=2.5
  |xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |xmlns=http://java.sun.com/xml/ns/javaee;
  |xmlns:web=http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
  |xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd;
  |
  |welcome-file-list
  |  welcome-fileindex.jsp/welcome-file
  |/welcome-file-list
  |
  |security-constraint
  |   web-resource-collection
  |  web-resource-nameHtmlAdaptor/web-resource-name
  |  url-pattern/*/url-pattern
  |  http-methodGET/http-method
  |  http-methodPOST/http-method
  |   /web-resource-collection
  |   auth-constraint
  |  role-nameadmin/role-name
  |   /auth-constraint
  |   user-data-constraint
  |  transport-guaranteeNONE/transport-guarantee
  |   /user-data-constraint
  |/security-constraint
  | 
  |login-config
  |   auth-methodFORM/auth-method
  |   form-login-config
  |  form-login-page/restricted/login.jsp/form-login-page
  |  form-error-page/restricted/bad-login.jsp/form-error-page
  |   /form-login-config
  |/login-config
  | 
  |security-role
  |   role-nameadmin/role-name
  |/security-role
  | 
  | /web-app
  | 



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-22 Thread dickson1888
Thanks Peter.

Can we just use the same DN that include a lot of other information (other 
attributes), such as UserClass, DeptCode, ?

How to use these attributes for the role checking? how to set it in ldap auth 
module?

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

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


[jboss-user] [JBoss AOP] - Re: weaving aspects into applets

2009-06-22 Thread flavia.rain...@jboss.com
It appears that the appletviewer is not compatible with our javaagent?

Have you tried using aopc instead?

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

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


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

2009-06-22 Thread ariel_red
Thank you for your help. I think I had known it .So I will try it.

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

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


[jboss-user] [JBoss jBPM] - Re: self-cycle node

2009-06-22 Thread shekharv
So as part of completing a task, you would like the same person to review 
whether the task was done properly?

Could that just be workflow step? Or a decision node?

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

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


[jboss-user] [EJB 3.0] - Re: Stateful bean fail to deploy - JBoss 5.1.0.GA

2009-06-22 Thread jaikiran
anonymous wrote : 2009-06-21 10:17:27,549 DEBUG 
[org.jboss.ejb3.deployers.Ejb3Deployer] (main) Error during deploy: 
vfszip:/jboss/server/default/deploy/dfserver.jar/
  | org.jboss.deployers.spi.DeploymentException: Error deploying dfserver.jar: 
Error creating ejb container DocumentFacadeBean: Container 
jboss.j2ee:jar=dfserver.jar,name=DocumentFacadeBean,service=EJB3,V
  | MID=583c10bfdbd326ba:da2fe9b:12203d1cd17:-7ff9 + is already registered
  | 

Is there any other bean with the same name in that jar file? Also are there any 
other jar files which have this bean? Can you try deploying only this single 
bean through that jar? Want to make sure that you are not deploying the same 
bean more than once.


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

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


[jboss-user] [JBoss Messaging] - Re: Client program exception

2009-06-22 Thread gaohoward
Did you update your remoting to 2.2.3?

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

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


[jboss-user] [JBoss jBPM] - ESB node

2009-06-22 Thread LarryLi
Hello everyone, I want to configure an ESB node, through the jbosstools I get 
the following node information, but my ESB service is on another server, such 
as IP 192.168.0.123, How should I do?


  | node name=esb
  | action 
class=org.jboss.soa.esb.services.jbpm.actionhandlers.EsbActionHandler
  | esbServiceName
  | sayhello
  | /esbServiceName
  | esbCategoryName
  | say
  | /esbCategoryName
  | /action
  | transition to=end/transition
  | /node
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM4 Spring Error while deploying process definition

2009-06-22 Thread flavio.donze
hey rams.rapol

I had the same issue. In my case I had to add the following annotation

@Transactional(propagation = Propagation.REQUIRED, rollbackFor = 
Exception.class)

to the method that deployed my processes.

If you're not using annotations define it in your spring configuration using 
tx.

hope this helps.
flavio

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

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


[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-22 Thread jaikiran
After some discussion about this, with Richard, in the JCA forum this now looks 
like either a bug or an unsupported feature in JBoss Messaging 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4238959#4238959

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

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


[jboss-user] [JBoss Messaging] - Re: Client program exception

2009-06-22 Thread gaohoward
and if you want to set the client id from you client, you need to keep the 
client-id column in JBM_USER null.


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

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


[jboss-user] [JBoss Messaging] - Re: Ordering Group and Queue-FullSize reload problem

2009-06-22 Thread gaohoward
https://jira.jboss.org/jira/browse/JBMESSAGING-1664

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

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


[jboss-user] [JBoss Portal] - Jboos Portal 2.6.4(Set Window State)

2009-06-22 Thread submoh
Hi,

I am using jboss-portal-2.6.4. Currently my portal page contains 5 diff 
portlets. I am trying to set diff window state(Maximize/Minimize) for diff 
portlet.

Can any body tell me the way how can i achieve this.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: where to put shared jar in ear file

2009-06-22 Thread jaikiran
I don't think that would be possible because the jsp, .js and css belong to a 
web application context. So whenever you request those resources they are 
looked for within that context. And since each web app has its own context, you 
probably wont be able to share this.


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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JBosscache dirty read even though isolation is REPEATABL

2009-06-22 Thread mircea.markus
Are you running both EJB's in the same JVM? That would explain it, as TX 
rollback won't affect the changes you've done to TestEntity, only the 
operations you've done on cache. That is  the changes TestEntity.update does on 
the object won't be affected by the TransactionManager.rollback call. Following 
will be affected though:

cache.put(fqn, key, 1);
  | tm.begin();
  | cache.put(fqn, key, 2);
  | tm.rollback();
  | assert cache.get(fqn, key).equals(1) : this is true, won't fail!!!;

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

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


[jboss-user] [JBoss Messaging] - Re: JBOSS Messaging Error

2009-06-22 Thread gaohoward
Hi,

I'm afraid you didn't use setClientID correctly. Please see the following API 
doc:

anonymous wrote : 
  | If a client sets the client identifier explicitly, it must do so 
immediately after it creates the connection and before any other action on the 
connection is taken. After this point, setting the client identifier is a 
programming error that should throw an IllegalStateException. 
  | 


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

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


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

2009-06-22 Thread clebert.suco...@jboss.com
JBoss Messaging 2.0.0. Beta 3 has been released.


Beta 3 is a minor update on Beta 2.

As we said last week, we are following the mantra release early, release 
often.


Get it here: http://www.jboss.org/jbossmessaging/downloads/ 


Enjoy

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

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


[jboss-user] [EJB 3.0] - Re: How to ignore persistence unit loading

2009-06-22 Thread kariem
Thank you for taking the time to look at this.

jaikiran wrote : Where in the WAR file is this jar containing persistence.xml 
located? As far as i know, the WEB-INF/lib folder of an WAR is not scanned for 
deployments. So that should have skipped the persistence unit from deploying. 
But i will have to look at this once more to see if that's not how its expected 
to behave.

The JAR containing the  persistence unit is located in WEB-INF/lib/xxx.jar.

According to the EJB 3 persistence spec (JPA 1.0) section 6.2, the following 
location may contain the root of a persistence unit (root means the jar file or 
directory whose META-INF directory contains the persistence.xml):
anonymous wrote : 
  |   | * an EJB-JAR file
  |   | * the WEB-INF/classes directory of a WAR file
  |   | * a jar file in the WEB-INF/lib directory of a WAR file
  |   | * a jar file in the root of the EAR
  |   | * a jar file in the EAR library directory
  |   | * an application client jar file
  |   | 

That means that the persistence unit should be scanned with this type of 
packaging (item 3 in the list above).

Is there a way in JBoss (or generally in JEE) to prevent this scanning?

Thank you,
Kariem

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

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


[jboss-user] [EJB 3.0] - Re: How to ignore persistence unit loading

2009-06-22 Thread jaikiran
Where in the WAR file is this jar containing persistence.xml located? As far as 
i know, the WEB-INF/lib folder of an WAR is not scanned for deployments. So 
that should have skipped the persistence unit from deploying. But i will have 
to look at this once more to see if that's not how its expected to behave. In 
the meantime, please post the output of 

jar -tf myapp.war

where myapp.war is the name of your war file. Also in the output, please let us 
know the name of the persistence unit jar which is being picked up.


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

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


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

2009-06-22 Thread anisj1m
thanks, 
in my instalation i used this version (jbpm-installer-3.2.6.SP1.jar).
it dont include oracle adapter.
:(

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

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


[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-22 Thread timfox
Can you explain why you think this is a bug in JBM 1.x, I don't follow your 
reasoning here...

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

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


[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-22 Thread jaikiran
When the MBean name contains a hierarchy and the destination configuration 
does not contain a JNDIName attribute, like this:

  | mbean code=org.jboss.jms.server.destination.QueueService
  |   name=jboss.messaging.destination:service=Queue,name=jaikiran/DLQ
  |   xmbean-dd=xmdesc/Queue-xmbean.xml
  | 
(note the use of name=jaikiran/DLQ)

org.jboss.jms.server.DestinationJNDIMapper while registering the destination, 
will internally try to register it at queue/jaikiran/DLQ:

12:45:07,184 ERROR [ExceptionUtil] Queue[/queue/jaikiran/DLQ, name=jaikiran/DLQ]
  | ...
  |   at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:540)
  | at 
org.jboss.jms.server.DestinationJNDIMapper.registerDestination(DestinationJNDIMapper.java
  | :142)
  |  
It considers the jaikiran/DLQ as one continuous name. But when a / is used for 
a name being bound to JNDI, the name gets parsed into sub-context. So the 
DestinationJNDIMapper is trying to bind it as follows:


  | queue
  |  |
  |  |--- jaikiran
  | |
  | |--- DLQ
But since the jaikiran sub-context is not created, the JNDI bind fails.

P.S: I am not claiming its a bug. It might even be an unsupported feature.


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

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


[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-22 Thread timfox
You could add a feature request JIRA if you like, if you want JBM 1.x to also 
support sub contexts on the name too.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: JBosscache dirty read even though isolation is REPEATABL

2009-06-22 Thread mircea.markus
On the other post I saw you're using DummyTransactionManagerLookup. You're 
running in the application server so use GenericTransactionManagerLookup.

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

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


[jboss-user] [JBoss Messaging] - Re: Migrating 4.2.3.GA to 5.1.0.GA - queue hierarchies not s

2009-06-22 Thread timfox
In JBM 1.x, if you want to do this kind of thing you need to use JNDIName as 
Howard mentioned at the beginning of this thread.


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

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


[jboss-user] [JBossMQ] - JmsXA not installing esception listener on QueueConnection

2009-06-22 Thread stone_42
Hello,

I have the following problem: In a cluster of two nodes (both jboss 4.0.3 sp1), 
I use MDBs and SLSBs sending messages to the MDBs. For this, the SLSBs use the 
following code to access a queue connection:

  | InitialContext initialContext = new InitialContext();
  |  QueueConnectionFactory qcf = (QueueConnectionFactory) 
initialContext.lookup(java:/JmsXA);
  |  QueueConnection qc = qcf.createQueueConnection();
  | 
After some time running the cluster, I can see the following error in the log 
once a minute:
anonymous wrote : 
  | 2009-06-17 19:43:28,455 WARN  (Connection Monitor Thread) 
[org.jboss.mq.Connection] Connection failure, use 
javax.jms.Connection.setExceptionListener() to handle this error and reconnect
  | org.jboss.mq.SpyJMSException: No pong received; - nested throwable: 
(java.io.IOException: ping timeout.)
  | 
Now, this is my problem: As I'm in an EJB container, I am not allowed to call 
setExceptionListener(), and this should be handled by the container as 
described in 
http://www.jboss.org/community/wiki/IGetIOExceptionPingTimeoutHowDoIFixIt.

Can anyone please tell me waht I'm doing wrong?
Regards,
Martin

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

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


[jboss-user] [JBoss Messaging] - Queues Grouping in JBoss Messaging 1.4

2009-06-22 Thread unwavering
Dear respectable community,

I have a project in which JBoss Messaging 1.4 will be used as the messaging 
component.  One of the requirements is to define different groups of queues for 
different parties.  The purpose of the grouping concept is facilitate queues 
management by centralizing administration for each party under a group.  Does 
JBoss Messaging 1.4 provides the capability of queues grouping?

I found that JBoss Messaging 2 provides a similar concept by using a file 
called queues.xml which contains centralized queues configuration and security 
using wildcards.  Is there a similar thing in JBoss 1.4 release?

Thanks a lot for your time.

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

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


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

2009-06-22 Thread galder.zamarr...@jboss.com
No, the FQN is only the location of the data. The object passed around is a bit 
more complex, varies depending on the situation, but generally contains an FQN 
plus key+value pair(s) sent around.

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

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


[jboss-user] [JBoss Portal] - Re: Creating dummy ServletRequest and ServletResponse object

2009-06-22 Thread hilmer
You can use:

org.jboss.portal.portlet.bridge.JBossServletContextProvider

It gives you access to the objects you need, it is located in the jar:
portal-portlet-bridge-lib.jar

As I am looking into the same things, I am curious to know which reporting 
solution you are integrating.

Best
  Søren

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

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4238957

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: form field validation and form posting not working after

2009-06-22 Thread brettcave
found a web:ajax4jsf tag in components - would this cache be flushed across 
restarts?

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

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


[jboss-user] [Clustering/JBoss] - Re: JBoss 5.1 clustering improvements - update the Wiki plea

2009-06-22 Thread jaikiran
That's because the -D option passed from the command prompt does not get set in 
the JAVA_OPTS. Instead it gets passed directly to the Main class which triggers 
the AS startup.


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

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


[jboss-user] [JCA/JBoss] - Re: 4.2.3.GA to 5.1.0.GA regression - heirarchical JNDI name

2009-06-22 Thread jaikiran
kennardconsulting wrote : 
  | Your example uses the attribute JNDIname, but the queue name is still just 
DLQ...
  | 
  | mbean code=org.jboss.jms.server.destination.QueueService
  |   | name=jboss.messaging.destination:service=Queue,name=DLQ
  | 
  | ...it is the queue name I wanted to be heirarchical. I thought by putting 
it under a heirarchy with the app name I could avoid naming conflicts in 
future? I am probably mistaken, however this worked in JBoss 4.2.3.

Ah, i see what you are saying, now :) And i could reproduce it too with the 
default DLQ:

mbean code=org.jboss.jms.server.destination.QueueService
  |   name=jboss.messaging.destination:service=Queue,name=jaikiran/DLQ
  |   xmbean-dd=xmdesc/Queue-xmbean.xml
  |   depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  |   dependsjboss.messaging:service=PostOffice/depends
  |/mbean
This one fails to deploy:

12:45:07,184 ERROR [ExceptionUtil] Queue[/queue/jaikiran/DLQ, 
name=jaikiran/DLQ] startService
  | javax.naming.NameNotFoundException: jaikiran not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
  | at org.jnp.server.NamingServer.rebind(NamingServer.java:244)
  | at org.jnp.server.NamingServer.rebind(NamingServer.java:247)
  | at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:575)
  | at org.jnp.interfaces.NamingContext.rebind(NamingContext.java:540)
  | at 
org.jboss.jms.server.DestinationJNDIMapper.registerDestination(DestinationJNDIMapper.java:142)
  | at 
org.jboss.jms.server.destination.QueueService.startService(QueueService.java:150)
  | 

Let's get back to your original post in the JBoss Messaging forum to discuss 
this, since this now looks like a bug in JBoss Messaging or an unsupported 
feature.


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM assign

2009-06-22 Thread kukeltje
By using the api?

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

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


[jboss-user] [JBoss jBPM] - Re: Notifications when the state of a user task is changed

2009-06-22 Thread kukeltje
by using the task-assign event? Look at how events/actions work in jBPM 
http://docs.jboss.com/jbpm/v3.2/userguide/html/processmodelling.html#actions

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

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


[jboss-user] [JBoss Portal] - Re: Drag/Drop Portlet(Jboss Portal 2.6.4)

2009-06-22 Thread submoh
sers

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

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


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

2009-06-22 Thread clajoie
Hoi Galder, thanks for the reply.

Unfortunately I'm still lacking some information.  The reason I was asking is 
that I'm trying to understand how to write some code that would merge the state 
of a cluster after a partition.  I know how to detect the start of the merge 
process via the MergeView and how to retrieve the state from the underlying 
JChannel but I'm unclear as to which object(s) exactly I'd get back from the 
state request.

Is there some documentation that indicates which object types are used within 
the cluster and when they are used?

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Simple Web Form authentication using JAAS with DatabaseS

2009-06-22 Thread Wolfgang Knauf
Hi,

at first glance: your roles query contains a small, but breaking error: it 
should be 'Roles' instead of 'Role':
select role, 'Roles' from roles where username=?

If this does not help: activate logging of the security layer. See the 
http://www.jboss.org/community/wiki/SecurityFAQ, question 4.

Hope this helps

Wolfgang

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

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


[jboss-user] [JBoss Portal] - Re: WSRP: failed to configure remote producer as described i

2009-06-22 Thread dorothy
Could you please suggest how to include the authentication information in the 
conf file


Thanks

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

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


[jboss-user] [JBoss Portal] - Re: Drag/Drop Portlet(Jboss Portal 2.6.4)

2009-06-22 Thread submoh
waiting for a reply

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Hibernate + JBC not reading from cache: spatial or view

2009-06-22 Thread galder.zamarr...@jboss.com
H, I'm not sure what's the effect of querying view tables and spatial 
fields and I dunno whether the question has really anything to do with JBoss 
Cache itself. Have you tried to cache the query using standard hash table cache 
provider and see if that works? If it does, then there might some issue with 
JBC. If not, then the problem/question is more to do with Hibernate and how it 
deals with these type of queries.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Refresh cache from cache loader on demand?

2009-06-22 Thread galder.zamarr...@jboss.com
drcallaway wrote : galder.zamarr...@jboss.com wrote : 
  |   | What do you exactly mean with data changing? Is data changing as a 
result of your interaction with the cache? Are you changing the data directly 
in the cache store? I don't understand why you'd want the data to be replaced 
with the one in the cache store.
  | 
  | I mean that the data is changed by another cache client. For example, say I 
store pricing information in my cache that changes once a month. I can refresh 
the cache from a single client by replacing the existing pricing node with 
new information and this will push the new information into the backing 
database. However, all of the other clients that share this database aren't 
aware that the data has changed. I'd like to be able to force a refresh 
periodically so that these other clients dump their current information and 
reload from the data store.

Looks to me the different caches accessed by your clients are not clustered 
which is the root of your problem. If they're clustered, modifications could be 
replicated to other cache instances or modifications could result in 
invalidation messages to other nodes. Either of these two options would allow 
other clients to access the most up to date data. In the case of replication 
because the cache contains up to date data. In the case of invalidation because 
after data was updated in another node, the cache would not contain the data 
and it will result on the cache store being queried.

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Dirty read even though configured as REPEATABLE_READ or

2009-06-22 Thread mircea.markus
This is a duplicate of 
http://www.jboss.org/index.html?module=bbop=viewtopict=157341.  It was 
answered on the other thread. Please only post once, as this would make the 
topic easier to follow.

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

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


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

2009-06-22 Thread mike_mackey
Hi ...
   I'm a bit of a noob w.r.t. alot of this so apologies if this question is 
obvious or silly. 

I've been trying to get a simple sample application running with JBoss 5.0 and 
Spring 2.5.6. I have used the fix provided in 
https://jira.jboss.org/jira/browse/JBSPRING-4 and my Root WebApplicationContext 
is started and created correctly using VFSXmlWebApplicationContext.

However when it tries to create the servlet it reverts back to 
XmlWebApplicationContext and I get afore mentioned FileNotFoundException. 

Any help would be greatly appreciated !

web.xml


  | ?xml version=1.0 encoding=ISO-8859-1?
  | 
  | web-app xmlns=http://java.sun.com/xml/ns/j2ee;
  |  xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee
  |  http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;
  |  version=2.4
  | 
  | listener
  | 
listener-classorg.springframework.web.context.ContextLoaderListener/listener-class
  | /listener
  | 
  | context-param
  | param-namecontextClass/param-name
  | 
param-valueorg.jboss.spring.factory.VFSXmlWebApplicationContext/param-value
  | /context-param
  | 
  | context-param
  | param-namecontextConfigLocation/param-name
  | param-value
  | /WEB-INF/applicationContext*.xml 
  | /param-value
  | /context-param
  | 
  | servlet
  | servlet-nameamartus/servlet-name
  | 
servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class
  | load-on-startup1/load-on-startup
  | /servlet
  | 
  | servlet-mapping
  | servlet-nameamartus/servlet-name
  | url-pattern*.html/url-pattern
  | /servlet-mapping
  | 
  | servlet
  | servlet-nameservice/servlet-name
  | 
servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class
  | load-on-startup2/load-on-startup
  | /servlet
  | 
  | servlet-mapping
  | servlet-nameservice/servlet-name
  | url-pattern/service/*/url-pattern
  | /servlet-mapping
  | 
  | welcome-file-list
  | welcome-fileindex.jsp/welcome-file
  | /welcome-file-list
  | 
  | /web-app
  | 

Trace ...


  | 12:41:04,162 INFO  [STDOUT] 22-Jun-2009 12:41:04 DEBUG [ContextLoader] - 
Published root WebApplicationContext as ServletContext attribute with name 
[org.springframework.web.context.WebApplicationContext.ROOT]
  | 12:41:04,162 INFO  [STDOUT] 22-Jun-2009 12:41:04  INFO [ContextLoader] - 
Root WebApplicationContext: initialization completed in 6915 ms
  | 12:41:04,193 INFO  [STDOUT] 22-Jun-2009 12:41:04 DEBUG [DispatcherServlet] 
- Initializing servlet 'amartus'
  | 12:41:04,215 INFO  [spring]] Initializing Spring FrameworkServlet 'amartus'
  | 12:41:04,215 INFO  [STDOUT] 22-Jun-2009 12:41:04  INFO [DispatcherServlet] 
- FrameworkServlet 'amartus': initialization started
  | 12:41:04,216 INFO  [STDOUT] 22-Jun-2009 12:41:04 DEBUG [DispatcherServlet] 
- Servlet with name 'amartus' will try to create custom WebApplicationContext 
context of class 
'org.springframework.web.context.support.XmlWebApplicationContext', using 
parent context [org.jboss.spring.factory.vfsxmlwebapplicationcont...@185fdbe: 
display name [Root WebApplicationContext]; startup date [Mon Jun 22 12:40:57 
BST 2009]; root of context hierarchy]
  | 12:41:04,221 INFO  [STDOUT] 22-Jun-2009 12:41:04  INFO 
[XmlWebApplicationContext] - Refreshing 
org.springframework.web.context.support.xmlwebapplicationcont...@9a34a0: 
display name [WebApplicationContext for namespace 'amartus-servlet']; startup 
date [Mon Jun 22 12:41:04 BST 2009]; parent: 
org.jboss.spring.factory.vfsxmlwebapplicationcont...@185fdbe
  | 12:41:04,222 INFO  [STDOUT] 22-Jun-2009 12:41:04  INFO 
[XmlBeanDefinitionReader] - Loading XML bean definitions from ServletContext 
resource [/WEB-INF/amartus-servlet.xml]
  | 12:41:04,225 INFO  [STDOUT] 22-Jun-2009 12:41:04 DEBUG 
[DefaultDocumentLoader] - Using JAXP provider 
[org.apache.xerces.jaxp.DocumentBuilderFactoryImpl]
  | 12:41:04,227 INFO  [STDOUT] 22-Jun-2009 12:41:04 DEBUG 
[PluggableSchemaResolver] - Loading schema mappings from 
[META-INF/spring.schemas]
  | 12:41:04,300 INFO  [STDOUT] 22-Jun-2009 12:41:04 DEBUG 
[PluggableSchemaResolver] - Loaded schema mappings: 
{http://www.springframework.org/schema/lang/spring-lang-2.5.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd,
 
http://www.springframework.org/schema/lang/spring-lang.xsd=org/springframework/scripting/config/spring-lang-2.5.xsd,
 
http://www.springframework.org/schema/context/spring-context-2.5.xsd=org/springframework/context/config/spring-context-2.5.xsd,
 
http://www.springframework.org/schema/jms/spring-jms-2.5.xsd=org/springframework/jms/config/spring-jms-2.5.xsd,
 
http://www.springframework.org/schema/context/spring-context.xsd=org/springframework/context/config/spring-context-2.5.xsd,
 

[jboss-user] [JBoss Messaging] - Re: Queues Grouping in JBoss Messaging 1.4

2009-06-22 Thread gaohoward
Hi, JBoss Message 1.4 doesn't support wildcards in its configuration. 

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

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


[jboss-user] [JBoss jBPM] - Re: What's the stable version of Jbpm

2009-06-22 Thread kukeltje
3.2.6SP1

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

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


[jboss-user] [JBoss AOP] - Re: weaving aspects into applets

2009-06-22 Thread harryiam42
thanks for the reply.  we have not tried aopc yet, but will give it a go!

cheers
- harry

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

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


[jboss-user] [JBoss Portal] - Re: WSRP version

2009-06-22 Thread chris.lap...@jboss.com
Because we haven't seen much demand for WSRP 2 yet and there were other, more 
requested features to implement first.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP version

2009-06-22 Thread dorothy
Hi

But the latest version of WSRP is 2.0. Why is JBoss still on 1.0 then?


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

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


[jboss-user] [JBossWS] - Connect- and read-timeout properties for JBossWS-Native

2009-06-22 Thread thorsten-sch...@web.de
Does anyone know the names of the properties for setting the 

1. connect-timeout and the 
2. read-timeout

for a JBossWS-Native client?

I found several properties for the read-timeout, e.g. on 
http://jbossws.jboss.org/mediawiki/index.php/JAX-RPC_User_Guide 

  |/** ClientTimeout property: org.jboss.ws.timeout */
  |static final String PROPERTY_CLIENT_TIMEOUT = org.jboss.ws.timeout;

With this property the read-timeout can be set in the following way:

   bindingProvider.getRequestContext().put(org.jboss.ws.timeout, new 
Integer(1000));

Besides this property I found org.jboss.webservice.client.timeout and 
org.jboss.webservice.timeout in the internet.

Which property name is the correct one for setting the read-timeout and which 
is the correct one for a connect-timeout?

Currently we are using JBossAS Version 4.3.0_eap_cp02.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP version

2009-06-22 Thread jpviragine
Hi dorothy,

JBoss EPP 4.3 supports WSRP 1.0.
For further information, please, take a look at 
http://www.jboss.com/pdf/JBoss_EPP_datasheet.pdf



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

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


[jboss-user] [JBossWS] - Jboss 4.2.3 Virtual Host Configuration

2009-06-22 Thread germanescobar
Hi,

I'm trying to configure a Web Service on a virtual host using the @WebContext 
annotation. However, I know that there is an issue JBWS-981 Virtual Host 
configuration for EJB endpoints that ignores the virtualHosts parameter of the 
@WebContext annotation. This is fixed in JBossWS native 3.0.3 and JBoss 5.

I would like to know if there is some workaround to configure the virtual host 
in JBoss 4.2.3. I updated to JBossWS 3.0.3 but no success. Maybe with some XML 
configuration instead of the annotation?

Thank you!

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

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


[jboss-user] [EJB 3.0] - Re: How to ignore persistence unit loading

2009-06-22 Thread jaikiran
I don't  know of any override to prevent this scanning.

One way i can think of is to add a JBoss specific descriptor 
(jboss-structure.xml) to the jar containing the persistence.xml. But that would 
require changing that jar file (which is as good as removing or renaming the 
persistence.xml). 


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

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


[jboss-user] [JBoss Portal] - Drag/Drop Portlet(Jboss Portal 2.6.4)

2009-06-22 Thread submoh
Can we drag and drop portlets on a portal page???
If yes then what are the steps to do it.

Thanks
Subu

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

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


[jboss-user] [Management, JMX/JBoss] - Re: How to retreive size of JMS queue (same jboss instance,

2009-06-22 Thread lgmqy2000
Help me, pl:-( Thx a million!

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

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


[jboss-user] [JBoss Messaging] - Re: Client program exception

2009-06-22 Thread chipschoch
I did upgrade remoting.

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

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


[jboss-user] [JBoss Portal] - Re: WSRP - Runtime Exception

2009-06-22 Thread chris.lap...@jboss.com
It could be that the producer you're trying to access is down. However, judging 
by the numerous error messages it seems that you have tried to deploy services 
that were already deployed and you might want to fix these issues first.

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

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


[jboss-user] [JBoss OSGi] - Re: OSGi + EE code in the same JAR ?

2009-06-22 Thread wark2007
I am also interested in deploying EJBs within OSGi bundles, but afaik this is 
not possible at the moment (see my post: 
http://www.jboss.org/index.html?module=bbop=viewtopict=154158). Are there any 
news on that topic?

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

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


[jboss-user] [JBoss AOP] - Re: weaving aspects into applets

2009-06-22 Thread harryiam42
alas the aopc route has not yet lead to happiness.  in short i get the error

java.lang.ExceptionInInitializerError
  | at AnApple$AnAppleAdvisor.init(AnApple$AnAppleAdvisor.java)
  | at AnApple.clinit(AnApple.java)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)


below is a more detailed trace of what i tried in case you have the time to 
take a look.  

thanks muchly
- harry

% more jboss-aop.xml
  | ?xml version=1.0 encoding=UTF-8?
  | aop
  |bind pointcut=execution(*-new(..))
  |interceptor class=ConstructorInterceptor/
  |/bind
  | /aop
  | 
  | % more AnApple.java
  | import javax.swing.*;
  | 
  | class Apple { Apple() {} }
  | 
  | public class AnApple extends JApplet
  | {
  | public void init() { Apple a =  new Apple(); }
  | public static void main(String [] args) { Apple a =  new Apple(); }
  | }
  | 
  | % /usr/local/bin/javac AnApple.java
  | (i also tried   javac  -target 1.4 -source 1.4   with the same result)
  | 
  | % /usr/local/jdk1.6.0_02/jre/bin/java -Djboss.aop.optimized=true 
-Djboss.aop.path=jboss-aop.xml -classpath 
.:/usr/local/jboss-aop-2.0.1.GA/lib/javassist.jar ... 
org.jboss.aop.standalone.Compiler -suppress -aoppath jboss-aop.xml 
AnApple.class Apple.class
  | 
  | Build Successful: 553 ms
  | 
  | % /usr/local/bin/java 
-javaagent:/usr/local/jboss-aop-2.0.1.GA/lib/jboss-aop.jar 
-Djboss.aop.path=jboss-aop.xml -classpath .:/usr/local/jboss-aop-2.0.1.GA/...  
AnApple
  | 
  | *** creaation of ***Apple   java.lang.Object
  | (this is good :) )
  | 
  | % more t.html
  | applet code=AnApple.class width=400 height=400 /applet
  | 
  | % /usr/local/bin/appletviewer -J-Djboss.aop.path=jboss-aop.xml -J-classpath 
-J.:/usr/local/jboss-aop-2.0.1.GA/...  t.html
  | 
  | java.lang.ExceptionInInitializerError
  | at AnApple$AnAppleAdvisor.init(AnApple$AnAppleAdvisor.java)
  | at AnApple.clinit(AnApple.java)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:513)
  | at java.lang.Class.newInstance0(Class.java:355)
  | at java.lang.Class.newInstance(Class.java:308)
  | at sun.applet.AppletPanel.createApplet(AppletPanel.java:779)
  | at sun.applet.AppletPanel.runLoader(AppletPanel.java:708)
  | at sun.applet.AppletPanel.run(AppletPanel.java:362)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.security.AccessControlException: access denied 
(java.lang.RuntimePermission createClassLoader)
  | at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:323)
  | at 
java.security.AccessController.checkPermission(AccessController.java:546)
  | at java.lang.SecurityManager.checkPermission(SecurityManager.java:532)
  | at 
java.lang.SecurityManager.checkCreateClassLoader(SecurityManager.java:594)
  | at java.lang.ClassLoader.init(ClassLoader.java:225)
  | at java.security.SecureClassLoader.init(SecureClassLoader.java:76)
  | at java.net.URLClassLoader.init(URLClassLoader.java:113)
  | at org.jboss.aop.AspectManager.clinit(AspectManager.java:184)
  | ... 12 more
  | 

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

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


[jboss-user] [JBoss Messaging] - Re: Ordering Group and Queue-FullSize reload problem

2009-06-22 Thread gaohoward
Hi Markus,

I've fixed the related issue, can you help to verify it if you have time?

Thanks,
Howard


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

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


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

2009-06-22 Thread galder.zamarr...@jboss.com
How big are the Pojos that you're storing? Several kbs/megs...etc?

Did you try getting some thread dumps to see what the thread holding the lock 
to the database is doing?

Can you try commenting preloading and trying again?

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

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


[jboss-user] [JBoss Portal] - WSRP version

2009-06-22 Thread dorothy
Hi

Can anyone pleaes tell me which version of WSRP (1.0 or 2.0) do the latest 
JBoss Portal Servers i.e. 4.3 EAP (or JBoss 2.7) support?

Thanks

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - java.util.zip.ZipException: unexpected EOF

2009-06-22 Thread mad_rug
Hi

I'm using JBoss AS 4.2.1GA as my server. I'm using this version because is the 
latest my web host supports.

During local development I'm having no problems, but when I deploy my EAR to 
the host, I get this exception:


  | ...
  | 10:45:19,643 INFO  [Catalina] Initialization processed in 108 ms
  | 10:45:19,643 INFO  [StandardService] Starting service jboss.web
  | 10:45:19,644 INFO  [StandardEngine] Starting Servlet Engine: 
JBossWeb/2.0.0.GA
  | 10:45:19,670 INFO  [Catalina] Server startup in 26 ms
  | 10:45:19,698 ERROR [JBossWeb] Problem in init 
  | java.util.zip.ZipException: unexpected EOF
  | at java.util.zip.ZipInputStream.read(ZipInputStream.java:166)
  | at java.util.jar.JarInputStream.read(JarInputStream.java:177)
  | at org.jboss.util.file.JarUtils.unjar(JarUtils.java:300)
  | at 
org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:325)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  | at 
org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport.init(SubDeployerInterceptorSupport.java:119)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.init(SubDeployerInterceptorSupport.java:172)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:87)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy46.init(Unknown Source)
  | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
  | at org.jboss.deployment.MainDeployer.addDeployer(MainDeployer.java:368)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy43.addDeployer(Unknown Source)
  | at org.jboss.web.tomcat.service.JBossWeb.startService(JBossWeb.java:500)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at 
org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97)
  | at 

[jboss-user] [JBossWS] - Re: Call WebService in EJB 3.0 (Differences to EJB 2.1)

2009-06-22 Thread bjoern83
I use JBoss 4.2.2a.
The problem was already solved by using the @WebContext and @WebParam 
annotations. The problem was, that @WebParam can not be used if the interfaces 
are generated. Therefore they are hard coded now. 

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

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


[jboss-user] [JBoss Cache: Core Edition] - Re: Hibernate + JBC not reading from cache: spatial or view

2009-06-22 Thread nicholeuf
The same setup is caching other queries so it is this query in particular that 
is causing an issue.  

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

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


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

2009-06-22 Thread marius.bogoevici
Mike,

What you need to do is to add a similar contextClass configuration to your 
DispatcherServlet. There are two application contexts that get created with 
your Spring application, and in your case you need to deal with both.

Marius

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

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


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

2009-06-22 Thread Wolfgang Knauf
Hi Dalibor,

one more idea, which might prevent you from duplicating the fields:

Instead of an EmbeddedId, use an IdClass (annotate the entity with IdClass). 
This class will have the same fields as the EmbeddedId, but no further 
annotations.
All primary key fields are part of your entity. The timestamp property has to 
be copied to the subclass, best with an @Override annotation, and getter/setter 
just call the base class methods.

Here is a snippet:

  | public class MyId implements Serializable
  | {
  |   public TimeStamp getSomething()
  |   {
  | ...
  |   }
  |   public Integer getOtherIdFields()
  |   {
  | ...
  |   }
  | }
  | 
  | @IdClass(value=MyId.class)
  | public MyEntity extends BaseEntity implements Serializeable
  | {
  |   @Id
  |   @Override
  |   public TimeStamp getSomething()
  |   {
  | return super.getSomething();
  |   }
  |   ...setter...
  | 

The ID class is required to make entityManager.find work, and inserting of 
entities will not work without. So you need the ID class even if your code does 
not need it.

Hope this helps (and works ;-) )

Wolfgang

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

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


[jboss-user] [JBoss Messaging] - Re: Client program exception

2009-06-22 Thread chipschoch
Yes, you are correct.  I was running it from within eclipse and it was picking 
up an older version in the classpath first.

Sorry to bother everyone.

Thanks for your replies.

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

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


[jboss-user] [JBoss/Spring Integration] - Re: Installation Instructions for JBoss 4.2.3.GA?

2009-06-22 Thread marius.bogoevici
For JBoss 4.2.3.GA you need to use the 2.x line of deployers - and there you 
have the jdk5 variants.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: form field validation and form posting not working after

2009-06-22 Thread brettcave
this tag is not helping :/

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

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


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

2009-06-22 Thread marius.bogoevici
Hmm, but ... you did too much research on this for a n00b ;)

Thanks for posting the complete configuration - as a side note, we will provide 
shortly a release build with these libraries and some documentation on how to 
use them, hopefully that will make things easier.

Marius


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Tutorial for setup of Authentication in JBoss?

2009-06-22 Thread PeterJ
Yes, you can use such a DN. You need to set the role attributes such that the 
result is, for example, the value for DeptCode.

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

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


[jboss-user] [JBoss Messaging] - Re: Client program exception

2009-06-22 Thread clebert.suco...@jboss.com
anonymous wrote : I just upgraded my JBM to 1.4.4 and am trying to read a queue 
from a JUnit test. I get: 

Probably a classPath issue.


Try verifying if you have everything documented at your classPath.

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

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


[jboss-user] [Security JAAS/JBoss] - x509 certificate and JAAS

2009-06-22 Thread jej2003
I am following the guide at http://www.jboss.org/community/wiki/SSLSetup and 
have gotten to the point where JBoss is requesting the client certificate but I 
keep getting a 401 denied error and a log entry of 


  | 12:46:13,140 DEBUG [UsersRolesLoginModule] Bad password for 
username=CN=ClientCert, O=SomeCA, OU=SomeCAOrg
  | 

I am using the ant script to generate all the certificates but don't see where 
this error is coming from.  My jmx-console-roles.properties file has an entry 
as follows

  | CN\=ClientCert,\ O\=SomeCA,\ OU\=SomeCAOrg=JBossAdmin
  |   

Any help as to what could be causing this error would be appreciated.

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

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


[jboss-user] [JBoss Messaging] - Re: Queues Grouping in JBoss Messaging 1.4

2009-06-22 Thread timfox
unwavering wrote : Dear respectable community,
  | 
  | I have a project in which JBoss Messaging 1.4 will be used as the messaging 
component.  One of the requirements is to define different groups of queues for 
different parties.  The purpose of the grouping concept is facilitate queues 
management by centralizing administration for each party under a group.  Does 
JBoss Messaging 1.4 provides the capability of queues grouping?
  | 
  | I found that JBoss Messaging 2 provides a similar concept by using a file 
called queues.xml which contains centralized queues configuration and security 
using wildcards.  Is there a similar thing in JBoss 1.4 release?
  | 
  | Thanks a lot for your time.

I'm not sure I really understand your question, but if you're asking whether 
JBM 1.x supports different sets of queues being deployed from different files, 
then the answer is yes.

In JBM 1.x all queues are just MBeans and can be declared in as many files as 
you like.

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

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


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

2009-06-22 Thread mike_mackey
marius.bogoevici wrote : Mike,
  | 
  | What you need to do is to add a similar contextClass configuration to your 
DispatcherServlet. There are two application contexts that get created with 
your Spring application, and in your case you need to deal with both.
  | 
  | Marius

Firstly Marius ... A huge amount of thanks for the quick reply, I really 
appreciate it. 

I had pretty much guessed that  from this 
http://static.springframework.org/spring/docs/2.0.x/api/org/springframework/web/servlet/DispatcherServlet.html

anonymous wrote :  A web application can define any number of 
DispatcherServlets.  Each servlet will operate in its own namespace, loading 
its own application context with mappings, handlers, etc. Only the root 
application context as loaded by ContextLoaderListener, if any, will be shared. 

In my defence I did say I was a noob ...  what should be added just in case 
anyone else was up too late last night :-)


  | servlet
  | servlet-nameamartus/servlet-name
  | 
servlet-classorg.springframework.web.servlet.DispatcherServlet/servlet-class
  | init-param
  | param-namecontextClass/param-name
  | 
param-valueorg.jboss.spring.factory.VFSXmlWebApplicationContext/param-value
  |   /init-param
  | load-on-startup1/load-on-startup
  | /servlet
  | 

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

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


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

2009-06-22 Thread niuxuetao_fiserv
Maybe something useful to give:

Now I use 20 threads doing the same job (setting 
ockAcquisitionTimeout=4294967, all the rest configuration is the same as I 
pasted before), I experience a phenonemen which seems to be a true deadlock 
since no threads are running (jobs in the Threadpool Executor's queue are 
undone) and the cpu usage is zero. Then after a while, like 1 minute, one of 
the threads threw this:


  |  org.jboss.cache.pojo.PojoCacheException: attach failed 
/RTDE/time-distance-analysis-tdm/4207
  | at 
org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:111)
  | at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:93)
  | at org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:88)
  | at 
com.fiserv.detection.eventcache.jboss.JBossPojoCacheStorage.update(JBossPojoCacheStorage.java:50)
  | at 
com.fiserv.detection.eventcache.statemachine.CacheAccessor.save(CacheAccessor.java:117)
  | at 
com.fiserv.detection.eventcache.statemachine.CacheAccessor.matchOne(CacheAccessor.java:84)
  | at 
com.fiserv.detection.tda.TimeDistanceAnalysis.doDetection(TimeDistanceAnalysis.java:71)
  | ... 53 more
  | Caused by: java.lang.IllegalStateException: Cache not in STARTED state!
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.cacheStatusCheck(CacheInvocationDelegate.java:660)
  | at 
org.jboss.cache.invocation.CacheInvocationDelegate.get(CacheInvocationDelegate.java:446)
  | at org.jboss.cache.pojo.impl.InternalHelper.get(InternalHelper.java:100)
  | at 
org.jboss.cache.pojo.impl.InternalHelper.getPojoReference(InternalHelper.java:47)
  | at 
org.jboss.cache.pojo.impl.InternalHelper.getPojo(InternalHelper.java:141)
  | at 
org.jboss.cache.pojo.impl.PojoCacheDelegate.putObject(PojoCacheDelegate.java:104)
  | at 
org.jboss.cache.pojo.impl.PojoCacheImpl.attach(PojoCacheImpl.java:102)
  | ... 59 more
  | 

Have you seen anything like this?

Regards,

Xuetao

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

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


  1   2   >