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

2009-06-19 Thread kennardconsulting
jaikiran,

Your example uses the attribute JNDIname, but the queue name is still just 
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.

vickyk,

I can confirm the queues are bound correctly as long as I don't use a forward 
slash in the name.

Regards,

Richard.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238861#4238861

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238861
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Creating dummy ServletRequest and ServletResponse objects fr

2009-06-19 Thread souravm
Hi,

I'm trying to expose Report delivered by a reporting solution through a Portlet.

Unfortunately, the API of the Reporting solution which generates a HTML snippet 
accepts HttpServletRequest, HttpServletResponse and ServletContext.

Wondering how do I create a dummy set of these above mentioned objects from the 
PortletRequest (either Render or Action).

Any idea/pointer is appreciated.

Regards,
Sourav

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238859#4238859

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238859
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread Crucifix
I'm trying to install the Spring deployer into JBoss 4.2.3.GA.

The installation instructions on the wiki state to copy the 
jboss-spring-jdk5.deployer directory into the JBoss deploy/ directory, but I 
don't see this available for download on the Sourceforge page here:

http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=161914

Where do I get this deployer from?[/url]

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238857#4238857

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238857
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread nicholeuf
Hibernate 3.3.1.GA
Hibernate-spatial 1.0-M2
Spring 2.5.6
JBC 3.0.3.GA

I am noticing that Hibernate + JBC is not retrieving a particular cached query. 
 They query involves a view table and it also involves querying on a spatial 
field.  I have searched the forums and am finding nothing about this topic.  

Note that the same configuration does retrieve cached results from a query on a 
normal table but most of those queries involve string fields.  

Has anybody else encountered an issue with the query cache not using results in 
the cache when the query involves a view or a spatial column? 

Thank you in advance,

Nichole

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238855#4238855

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238855
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread vishwasoft
I'm trying to evaluate the JBossCache for our application
I'm getting dirty read even though I rollback transaction. I tried this with 
EJB3 Stateless session bean BMT.

Could you please anyone help me on this problem, Am I making anything wrong? 
please let me know if you need additional info

JBosscache : jbosscache-core-3.1.0.GA
JBoss As: jboss-5.0.0.GA
JDK: 1.5.0_07


Here is the code

  | public class TestEntity {
  | 
  | private int array[] = new int[10];
  | 
  | public void update(int value) {
  | 
  | for (int i = 0; i < array.length; i++) {
  | array [ i ]=value;
  | }
  | 
  | }
  | 
  | public int[] getArray() {
  | return array;
  | }
  | }

Stateless Bean1 code to modify cache

Stateless Bean 1

  | public void updateArray(int value) {
  | TransactionManager tm = 
cache.getConfiguration().getRuntimeConfig().getTransactionManager();
  | try {
  | tm.begin();
  | String key = node.getFqn().toString();
  | TestEntity t = (TestEntity) node.get(key);
  | if(t != null) {
  | t.update(value);
  | node.put(key, t);
  | }
  | tm.rollback();
  | } catch (Exception e) {
  | try {
  | tm.rollback();
  | }catch(Exception ex1) {
  | ex1.printStackTrace();
  | }
  | e.printStackTrace();
  | }
  | }
  | 

Stateless Bean 2 to read and validating array

  | public boolean validateArray() {
  | TransactionManager tm = 
cache.getConfiguration().getRuntimeConfig().getTransactionManager();
  | try {
  | tm.begin();
  | int a[] = readArray();
  | int value = a[0];
  | for (int i = 0; i < a.length; i++) {
  | if(a != value) {
  | System.out.println(a+":"+value);
  | sctx.getUserTransaction().rollback();
  | return false;
  | }
  | }
  | tm.commit();
  | }catch(Exception ex) {
  | try {
  | tm.rollback();
  | }catch(Exception ex1) {
  | ex1.printStackTrace();
  | }
  | ex.printStackTrace();
  | }
  | return true;
  | }
Configuration file:
I have used configuration file example for cache configuration

  | 
  | 
  | 
  | 
  | 
  | 
  | http://www.w3.org/2001/XMLSchema-instance";
  | xmlns="urn:jboss:jbosscache-core:config:3.1">
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | location=c:/JavaTools/tmp
  | 
  | 
  | 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238854#4238854

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238854
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Adding JSF Environments to Create New JSF Project Wizard

2009-06-19 Thread fischman_98
The documentation is as follows:

anonymous wrote : We don't lock you into any one JavaServer Faces 
implementation. You can always select the one which is necessary for you while 
creating a new JSF project, adding JSF capability to any existing Eclipse 
project or importing existing JSF projects as well.  Emphasis mine.
http://www.redhat.com/docs/en-US/JBoss_Developer_Studio/en/jsf_tools_ref_guide/html_single/index.html#jsf_support

So how can I add different versions of MyFaces so I see them listed as choices 
in the "special wizard" that prompts to specify a proper JSF environment?

I want to add MyFaces 1.2.6 and have it set up without manually adding the 
.jars.

Thanks

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238852#4238852

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238852
___
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-19 Thread vishwasoft
I have tried with Isolation level READ_COMMITTED also.

I have replaced array in my TestEntity object, but still the same problem


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238850#4238850

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238850
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread bstansbe...@jboss.com
JBoss does the same basic thing with the java.rmi.server.hostname system 
property 

1) Do nothing if already set (e.g. via -Djava.rmi.server.hostname)
2) else if the -b value isn't 0.0.0.0, set  java.rmi.server.hostname to the -b 
value 
3) else set  java.rmi.server.hostname to 
InetAddress.getLocalHost().getHostName()

RMI won't work properly if the RMI server isn't listening on the interface 
specified via java.rmi.server.hostname. For more on this see the 
https://jira.jboss.org/jira/browse/JBAS-4732 and the forum thread linked from 
there.

In JBoss 4.x, HA-JNDI doesn't expose a config property to let you set it's 
RMIBindAddress to something other than the -b value. But does setting 
-Djava.rmi.server.hostname= let you control the interface that works?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238849#4238849

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238849
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread vishwasoft
I'm trying to evaluate the JBossCache for our application
I'm getting dirty read even though I rollback transaction. I tried this with 
EJB3 Stateless session bean BMT.

Could you please anyone help me on this prolbem, Am I making anything wrong?

Here is the code

public class TestEntity {

private int array[] = new int[10];

public void update(int value) {

for (int i = 0; i < array.length; i++) {
array [ i ]=value;
}

}

public int[] getArray() {
return array;
}
}


Stateless Bean code to update cache

Stateless Bean 1

public void updateArray(int value) {
TransactionManager tm = 
cache.getConfiguration().getRuntimeConfig().getTransactionManager();
try {
tm.begin();
String key = node.getFqn().toString();
TestEntity t = (TestEntity) node.get(key);
if(t != null) {
t.update(value);
node.put(key, t);
}
tm.rollback();
} catch (Exception e) {
try {
tm.rollback();
}catch(Exception ex1) {
ex1.printStackTrace();
}
e.printStackTrace();
}
}

Stateless Bean 2 to read and validating array

public boolean validateArray() {
TransactionManager tm = 
cache.getConfiguration().getRuntimeConfig().getTransactionManager();
try {
tm.begin();

cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true);
int a[] = readArray();
int value = a[0];
for (int i = 0; i < a.length; i++) {
if(a != value) {
System.out.println(a+":"+value);
sctx.getUserTransaction().rollback();
return false;
}
}
tm.commit();
}catch(Exception ex) {
try {
tm.rollback();
}catch(Exception ex1) {
ex1.printStackTrace();
}
ex.printStackTrace();
}
return true;
}

Configuration file:
I have used configuration file example for cache configuration





View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238848#4238848

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238848
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread bstansbe...@jboss.com
By the "multi-home" limitation do you mean configuring the bind address in the 
JGroups UDP protocol?  That's pretty straightforward.

You can control the interface JGroups uses by setting system property 
-Djgroups.bind_addr=192. as a command line argument.

