[jboss-user] [JBoss Seam] - Entity association reflection issue

2007-12-05 Thread nevilleharrison
Hi,

I have generated an application using seam-gen (via the JBoss Tools) to an SQL 
server database that contains two tables:  S_Application and 
S_Application_History. The S_Application_History table has a foreign key 
mapping to S_Application.

Seam-gen creates corresponding SApplication, SApplicationHome, 
SApplicationHistory and SApplicationHistoryHome objects.  

The generated application fails with PropertyNotFound errors which seem to be 
related to the generated method names.  Specifically, we have foundthat the 
double initial capital letter causes problems.

For example, when trying to traverse the association such as 
#{sApplicationHistoryHome.instance.sApplication} a PropertyNotFoundException 
occurs.   This traversal corresponds to 
sApplicationHistoryHome.getInstance().getSApplication().

In this example, if we change getSApplication to getApp (and change the 
corresponding code in the other relevant places) then the traversal works OK.  
ie the method name does not have two consective capital letters.

This seems to be a bug.

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam 2.0 and Weblogic 10 Server

2007-12-05 Thread Vincent321
Hello, 

Is there somewhere best practices or recipe guide to deploy seam apps on 
weblogic 10 ? 


Thanks


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

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


[jboss-user] [JBoss Seam] - Conversation problem

2007-12-05 Thread Stateless Bean
Hi,

My scenario:
I got menu in page: Order, Search, ...etc.
When user goes into Order i start new nested conversation and here when user 
click on other link in menu like Search I want to ask him Do you really want 
to exit?.

If yes I destroy conversation of my order and go to other page,
If not I want to go back to my order page and my conversation.

So far i done this:
in xhtml body, i added declaration unload to show new popup window.
body onunload=page_exit();

and here is my function

  | function page_exit() {
  | var r=confirm(Do you want to exit order?);
  | if (r==true) {
  | }
  | else {
  | window.location.href = 
http://localhost:8080/app/pages/order.seam;;
  | }
  | }
  | 

And here is my trouble:
How can I go back to my existing conversation and return my page?

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

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


[jboss-user] [JBossWS] - Re: Jbossws 2.0.2 with jdk1.6

2007-12-05 Thread Artec
There other configuration to do in my jbossws-native-2.0.2.GA ??

Thanks
Davide

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

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


[jboss-user] [EJB/JBoss] - java.lang.ClassCircularityError

2007-12-05 Thread deadrow
Please HELP. I am in deep troubles. I am running jboss 4.2.2 on HP-UX 11.11 and 
 java build 1.5.0.04  and randomly I get an error starting jboss. The problem 
is pretty serious bc all my EJB2s won't be deployed (while EJB3s are deployed 
correctly). I didn't get this error with jboss 4.0.5, I came out after 
migrating to jboss 4.2.2.

I restart my jboss server daily and so far I got this exception 3 out of 12 
days. When my jboss server fails to start correctly, I try to restart it and I 
don't get any error on the second start.

I think the error is link either to jboss/jacorb or to the JVM. Anybody could 
help me ? Any suggestion?

This is the stack trace, I get:
  
07:32:58,461 WARN  [ServiceController] Problem starting service 
jboss:service=CorbaORB
java.lang.ClassCircularityError: org/jacorb/poa/util/POAUtil
at org.jacorb.poa.POA.create_POA(Unknown Source)
at org.jboss.iiop.CorbaORBService.startService(CorbaORBService.java:286)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
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 $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor25.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 

[jboss-user] [JBoss Messaging] - Bridge Status inconsistent when JDBC Connections are recreat

2007-12-05 Thread rogerdudler
We are using JBoss Messaging 1.4.0.GA on JBoss 4.0.5 with all the prerequisites 
needed by JBoss Messaging. Everything works fine, except some issues on the 
messaging bridge, when the underlying database connections became invalid.

The source destination of the bridge is located on a remote messaging server 
(also JBoss Messaging 1.4.0.GA, but on JBoss 4.2.2.GA) and the destination 
exists locally.

If a JDBC connection becomes invalid (in the following example, during the  
messaging reaper is running) and the pool creates a new one and the reaper 
updates properly, but after this, it seems that the Messaging Bridge has an 
inconsistent state. JMX Console shows that bridge is Started, but it does not 
consume the remote queue anymore. After invoking stop and start on the 
bridge (JMX Console), the bridge begins to work as expected.

Any ideas?


  | 
  |  before, there are connections which are unavailable, while reaper is 
running...
  | 
  | -:anonym: 2007-12-05 09:23:33,937 [Timer-3] WARN  
jboss.messaging.core.impl.JDBCSupport - SQLException caught, SQLState null 
code:0- assuming deadlock detected, try:22
  | org.jboss.util.NestedSQLException: Could not create connection; - nested 
throwable: (com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -1035, 
SQLSTATE: 57019, SQLERRMC: null); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: 
-1035, SQLSTATE: 57019, SQLERRMC: null))
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
  | at 
org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner.execute(JDBCSupport.java:383)
  | at 
org.jboss.messaging.core.impl.JDBCSupport$JDBCTxRunner.executeWithRetry(JDBCSupport.java:407)
  | at 
org.jboss.messaging.core.impl.JDBCPersistenceManager.reapUnreferencedMessages(JDBCPersistenceManager.java:2357)
  | at 
org.jboss.messaging.core.impl.JDBCPersistenceManager.access$1000(JDBCPersistenceManager.java:78)
  | at 
org.jboss.messaging.core.impl.JDBCPersistenceManager$Reaper.run(JDBCPersistenceManager.java:2381)
  | at java.util.TimerThread.mainLoop(Timer.java:512)
  | at java.util.TimerThread.run(Timer.java:462)
  | Caused by: org.jboss.resource.JBossResourceException: Could not create 
connection; - nested throwable: (com.ibm.db2.jcc.c.SqlException: DB2 SQL error: 
SQLCODE: -1035, SQLSTATE: 57019, SQLERRMC: null)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:179)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:565)
  | at 
org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:250)
  | at 
org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:529)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:396)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | ... 7 more
  | Caused by: com.ibm.db2.jcc.c.SqlException: DB2 SQL error: SQLCODE: -1035, 
SQLSTATE: 57019, SQLERRMC: null
  | at com.ibm.db2.jcc.c.p.a(p.java:3493)
  | at com.ibm.db2.jcc.b.hb.q(hb.java:709)
  | at com.ibm.db2.jcc.b.hb.p(hb.java:583)
  | at com.ibm.db2.jcc.b.hb.l(hb.java:408)
  | at com.ibm.db2.jcc.b.hb.d(hb.java:147)
  | at com.ibm.db2.jcc.b.b.cc(b.java:1418)
  | at com.ibm.db2.jcc.b.b.a(b.java:1342)
  | at com.ibm.db2.jcc.b.b.s(b.java:1040)
  | at com.ibm.db2.jcc.b.b.b(b.java:746)
  | at com.ibm.db2.jcc.b.b.a(b.java:732)
  | at com.ibm.db2.jcc.b.b.init(b.java:333)
  | at com.ibm.db2.jcc.DB2Driver.connect(DB2Driver.java:165)
  | at 
org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:171)
  | ... 15 more
  | -:anonym: 2007-12-05 09:23:33,937 [Timer-3] WARN  
jboss.messaging.core.impl.JDBCSupport - Trying again after a pause
  | -:anonym: 2007-12-05 09:23:34,583 [Timer-3] WARN  
jboss.messaging.core.impl.JDBCSupport - Update worked after retry
  | 

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

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

[jboss-user] [JBossCache] - JBoss Cache TimeToLive problem

2007-12-05 Thread esra
Hi,

i am using jboss-cache-1.4.1.SP1.jar .
I have a problem abouth timeToLiveSeconds attribute, it doesn't work properly.
I set it as 120 
started the cache, then i changed one of the properties of the object which was 
cached.

after 2 minutes i couldn't see the changing ,object wasn't updated and the old 
properties stayed  in the cache so in the site , i have to delete and start the 
cache  again to see the updates. 

Could anybody help me , it is urgent.

Thanks ,

Esra




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

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


[jboss-user] [JBoss Messaging] - Re: ConcurrentModificationException when setup connection wi

2007-12-05 Thread timfox
We can't really help you unless you provide us with basic information:

What exact version of JBM are you running?
What exact version of JBoss Remoting are you running?
What exact version of JBoss AS are you running?
What JDK/OS etc.
Clear instructions on how to replicate the problem.

Thanks

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

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