If don't specifically set jgroups.bind_addr and you use -b, JBoss will set 
jgroups.bind_addr to the -b value.  Except... if you use -b 0.0.0.0, a value 
JGroups can't use. In that case, JBoss will set jgroups.bind_addr to the value 
of InetAddress.getLocalHost().getHostName().

None of the above is directly relevant to HA-JNDI. I'm checking if your HA-JNDI 
problem results from your use of -b 0.0.0.0 though.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238847#4238847

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238847
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Stateful EJB hanging in JNDI namespace - JBAS bug?

2009-06-19 Thread ozi...@redhat.com
Actually, JMX console reports the jar as deployed. It seems not to be through 
EmbJopr, so it might me a ProfileService bug.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238846#4238846

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238846
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Stateful EJB hanging in JNDI namespace - JBAS bug?

2009-06-19 Thread ozi...@redhat.com
JMX console - Global JNDI Namespace:

  +- CounterBean (class: org.jnp.interfaces.NamingContext)
  |   +- remote-ejbtest.stateful.bean.CounterBean (class: Proxy for: 
ejbtest.stateful.bean.CounterBean)
  |   +- remote (class: Proxy for: ejbtest.stateful.bean.CounterBean)


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238845#4238845

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238845
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Stateful EJB hanging in JNDI namespace - JBAS bug?

2009-06-19 Thread ozi...@redhat.com
Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: 
Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):

DEPLOYMENTS MISSING DEPENDENCIES:
  Deployment 
"jboss.j2ee:jar=ejb-stateful-1.0-SNAPSHOT.jar,name=CounterXBean,service=EJB3_endpoint"
 is missing the following dependencies:
Dependency 
"jboss.j2ee:jar=ejb-stateful-1.0-SNAPSHOT.jar,name=CounterXBean,service=EJB3" 
(should be in state "Configured", but is actually in state "**ERROR**")

DEPLOYMENTS IN ERROR:
  Deployment 
"jboss.j2ee:jar=ejb-stateful-1.0-SNAPSHOT.jar,name=CounterXBean,service=EJB3" 
is in error due to the following reason(s): **ERROR**, 
java.lang.IllegalStateException: 
ProxyFactory/ejb-stateful-1.0-SNAPSHOT/CounterXBean/CounterXBean/remote is 
already installed.

at 
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:993)
at 
org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:939)
at 
org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:873)
at 
org.jboss.system.server.profileservice.repository.MainDeployerAdapter.checkComplete(MainDeployerAdapter.java:128)
at 
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.start(AbstractDeployHandler.java:265)
at 
org.jboss.profileservice.management.upload.remoting.AbstractDeployHandler.invoke(AbstractDeployHandler.java:177)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:891)
at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:106)
at org.jboss.remoting.Client.invoke(Client.java:1724)
at org.jboss.remoting.Client.invoke(Client.java:629)
at 
org.jboss.profileservice.management.upload.remoting.StreamingDeploymentTarget.invoke(StreamingDeploymentTarget.java:305)
... 17 more


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238844#4238844

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238844
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Stateful EJB hanging in JNDI namespace - JBAS bug?

2009-06-19 Thread ozi...@redhat.com
Hi,

I've been playing with EJB 3.0.

I've managed to get AS to a state when EJB jar was not (reported as) deployed, 
but the stateful bean which was inside it is still hanging in JNDI namespace, 
causing:

java.lang.IllegalStateException: 
ProxyFactory/ejb-stateful-1.0-SNAPSHOT/CounterXBean/CounterXBean/remote is 
already installed.

This happened when I was redeploying the EJB jar after renaming class and/or 
interfaces (from Counter to CounterX), until the redeployment failed, and the 
successive try threw that exception.

Do you think this could be an AS bug?

I used the EAP 5 branch.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238843#4238843

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238843
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - Re: Load Balancing in Jboss 5.1 , not able to test it !

2009-06-19 Thread bstansbe...@jboss.com
Leonets: is your webapp continuing to use the same connection to the JMS 
server? Or are you closing connections and creating new ones?

Per JBoss Messaging docs[1] connection creation is load balanced, but once a 
connection is created it will stick to one server (unless failover happens).

[1] 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.4.GA/html/configuration.html#conf.connectionfactory.attributes.supportsloadbalancing

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238840#4238840

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238840
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - How to set HTTPonly in JSESSIONID Cookie?

2009-06-19 Thread acastanheira2001
Folks,

How can I implement this?

Thanks,
Andre

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238839#4238839

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238839
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: How to prevent CSRF (Cross Site Request Forgeries)

2009-06-19 Thread acastanheira2001
Hi,

I don´t use Seam, I do use jsp and jsf.

Thanks,
Andre

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238838#4238838

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238838

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


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

2009-06-19 Thread jaikiran
"gcoleman" wrote : Should deployers/metadata-deployer-jboss-beans.xml contain 
some stuff about the 5_1 deployment descriptors?

Good point!

Add this to the deployers/metadata-deployer-jboss-beans.xml (under the 
JBossMetaData section) 
:
  | 
  | 
  | jboss_5_1.xsd
  | org.jboss.metadata.ejb.jboss.JBoss50MetaData
  | 

And please do open a new thread in JBoss AS5 forum 
http://www.jboss.org/index.html?module=bb&op=viewforum&f=287 with reference to 
this thread, so that it comes to the notice of the dev team.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238834#4238834

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238834
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: About the UseParallelOldGC

2009-06-19 Thread PeterJ
I have found the same strange behavior - while running parallel gc threads for 
minor collections reduces the gc pause time, running parallel gc threads for 
major collections increases the pause time. It makes no sense, but there you 
have it.

You really have to try various heap and gc settings and find the best settings 
for your app. Have yo considered the CMS collector? With the number of CPUs you 
have it might be a good option.

See this presentation:
http://www.cecmg.de/doc/tagung_2007/agenda07/24-mai/2b3-peter-johnson/index.html

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238831#4238831

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238831
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam

2009-06-19 Thread PeterJ
Yes, it is Hibenrate Console-related. Start here:
http://docs.jboss.org/tools/3.0.1.GA/en/hibernatetools/html/plugins.html#refeng_codegen,
 and work your way through 4.5.2, Exporters, click Generate EJB3 annotations 
and select Domain Code.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238830#4238830

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238830
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread probs_77
Hi, 

There is a configuration file jbossmq-state.xml which is present in the JBOSS 
version 3.x and up. The entries are basically the user and their roles along 
with the client id's. 

However, in the latest JBOSS version 5, this file is not there and so we need 
to map the entries in the jbossmq-state.xml in some way in JBOSS 5.0 as well. 

I did figure out that the latest version has messaging directory, which has a 
-persistence-service.xml file, and in our case it is 
mssql-persistence-service.xml. 

In this file you can specify the insert queries for inserting the users, roles 
and their client ids into the messaging related tables like JBM_USER and 
JBM_ROLE. Now, when you start the JBOSS server, these tables gets created and 
the data is inserted into them. 

However, when I start the JBOSS server and start my client, I recieve the 
following error: 

Here it complains of having the existing client id as '000' in the jbm_user 
table 

javax.jms.IllegalStateException: Cannot set clientID, already set as 000 
at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.setClientID(ServerConnectionEndpoint.java:316)
 
at 
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$setClientID$aop(ConnectionAdvised.java:85)
 
at 
org.jboss.jms.server.endpoint.advised.ConnectionAdvised$setClientID_N1479100880614063379.invokeTarget(ConnectionAdvised$setClientID_N1479100880614063379.java)
 
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111) 
at 
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
 
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) 
at 
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.setClientID(ConnectionAdvised.java)
 
at 
org.jboss.jms.wireformat.ConnectionSetClientIDRequest.serverInvoke(ConnectionSetClientIDRequest.java:73)
 
at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
 
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) 
at 
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742)
 
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695)
 
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:549) 
at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) 

Any help would be appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238829#4238829

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238829
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: DurableTopicSubscriptions Creation in JBoss AS5

2009-06-19 Thread probs_77
"gaohoward" wrote : 
http://www.jboss.org/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.3.GA/html_single/index.html
  | 

Hi,

There is a configuration file jbossmq-state.xml which is present in the  JBOSS 
version 3.x and up. The entries are basically the user and their roles along 
with the client id's.

However, in the latest JBOSS version 5, this file is not there and so we need 
to map the entries in the jbossmq-state.xml in some way in JBOSS 5.0 as well.

I did figure out that the latest version has messaging directory, which has a 
-persistence-service.xml file, and in our case it is 
mssql-persistence-service.xml. 
 
In this file you can specify the insert queries for inserting the users, roles 
and their client ids into the messaging related tables like JBM_USER and 
JBM_ROLE. Now, when you start the JBOSS server, these tables gets created and 
the data is inserted into them. 
 
However, when I start the JBOSS server and start my client, I recieve the 
following error: 

Here it complains of having the existing client id as '000' in the jbm_user 
table 

javax.jms.IllegalStateException: Cannot set clientID, already set as 000
at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.setClientID(ServerConnectionEndpoint.java:316)
at 
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.org$jboss$jms$server$endpoint$advised$ConnectionAdvised$setClientID$aop(ConnectionAdvised.java:85)
at 
org.jboss.jms.server.endpoint.advised.ConnectionAdvised$setClientID_N1479100880614063379.invokeTarget(ConnectionAdvised$setClientID_N1479100880614063379.java)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:111)
at 
org.jboss.jms.server.container.ServerLogInterceptor.invoke(ServerLogInterceptor.java:105)
at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102)
at 
org.jboss.jms.server.endpoint.advised.ConnectionAdvised.setClientID(ConnectionAdvised.java)
at 
org.jboss.jms.wireformat.ConnectionSetClientIDRequest.serverInvoke(ConnectionSetClientIDRequest.java:73)
at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandler.java:143)
at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908)
at 
org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742)
at 
org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695)
at 
org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:549)
at 
org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230)

Any help would be appreciated.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238828#4238828

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238828
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread PeterJ
Oh, and the errata for the book has updates for 5.1.0.GA

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238827#4238827

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238827
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread PeterJ
I should hire you as my straight man for my next conference presentation... ;-)

JBoss in Action, http://www.manning.com/jamae, the last several chapters are 
specific to getting ready for production. The book is based on 5.0.x, but all 
of the recommendations, and many of the details, apply to 4.2.x.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238826#4238826

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238826
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread muddu_shafi
I have copied "all" configuration and created a new configuration on my two 
server lying on the same network.
I have restarted both servers using run -c atcc.
In the Jmx-console, service: DefaultPartition,field currentview shows only one 
ip adress.
does this mean that the other Jboss has not joined the cluster? If yes, how can 
I solve it? The both are running on "DefaultPartition" as I haven't changed any 
field.

Please help me out.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238825#4238825

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238825
___
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-19 Thread PeterJ
What you mean by "the page attempts to render the file"? To me that means that 
the server processes the files and attempts to generate HTML based on their 
contents. If you really mean that, then there must be some mapping in you 
web.xml file that maps files with those extensions to some servlet.

If, instead, you mean that when clicking on the link the browser attempts to 
"run" them, and doesn't give the option of saving them, then go to the 
server/xxx/deploy/jboss-web.deployer/conf/web.xml file. At the end of that file 
there is a long list of mime mappings. You could add mappings there for msi and 
cab - using the same mime-type as zip would probably work, or you could google 
for a more accurate mime type.

Finally, often the choice of running a file rather than allowing you to save it 
is based on file extension and mime mapping kept within the browser. Check 
those mappings in your browser.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238824#4238824

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238824
___
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-19 Thread drcallaway
"drcallaway" wrote : Can you say a little more about the 
Option.suppressPersistence API? How would I use that? Where can I get a 
reference to the Option object?
Never mind. I figured it out and your suggestion worked great. Here's the new 
code:

Option option = cache.getInvocationContext().getOptionOverrides();
  | option.setSuppressPersistence(true);
  | rootNode.removeChild("content");
  | option.setSuppressPersistence(false);
  | rootNode.getChild("content");
That's much cleaner than how I was doing it before. Thanks for your help!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238822#4238822

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238822
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Time Zone, yet again

2009-06-19 Thread sbrenneis
I am using JBoss 5.0.1GA. My logs show time stamps that are on hour behind my 
actual time zone.

My environment timezone is:

[jb...@gamer ~]$ date
Fri Jun 19 12:25:09 EDT 2009

I found some references to setting user.timezone, so I added this to run.sh

# Setup JBoss specific properties
JAVA_OPTS="-Dprogram.name=$PROGNAME -Duser.timezone=EDT $JAVA_OPTS"

When I run Jboss, the property is on the command line:

[jb...@gamer ~]$ ps -ef | grep java
jboss31187 31167  5 11:44 pts/300:02:07 /usr/java/jdk1.5.0_19/bin/java 
-Dprogram.name=run.sh -Duser.timezone=EDT -server -Xms128m -Xmx512m 
-XX:MaxPermSize=256m -Dorg.jboss.resolver.warning=true 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 
-Duser.timezone=EDT -Djava.net.preferIPv4Stack=true 
-Djava.endorsed.dirs=/opt/jboss-5.0.1.GA/lib/endorsed -classpath 
/opt/jboss-5.0.1.GA/bin/run.jar:/usr/java/jdk1.5.0_19/lib/tools.jar 
org.jboss.Main -c default -b 0.0.0.0

Yet, against all odds, the log still timestamps everything one hour behind.

Any suggestions?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238821#4238821

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238821
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread chipschoch
JBOSS AS 4.2.2.
JBM 1.4.4

I just upgraded my JBM to 1.4.4 and am trying to read a queue from a JUnit 
test.  I get:


  | org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  | at 
org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:269)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:187)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
  | at 
org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_26795951.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_26795951.java)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:87)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createConnection(JBossConnectionFactory.java:82)
  | at com.eLynx.Test.JBMTest.readBpmErrorQueueTest(JBMTest.java:70)
  | 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:585)
  | at 
org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44)
  | at 
org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15)
  | at 
org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41)
  | at 
org.junit.internal.runners.statements.InvokeMethod.evaluate(InvokeMethod.java:20)
  | at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  | at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  | at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:73)
  | at 
org.junit.runners.BlockJUnit4ClassRunner.runChild(BlockJUnit4ClassRunner.java:46)
  | at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
  | at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
  | at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
  | at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  | at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  | at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
  | at org.junit.runners.Suite.runChild(Suite.java:115)
  | at org.junit.runners.Suite.runChild(Suite.java:23)
  | at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:180)
  | at org.junit.runners.ParentRunner.access$000(ParentRunner.java:41)
  | at org.junit.runners.ParentRunner$1.evaluate(ParentRunner.java:173)
  | at 
org.junit.internal.runners.statements.RunBefores.evaluate(RunBefores.java:28)
  | at 
org.junit.internal.runners.statements.RunAfters.evaluate(RunAfters.java:31)
  | at org.junit.runners.ParentRunner.run(ParentRunner.java:220)
  | at org.junit.runner.JUnitCore.run(JUnitCore.java:137)
  | at org.junit.runner.JUnitCore.run(JUnitCore.java:116)
  | at org.junit.runner.JUnitCore.run(JUnitCore.java:107)
  | at org.junit.runner.JUnitCore.runClasses(JUnitCore.java:66)
  | at com.eLynx.Test.Utilities.TestRunner.main(TestRunner.java:255)
  | Caused by: java.lang.NumberFormatException: null
  | at java.lang.Integer.parseInt(Integer.java:415)
  | at java.lang.Integer.valueOf(Integer.java:553)
  | at 
org.jboss.jms.client.remoting.JMSRemotingConnection.createCallbackMetadata(JMSRemotingConnection.java:134)
  | at 
org.jboss.jms.client.remoting.JMSRemotingConnection.addInvokerCallbackHandler(JMSRemotingConnection.java:232)
  | at 