[jboss-user] [EJB 3.0] - Re: How to retrieve foreign key instead of the object (want

2007-12-05 Thread alexg79
anonymous wrote : 
  | int modelId = u.getModel().getId(); // causes read of Model table!
  | 
  | Issue - this will cause a read of the model row from the DB (won't it, as 
in lazy loading will perform a JIT read)
  | 
No it won't. You obviously haven't tried it, or you wouldn't be asking about 
it. The ID field of the association is special in the way that reading it will 
NOT trigger lazy loading. Any other operation on the lazy object, however, will.

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

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


[jboss-user] [JBossWS] - Re: Jbossws 2.0.2 with jdk1.6

2007-12-05 Thread Artec
Ok...i correct my ant.properties and i build jbossws.sar in this way

[EMAIL PROTECTED]:/data/jboss-portal-2.6.1.GA/lib/endorsed# export 
ANT_OPTS=-Djava.endorsed.dirs=/data/jboss-portal-2.6.1.GA/lib/endorsed/
[EMAIL PROTECTED]:/data/jboss-portal-2.6.1.GA/lib/endorsed# export 
JAVA_HOME=/data/jdk1.6.0_03/
[EMAIL PROTECTED]:/data/jbossws-native-2.0.2.GA# /data/apache-ant-1.7.0/bin/ant 
deploy-jboss421
Buildfile: build.xml

prepare:

undeploy-jboss421-endorsed:

undeploy-jboss421:
   [delete] Deleting directory 
/data/jboss-portal-2.6.1.GA/server/default/deploy/jbossws.sar
   [delete] Deleting directory 
/data/jboss-portal-2.6.1.GA/server/default/deploy/juddi-service.sar

deploy-jboss421-endorsed:
 [copy] Copying 5 files to /data/jboss-portal-2.6.1.GA/lib/endorsed

deploy-jboss421:
[unzip] Expanding: 
/data/jbossws-native-2.0.2.GA/lib/jbossws-core-scripts.zip into 
/data/jboss-portal-2.6.1.GA/bin
 [copy] Copying 15 files to /data/jboss-portal-2.6.1.GA/client
 [copy] Copying 1 file to /data/jboss-portal-2.6.1.GA/lib
[mkdir] Created dir: 
/data/jboss-portal-2.6.1.GA/server/default/deploy/jbossws.sar
[unjar] Expanding: /data/jbossws-native-2.0.2.GA/lib/jbossws-native42.sar 
into /data/jboss-portal-2.6.1.GA/server/default/deploy/jbossws.sar
[mkdir] Created dir: 
/data/jboss-portal-2.6.1.GA/server/default/deploy/juddi-service.sar
[unzip] Expanding: /data/jbossws-native-2.0.2.GA/lib/juddi-service.sar into 
/data/jboss-portal-2.6.1.GA/server/default/deploy/juddi-service.sar
[unzip] Expanding: 
/data/jbossws-native-2.0.2.GA/lib/jbossws-framework-scripts.zip into 
/data/jboss-portal-2.6.1.GA/bin
 [copy] Copying 3 files to /data/jboss-portal-2.6.1.GA/client
 [copy] Copying 3 files to /data/jboss-portal-2.6.1.GA/server/default/lib

BUILD SUCCESSFUL
Total time: 9 seconds

Is all correct ?
Thanks 
Davide


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

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


[jboss-user] [JBoss Seam] - SMPC - entityManager doesn`t get autocreated

2007-12-05 Thread w17chm4n
First, what I get:

@In attribute requires non-null value: questionCategoryManager.entityManager

Second, my configuration (should be allright)

components.xml

  | component name=org.jboss.seam.core.init
  | property name=debugtrue/property
  | property name=myFacesLifecycleBugtrue/property
  | property name=jndiPatternInquisitor/#{ejbName}/local/property
  | /component
  | 
  | component class=org.jboss.seam.web.MultipartFilter
  | property name=createTempFilestrue/property
  | property name=maxRequestSize100/property
  | /component
  | 
  | core:managed-persistence-context name=entityManager 
auto-create=true persistence-unit-jndi-name=java:/EntityManagerFactory/
  | 

persistence.xml


  | persistence
  |   persistence-unit name=InquisitorDS
  | jta-data-sourcejava:/InquisitorDS/jta-data-source
  | properties
  |   property name=hibernate.hbm2ddl.auto value=update/
  |   property name=jboss.entity.manager.factory.jndi.name 
value=java:/EntityManagerFactory /
  | /properties
  |   /persistence-unit
  | /persistence
  | 

So, why this doesn`t work ?

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

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


[jboss-user] [JBoss Seam] - Re: SMPC - entityManager doesn`t get autocreated

2007-12-05 Thread w17chm4n
Oh and questionCategoryManager code

  | @Stateful
  | @Scope(ScopeType.APPLICATION)
  | @Name(questionCategoryManager)
  | public class QuestionCategoryManagerBean implements QuestionCategoryManager 
{
  | 
  | @Logger
  | Log log;
  | 
  | @In
  | private EntityManager entityManager;
  | 
  | public void addCategory(QuestionCategory category) {
  | log.info(Persiting category [+category.getCategoryName()+]);
  | category.setCreated(new Date());
  | entityManager.persist(category);
  | }
  | 
  | public void removeCategory(QuestionCategory category) {
  | log.info(Removing category [+category.getCategoryName()+]);
  | entityManager.remove(category);
  | }
  | 
  | public ListQuestionCategory getAllQuestionCategories() {
  | log.info(Reciving QuestionCategory list);
  | return entityManager.createQuery(from QuestionCategory qc order by 
qc.created).getResultList();
  | }
  | 
  | @Destroy @Remove
  | public void destroy() {
  | }
  | }

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

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


[jboss-user] [JBoss jBPM] - Re: TaskInstance and ProcessInstance not ending

2007-12-05 Thread Sowmya Yellamilli
Hi,
I am really happy to say that my problem was solved

the problem was with our database connections...

we were using a single connection pool for accessing two different 
schemas...and so we introduced 2 connection pools in place of that which solved 
the problem.

there was NO PROBLEM with the JPDL or JBPM

anyway...thanx a lot for ur concern towards the problem

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

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


[jboss-user] [JBoss Tools (users)] - Re: Struts tools do not work

2007-12-05 Thread A_titov82
I am sorry. But where should I put a request, and how cat I do that? I do not 
know what jira is

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

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


[jboss-user] [JBossCache] - Re: JbossCache 2.0 with JGroups 2.6.1 problem

2007-12-05 Thread dighede
Thanks Manik,

I continue to investigate on the issue.
I've posted the problem also in the Help forum of the JGroups project.

(many thanks to all. JBossCache and JGroups are very interesting projects for 
me)

Massimo

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

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


[jboss-user] [JBoss Seam] - Re: When we need an entity-manager-factory?

2007-12-05 Thread wuhaixing
Thanks for your reply!

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

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


[jboss-user] [JBoss Seam] - Re: Injection not working when using thirdparty JMS library

2007-12-05 Thread [EMAIL PROTECTED]
Well you need to integrate them into Seam. Seam uses EJB3 interceptors to 
intercept all requests to MDB (and SLSB, SFSB) and wrap them in Seam's contexts 
etc. If you are just calling the object directly (which I think you are) you'll 
need to set up the contexts yourself. You can look at the 
ContextHttpServletRequest for an example of how to do this for requests coming 
in from a servlet.

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

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


[jboss-user] [JBoss Seam] - Help Facelets in seam are not recursive

2007-12-05 Thread dreuzel
Facelets   NOTRECURSIVE
As  I call a facelet indiectly  from an other facelet  the returned attributs 
are  different. This  leads  to impossible  interpretation of  the final Tag 
value 
and causes  facelets  using  c:if  test=${arg} to fail  depending on the 
recursive level 
where it is called.

Any  help is welcome 

More detailed :

  | 
  | as  I can produce  a facelet :
  | 
  | The  value  of ${action}   is different  depending  on its  use 
  | Detected  by  TagHandler 
  | 
  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:c=http://java.sun.com/jstl/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:rich=http://richfaces.org/rich;
  | xmlns:a4j=http://richfaces.org/a4j; 
  | 
  |m:xxx tag=${action}
  |/m:xxx   
  | /ui:composition
  | THIS TEXT WILL BE REMOVED AS WELL
  | /html
  | 
I'm  checking for the obtained  value  using   xxx as Taghandler 

  |  
  |String Tag=((TagAttribute) tag).getValue(); // the value offered to 
the taglib
  |String Tag2=((TagAttribute) tag).getValue(ctx);// the value offered 
from myapplication
  |String TmpStripped=Tag.replaceAll(($\\{)|(\\#\\{)|(}), );//just 
the  symbol
  |String 
tmpResolved=Value(ctx,TmpStripped);//ve=ctx.getVariableMapper().resolveVariable(TmpStripped)
  |log.info(tagAttribute + expression+  Tag +Tag+/(+TmpStripped + 
) rtn +tmpResolved );//+ tag2= + Tag2)
  | 
As I call the above facelet as 

  |   facelet   action=${mymodule.value}in the  main thread  it offers 
  |   
  | Tag=${mymodule.value}    and  I suppose this  is correct
  | 
As I call the  above  facelet through an other facelet 


  | 
  |   faceletGroup   act=${mymodule.value}
  |  
with  FaceletGroup defined as


  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:c=http://java.sun.com/jstl/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:rich=http://richfaces.org/rich;
  | xmlns:a4j=http://richfaces.org/a4j; 
  | 
  |
  |facelet   action=${act} 
  | /ui:composition
  | THIS TEXT WILL BE REMOVED AS WELL
  | /html
  | 
  | 
and I'm checking the taghandler  xxx again 
I'm  checking for the obtained  value  using   xxx as Taghandler 

 
  |String Tag=((TagAttribute) tag).getValue(); // the value offered to 
the taglib
  |String Tag2=((TagAttribute) tag).getValue(ctx);// the value offered 
from myapplication
  |String TmpStripped=Tag.replaceAll(($\\{)|(\\#\\{)|(}), );//just 
the  symbol
  |String 
tmpResolved=Value(ctx,TmpStripped);//ve=ctx.getVariableMapper().resolveVariable(TmpStripped)
  |log.info(tagAttribute + expression+  Tag +Tag+/(+TmpStripped + 
) rtn +
  | 
I receive different  values 

  | Tag = ${act}   //I receive the symbol name  instead  of the  
content
  | act seams to be  defined as a variable in the variable mapper
  | and I can resolve Tag   stripping of ${}  to  the correct 
value 
  | 
  | ${mymodule.value}
  | 
This  is highly  annoying since  the taghandler  needs  to react differently 
dependent on  the recursive  level it is. This  is breaking down the  value 
of facelets.

Additionaly  the response is dependent upon  the content  defined  in the 
intermediate  
facelet. as we  used  ${act}, the TagHanler can not know what value was 
choisen, it could vary 
depending  on the  facelet grouping...

this value is ambigious since  I can have the argument act  and the a potential 
module act 
defined in my application. I would  not be  able  to distinguish

between a module  called tag  or an intermediate value  
called Tag


Is there a way to uniquely  resolve  the tag ?? ,
temporarly  I look for  .({  in the returned value, these characters  are  
not  part 
of an xml attribute, but this does not solve all the  problems 



any help apreciated 


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

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

[jboss-user] [JBossWS] - Re: Jbossws 2.0.2 with jdk1.6

2007-12-05 Thread Artec
Ok...it's the same document that i view yesterday.
I copy the library into my installation path /data/jboss-portal/lib/endorsed

The first question is: is correct my ant.properties

#
# A sample ant properties file
#
# $Id: ant.properties.example 3137 2007-05-18 13:41:57Z [EMAIL PROTECTED] $

# Optional JBoss Home
jboss405.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_0_5_GA/build/output/jboss-4.0.5.GA-ejb3
jboss421.home=/data/jboss-portal/
jboss422.home=/home/tdiesler/svn/jbossas/tags/JBoss_4_2_2_GA/build/output/jboss-4.2.2.GA
jboss500.home=/home/tdiesler/svn/jbossas/trunk/build/output/jboss-5.0.0.Beta3

# The JBoss server under test. This can be [jboss405|jboss421|jboss422|jboss500]
jbossws.integration.target=jboss421

# The JBoss settings
jboss.server.instance=default
jboss.bind.address=localhost

# JBoss Repository
#jboss.repository=file:/home/tdiesler/svn/jboss.local.repository
jboss.repository=http://repository.jboss.org

# JBoss JMX invoker authentication
#jmx.authentication.username=admin
#jmx.authentication.password=admin

# Java Compiler options
javac.debug=yes
javac.deprecation=no
javac.fail.onerror=yes
javac.verbose=no

Thanks
Davide

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

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


[jboss-user] [JBoss jBPM] - jbpm-console + versioned seam backing bean

2007-12-05 Thread apdo
Jbpm-console seam to be a very good starting point if we need to write an 
application that allow user to deploy is own defined processes. 

In order to package the jbpm-console with additional feature specific to our 
customers, I plan to benefit for the ease of development that seam allows. I 
have written some small seam application. Then, I try to integrate the seam jar 
and required configuration in web.xml, faces-config.xml seam.properties... 

Since then, the jbpm-console seems to work fine (I am able to initiated 
process, complete task ...). However, I keep getting the stack trace, which 
will follow, for almost every action I perform in the jbpm-console. Do you have 
an idea how to fix this?

The stack trace is something I have tried to fix. However, since the 
application seems to work fine, I have tried to use backing bean. I still have 
some problem (probably due to my short experience with seam) but I have been 
able to use the websale demo and add a call to a backing bean in the 
form.create.xhtml file. For now I have add to put my backing bean directly into 
the WEB-INF/classes/… folder. Does anybody have tried to have the 
seam backing been versioned in the par file like the action handler and forms 
are?

thanks in advance for you precious help,

An Phong Do


I have added the stack trace add content of configuration files here. 


07-12-05 08:17:03,578 DEBUG [org.jbpm.persistence.db.DbPersistenceService] 
rolling back hibernate transaction
2007-12-05 08:17:03,578 DEBUG [org.hibernate.transaction.JDBCTransaction] 
rollback
2007-12-05 08:17:03,578 DEBUG [org.jbpm.persistence.db.DbPersistenceService] 
closing hibernate session
2007-12-05 08:17:03,578 ERROR [org.jbpm.svc.Services] problem closing service 
'persistence'
org.jbpm.persistence.JbpmPersistenceException: hibernate commit failed
at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:219)
at org.jbpm.svc.Services.close(Services.java:225)
at org.jbpm.JbpmContext.close(JbpmContext.java:139)
at 
org.jbpm.jsf.core.phase.JbpmPhaseListener.closeContext(JbpmPhaseListener.java:94)
at 
org.jbpm.jsf.core.phase.JbpmPhaseListener.afterPhase(JbpmPhaseListener.java:45)
at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at 

[jboss-user] [JBoss Seam] - Re: How to return to a previous page without conversations

2007-12-05 Thread vladimir.kovalyuk
Christian, did Seam Team have a chance to implement entry/exit points?

I'm looking for the common soluiton where Close button returns user to the 
previous page regardless whether it was long running transaciton or not.



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

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


[jboss-user] [JBoss Portal] - Re: Redirect to a specific portal after login

2007-12-05 Thread ameo
bvogt wrote : .. you need the selection just after login - the 
PortalCommandFactory is called frequently...
  | 

thanks for answers..

but, how I have to use it ? Can I write my own commands and the 
PortalCommandFactory executes them ?

Do you have an example or some more info about that ?

greetings,
ameo

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

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


[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-05 Thread pettersonfp
Hi,


Anybody knows when can I get more information about this problem?

Thanks,

Petterson

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

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


[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-05 Thread [EMAIL PROTECTED]
Where is the template located in the deployed archive? I guess the servlet 
context isn't available when invoking under quartz.

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

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


[jboss-user] [JBoss jBPM] - Re: How hard to create visual representation of the relation

2007-12-05 Thread [EMAIL PROTECTED]
So for approach number 3.

Load the process definitions
Build a unified process definition in memory.
Write the unified process definition to the correct form of XML.

So how do I get the XML format correct for the jpdl builder if I dont use 
JpdlXmlWriter since its documented as never finished.  What classes does the 
JPDL use to write out the process definition.  What would be the starting place 
for writing out the positioning xml?

Thanks

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

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


[jboss-user] [JBoss Seam] - Component scope w/ multiple Wars - Effect on SeamLoginModule

2007-12-05 Thread mrobinson28
First of all the Seam security stuff is awesome! 

I have a question though regarding the scope of components. From searching 
through some other post on the forum I think that Seam components are created 
and scoped at the War level. Is this correct? e.g. If I have an Ear with 
multiple War files, then each War would need to deploy the components that it 
requires. 

Assuming this is true my problem seems to be with the SeamLoginModule and how 
it works in this scenrio of multiple War files packaged into one Ear. For 
example lets say we have two War files, A and B respectively. War project A 
configures Seam authentication using: 


  | security:identity authenticate-method=#{authenticator.authenticate} / 
  |   

War project B does not configure any security mechanisms. When the application 
is deployed attempting to login to project A fails silently and the 
authenticate method is never invoked. A FacesMessage of Login Failed is 
displayed. Declaring the authenticate-method in project B causes the 
authentication to work properly. Also if War project B is removed from the 
deployment entirely then authentication also works properly. 

Is it possible to scope the authentication this way? 

Thanks, 

Michael 




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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS -JBoss -- where to define ConnectionFactory

2007-12-05 Thread jaikiran
The ConnectionFactory is available for you in the JNDI. You just have to lookup 
the same as follows:

  | Context iniCtx = new InitialContext();
  | QueueConnectionFactory qf = (QueueConnectionFactory) 
iniCtx.lookup(ConnectionFactory);

Both the TopicConnectionFactory and the QueueConnectionFactory are available 
with the same jndi-name ConnectionFactory.

For more details have a look at 
http://docs.jboss.org/jbossas/jboss4guide/r1/html/ch6.chapt.html




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

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


[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-05 Thread dmary
Hi,

I've got no response so I will precise more detail :)  :
- i'm running with JBoss 4.0.5 GA
- i've got the JbossCache 1.4.0 SP1 dist

I've read all tutorials on JBossCache (TreeCache and PojoCache), i've read the 
wiki (PojoCacheAS405) and I didn't understand why any interceptor is called 
when I modifity one field of my POJO.

-
I've got 3 POJOs : object A contains object B which also contains object C

The object A use @InstanceOfPojoCacheable and object B and C use @PojoCacheable


I've reached the instance of PojoCache throught a Mbean 

MBeanServer server = MBeanServerLocator.locateJBoss();
  | try {
  |   this.cache = (PojoCacheMBean) 
MBeanProxyExt.create(PojoCacheMBean.class, jboss.cache:service=MyPojoCache, 
server);
  |   this.cache.addTreeCacheListener(new MyCacheListener());
  | } catch (MalformedObjectNameException e) {
  |   e.printStackTrace();
  | }


I put my object in cache with putobject :

public void putMobileUnit(ObjectA item) {
  | try {
  |   this.cache.putObject(NODE+item.getImei(), item);
  | } catch (CacheException e) {
  |   e.printStackTrace();
  | }
  |   }

In one hand, reading tutorials, the annotation @InstanceOfPojoCacheable and 
@PojoCacheable is the only need (i've reached this point)  to have AOP worked, 
in other hand, as it is said on wiki PojoCacheAS405, we need to specify 
precisly the classes needed to be instrumented/aspectized in jboss-aop.xml and 
choose between make a Ant script to make a compile-time instrumentation or to 
do a load time instrumentation.
Why ? Instrumentation isn't done by only write annotations ?
What aopc task really do ?

Thanks a lot for ur responses !!

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

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


[jboss-user] [JBoss Seam] - Asynchronous method triggered multiple times.

2007-12-05 Thread vfaid
I've a Stateless local Session Bean which defines an asynchronous method which 
is launched at startup by an observer method.

Everything works fine except that the method is triggered multiple times 
simultaneously. Any idea why?

Neither the TimeService implementation nor the Quartz implementation solves the 
issue.

Here's the Session Bean interface:


  | @Local
  | public interface SendMailJob {
  | 
  | @Asynchronous
  | public void  processMailQueue(@Duration long start, @IntervalDuration 
long interval);
  | 
  | }
  | 


Here's the Session Bean implementation:


  | @Stateless(name = SendMailJob)
  | @Name(sendMailJob)
  | public class SendMailJobImpl implements SendMailJob {
  | 
  | @Resource(name=jdbc/luxair_asr_Datasource)
  | private DataSource dataSource;
  | 
  | @Resource(name=mail/luxair_asr_MailSession)
  | private Session mailSession;
  | 
  | 
  | @Logger
  | private Log log;
  | 
  | 
  | public void  processMailQueue(long start, long interval) {
  | 
  | // ...
  | }
  | }
  | 

Here's the component that launches the asynchronous method at startup:


  | @Name(sendMailJobLauncher)
  | public class SendMailJobLauncher {
  | private long interval;
  | 
  | public void setInterval(long interval) {
  | this.interval = interval * 60 * 60 * 1000;
  | }
  | 
  | // 
  | // Resource
  | // 
  | 
  | @In(create = true)
  | private SendMailJob sendMailJob;
  | 
  | @Logger
  | private Log log;
  | 
  | @Observer(org.jboss.seam.postInitialization)
  | public void statup() {
  | log.info(startup() launch sendMailJob [interval: {0}], interval);
  | sendMailJob.processMailQueue(2 * 60 * 1000, interval);
  | }
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam 2.0 and Weblogic 10 Server

2007-12-05 Thread [EMAIL PROTECTED]
This is currently being worked on - look out for something very soon now.

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

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


[jboss-user] [EJB/JBoss] - Threading EJB Requests Through a Singleton

2007-12-05 Thread mjrother
I am looking at existing code which has a singleton facade class that looks up 
a stateless session EJB in the constructor and keeps the reference for the life 
of the program. It is my understanding all EJB's are threadsafe which is 
enforced by the container. Therefore if multiple client threads are attempting 
to utilize the singleton facade instance, does this effectively single thread 
all interactions through the facade and limit the performance of the 
application? 

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

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


[jboss-user] [JCA/JBoss] - Re: OracleDS - ORA-12705: Cannot access NLS data

2007-12-05 Thread joseantonioribeiro
After re-checking the correct drivers for my database version, and substitute 
then for the _g version (debug version), I've noticed that orai18n.jar was 
missing.

Hope to help someone with similar problem. The oracle drivers page is: 
http://www.oracle.com/technology/software/tech/java/sqlj_jdbc/htdocs/jdbc_10201.html

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Removing port ssl from URL

2007-12-05 Thread [EMAIL PROTECTED]
I'm working with JBoss 4.2.0.GA and It´s configurated with SSL in port 8443.

My question is:

Is It possible to remove the port from URL, as well as:

https://www.xxx/application

and not https://www.xxx:8443/application


What is it the required configuration for this?

Thanks
[EMAIL PROTECTED]


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

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

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


[jboss-user] [Beginners Corner] - Re: JBoss 5 Release Date

2007-12-05 Thread mjdinsmore
Thanks for finding that jaikiran.  I must not have put in the right search 
terms to find it.  I hope its not too late (its already past November and still 
no site of beta3)!


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

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


[jboss-user] [JBoss Seam] - Re: javax.el.PropertyNotFoundException: Target Unreachable,

2007-12-05 Thread [EMAIL PROTECTED]
I don't see Seam initializing from the log you just posted (just EJB3)

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

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


[jboss-user] [Security JAAS/JBoss] - Re: Removing PORT from URL.

2007-12-05 Thread [EMAIL PROTECTED]
I have the same problem, I want to hide the port 8443 from de URL.

It's possible to hide the port installing Apache? or is there another solution 
with JBoss?


Thanks
[EMAIL PROTECTED]

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Seam 2.0 and Weblogic 10 Server

2007-12-05 Thread pauljunk
[EMAIL PROTECTED] wrote : This is currently being worked on - look out for 
something very soon now.

Many thanks for the update. I will keep my eyes glued to the forum for any 
announcements.

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

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


[jboss-user] [JBoss Messaging] - Missing message statistics

2007-12-05 Thread mzeijen
First some tech info:

JBoss: 4.2.2
Messaging: 1.4.SP1
Java: 6.0
OS: Windows XP 64

I am working on a project to move our application from JBoss MQ to JBoss 
Messaging. While testing I saw that the message statistics didn't change. All 
the values stay 0. I looked in the manual to see if I need to configure 
anything to enable it. The only thing I could find was the 
MessageCounterHistoryDayLimit attribute. Changing this value from -1 to 
something else didn't change anything. I did see that when a message is waiting 
in the queue that this is shown, but the statistics about how much messages the 
queue has processed always stays 0. I have the same problems with Topics.

Am I missing something? Did I configure something wrong?

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Exiting on IOE - java.net.SocketException: socket close

2007-12-05 Thread jaikiran
Appears to be a DEBUG message (which means it can be ignored) 

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

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


[jboss-user] [JBoss Seam] - Re: Which repository structure with Seam (glassfish + netbea

2007-12-05 Thread [EMAIL PROTECTED]
Its not a netbeans project so doesn't follow the netbeans structure. As Cyrill 
says, whats actually deployed is important.

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

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


[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-05 Thread pettersonfp
I think you solved it, I 'll try to put the template inside WEB-INF/classes..

Thanks a lot,

Petterson

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Multiple datasources for same persistence unit

2007-12-05 Thread icordoba
Hi there,
I have an application packaged in an .ear file.
It has 3 jars.
I've included a persistence.xml file in each jar, because all EJBs point to the 
same persistence unit name (they are already compiled this way).
I cannot specify a different datasource for that same persistence unit name.
Is this possible? (isolating config options for a same name persistence unit 
between different jars in an ear) It seems to me that the first persistence.xml 
file loaded is taken and the parameters from the rest are ignored. Here is one 
of my persistence.xml files. (what I changes over them is jta-data-source 
parameter trying to point to another data source, with no success)

Thanks for any help,
Ignacio


 ?xml version=1.0 encoding=UTF-8 ?
  | persistence xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance;
  |  xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
  |  version=1.0 xmlns=http://java.sun.com/xml/ns/persistence;
  |   persistence-unit name=mainPersistenceUnit
  | jta-data-sourcejava:/tuportalDS/jta-data-source
  | properties
  | property name=hibernate.dialect 
value=org.hibernate.dialect.MySQLInnoDBDialect/
  | property name=hibernate.connection.useUnicode 
value=true /
  | property name=hibernate.connection.characterEncoding 
value=UTF-8 /
  | /properties
  | /persistence-unit
  | /persistence
  | 

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

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


[jboss-user] [JCA/JBoss] - OracleDS - ORA-12705: Cannot access NLS data

2007-12-05 Thread joseantonioribeiro
I'm evaluating Jboss, after declined Apache Geronimo.

I've configured a datasource to connect to my oracle database (10g) by the book.

After that, I created a JSP that has this code:

...
DataSource ds = null;
  Connection con = null; 
  PreparedStatement pr = null; 
  InitialContext ic; 
  try {
  ic = new InitialContext();
  out.println( 1);
  ds = (DataSource)ic.lookup( java:/OracleDS );
  out.println( 2);
  con = ds.getConnection(); 
  out.println( 3);
...

When I execute the same after deployement it returns:

1

2
Exception thrown org.jboss.util.NestedSQLException: Could not create 
connection; - nested throwable: (java.sql.SQLException: ORA-00604: error 
occurred at recursive SQL level 1 ORA-12705: Cannot access NLS data files or 
invalid environment specified ); - nested throwable: 
(org.jboss.resource.JBossResourceException: Could not create connection; - 
nested throwable: (java.sql.SQLException: ORA-00604: error occurred at 
recursive SQL level 1 ORA-12705: Cannot access NLS data files or invalid 
environment specified )) end

For testing porposes, I've added in my datasource:
connection-property name=char.encodingUTF-8/connection-property

But still I've got the same error. 

My environment is Microsoft XP and my Oracle database NLS_LANG is 
AMERICAN_AMERICA.WE8MSWIN1252

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Second node not joining the cluster on windows 2003.

2007-12-05 Thread mohiddin.sk
Operation System : Windows 2003 
Jboss Application Server - Jboss-4.0.4.GA 
===
Second node doest not join the cluster. It form it own cluster. 
Both the node are in same subnet. 

When I stop the jboss on the node - I see it waits at SNMP for long time. 

SNMP Agent Service. HP's software like Array agent ,  NIC teaming agent depend 
on SNMP. 

How do I make the two node join a same cluster [ partition ] 

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

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


[jboss-user] [JBoss jBPM] - Re: Can we save custom variables in a ProcessDefinition

2007-12-05 Thread simonbaker
kukeltje wrote : Simon, 
  | 
  | You can already add any tag you want to the processdefinition and when 
retrieving a processdefinition , also retrieve the xml file with it. You can 
translate that to a dom and read any element you put in there. 

Ok, that's good to know we can add extra tags.  However, it would be useful to 
store such info in the ProcessDefinition object, otherwise we have to persist 
it ourselves some way, or re-parse the xml file a lot.

If I'm not mistaken, in some ways it seems that the FileDefinition module can 
be used like a user object if it allows you to store arbitrary binary data.  
I don't know enough about how it works yet, and I doubt there is anything 
similar for a task, etc.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Higher JMSPriority not stepping in front of lower JMSPri

2007-12-05 Thread seoeng
Ok, I think I have figured out what JBoss is doing.  I am using 4.2.2GA.

Here is the new use case I used:

1. Send JMS Message with JMSPriority 4 to Queue
2. Send JMS Message with JMSPriority 4 to Queue
3. Send JMS Message with JMSPriority 4 to Queue
4. Send JMS Message with JMSPriority 7 to Queue

The MDB (Bean-Managed) is processing as follows:

1. Receives JMS Message #1, starts processing
2. Receives JMS Message #2, starts processing
3. Receives JMS Message #4, starts processing
4. Receives JMS Message #3, starts processing

NOTE: All messages are queued before MDB finishes #1.

What behavior is expected:

1. Receives JMS Message #1, starts processing
2. Receives JMS Message #4, starts processing
3. Receives JMS Message #2, starts processing 
4. Receives JMS Message #3, starts processing 

It appears that JBoss is queuing up a message before the MDB even processes it. 
 So a higher priority message must wait what appears to be the 
invoker-proxy-binding's  # of messages before it jumps in front.

This doesn't make sense to me, wouldn't you want a higher priority message to 
jump in front immediately?  Is there a way around this, i.e. am I not setting 
the configuration correctly for my desired result?

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

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


[jboss-user] [JBoss Seam] - send mails on session destroy

2007-12-05 Thread beligum
Hi all,

I'm trying to send some queued mails when the session end (sort of an auto-send 
outbox pattern). I've tried a lot of options, but I always encounter problems. 
What I have:

A stateless bean (tried it with a javabean too) emailManager that sends the 
messages (javabean that contains a Renderer and the Message to be sent).
A stateful session bean (application scope) that stores the message queue, and 
sends everything out when needed. The emailManager is injected here.

What I tried until now:
Put the sendQueuedMessages method in the @Destroy or @Remove or @PreDestroy 
method. This doesn't work, because all of my injected variables (in the SFSB) 
are nulled by the time this method is called.

Put it in a method with @Observer(org.jboss.seam.preDestroyContext.SESSION). 
This works better, but when the renderer renders the email template (multiple 
recipients with ui:repeat), the variable of the ui:repeat is filled with null 
values, so no luck there too.

In general, it seems like some things are already destroyed before the method 
is finished. I tried to use Asynchronous methods too, but they complain about 
the fact that ApplicationFactory is't initialized.

Some advice?

bram


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

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


[jboss-user] [JBoss Seam] - Re: s:convertDateTime and Seam TLD

2007-12-05 Thread [EMAIL PROTECTED]
There are no extra attributes over f:convertDateTime.  The ${prop.blah} is a 
bug in our tld generator ;)

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

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


[jboss-user] [JBoss Seam] - boring Login attemption --- authenticate() invocation proble

2007-12-05 Thread xinhua
Hi,all

I use seam2.0.1.snapshoot, the authenticate() still be called twice when login 
fails, it is so bad. 

And futhermore, I found that everytime i invoke server side method through ajax 
engine, the authenticate() will also be invoked. It is very boring feature. How 
can i shut down such login attemption? 

anyone can help?

thanks in advance

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

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


[jboss-user] [JCA/JBoss] - Re: JCA in a clustered environment

2007-12-05 Thread teknokrat
All I mean is are there any issues with jboss JCA when you create a jboss 
cluster. Does farm deployment work with rars as expected, etc.

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

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


[jboss-user] [JBoss Seam] - Re: java.sql.Date, Seam-GWT remoting with EJB3/hibernate/JPA

2007-12-05 Thread hartfordd
another discussion here

http://groups.google.com/group/Google-Web-Toolkit/tree/browse_frm/month/2007-04/f7a5a1f03a87cc99?rnum=71_done=%2Fgroup%2FGoogle-Web-Toolkit%2Fbrowse_frm%2Fmonth%2F2007-04%3F


and sample workaround:

  | /**
  | *   utility method to re-process DTO's to make sure that the dates
  | *   are explicitly converted to java.util.Date.
  | */
  | private SimpleDTO[] convertSqlDates(SimpleDTO[] myarray){
  | //DRH cloning would be safer, but private anyway.
  | for (int i = 0; i  myarray.length; i++) {
  | SimpleDTO simpleDTO = myarray;
  | if(simpleDTO.getDateField() != null){
  | simpleDTO.setDateField(new 
java.util.Date(simpleDTO.getDateField().getTime()));
  | }
  | }
  | return myarray;
  | }
  | 

NOTE:  I've tried changing the getter/setters and this will NOT work for 
hibernate/JPA, you need to change it after retrieval but before submitting over 
the wire.

Another NOTE: I've tried changing the GWTService, GWT13Service, GWT14Service 
classes in SEAM to modify this behavior, but I can't seem to find a good fix, 
so the workaround seems like the only option for now.

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

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


[jboss-user] [JBoss jBPM] - Re: how to send parameters with jpdl

2007-12-05 Thread gazadonf
My problem is i could not read my parameter.

In the destination page, the code 

  | s:decorate id=name template=../layout/display.xhtml
  | ui:define name=labelname/ui:define
  | #{parameterHome.instance.name}
  | /s:decorate

do nothing since i use my jdpl.

I have no idea of where is my mistake...

Could someone help please??

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

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


Re: [jboss-user] [JBoss Tools (users)] - Re: org.hibernate.eclipse.feature_3.1.0.beta5 created bad me

2007-12-05 Thread Stephen Davidson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Stephen Davidson wrote:
 Hi Max.
 
 I thought you guys were leaving those links up until you released JBoss
 Tools.
 
 I take it then that you would like to see notification of links to the
 old JBoss-IDE that are still on the website posted here so that they can
 get updated?
 
 Regards,
 Steve
 
Sorry, I was distracted half way through a sentence.  I meant released
JBoss Tools v1.0GA.

Regards,
Steve

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHVtaOPtiPEDq7o8YRArcdAKDMbOCGQngmUO87yvOHYnrm+FRyPQCgh7pe
4KKwW+gZ96XBPQ1jpoIo07c=
=HXKG
-END PGP SIGNATURE-
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam Login + Richfaces -- Stylesheet problem

2007-12-05 Thread pettersonfp
Hi,

I don't know if this can help you, but I faced some problems with stylesheet 
and I solved it all by changing the following line at the template.xhtml


  | link 
href=#{facesContext.externalContext.requestContextPath}/view/stylesheet/theme.css
 rel=stylesheet type=text/css /
  | 

Note the #{facesContext...}, in original template it doesn't exists.

Hope it helps,

Petterson

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

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


[jboss-user] [JBoss Seam] - Re: Add no-conversation-view-id dynamically in pages.xml

2007-12-05 Thread jpviragine
Created 

http://jira.jboss.org/jira/browse/JBSEAM-2352

Thx Pete

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

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


Re: [jboss-user] [JBoss Tools (users)] - Re: org.hibernate.eclipse.feature_3.1.0.beta5 created bad me

2007-12-05 Thread Stephen Davidson
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

[EMAIL PROTECTED] wrote:
 thanks - that page needs to get updated.
 
 Use www.jboss.org/tools to get more recent version of JBoss Tools (formerly 
 known as JBossIDE)
 

Hi Max.

I thought you guys were leaving those links up until you released JBoss
Tools.

I take it then that you would like to see notification of links to the
old JBoss-IDE that are still on the website posted here so that they can
get updated?

Regards,
Steve

-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.2 (GNU/Linux)
Comment: Using GnuPG with SUSE - http://enigmail.mozdev.org

iD8DBQFHVtTgPtiPEDq7o8YRAnwtAJ48dca0W2yZuR+O5oDtLBqr7EtIdwCfSADT
cHkLG09KZWh99Q/aKfS/SO0=
=UPhQ
-END PGP SIGNATURE-
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-05 Thread mirko27
persistence.xml inside ejb.jar

  | ?xml version=1.0 encoding=UTF-8?
  | persistence version=1.0 xmlns=http://java.sun.com/xml/ns/persistence; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd;
  | persistence-unit name=soovPU transaction-type=JTA
  | providerorg.hibernate.ejb.HibernatePersistence/provider
  | jta-data-sourcejdbc/soov/jta-data-source
  | exclude-unlisted-classesfalse/exclude-unlisted-classes
  | properties
  | property name=hibernate.dialect 
value=org.hibernate.dialect.OracleDialect/
  | property name=hibernate.transaction.manager_lookup_class 
value=org.hibernate.transaction.SunONETransactionManagerLookup/
  | property name=hibernate.show_sql value=true/
  | property name=hibernate.format_sql value=true/
  | property name=hibernate.hibernate.max_fetch_depth value=0/
  | property name=hibernate.cache.provider_class 
  |   value=org.hibernate.cache.TreeCacheProvider/
  | /properties
  | /persistence-unit
  | /persistence
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA, compression beyond tomcat-connector compr

2007-12-05 Thread [EMAIL PROTECTED]
Ah, sorry, my bad, I don't know anything about remoting and didn't read your 
post properly :(

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

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


[jboss-user] [JBoss Seam] - s:convertDateTime and Seam TLD

2007-12-05 Thread asookazian
In the Seam2.0.0.GA ref pdf, on pg. 291 there is some info on 
s:convertDateTime.  I'd like to use this tag and need to know what all the 
attributes are and what their purpose is, etc. (like you see on richfaces demo 
website).  Is there such a website/webpage for Seam tags?

I found (most of) the info I need in the s.tld file in jboss-seam-ui.jar.  So 
it appears that the section on convertDateTime needs to be updated to reflect 
these attributes (currently states attributes none).  Also where are the 
descriptions for these attributes for this tag???  What is this prop object?


  |  tag
  |   nameconvertDateTime/name
  |   tag-classorg.jboss.seam.ui.taglib.ConvertDateTimeTag/tag-class
  |   body-contentJSP/body-content
  |   descriptionPerform date or time conversions in the Seam 
timezone./description
  |   attribute
  |namelocale/name
  |   rtexprvaluefalse/rtexprvalue
  |description${prop.xmlEncodedDescription}/description
  |   /attribute
  |   attribute
  |nametimeZone/name
  |   rtexprvaluefalse/rtexprvalue
  |description${prop.xmlEncodedDescription}/description
  |   /attribute
  |   attribute
  |nametype/name
  |   rtexprvaluefalse/rtexprvalue
  |description${prop.xmlEncodedDescription}/description
  |   /attribute
  |   attribute
  |namedateStyle/name
  |   rtexprvaluefalse/rtexprvalue
  |description${prop.xmlEncodedDescription}/description
  |   /attribute
  |   attribute
  |namepattern/name
  |   rtexprvaluefalse/rtexprvalue
  |description${prop.xmlEncodedDescription}/description
  |   /attribute
  |   attribute
  |nametimeStyle/name
  |   rtexprvaluefalse/rtexprvalue
  |description${prop.xmlEncodedDescription}/description
  |   /attribute
  |   /tag

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

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


[jboss-user] [JBoss Seam] - seam-gen, javax.el.PropertyNotFoundException when running Se

2007-12-05 Thread thoman23
Hello everybody,

I am brand new to Seam.  I have been evaluating it for a few days, and I'm very 
excited by the possibilities.  However, I keep running into an issue with 
seam-gen.

When I deploy a Seam example, like the seam-registration example, it works fine 
when I use the example build script ant explode or ant deploy targets.  
However, if I create an empty project using seam-gen, and then copy in the 
src and view files from the example to the seam-gen shell, I get the 
following error when clicking a command button in the application:

Exception during request processing:
Caused by javax.servlet.ServletException with message: /register.xhtml @17,84 
value=#{user.username}: Target Unreachable, identifier 'user' resolved to 
null
Caused by javax.el.PropertyNotFoundException with message: /register.xhtml 
@17,84 value=#{user.username}: Target Unreachable, identifier 'user' resolved 
to null

This happens both with the command line seam-gen and the Eclipse seam tools 
plugin.  I am sure others must run into this as well, but I can't find the 
exact resolution to the problem posted anywhere.

Can someone please help me get past this?  I'd really like to use seam-gen more 
in my evaluation.

Thanks,

Anthony

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

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


[jboss-user] [JBoss Seam] - Re: java.sql.Date, Seam-GWT remoting with EJB3/hibernate/JPA

2007-12-05 Thread hartfordd
discussion on problem:


http://groups.google.com.ec/group/Google-Web-Toolkit/browse_thread/thread/ee868c16992937ac/0e2288691663d975

english:
http://translate.google.com/translate?hl=ensl=esu=http://groups.google.com.ec/group/Google-Web-Toolkit/browse_thread/thread/ee868c16992937ac/0e2288691663d975sa=Xoi=translateresnum=2ct=result



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit

2007-12-05 Thread justkeys
Ah its a zip! 

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

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


[jboss-user] [JBoss jBPM] - Duplicate tasks.

2007-12-05 Thread dungnguyen
Dear all,

I use jBPM to develop my business and I face the problem when I integrated with 
Fork node. My process is:

--/ Task1--...
Start --- Task0 -- Fork --|
--\Task2---...

I wrote MyController that extends from TaskControllerHandler and assign every 
task on my process. In this code I override initializeTaskVariables and 
submitTaskVariables function. In initializeTaskVariables function I force end 
task when the forceCompleted task is true.
So, when I'm in Task0 and force end task 0. First, when end task the task 1 
send the signal to fork and fork transfer data and send signal to Task1 and 
Task 2, at this time Task0 is not complete. Second, when Task0 completed, the 
Task0 resubmit a signal to Fork and Fork do the same thing in previous task. So 
in current system we have 2 Task1 instance and 2 Task2 instance.
I dont know why, and I want to solve this bug. I only want the Task0 send the 
signal to Fork node when Task0 completed.

Please help me to solve this bugs.
If you have any idea, please send me to me at [EMAIL PROTECTED]

Thanks
Dzung Nguyen.

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

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


[jboss-user] [Beginners Corner] - Retrieving WebServer root URL at startup

2007-12-05 Thread rodo74
Hi,

At JBoss AS startup I need to retrieve the webServer root URL in a class. 
(before any call to JSP / Action / Servlet).

I thought about doing it from the init() of a Servlet launched at startup but 
it seems we cannot do that.

Any idea how I can achieve that?

Thanks a lot,
Rodo

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

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


[jboss-user] [JBoss Seam] - Re: boring Login attemption --- authenticate() invocation pr

2007-12-05 Thread pettersonfp
Hi,

I had a similar problem, and I look into the code to understand why.  The 
problem is that #{identity.loggedIn}  tries a silent login.

Try using #{identity.isLoggedIn(false)} instead and see if it solves your 
problem.

Petterson

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

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


[jboss-user] [JBoss Seam] - Testing problem

2007-12-05 Thread kem
Hi all,
I can't run any test case: error, exceptions... I spent a lot of time reading 
the book and the manual. 
Everywhere I see testing is easy
The running testng in the /example are not working (except for booking example 
in seam 1.2), the testing for the example from the book not working... 
Is there any bug or problem with with testing in seam?
I just want to know how to run a very very simple testng case for a  simple 
action or simple entity generated via seam-gen?.
Regards,


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

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


[jboss-user] [JBoss Seam] - Seam Login + Richfaces -- Stylesheet problem

2007-12-05 Thread [EMAIL PROTECTED]
We have quite a strange behaviour. We created a project based on Seam and 
RichFaces (3.1). Also we secured our xhtml-pages via a login (login-parameter 
in pages.xml). 

The strange behaviour occurs only the first time we call the login-page. In the 
login page all style information for richfaces components are NOT loaded. After 
doing a reload or just trying to login (even with a wrong password) everything 
is fine. The styles are loaded correctly. This behaviour occurs only during the 
first visit of the login page. Do we have a classloading problem? Can someone 
give me a hint?

Thanks in advance,
Andy

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

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


[jboss-user] [JBoss Messaging] - Re: Missing message statistics

2007-12-05 Thread mzeijen
I forgot to tell you that I am not working in Clustered environment and that I 
am using the default HSQLDB.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Seperate log4j.xml for each application

2007-12-05 Thread stlecho
After searching on the different forums, it seems that there is no clear 
solution to solve this issue. With the application we are developing, the same 
problem occurs. 

We are deploying an app1.WAR and a app2.EAR file in JBoss. Each of them has its 
own log4j.xml and logging occurs respectively in app1.log and app2.log.

When JBoss is started, JBoss' default server.log file is used for the logging. 
When app1.WAR is activated, app1.log is used but server.log is no longer 
used. When app2.EAR is activated, app2.log is used but app1.log is no longer 
used. This behavior seems to be totally random.

Changing JBoss' default log4j.xml file solves the above described issue, but it 
remains a workaround and it surprises me that JBoss does not allow an 
application-specific logging configuration.

What are the guidelines that should be followed to allow separate logging for 
each application ?

Regards, Stefan Lecho.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Problems deploying with all configuration

2007-12-05 Thread mparas
Hi,

I've been working on a project, mostly testing on my personal machine.  
Deploying the app to Jboss (3.2.3) to both the all and default configs works 
fine.  But when I try to deploy it to my work's server using the all 
configuration, it doesn't seem to work.  It seems to deploy just fine, but i 
get the No context configured error.

I compared the log files, and both are pretty much the same and don't show any 
signs of error.

Any help is appreciated.

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

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


[jboss-user] [JBoss jBPM] - Re: Duplicate tasks.

2007-12-05 Thread dungnguyen
Dear all,

I found the solutions to solve this issue and I show my idea to discuss:
When calling task.end(transition) the task will fire EVENTTYPE_END_EVENT, Fork 
receive the event and do its task. At that time, the task check the signal flag 
(isSignalling) to make sure that 'the end of this task triggers continuation of 
execution' and this condition is passed, so the token of this task to send the 
signal by calling token.signal(transition) and Fork node will receive this 
signal again.
So, I think, we will off the signal flag by calling the function 
task.setSignalling(false) when calling task.end(transition) in the internal of 
this task.

Note: This situation only appear when you force end task in internal of this 
task.

Thanks,

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

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


[jboss-user] [JBoss jBPM] - Null Pointer stack trace when opening a processdefinition.xm

2007-12-05 Thread ebsjwj
Edited the file outside of the plugin, but is valid. Now I get a stack trace 
when opening the file. The definition executes properly.
Version is:
JBoss Inc.  JBoss jBPM JPDL Designer ...3.1.0.SP1   org.jbpm.gd.jpdl

Stack trace is below.

  | 
  | java.lang.NullPointerException
  | at org.jbpm.gd.common.editor.Editor.getSemanticElement(Unknown Source)
  | at org.jbpm.gd.common.editor.Editor.initSourcePage(Unknown Source)
  | at org.jbpm.gd.common.editor.Editor.createPages(Unknown Source)
  | at org.jbpm.gd.jpdl.editor.JpdlEditor.createPages(Unknown Source)
  | at 
org.eclipse.ui.part.MultiPageEditorPart.createPartControl(MultiPageEditorPart.java:283)
  | at 
org.eclipse.ui.internal.EditorReference.createPartHelper(EditorReference.java:661)
  | at 
org.eclipse.ui.internal.EditorReference.createPart(EditorReference.java:426)
  | at 
org.eclipse.ui.internal.WorkbenchPartReference.getPart(WorkbenchPartReference.java:592)
  | at org.eclipse.ui.internal.PartPane.setVisible(PartPane.java:299)
  | at 
org.eclipse.ui.internal.presentations.PresentablePart.setVisible(PresentablePart.java:179)
  | at 
org.eclipse.ui.internal.presentations.util.PresentablePartFolder.select(PresentablePartFolder.java:268)
  | at 
org.eclipse.ui.internal.presentations.util.LeftToRightTabOrder.select(LeftToRightTabOrder.java:65)
  | at 
org.eclipse.ui.internal.presentations.util.TabbedStackPresentation.selectPart(TabbedStackPresentation.java:400)
  | at 
org.eclipse.ui.internal.PartStack.refreshPresentationSelection(PartStack.java:1256)
  | at org.eclipse.ui.internal.PartStack.setSelection(PartStack.java:1209)
  | at org.eclipse.ui.internal.PartStack.showPart(PartStack.java:1604)
  | at org.eclipse.ui.internal.PartStack.add(PartStack.java:499)
  | at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:103)
  | at org.eclipse.ui.internal.PartStack.add(PartStack.java:485)
  | at org.eclipse.ui.internal.EditorStack.add(EditorStack.java:112)
  | at 
org.eclipse.ui.internal.EditorSashContainer.addEditor(EditorSashContainer.java:63)
  | at 
org.eclipse.ui.internal.EditorAreaHelper.addToLayout(EditorAreaHelper.java:217)
  | at 
org.eclipse.ui.internal.EditorAreaHelper.addEditor(EditorAreaHelper.java:207)
  | at 
org.eclipse.ui.internal.EditorManager.createEditorTab(EditorManager.java:774)
  | at 
org.eclipse.ui.internal.EditorManager.openEditorFromDescriptor(EditorManager.java:673)
  | at 
org.eclipse.ui.internal.EditorManager.openEditor(EditorManager.java:634)
  | at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditorBatched(WorkbenchPage.java:2719)
  | at 
org.eclipse.ui.internal.WorkbenchPage.busyOpenEditor(WorkbenchPage.java:2633)
  | at 
org.eclipse.ui.internal.WorkbenchPage.access$12(WorkbenchPage.java:2625)
  | at org.eclipse.ui.internal.WorkbenchPage$10.run(WorkbenchPage.java:2577)
  | at org.eclipse.swt.custom.BusyIndicator.showWhile(BusyIndicator.java:67)
  | at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2572)
  | at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2556)
  | at 
org.eclipse.ui.internal.WorkbenchPage.openEditor(WorkbenchPage.java:2547)
  | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:644)
  | at org.eclipse.ui.ide.IDE.openEditor(IDE.java:603)
  | at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:285)
  | at 
org.eclipse.jdt.internal.ui.javaeditor.EditorUtility.openInEditor(EditorUtility.java:138)
  | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:194)
  | at org.eclipse.jdt.ui.actions.OpenAction.run(OpenAction.java:175)
  | at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.dispatchRun(SelectionDispatchAction.java:268)
  | at 
org.eclipse.jdt.ui.actions.SelectionDispatchAction.run(SelectionDispatchAction.java:244)
  | at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerActionGroup.handleOpen(PackageExplorerActionGroup.java:316)
  | at 
org.eclipse.jdt.internal.ui.packageview.PackageExplorerPart$5.open(PackageExplorerPart.java:613)
  | at 
org.eclipse.jface.viewers.StructuredViewer$2.run(StructuredViewer.java:820)
  | at org.eclipse.core.runtime.SafeRunner.run(SafeRunner.java:37)
  | at org.eclipse.core.runtime.Platform.run(Platform.java:857)
  | at org.eclipse.ui.internal.JFaceUtil$1.run(JFaceUtil.java:46)
  | at org.eclipse.jface.util.SafeRunnable.run(SafeRunnable.java:193)
  | at 
org.eclipse.jface.viewers.StructuredViewer.fireOpen(StructuredViewer.java:818)
  | at 
org.eclipse.jface.viewers.StructuredViewer.handleOpen(StructuredViewer.java:1079)
  | at 
org.eclipse.jface.viewers.StructuredViewer$6.handleOpen(StructuredViewer.java:1183)
  | at 
org.eclipse.jface.util.OpenStrategy.fireOpenEvent(OpenStrategy.java:263)
  | at 

[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit

2007-12-05 Thread justkeys
Works great!

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: 4.2.2 wont deploy my persistency unit

2007-12-05 Thread justkeys
Thanks. I decoded your base64, but my decompiler says its not a class file. 
Perhaps you could make your patched class file online available some other way, 
or mail it to mynickname / yahoo / com?

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

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


[jboss-user] [JBoss jBPM] - how to send parameters with jpdl

2007-12-05 Thread gazadonf
Hy.

I'm susing jpdl to manage all my navigation.

I wonder to know how i can translate this with jpdl


  | s:link view=/#{empty from ? 'Parameter' : from}.xhtml 
  |value=Select 
  |   id=parameter
  | f:param name=parameterName 
  | value=#{parameter.name}/
  | /s:link

First, i replace the view tag by an action tag like this

s:link action=consultParam 
  |value=Select 
  |   id=parameter
  | f:param name=parameterName 
  | value=#{parameter.name}/
  | /s:link

with this transition declare in my jpdl
  | ...
  | transition name=consultParam to=consultParam
  | /transition
  | /page
  | 
  | page name=consultParam view-id=/Parameter/Parameter.xhtml
  | redirect/
  | transition to=gestionParam name=retour/transition
  | transition name=menu to=menuGestion/transition
  | transition name=editParam to=createParam/transition
  | /page


 but what do i have to do to forward the parameter??

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

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


[jboss-user] [JBoss Seam] - Re: Property 'autocomplete' not found on type

2007-12-05 Thread sambolino
i'm using RHDS RC1 w/ Jboss AS4.2 and seam 1.2

the project was created as a seam web project

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

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


[jboss-user] [Security JAAS/JBoss] - login-config.xml question

2007-12-05 Thread FunkMaster
Hi,

Let me state, I am not a developer, so I have no clue about the development 
aspect of things.

We have a customer who has JBOSS 4.0.5 and using one of our applications. We 
rely on the JAAS authentication method for authentication and binding to LDAP.

In the login-config.xml file there is this following section:
module-option name=java.naming.provider.urlldap://DC 
NAME:389/module-option

On a VMWare Image I have, my domain name is testdc.demo ... and when I replace 
the ldap://DC NAME:389 with ldap://p8demo.dem:389 it works and I am able to 
start JBOSS and login to our application.

However, one of our customers has a a domain name that contains the '-' (Dash 
or Minus sign) - so their domain is like company-name-test.net

So when I replace the ldap:// with 
module-option 
name=java.naming.provider.urlldap://company-name-test.net:389/module-option
 they get some errors during the JBOSS start and have problems authenticating.

I am wondering if the '-' in the domain name is causing a problem or should I 
be looking else where and not @ JBOSS, maybe within our application.



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

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


[jboss-user] [JBoss Seam] - Property 'autocomplete' not found on type

2007-12-05 Thread sambolino
i'm getting this error: 
/home.xhtml: Property 'autocomplete' not found on type 
org.javassist.tmp.java.lang.Object_$$_javassist_23
obviously my autocomplete method is read as a property. but my other bussiness 
method is working fine(via submit button) . tried with rich:suggestionbox also, 
doesn't work

i have s many other questions i wish someone could help :)

here's home.xhtml:

!DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
ui:composition xmlns=http://www.w3.org/1999/xhtml;
xmlns:s=http://jboss.com/products/seam/taglib;
xmlns:ui=http://java.sun.com/jsf/facelets;
xmlns:f=http://java.sun.com/jsf/core;
xmlns:h=http://java.sun.com/jsf/html;
xmlns:rich=http://richfaces.org/rich;
xmlns:a4j=http://richfaces.org/rich;
xmlns:ice=http://www.icesoft.com/icefaces/component;
template=layout/template.xhtml

ui:define name=body

h:messages globalOnly=true styleClass=message/
h:form
rich:panel
f:facet name=headerWelcome!/f:facet
s:decorate id=organIdDecorate template=layout/edit.xhtml
ui:define name=labelOrg. jedinica/ui:define
h:inputText value=#{prijemizavodjenje.sifraOrgJed} style= 
height : 17px; required=true/h:inputText
/s:decorate
s:decorate id=predmetGodinaDecorate template=layout/edit.xhtml
ui:define name=labelGodina/ui:define
h:inputText value=#{prijemizavodjenje.god} style= height : 
17px;/h:inputText
/s:decorate
s:decorate id=predmetDatumKreiranjaDecorate template=layout/edit.xhtml
ui:define name=labelDatum prijema/ui:define

h:inputText id=startDate
value=#{prijemizavodjenje.datumKreiranja} 
s:convertDateTime dateStyle=full pattern=d/M/yy/
/h:inputText
s:selectDate for=startDate
h:graphicImage url=./img/dtpick.gif /
/s:selectDate 
 /s:decorate
   s:decorate id=klasifikacijaIdDecorate1 template=layout/edit.xhtml
ui:define name=labelKlasifikacija/ui:define
ice:selectInputText rows=10

value=#{prijemizavodjenje.nazivKlasifikacije}

valueChangeListener=#{prijemizavodjenje.autocomplete}

f:selectItems value=#{prijemizavodjenje.completions}/

/ice:selectInputText
 /s:decorate 
s:decorate id=delatnostIdDecorate template=layout/edit.xhtml
ui:define name=labelDelatnost:/ui:define
h:inputText value=#{prijemizavodjenje.delatnostId} style= 
height : 17px; required=false/h:inputText
/s:decorate
s:decorate id=predmetNazivDecorate template=layout/edit.xhtml
ui:define name=labelNaziv:/ui:define
h:inputText value=#{prijemizavodjenje.naziv} style= height : 
17px; /h:inputText
/s:decorate
s:decorate id=predmetOpisDecorate template=layout/edit.xhtml
ui:define name=labelOpis:/ui:define
h:inputTextarea id=naziv
   cols=80
   rows=3
  value=#{prijemizavodjenje.opis}/
/s:decorate

* 
obavezna polja

/rich:panel


h:commandButton type=submit
value=Potvrdi 
action=#{prijemizavodjenje.otvaranjeInternogPredmeta}/

/h:form
/ui:define 
/ui:composition

... and interface+bean


@Local
public interface PrijemIZavodjenjeDokumenata {
public void otvaranjeInternogPredmeta();
public List autocomplete(ValueChangeEvent e);
public List
public void nadjiKlasifikacije();
public void destroy();
public Integer getKlasifikacijaId();
public void setKlasifikacijaId(Integer klasifikacijaId) ;
public Integer getDelatnostId();
public void setDelatnostId(Integer delatnostId) ;
public String getOpis();
public void setOpis(String opis);
public String getNaziv();
public void setNaziv(String naziv) ;
public Integer getSifraOrgJed();
public void setSifraOrgJed(Integer sifraOrgJed) ;
public Integer getGod() ;
public void setGod(Integer god) ;
public Date getDatumKreiranja() ;
public void setDatumKreiranja(Date datumKreiranja);
public Klasifikacija getK() ;
public void setK(Klasifikacija k) ;
public String getNazivKlasifikacije() ;
 

[jboss-user] [JBoss Seam] - Re: Null Pointer Exception During Integration Testing

2007-12-05 Thread neilac333
I should probably mention that I am running my test by compiling all my code 
into a JAR file, which is included on the classpath of TestNG.  This JAR has 
seam.properties located in the META-INF directory.  Is this OK for my test to 
work?

If anyone has managed to get SeamTest to work for integration tests with Seam 
2.0 GA, I would appreciate any insights.

Thanks.

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

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


[jboss-user] [JBoss Seam] - Why control IDs in validation messages?

2007-12-05 Thread IGx89
Why are my validation error messages showing up like formId:panelId:controlId: 
Validation Error: Value is required instead of Validation Error: Value is 
required? How can I fix that?

Also, when I have a h:message attached to a specific control, can I make the 
message show just the value is required part?

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen, javax.el.PropertyNotFoundException when runnin

2007-12-05 Thread thoman23
Nevermind.  I was being stupid.  The seam-gen build.xml file simply wasn't 
compiling the example classes because I had copied them to a location where the 
build script wasn't looking for them.

Everything works fine now.


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

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


[jboss-user] [JBoss Seam] - Re: NamedQuery not known in Component

2007-12-05 Thread mirko27
I did some tests and found out that we we`re accidently using 
@PersistenceContext to inject entitymanager at the time of testing. So 
Injection entitymanager from EJB-s also give same results - no createQuery or 
createNameDQuery functionaility work. So therefore seam is not setting up my 
entitymanager correctly.
So the question raises... what is wrong in my EAR deployment on glassfish? I 
have copied files components.xml and persistence.xml here, information should 
be sufficient. Any suggestions appreciated.

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

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


[jboss-user] [JBoss Seam] - h:dataTable, HashMap, and List

2007-12-05 Thread jtsimikas
If I've defined a List within a HashMap
(which I want to use in h:dataTable component) 

See below:

  | private Map String , ListScsMessageBlock  scsMessageBlocks;
  | 

Is it possible to reference the List in h:dataTable component?


Then would this work ?


  | h:dataTable value=#{scsMessageBlocks['SomeKey']} var=msg
  |  styleClass=width100 
  | 
  | ..
  | /h:dataTable
  | 

The above code generates the following error even though that key does exist in 
the HashMap and a List with rows has been allocated.

java.lang.IllegalArgumentException: row is unavailable



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

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


[jboss-user] [JBossWS] - Re: Jbossws 2.0.2 with jdk1.6

2007-12-05 Thread [EMAIL PROTECTED]
This is the same exception as here: 
http://www.jboss.com/index.html?module=bbop=viewtopicp=4109077

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

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


[jboss-user] [Remoting] - Re: Stupid Bisocket question, how do I do invocations on the

2007-12-05 Thread TheNelson
Thank you for the response.Where are you located Ron?  I owe you some 
beers.   Next time I'm in your neck of the woods or you're in Colorado I should 
buy you some.

thanks again.


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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Jasper Exception when migrating from 4.0.5.CR1 to 4.2.0.

2007-12-05 Thread openyourmind
Hi all, I had the same problem and solved it by supressing 
javax.servlet.jsp.jar from my war classpath. As stated before, I guess some 
conflict between jars was taking place. Bye. OYM

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Turn off: Automatic session close at end of transaction

2007-12-05 Thread arnieAustin
Can't find the configuration option for this...where is it?

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

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


[jboss-user] [JBoss Seam] - TreeStateAdvisor not found

2007-12-05 Thread BerndMueller
I write a component implementing TreeStateAdvisor to control
a richfaces rich:tree. TreeStateAdvisor is packaged in richfaces-ui.jar which 
is packaged in the WAR. 
Therefore I get a NoClassDefFoundError for TreeStateAdvisor.

How can I get around this?

Bernd

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

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


[jboss-user] [JBoss Messaging] - Re: Thread pool for publishing messages

2007-12-05 Thread timfox
I'm not sure how a thread pool is going to enable you to publish messages 
faster.

Can you be more specific about your perf problems? Using straight JBM you 
should be able to publish many 1000s of messages / second. Of course this 
depends on your messages size and whether your messages are persistent  / non 
persistent.

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

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


[jboss-user] [JBoss Messaging] - Re: Thread pool for publishing messages

2007-12-05 Thread bortx
My application processes requests and one of the tasks they do is putting a 
message in a queue, for performing additional actions asynchronously. 

Then, I've seen in traces that the trask of putting the message in the queue 
takes about 300ms on a considerable pertentaje. As the application thread is 
the one who is performing this task, I thought an additional thread pool could 
be configured to deal sith this task, so that the calling thread would only 
give the message to those threads and continue its execution in a faster way.

I'm using jboss messaging 1.4.0.SP1 with persistence and haven't done any 
particular changes in configuration

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

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


[jboss-user] [JBoss Seam] - Quartz Asynchronous events at startup

2007-12-05 Thread Hypher
I have been running into problems with Quartz Asynchronous events which are 
scheduled to fire when the server is shut down. When the server is started 
again, the events get fired before seam is fully initialized. This occurs 
because the QuartzDispatcher is marked @Startup and it will cause all 
post-dated events to be fired as soon as it is created. The component that is 
handing the asynchronous event relies on other components which are marked 
@Startup. Since startup order is arbitrary, some of those components won't have 
been created when the event is fired, causing errors.

The solution I have found to this issue is to override the QuartzDispatcher and 
wait until seam is initialized to initialize the scheduler:

  | @Startup
  | @Scope(ScopeType.APPLICATION)
  | @Name(org.jboss.seam.async.dispatcher)
  | @Install(value=false, precedence=APPLICATION)
  | @BypassInterceptors
  | public class CustomQuartzDispatcher extends QuartzDispatcher
  | {
  | @Override
  | public void initScheduler()
  | {
  | /* 
  |  * We don't actually want anything to happen on startup, 
  |  * this will be handled by the post-init startScheduler method
  |  */
  | }
  | 
  | @Observer(org.jboss.seam.postInitialization)
  | public void startScheduler()
  | {
  | super.initScheduler();
  | }
  | }
  | 

This approach works perfectly for events which were scheduled before the server 
went down, and for events scheduled after seam is initialized. However, if a 
seam component tries to schedule an event during startup, it will fail because 
the scheduler has not been initialized.

This could be fixed by keeping a queue of events to-be-scheduled in the 
QuartzDispatcher, and scheduling them with the scheduler once it is initialized.

Does anyone have any ideas about this? I'll create JIRA issue about the startup 
issue soon.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - ClassLoader issues

2007-12-05 Thread ryanonsrc
My web application (which is deployed under JBoss) is throwing a lot of 
exceptions and they appear to all be instances where calls to 
java.lang.Class.forName() is failing.

After some googling I have found the following info:

If you use Class.forName() this is 
MyClass?.class.getClassLoader().loadClass(...) which will start from the 
classloader where your class is deployed.

You should use Thread.currentThread().getContextClassLoader().loadClass(...) to 
load from the current application's classloader. 

Is this accurate?  I *really* would prefer *not* to modify the entire code-base 
to access the ClassLoader differently.

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

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


[jboss-user] [JBoss Seam] - Embededding h:dataTable within h:dataTable

2007-12-05 Thread jtsimikas
I have an dataTable that is embedded with another dataTable
I am using the same @DataModel to reference all the data in
both dataTables.

Seems that when I submit the form, only the data within the inner dataTable is 
set.  The fields in the outer dataTable never get set.

Let me start by asking, has anyone done this successfully?
Any enlightenment would be appreciated.



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

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


[jboss-user] [JNDI/Naming/Network] - Re: AXIS Web Service Cannot Perform JNDI Lookup/Cast

2007-12-05 Thread cmpaul
Hi Jaikiran, thanks for your response. 

I found a workaround to my issue:

AXIS required myjar.jar to be in the WEB-INF/lib directory in order to compile 
the web service class, but once compiled, the presence of this jar was 
preventing me from being able to do a successful JNDI lookup inside that web 
service class (due to the class cast exception mentioned above). 

To get around this, I have been providing AXIS with a compiled version of that 
web service class (in the WEB-INF/jwsClasses directory). I just deploy the 
.class file with the rest of my webapp. AXIS sees this and doesn't attempt to 
compile the .jws file, and there are also no class loader conflicts with the 
presence of the additional myjar.jar.

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

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


[jboss-user] [JBoss Portal] - Re: Redirect to a specific portal after login

2007-12-05 Thread bvogt
In your PortalCommandFactory you have to implement the method:
   public ControllerCommand doMapping(ControllerContext controllerContext, 
ServerInvocation invocation, String host, String contextPath, String 
requestPath)
  | 
it returns instances of org.jboss.portal.core.controller.ControllerCommand

Existing ControllerCommands are e.g. ViewPortalCommand and ViewPageCommand.

An example for switching to another portal is given in the 
org.jboss.portal.core.aspects.controller.PageCustomizerInterceptor, the 'admin' 
link is generated by:
PortalObjectPermission perm = new PortalObjectPermission(adminPortalId, 
PortalObjectPermission.VIEW_MASK);
  | try
  | {
  |if 
(controller.getPortalAuthorizationManagerFactory().getManager().checkPermission(perm))
  |{
  |   ViewPageCommand showadmin = new ViewPageCommand(adminPortalId);
  |   rd.setAttribute(org.jboss.portal.header.ADMIN_PORTAL_URL, new 
PortalURLImpl(showadmin, controllerCtx, null, null));
  |}
  | }
  | catch (PortalSecurityException e)
  | {
  |log.error(, e);
  | }

I would assume, that returning the above mentioned 'showadmin' instance in your 
doMapping() method shall do the portal switch. In addition you have to think 
about the page of the target portal that is to be displayed...

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

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


[jboss-user] [JBoss Messaging] - Re: Missing message statistics

2007-12-05 Thread timfox
Did you enable message counters? :

http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.4.0.SP1/html/configuration.html#conf.serverpeer.operations.enablemessagecounters

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

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


[jboss-user] [JBoss Seam] - Re: Plain Tomcat + Quartz + Mail work together?

2007-12-05 Thread ASavitsky
Create a JIRA with a test case - I remember being told that this setup should 
work now in 2.0GA+, so if it doesn't, I'll be the first to vote on issue and 
test it.

Thx,

Alex

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

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


[jboss-user] [JBoss Tools (users)] - How to disable immediate package deployment ?

2007-12-05 Thread dkane
Hello 

I use Project archives to create deployment packages. 

In JBoss IDE (previous version), I was able to package jar/ear, then I 
drag-drop it from project explorer to Servers tab and put (deploy) on server. 

In JBoss Tools, the situation is different. First of all, drag-drop operation 
does not work but shows message abc.jar does not contain anything that can be 
run on server. However, deploy to server (context menu item) works well. 

After that (jar is already on server) I found that any change in Project 
archives for this jar causes immediate redeploy. I don't like that but prefer 
to deploy by command. I turned out Allow incremental packaging, but this 
helped only partially. IDE still keep eye on some of my actions and 
redeploy/undeploy archives when I don't want that. 

I want to play with archives in project directory without any changes to 
archives in server/default/deploy.  And copy archive to server only by explicit 
command. How to achieve that ? 

Thanks you. 




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

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


[jboss-user] [JBossWS] - Re: Jbossws 2.0.2 with jdk1.6

2007-12-05 Thread Artec
Ok. I've run my jboss and in my server.log there's this error

=

  JBoss Bootstrap Environment

  JBOSS_HOME: /data/jboss-portal-2.6.1.GA

  JAVA: /data/jdk1.6.0_03/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server -Xms512m -Xmx512m 
-Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360

  CLASSPATH: 
/data/jboss-portal-2.6.1.GA/bin/run.jar:/data/jdk1.6.0_03/lib/tools.jar

=

14:08:58,718 INFO  [Server] Starting JBoss (MX MicroKernel)...
14:08:58,724 INFO  [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: 
SVNTag=JBoss_4_2_1_GA date=200707131605)
14:08:58,736 INFO  [Server] Home Dir: /data/jboss-portal-2.6.1.GA
14:08:58,737 INFO  [Server] Home URL: file:/data/jboss-portal-2.6.1.GA/
14:08:58,742 INFO  [Server] Patch URL: null
14:08:58,743 INFO  [Server] Server Name: default
14:08:58,744 INFO  [Server] Server Home Dir: 
/data/jboss-portal-2.6.1.GA/server/default
14:08:58,746 INFO  [Server] Server Home URL: 
file:/data/jboss-portal-2.6.1.GA/server/default/
14:08:58,747 INFO  [Server] Server Log Dir: 
/data/jboss-portal-2.6.1.GA/server/default/log
14:08:58,749 INFO  [Server] Server Temp Dir: 
/data/jboss-portal-2.6.1.GA/server/default/tmp
14:08:58,752 INFO  [Server] Root Deployment Filename: jboss-service.xml
14:09:01,505 INFO  [ServerInfo] Java version: 1.6.0_03,Sun Microsystems Inc.
14:09:01,507 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.6.0_03-b05,Sun Microsystems Inc.
14:09:01,508 INFO  [ServerInfo] OS-System: SunOS 5.8,sparc
14:09:06,065 INFO  [Server] Core system initialized
14:09:23,252 INFO  [WebService] Using RMI server codebase: 
http://161.27.1.19:8083/
14:09:23,264 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:jboss-log4j.xml
14:09:27,172 INFO  [TransactionManagerService] JBossTS Transaction Service (JTA 
version) - JBoss Inc.
14:09:27,172 INFO  [TransactionManagerService] Setting up property manager 
MBean and JMX layer
14:09:28,867 INFO  [TransactionManagerService] Starting recovery manager
14:09:29,492 INFO  [TransactionManagerService] Recovery manager started
14:09:29,493 INFO  [TransactionManagerService] Binding TransactionManager JNDI 
Reference
14:09:55,211 INFO  [EJB3Deployer] Starting java:comp multiplexer
14:10:58,962 INFO  [STDOUT] no object for null
14:10:58,979 INFO  [STDOUT] no object for null
14:10:59,117 INFO  [STDOUT] no object for null
14:10:59,273 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}supplyType
14:10:59,360 INFO  [STDOUT] no object for {urn:jboss:bean-deployer}dependsType
14:11:12,407 ERROR [AbstractKernelController] Error installing to Described: 
name=WSHTTPServer state=Not Installed mode=Manual requiredState=Create
java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.wsf.container.jboss42.DeploymentAspectHttpServer
at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:306)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:514)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactoryImpl.getTypeInfo(IntrospectionTypeInfoFactoryImpl.java:216)
at 
org.jboss.reflect.plugins.introspection.IntrospectionTypeInfoFactory.getTypeInfo(IntrospectionTypeInfoFactory.java:47)
at 
org.jboss.classadapter.plugins.reflect.ReflectClassAdapterFactory.getClassAdapter(ReflectClassAdapterFactory.java:61)
at 
org.jboss.kernel.plugins.config.AbstractKernelConfig.getBeanInfo(AbstractKernelConfig.java:59)
at 
org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:64)
at 
org.jboss.kernel.plugins.config.AbstractKernelConfigurator.getBeanInfo(AbstractKernelConfigurator.java:76)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions$DescribeAction.installAction(KernelControllerContextActions.java:227)
at 
org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147)
at 
org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
at 
org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226)
at 
org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593)
at 
org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438)
at 
org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379)
at 