org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:312)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:154)
  | ... 40 more
  | [2009-06-19 12:1

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

2009-06-19 Thread gcoleman
Should deployers/metadata-deployer-jboss-beans.xml contain some stuff about the 
5_1 deployment descriptors?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238818#4238818

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238818
___
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-19 Thread drcallaway
"mircea.markus" wrote : So you know that data changed in the cache store and 
want to 'refresh', you cannot do a  cache.remove as this would also remove it 
from persistent store, right?

Yes. That's exactly the problem. Removing a node from the cache also removes it 
from the data store. I would like to be able to remove a node from the local 
in-memory cache and then retrieve it from the data store when it is next 
requested. It would sure be nice if a node had a "refreshFromCacheLoader()" 
method or even a "removeFromLocalCache()" method.

Can you say a little more about the Option.suppressPersistence API? How would I 
use that? Where can I get a reference to the Option object?

Thanks for your suggestions!

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238817#4238817

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238817
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] Exception in thread "main" javax.xml.ws.WebServiceException: No Content-type in the header!

2009-06-19 Thread Koxkorrita
Hello
i have made one webservice for deploing into my jbosss using jaxws and also
i have made  one client for this.

when i execute the client appears this error:

Exception in thread "main" javax.xml.ws.WebServiceException: No Content-type
in the header!
  at
com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransport
Pipe.java:163)
  at com.sun.xml.xwss.XWSSClientPipe.process(XWSSClientPipe.java:118)
  at
com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:1
15)
  at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
  at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
  at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
  at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
  at com.sun.xml.ws.client.Stub.process(Stub.java:248)
  at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
  at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:10
9)
  at
com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89
)
  at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
  at $Proxy34.getLineasDeSubvencionRequest(Unknown Source)
  at EkirolTramitacionWSCliente.main(EkirolTramitacionWSCliente.java:35)


the code of the client is:
ServicioWS service = new ServicioWS();
  Servicio portType = service.getServicioPort();
  LineasRequestType p = new LineasRequestType();
  p.setCodigo("entidad");
  p.setDescripcion("la desc");
  
portType.getLineasRequest(p);

can you help me?


___
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-19 Thread drcallaway
"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.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238815#4238815

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238815
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread gcoleman
I'm still getting the "jboss.xml is not well formed!" exception, even with an 
empty jboss.xml:


  | http://www.jboss.com/xml/ns/javaee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://www.jboss.com/xml/ns/javaee
  | http://www.jboss.org/j2ee/schema/jboss_5_1.xsd";
  |  version="5.1">
  | 
  | 

I've seen this https://jira.jboss.org/jira/browse/JBMETA-204[/url] which 
suggests there's something broken with schema bindings in my installation. Do 
you have any idea where I can start tracking this down?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238814#4238814

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238814
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread muellere
Hi all,
I just found that JBPM 4.0 implements a JobExecutorThreadPool, instantiating 3 
executor threads by default.

>From this point of view it does not seem to be necessary to start multiple 
>PVMs on the same database instance if the number of executor threads can be 
>increased.

Regards,
Elisabeth

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238812#4238812

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238812
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: xxx-jboss-beans.xml realm

2009-06-19 Thread michel.strogoff
Hi guys,

Thank you for your answers. You were right Wolfgang !

I had applied xml text formatting with eclipse to my xxx-jboss-beans.xml file, 
and it caused a blank line to be appended to the source name. I couldn't see it 
in the log since blank character are not visible !

Thnak you very much,
Best regards,
Eric



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238810#4238810

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238810
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem using multiple timers

2009-06-19 Thread kukeltje
You are most welcome. For others who read this, it is not related to multiple 
timers... this error occurs with one timer as well (afaik)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238805#4238805

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238805
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpm-console user login error with Jbpm-3.26.SP1 and JBo

2009-06-19 Thread arpan25
hi,

I have already populated jbpm_id_user, jbpm_id_membership and jbpm_id_group 
tables...is there anything to be done other than that ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238803#4238803

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238803
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Clustering question (1.4.4)

2009-06-19 Thread gaohoward
1st question:

JBM has its own jgroups config, you can change it as you wanted. It in 
xxx-persistence-service.xml, where xxx is the db name you are using (for 
example mysql).

2st question:

It depends on your needs.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238801#4238801

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238801
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: Peer address from LoginModule

2009-06-19 Thread egiva
Have you succeeded to retrieve client IP on login module? I mean in normal API 
way, other then parsing thread name :)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238796#4238796

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238796
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread krum
so i try to deploy with jboss 5.1.0 and i have the same error but there is a 
description of the problem now:
org.hibernate.AnnotationException: Referenced property not a (One|Many)ToOne: 
thales_isr.missionDAO.entity.FixedFrequency.listTechAnalysisParamses in 
mappedBy of thales_isr.mi
  | ssionDAO.entity.List_Tech_Analysis_Params.fixedFrequency
  | at 
org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:203)
  | at 
org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1163)
  | at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:329)
  | at 
org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1148)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1226)
  | at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:173)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:854)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:425)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:131)
  | at 
org.jboss.jpa.deployment.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:301)
  | 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.reflect.plugins.introspection.ReflectionUtils.invoke(ReflectionUtils.java:59)
  | at 
org.jboss.reflect.plugins.introspection.ReflectMethodInfoImpl.invoke(ReflectMethodInfoImpl.java:150)
  | at 
org.jboss.joinpoint.plugins.BasicMethodJoinPoint.dispatch(BasicMethodJoinPoint.java:66)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:241)
  | at 
org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:109)
  | at 
org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:70)
  | at 
org.jboss.kernel.plugins.dependency.LifecycleAction.installActionInternal(LifecycleAction.java:221)
  | at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54)
  | at 
org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42)
  | at 
org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
  | at 
org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
  | at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
  | at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1631)
  | at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1082)
  | at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:774)
  | at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:540)
  | at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:121)
  | at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:51)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62)
  | at 
org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
  | at 
org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157)
  | at 
org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178)
  | at 
org.jboss.deployers.plugins.deplo

[jboss-user] [JBoss Portal] - Re: Portlet Session Replication related query

2009-06-19 Thread prabhat....@jboss.com
First, clustering problems are hard to solve using community forum as setup 
required to produce your issue is time consuming and not easy. This is when you 
should buy support contract. In your case, it fits more because you said it's 
"very urgent".

You did not mention which portal version you are using. If you heed to my 
previous suggestion then you should be using JBoss  Enterprise Portal Plantform 
(EPP) 4.3. On community side, use Portal 2.7.2 with AS 4.2.3. These versions 
have lots of clustering fixes.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238793#4238793

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238793
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem using multiple timers

2009-06-19 Thread nikosd23
Thanks a lot kukeltje!!!
You have managed with one line to solve our problem.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238790#4238790

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238790
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Clustering question (1.4.4)

2009-06-19 Thread viniciuscarvalho
Hello there! We are preparing an environment that will consist of 2 physical 
servers, where we would have 2 instances on each server, a total of 4 JBoss AS 
instances. Those would be grouped in 2 separate partitions. So far this is 
working great. Now we need to add JBM to the cluster, and some questions arose:

1st: We would like to have a HA cluster where all 4 nodes would form our fail 
over solution, but since the JGroups config of our jboss is separate in 2 
partitions, would JBM act as a 4 instance partition or a 2x2 instance partition?

2nd: Having a "single" cluster formed by 4 nodes on this scenario be the best 
approach?

Best regards

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238784#4238784

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238784
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - How to find total mumber of messages in a queue (i.e. in mem

2009-06-19 Thread jbmuser
Hi Folks,
When I look at my queue from JConsole, value shown in MessageCount attribute  
does not include the messages that are paged. How can I find the total number 
of messages in queue (i.e. in memory + paged)? Any help is greatly appreciated. 
I am using JBM 2.0.0.beta2.

Thanks
Bijith

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238781#4238781

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238781
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread clajoie
I just want to check my understanding here.  When a cluster transfer event is 
occurring the object being transferred is an org.jboss.cache.Fqn.  That is, the 
object I would receive when calling org.jgroups.Message#getObject() would be an 
Fqn.

Is this correct?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238774#4238774

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238774
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread krum
ok, thanks! i will try with JBoss 5.1.0 GA

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238773#4238773

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238773
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: xxx-jboss-beans.xml realm

2009-06-19 Thread Wolfgang Knauf
Hi Eric,

any newlines/spaces around the datasource name? I run into a similar problem 
recently and found that "login-config.xml" trims the JNDI name, but the new 
-jboss-beans.xml does not.

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238770#4238770

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238770
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread jaikiran
Or maybe on AS-4.2.x, package your own version of Hibernate. But i am not sure 
at what point this annotation processing is triggered and whether the packaging 
your own version is going to help.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238769#4238769

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238769
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread jaikiran
It's been marked as fixed in hibernate annotations 3.3.0.GA. JBossAS - 4.x 
series do not ship with this version. Not even JBoss AS 4.2.3 GA. However, 
JBoss AS 5.1.0 GA ships with 3.4.0 GA of hibernate annotations, so migrating to 
AS-5.1.0 would be an option.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238767#4238767

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238767
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - jbpm on portal 2.7.2 WARN logs

2009-06-19 Thread ozguy
Hi,
I am using jboss 4.2.3 with portal 2.7.2 and when the server starts up i see 
lots of WARN related to jbpm configurations not found as listed below.

How can i fix this warnings? 


21:07:41,250 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Node]; using defaults.
21:07:41,406 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.instantiation.Delegation]; using defaults.
21:07:41,718 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.Task]; using defaults.
21:07:42,156 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ProcessDefinition]; using defaults.
21:07:42,437 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ExceptionHandler]; using defaults.
21:07:42,453 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Action]; using defaults.
21:07:42,468 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.module.def.ModuleDefinition]; using defaults.
21:07:44,281 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Event]; using defaults.
21:07:44,531 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.context.def.VariableAccess]; using defaults.
21:07:44,703 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Transition]; using defaults.
21:07:44,953 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.TaskController]; using defaults.
21:07:45,031 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks]; using defaults
21:07:45,031 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.node.ProcessState.variableAccesses]; using defau
21:07:45,031 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ProcessDefinition.events]; using defaults.
21:07:45,031 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.Swimlane.tasks]; using defaults.
21:07:45,031 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Node.leavingTransitions]; using defaults.
21:07:45,046 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.TaskController.variableAccesses]; using d

21:07:45,046 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ProcessDefinition.exceptionHandlers]; using
.
21:07:45,046 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.node.Decision.decisionConditions]; using default
21:07:45,046 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.file.def.FileDefinition.processFiles]; using defaults.
21:07:45,062 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ProcessDefinition.actions]; using defaults.
21:07:45,062 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Transition.exceptionHandlers]; using default
21:07:45,062 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ProcessDefinition.nodes]; using defaults.
21:07:45,078 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Node.arrivingTransitions]; using defaults.
21:07:45,078 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.node.TaskNode.tasks]; using defaults.
21:07:45,078 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ProcessDefinition.definitions]; using defaul
21:07:45,093 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Event.actions]; using defaults.
21:07:45,093 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.Task.events]; using defaults.
21:07:45,093 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Node.events]; using defaults.
21:07:45,093 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes]; using defa
21:07:45,093 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.SuperState.nodes]; using defaults.
21:07:45,093 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.action.Script.variableAccesses]; using defaults.
21:07:45,109 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.ExceptionHandler.actions]; using defaults.
21:07:45,109 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.taskmgmt.def.Task.exceptionHandlers]; using defaults.
21:07:45,109 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Node.exceptionHandlers]; using defaults.
21:07:45,109 WARN  [EhCacheProvider] Could not find configuration 
[org.jbpm.graph.def.Transition.events]; using defaults.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238764#4238764

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238764
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jbos

[jboss-user] [JBoss Messaging] - Re: journal files not getting cleaned up and server startup

2009-06-19 Thread jbmuser
Hi Clebert,
Just tested successfully with 2.0.0.beta3. Awesome!!!

Thanks
Bijith

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238762#4238762

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238762
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread krum
ok thanks, can you tell me if this bug exist in any version of JBoss ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238761#4238761

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238761
___
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-19 Thread gaohoward
Thanks a lot Markus. I'll be on this one very soon (I'm closing another issue 
right now).

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238747#4238747

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238747
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Manual node locking?

2009-06-19 Thread mircea.markus
anonymous wrote : To lock object O:
  | 1. val = cache.put( '/locks', O, 'lock' )
  | 2a. If val == null, we have the lock (no previous 'put')
  | 2b. Else (val != null ) somebody else locked it first. Use a cache listener 
to wait for removed nodes
  | 3a. Lock owner in (2a) proceeds. When finished, call cache.remove( 
'/locks', O )
  | 3b. Contenders from (2b) get notified and return to (1)
You have to use tx in order to keep the lock from step1 to step 3. Otherwise 
the lock will be released when cache.put returns. Here is a way for doing this:

//1 use the tx manager that comes with cache;line bellow can also be specified 
through configuration, in transaction element, transactionManagerLookupClass 
attribute
  | 
configuration.setTransactionManagerLookupClass(DummyTransactionManagerLookup.class.getName());
  | 
  | //2. obtain the TransactionManager
  | TransactionManager tm = 
cache.getConfiguration().getRuntimeConfig().getTransactionManager();
  | 
  | //3. start a transaction
  |   tm.begin();
  | 
  | //4. make sure that the node will be locked even if you only read it. After 
this call you are ensured to be the only one having access to the node
  | cache.getInvocationContext().getOptionOverrides().setForceWriteLock(true);
  | Object o = cache.get(fqn, "k");
  | 
  | //5. do whatever you need, the locks are still held here
  | 
  | 
  | //locks are released here, other trying to read same fqn will be allowed to
  | 6.tm.release();



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238745#4238745

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238745
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Serious idle problem with Bridges on AS 5.1.0.Beta

2009-06-19 Thread rnicholson10
Sorry about the delay in getting back to you.

Here's the log from the box1, after the idle time. 

It seems that the remoting session etc. is found. Spot anything interesting?

The second log extract is from box2 when I try to redeploy one of the bridges.


  | 2009-06-19 09:43:40,373 DEBUG [org.jboss.remoting.Client] 