[jboss-user] [JBoss Seam] - Re: Injection not working when using thirdparty JMS library

2007-12-05 Thread raoul.schmidiger
Hi Pete,

No, it is not declared as a MDB. It is clear to me, that this is not the usual 
way to go. But what about thirdparty libs in general, well yes, that start off 
some threads and do callbacks on my code? I know it is not considered good 
practice but then again... 

@Stateful
  | @Name(jmsListener)
  | @Scope (ScopeType.SESSION)
  | public class JmsMessageListener implements MessageListener, 
IJmsMessageListener {
  | 
  | // factor out into properties
  | private static final String SEND_QUEUE = IN;
  | private static final String RECEIVE_QUEUE = OUT;
  | 
  | private ASyncSender asyncSender;
  | //private SyncSender syncSender;
  | 
  | @In(create=true, required=true)
  | private IUnderlyingService underlyingService;
  | private IUnderlyingService underlyingServiceHack;
  | 
  | @In(create=true, required=true)
  | private IConnectionProvider connectionFactoryProvider;
  | 
  | public JmsMessageListener() {
  | System.out.println(constructor: JmsMessageListener);
  | }
  | 
  | @Remove @Destroy
  | public void remove() {
  | System.out.println(destroyed: JmsMessageListener);
  | }
  | 
  | @Create
  | public void init() throws JMSException {
  | MessageSessionProvider messageSessionProvider = new 
MessageSessionProvider(connectionFactoryProvider.getConnectionFactory());
  | asyncSender = new ASyncSender(messageSessionProvider, 
SEND_QUEUE);
  | messageSessionProvider.setMessageListener(RECEIVE_QUEUE, this);
  | //syncSender = new SyncSender(messageSessionProvider, 
SEND_QUEUE);
  | messageSessionProvider.startConnection();
  | 
  | if(underlyingService == null) {
  | System.out.println(at init, underlyingService is 
null);
  | } else {
  | System.out.println(at init, underlyingService is not 
null);
  | underlyingServiceHack = underlyingService;
  | }
  | }
  | 
  | @Override
  | public void onMessage(Message message) {
  | if(message instanceof ObjectMessage) {
  | try {
  | System.out.println(got a message:  + 
((ObjectMessage) message).getObject());
  | } catch (JMSException e) {
  | e.printStackTrace();
  | }
  | } else {
  | System.out.println(got a message:  + message);
  | }
  | if (message instanceof ObjectMessage) {
  | ObjectMessage objectMessage = (ObjectMessage) message;
  | try {
  | //...
  | }
  | } catch (JMSException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
  | }
  | }
  | 
  | }
  | 

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

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


  1   2   >