(http-0.0.0.0-8080-1) starting callback Connector: InvokerLocator 
[bisocket://172.16.113.11:871825415/callback?callbackServerHost=172.16.113.11&callbackServerPort=871825415&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jboss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=4sg35b-wu44bh-fw3t9ply-1-fw4nm1g4-jq&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.remoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper]


  | 2009-06-19 09:43:40,385 DEBUG [org.jboss.remoting.ServerInvoker] 
(http-0.0.0.0-8080-1) SocketServerInvoker[172.16.113.11:871825415] did not find 
server socket factory configuration as mbean service or classname. Creating 
default server socket factory.  
   
  | 2009-06-19 09:43:40,385 DEBUG [org.jboss.remoting.ServerInvoker] 
(http-0.0.0.0-8080-1) SocketServerInvoker[172.16.113.11:871825415] created 
server socket factory javax.net.defaultserversocketfact...@87bf5


  | 2009-06-19 09:43:40,385 DEBUG 
[org.jboss.remoting.transport.bisocket.BisocketServerInvoker] 
(http-0.0.0.0-8080-1) SocketServerInvoker[172.16.113.11:871825415] setting 
pingFrequency to 214748364  

 
  | 2009-06-19 09:43:40,385 DEBUG 
[org.jboss.remoting.transport.bisocket.BisocketServerInvoker] 
(http-0.0.0.0-8080-1) SocketServerInvoker[172.16.113.11:871825415] setting 
pingWindowFactor to 10  

 
  | 2009-06-19 09:43:40,385 DEBUG [org.jboss.remoting.transport.Connector] 
(http-0.0.0.0-8080-1) org.jboss.remoting.transport.connec...@1117568 started
 
  | 2009-06-19 09:43:40,385 DEBUG [org.jboss.remoting.ServerInvoker] 
(http-0.0.0.0-8080-1) ServerInvoker 
(SocketServerInvoker[172.16.113.11:871825415]) added client callback handler 
CallbackManager[12d3d44] with session id of 
4sg35b-wu44bh-fw3t9ply-1-fw4nm1g4-jo+4sg35b-wu44bh-fw3t9ply-1-fw4nm1gh-jr and 
callback handle object of null. 
  | 2009-06-19 09:43:40,385 DEBUG [org.jboss.remoting.InvokerRegistry] 
(http-0.0.0.0-8080-1) removed 
org.jboss.remoting.transport.local.localclientinvo...@1e3ba17 from registry 
   
  | 2009-06-19 09:43:40,385 DEBUG 
[org.jboss.remoting.callback.ServerInvokerCallbackHandler] 
(http-0.0.0.0-8080-1) Session id for callback handler is 
4sg35b-wu44bh-fw3t9ply-1-fw4nm1g4-jo+4sg35b-wu44bh-fw3t9ply-1-fw4nm1gh-jr   

  
  | 2009-06-19 09:43:40,385 DEBUG 
[org.jboss.remoting.callback.ServerInvokerCallbackHandler] 
(http-0.0.0.0-8080-1) 
ServerInvokerCallbackHandler[4sg35b-wu44bh-fw3t9ply-1-fw4nm1g4-jo+4sg35b-wu44bh-fw3t9ply-1-fw4nm1gh-jr]
 using callbackTimeout value 1  
  
  | 2009-06-19 09:43:40,385 DEBUG 
[org.jboss.remoting.callback.DefaultCallbackErrorHandler] (http-0.0.0.0-8080-1) 
DefaultCallbackErrorHandler[UNITIALIZED] setting server invoker to 
SocketServerInvoker[jbdevapp1:4457] 

   
  | 2009-06-19 09:43:40,385 DEBUG 
[org.jboss.remoting.callback.DefaultCallbackErrorHandler] (http-0.0.0.0-8080-1) 
DefaultCallbackErrorHandler[SocketServerInvoker[jbdevapp1:4457]] setting 
callback handler to 
ServerInvokerCallbackHandler[4sg35b-wu44bh-fw3t9ply-1-fw4nm1g4-jo+4sg35b-wu44bh-fw3t9ply-1-fw4nm1gh-jr]
  
  | 2009-06-19 09:43:40,385 DEBUG 
[org.jboss.jms.server.remoting.JMSServerInvocationHandler] 
(http-0.0.0.0-8080-1) adding callback handler 
ServerInvokerCallbackHandler[4sg35b-wu44bh-fw3t9ply-1-fw4nm1g4-jo+4sg35b-wu44bh-fw3t9ply-1-fw4nm1gh-jr]
  

[jboss-user] [JBoss Tools (users)] - Re: Seam

2009-06-19 Thread Cvele_eSoft
"max.ander...@jboss.com" wrote : You can use Hibernate Tools to just generate 
entities
  | 
- thanks, so it is possible...when you say "use Hibernate Tools", do you mean 
Create Hibernate Console Configuration, or what ? Any resource to learn how to 
do that from JBT ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238740#4238740

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238740
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem using multiple timers

2009-06-19 Thread kukeltje
do not use 'node.ĺeave' in a timer where you also have a transition specified 
in the timer. The transition is automatically taken if the action in the timer 
has finished.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238738#4238738

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238738

___
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-19 Thread mclu
Howard!

Here more analysis!

I can see that the order is scambled.
But this has nothing to do with the ordered load of the messages. It has to do 
with updating the Page_ORD.

The above error can be reproduced if you kill the server before all Page_Ord`s 
are updated.
So before UpdatePageOrderRunner().executeWithRetry(); finishes.

Then I see in my database this!


  | ORD numbers not real numbers
  | 
  | ORD  PAGE_ORD
  | 1   NULL
  | 2   NULL
  | 
  | 24 NULL
  | 25  25
  | 26  26
  | ...
  | 84  84
  | 85 NULL
  | 86 NULL
  | ...
  | 115   NULL
  | 

As you can see after Ord 85 the page_ord was not yet set!

Then I restart the server and while starting the QueueService the load() method 
is called. This results in calling loadFromStart() at the JDBC 
PersistenceManager.  
I don't know why but after the first call it loads 50 unpaged messages to the 
Queue(pageOrd=NULL) and updated one (the last one) to 85. ?!?
So the ord message 115 has now page_ord 85.??

Then I stopped debugging.
So it seams that setting the right page_ord numbers is not handled well if the 
system has not set the numbers for the newest messages!

Hope this helps to reproduce the Bug

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238734#4238734

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238734
___
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-19 Thread jpviragine
Ariel,

The main purpose of dashboard is to provide the user the possibility to 
customize his view of the portal. Something like iGoogle.

When we translated the word dashboard for Brazilian Portuguese, we translated 
to 'Meu Portal', a word that means My Portal in English.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238733#4238733

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238733
___
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-19 Thread jpviragine
Hi uxa,

Have you created the default-object.xml or something-object.xml?

In your case, the content of the file should be something like:


  |
  |   default
  |   overwrite
  |   
  |  SimplestHelloWorld
  |  SimplestHelloWorld
  |  
  | SimplestHelloWorldWindow
  | SimplestHelloWorldInstance
  | center
  | 0
  |  
  |   
  |
  | 

Cheers,
JP

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238732#4238732

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238732
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Metrics in JBoss Messaging.

2009-06-19 Thread mlange
AOP is a technology to implement cross-cutting concerns and it is heavily used 
in JBM 1.4. I simply used the existing classes (some of them are precompiled 
with aopc) and added an interceptor. This one is called before/after the method 
call. Using this the message rate (incoming/outgoing) or the registered 
listeners can be easily recognized. The MBean is used for the data collection, 
so the values can be monitored from there using JMX. If you are interested I 
can provide the code - fairly simple but effective stuff. Unfortunately JBM 
itself (at least in 1.4) does not provide useful metrics.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238729#4238729

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238729
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Securing jmx-remoting.sar

2009-06-19 Thread lkrejci
The standard JVM platform Mbeans can be accessed remotely by specifying 
-Dcom.sun.management.jmxremote.* properties on the JVM startup. One can specify 
role based authentication, ssl access, client side ssl certificate validation, 
etc. with regards to securing the remote connections.

Is there a way of securing jmx-remoting.sar and the resulting jmx connector 
URL, i.e. service:jmx:rmi:///jndi/rmi://localhost:1090/jmxconnector, that 
exposes JBoss Mbeans remotely in a similar fashion?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238728#4238728

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238728
___
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-19 Thread mircea.markus
anonymous wrote : Basically, I remove the cache store interceptor before 
removing the child (this removes the local node but doesn't touch the 
database). I then add the interceptor back and retrieve the node. This will 
"refresh" the node from the database. 
So you know that data changed in the cache store and want to 'refresh', you 
cannot do a  cache.remove as this would also remove it from persistent store, 
right? If so take a look at org.jboss.cache.config.Option#suppressPersistence 
API. Another way would be to make your cache store read only, i.e. use , but that's a general setting and cannot be 
configured an a per call basis.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238727#4238727

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238727
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Seam

2009-06-19 Thread max.ander...@jboss.com
You can use Hibernate Tools to just generate entities


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238726#4238726

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238726
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hotdeploy problem (JBoss Tools not useable)

2009-06-19 Thread max.ander...@jboss.com
well I would really like to know why the same project in europe doesn't work on 
ganymede.

Could you create the *simplest* project that illustrates this and report it in 
jira ?

Would like to know if it is something that changed in Eclipse or in JBoss Tools 
that causes it.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238725#4238725

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238725
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Problem using multiple timers

2009-06-19 Thread nikosd23
Hi,

We have identified a case in which when using 2 timers in a flow we get 
exception. To be more specific, we use the following process-definition.xml


  | 
  | 
  |
  |   
  |
  |
  |   
  |  System.out.println('WAITING FOR 
'+firstTimer);
  |
  |
  |
  |   
  |
  |
  |   
  |  
  | System.out.println('After first timer. Going to second timer');
  |  
  |   
  |   
  |
  |
  |
  |   
  |
  |
  |   
  |  System.out.println('After second wait time');
  |  
  |   
  |   
  |
  |
  | 

The source code of TimeoutActionHandler follows:

public class TimeoutActionHandler implements ActionHandler {
  | private static final long serialVersionUID = 1L;
  | private Logger log = Logger.getLogger(TimeoutActionHandler.class);
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | 
  | ProcessInstance processInstance = 
executionContext.getProcessInstance();
  | if (processInstance.getRootToken().isLocked()) {
  | log.debug("A timer of Flow " + processInstance.getId() + " was 
skipped. The flow had been resumed.");
  | return;
  | }
  | 
  | executionContext.setVariable(MESSAGE_CODE, "timeout");
  | executionContext.leaveNode();
  | }
  | 
  | }

The flow starts and we get in the first wait state, the token waits there for 4 
seconds, then we have a System.out.println, then instead of getting in the 
second wait state, we get the second printout and we get errors. The errors we 
receive follow:
anonymous wrote : 2009-06-19 10:52:18,645 INFO  [STDOUT] WAITING FOR 4 seconds
  | 2009-06-19 10:52:18,660 WARN  
[org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy 
to class org.jbpm.graph.node.State - this operation breaks ==
  | 2009-06-19 10:52:22,225 WARN  
[org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy 
to class org.jbpm.job.Timer - this operation breaks ==
  | 2009-06-19 10:52:22,310 INFO  [STDOUT] After first timer. Going to second 
timer
  | 2009-06-19 10:52:22,327 WARN  
[org.hibernate.engine.StatefulPersistenceContext.ProxyWarnLog] Narrowing proxy 
to class org.jbpm.graph.node.State - this operation breaks ==
  | 2009-06-19 10:52:22,398 INFO  [STDOUT] After second wait time
  | 2009-06-19 10:52:22,462 ERROR 
[org.hibernate.event.def.AbstractFlushingEventListener] Could not synchronize 
database state with session
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.job.Timer#9853]
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1765)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2523)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2697)
  | at 
org.hibernate.action.EntityDeleteAction.execute(EntityDeleteAction.java:74)
  | at org.hibernate.engine.ActionQueue.execute(ActionQueue.java:250)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:234)
  | at 
org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:146)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at 
org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:253)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:211)
  | at org.jbpm.svc.Services.close(Services.java:222)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  | at 
org.jbpm.job.executor.JobExecutorThread.executeJob(JobExecutorThread.java:267)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:71)
  | 2009-06-19 10:52:22,469 ERROR 
[org.jbpm.persistence.db.DbPersistenceService] hibernate commit failed
  | org.hibernate.StaleObjectStateException: Row was updated or deleted by 
another transaction (or unsaved-value mapping was incorrect): 
[org.jbpm.job.Timer#9853]
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.check(AbstractEntityPersister.java:1765)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delete(AbstractEntityPersister.java:2523)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.delet

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

2009-06-19 Thread Wolfgang Knauf
Hi,

you have to synchronize them yourself. So the setter of one attribute has to 
update the other. This might be a problem for the embedded id, because it 
cannot set it's timestamp value to the outer class.
But you might add a "@PreUpdate" callback method to your entity and synchronize 
both values.

Hope this helps

Wolfgang

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238722#4238722

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238722
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - About the UseParallelOldGC

2009-06-19 Thread cytchiu
I am running a cluster JBoss servers.
Both server has 4 CPUs, dual cores. i.e. 8 logical CPUs.

I want to tune the JVM setting and I found that I can use the following 
parameters:

+UseParallelOldGC -XX:ParallelGCThreads

I did some load test with different number of ParallelGCThreads.
However, I was surprised from the load test result that, the Full GC time for 
the UseParallelOldGC is much longer than I didn't use it. E.g.
A) Parallel Old GC = 7 
4.1747870 secs 
  
B) Parallel Old GC = 3 
4.2135090 secs 

C) No Parallel Old GC 
2.7176180 secs

Does anyone know any reason why the Parallel GC can perform poor? 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238719#4238719

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238719
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: Problem with cach when a user modifies his password on J

2009-06-19 Thread vladoseprak
Hello,

I'm having the same problem with JBoss Portal 2.7.1 authenticating with 
OpenLDAP. Im using user administration portlet (shipped with portal) for 
changing user password, but I can access portal with old password as well. Even 
http://www.jboss.org/community/wiki/CachingLoginCredentials didn't help. Is 
there some other way or setting that can solve this problem.

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238717#4238717

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238717
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Concurrency Problem

2009-06-19 Thread kukeltje
And maybe this as well

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238716#4238716

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238716
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - Failsafe RMI

2009-06-19 Thread goldi
Hy,

I'm wondering what the best way is to make a RMI/Synchron-Call (from JBoss to 
JBoss) failsafe. So I have JBoss1 in wich is running  a SSB 
(doing some things on DB return result), and JBoss 2 in wich is running a SSB 
calling SSB on JBoss1.


Problems that may occur: 

- SSB from JBoss2 tries to call SSB on JBoss1 and JBoss1 is down
  + how to retry the call?

- SSB from JBoss2 calls SSB on JBoss1 and the connection gets lots during the 
call
   + how to retry the call?

- SSB from JBoss2 calls SSB on JBoss1, SSB on JBoss1 changes things in the DB 
after that the connection between the two JBoss gets lost 
  + how to rollaback the changes in the database?


I took a look at jboss-remoting and it seems that this could solve this 
problems. 


Greets goldi

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238714#4238714

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238714
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Portlet Session Replication related query

2009-06-19 Thread rinku05
I am using jboss AS 4.2.1, jboss portal and apache2.2 for clustering setup.
I am successful in achieving the clustering. My test scenarios are:
Scenario1:
1. start the jboss application server and apache server on both the machines.
2. login to the site, minimize the portlet say on pageA.
3. stop the server which served this page.
4. You will be still on the same pageA with portlet still minimized(as desired)
5. click on different tab, now come back to the pageA. Now the portlet size is 
not the minimized one but the original one.
 But if before performing step5 you refresh the page, portlet size on pageA 
would minimized one.
Is this the expected behaviour?

Scenario2:
I have one more issue:
1. start the jboss application server and apache server on both the machines.
2. login to the site.
3. click on different tab to get pageA
3. stop the server which served this page.
4. You will be still on the same pageA 
5. Now click on logout link.
You'll be taken to home tab ie default tab. If you click logout now u would be 
looged out.
But if before performing step5 you refresh the page, and now click logout, u'll 
be logget out.

Please help me.Please reply.Its very urgent.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238712#4238712

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238712
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Logging mails in jBPM 4.0.CR1

2009-06-19 Thread kukeltje
Alex, did you file a Jira ;-)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238710#4238710

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238710
___
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-19 Thread kukeltje
3.2? Why 3.2 and not the minor update to 3.2.6sp1? Strange policy

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238709#4238709

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238709
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - form field validation and form posting not working after a d

2009-06-19 Thread brettcave
have a strange error that I am really battling to isolate.

have a jsf page with validation, using code like:




I deploy the application (hot deploy disabled, restart JBoss to deploy new 
version). 

The validation / form posting on the entire app doesnt work. But after a few 
hours, everything starts working. I suspect a cache issue somewhere, but have 
no idea where. 

I am accessing the application via apache + mod_jk. I restart JBoss, restart 
apache (which also has no disk / file caching enabled, only mem_cache) and 
still cant validate immediately after the deploy.

the jsf page has no-cache headers too.

its definitely not client side. and it does the same whether over http or 
https. 

any ideas what could be causing this??


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238708#4238708

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238708
___
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-19 Thread vickyk
Also did you confirm from the JNDI view if the Queues are bound to JNDI 
properly, I don't think so.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238706#4238706

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238706
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread jaikiran
This is actually a bug 
http://opensource.atlassian.com/projects/hibernate/browse/ANN-554?focusedCommentId=26534#action_26534

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238704#4238704

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238704
___
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-19 Thread vickyk
"kennardconsulting" wrote : The JBoss Messaging guys (you have them to blame 
for this :) suggested I refer this issue to you.
  | 

Let us get back to the same forum entry and pick some info from there, I see 

activations...@1030063(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@e0863a
 destination=que
  | ue/avant-ss/imports1 

I don't see any Queue bound to this name queue/avant-ss/imports1.
Can you share the MDB configurations?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238703#4238703

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238703
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: Description / Parameter names etc in jmx-console

2009-06-19 Thread mlange
I am not familiar with the annotations used there but the descriptions only 
appear if you use XMBeans or Dynamic MBeans (no standard mbeans),

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238702#4238702

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238702
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hotdeploy problem (JBoss Tools not useable)

2009-06-19 Thread baz
I have copied my Europa workspace and used the copy with ganymede. The same 
result/problem.
ZThe only thing that is working is to generate a new seam project with JBT 
inside ganymede
So i fear that i must go back to europa. I can not change the way our eclipse 
artefacts are generated:-(

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238700#4238700

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238700
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Is there any way that we can get the details of all the port

2009-06-19 Thread vijay2p
Hi All,

Is there any way that we can get the details of all the portals and sub pages 
in xml file in JBOSS Portal.

Early help will apreciated.
Thanks,
VJ

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238699#4238699

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238699
___
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-19 Thread galder.zamarr...@jboss.com
"drcallaway" wrote : .. Though mostly static, this data may occasionally 
change. When this happens, is there a way to force the cache to refresh this 
node with data from the cache loader? This process would be similar to removing 
the node and then running preload again.
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.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238697#4238697

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238697
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB/JBoss] - Problem with a OneToOne relation

2009-06-19 Thread krum
Hi,
I have a problem when i would lyke to deploy my jar on my jboss server 4.2.2 
GA. I generate my entity from my database. and when i have an @OneToOne 
annotation, i have this error when i deploy:

14:13:55,029 WARN  [ServiceController] Problem starting service 
persistence.units:jar=thales_isr.missionDAO.jar,unitName=mission
  | java.lang.NullPointerException
  | at 
org.hibernate.cfg.OneToOneSecondPass.doSecondPass(OneToOneSecondPass.java:135)
  | at 
org.hibernate.cfg.Configuration.secondPassCompile(Configuration.java:1130)
  | at 
org.hibernate.cfg.AnnotationConfiguration.secondPassCompile(AnnotationConfiguration.java:296)
  | at 
org.hibernate.cfg.Configuration.buildMappings(Configuration.java:1115)
  | at 
org.hibernate.ejb.Ejb3Configuration.buildMappings(Ejb3Configuration.java:1233)
  | at 
org.hibernate.ejb.EventListenerConfigurator.configure(EventListenerConfigurator.java:154)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:869)
  | at 
org.hibernate.ejb.Ejb3Configuration.configure(Ejb3Configuration.java:407)
  | at 
org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:126)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:246)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
  | 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(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 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 $Proxy80.start(Unknown Source)
  | at 
org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
  | at 
org.jboss.ejb3.Ejb3Deployment.startPersistenceUnits(Ejb3Deployment.java:627)
  | at org.jboss.ejb3.Ejb3Deployment.start(Ejb3Deployment.java:351)
  | at org.jboss.ejb3.Ejb3Module.startService(Ejb3Module.java:91)
  | 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(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(ServiceControlle

[jboss-user] [JBoss Tools (users)] - Re: Seam

2009-06-19 Thread Cvele_eSoft
- anybody knows ? Whenever generate entities by rev. engineering from database, 
it always creates CRUD interfaces too. Any way to change this behavior ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238694#4238694

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238694
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: journal files not getting cleaned up and server startup

2009-06-19 Thread jbmuser
Thank you Clebert. Will try it and let you know.

Bijith

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238692#4238692

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238692
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - Re: Hotdeploy problem (JBoss Tools not useable)

2009-06-19 Thread max.ander...@jboss.com
Yes, unless you are using the *same* project i'm inclined to say Maven's 
generation is broken.

What happens if you simply use the same workspace you used in Europe with 
Ganymede ? 



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238690#4238690

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238690
___
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-19 Thread anisj1m
thank you very much alex,

the version of jbpm that i am using is 3.2 , in it's instalation there isnt 
oracle option for instalation, and i cant use the new version.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238686#4238686

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238686
___
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-19 Thread jaikiran
"kennardconsulting" wrote : 
  |  ...but this doesn't seem to quite work because the VM arg isn't passed 
through run.conf.bat (if you manually put it in the run.conf.bat it does). So 
close!
  | 
  | 

That seems to be a bug then. The run.bat.conf was a recent addition, let's see 
what issue it might have (although i don't have a Windows system right now).


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238684#4238684

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238684
___
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-19 Thread jaikiran
I just tried this with the default DLQ configuration that comes with JBoss:


  |   jaikiran/DLQ
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=PostOffice
  |

And it worked fine for me. The server started up with this log:

13:21:49,353 INFO  [QueueService] Queue[jaikiran/DLQ] started, fullSize=20, 
pageSize=2000, downCacheSize=2000  

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238683#4238683

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238683
___
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-19 Thread jaikiran
And please also post the exact queue configuration file contents. The first 
post contains a combination of JBoss MQ and JBoss Messaging queue 
configurations. Just want to make sure we are discussing about the correct file.


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238681#4238681

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238681
___
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-19 Thread jaikiran
"kennardconsulting" wrote : if I declare a heirarchical JNDI queue in my 
destinations-service.xml it shouldn't fail just because I don't also deploy an 
app that depends on it.
  | 

You mean, if you create a queue with that "hierarchical" JNDI name and don't 
deploy any applications which use this queue, you still see the failure? Can 
you post the entire exception stacktrace in such a scenario? I guess it should 
not be a NameNotFoundException.



View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238679#4238679

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238679
___
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-19 Thread VincentGR
Yes but from your post I had understood that deploying EJBs was not possible. 
Perhaps I misunderstood. Here is what I tried. I have the following EJB:


  | @Remote
  | @WebService
  | public class HelloWorldBean implements HellowWorld
  | {
  | @WebMethod
  | public String sayHello( @WebParam(name="msg")final String msg )
  | { return "Saying: " + msg; }
  | }
  | 

I encapsulate it into an OSGi bundle (just added the required dependency to the 
javax.ws API in the bundle Manifest.mf). Then I put it into the deploy folder 
of JBoss 5 (with OSGi integration installed). In the log I can see my bundle 
beeing deployed, but no trace of the EJB nor the webservice (checked in the JMX 
console and at localhost:8080/jbossws/). If I remove the OSGi-specific entries 
from the manifest the EJB is deployed correctly.

So what did I miss ?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238678#4238678

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238678
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss OSGi] - Re: JBossOSGi source archive

2009-06-19 Thread VincentGR
Thanks ;)

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238677#4238677

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238677
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: xxx-jboss-beans.xml realm

2009-06-19 Thread jaikiran
Post the contents of your -ds.xml and also the jboss-web.xml.

While posting logs or xml content or code, please remember to wrap it in a code 
block by using the Code button in the message editor window. Please use the 
Preview button to ensure that your post is correctly formatted.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238675#4238675

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238675
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


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

2009-06-19 Thread mnenchev
"PeterJ" wrote : Ah yes, it's always the details that you don't provide that 
are the root cause. Glad you found the problem and are up and running.
Yes, but if i knew i would never ask :).
Coulde you tell me some book or tutorial how to configure jboss for production. 
We will migrate to the last stable release.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238673#4238673

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238673
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Regarding Jboss deploying war

2009-06-19 Thread jaikiran
See this http://www.jboss.org/community/wiki/ExplodedDeployment

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4238674#4238674

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4238674
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user