[jboss-user] [EJB 3.0] - Re: Client accessing EJB3 via RMIoverHTTTP on Port 80

2007-06-19 Thread itsme
Thanks for replying, but it seems there is more needed.

I testet the mentioned and got the following error on startup

  | 08:55:45,172 WARN  [ServiceController] Problem creating service 
jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3
  | java.lang.NoClassDefFoundError: org/apache/coyote/Adapter
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
  | at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
  | at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:675)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:655)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:193)
  | at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
  | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:520)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:408)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.getDeclaredConstructors0(Native Method)
  | at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
  | at java.lang.Class.getConstructor0(Class.java:2671)
  | at java.lang.Class.newInstance0(Class.java:321)
  | at java.lang.Class.newInstance(Class.java:303)
  | at 
org.jboss.remoting.InvokerRegistry.loadServerInvoker(InvokerRegistry.java:436)
  | ...
  | 
Any ideas?
Sandor

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

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


[jboss-user] [JBoss jBPM] - Re: How can I split storage scheme JBPM and general?

2007-06-19 Thread fady.matar
It is not recommended to use two JNDI for the same physical database. 

Use different JNDI names for different databases and update your persistence 
configuration accordingly

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: 4.0.5 to 4.2.0 upgrade and JBossTS

2007-06-19 Thread djr667
jhalliday: Sorry about the late response. I added the following to 
jbossjta-properties.xml

as the first child element of 

which I assume is the correct place (the documentation does not say exactly 
where).

The DeploymentException I get occurs at JBoss startup, as the transaction 
manager is started.

Dave

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss on Linux HELLPPPPPP!!!

2007-06-19 Thread itsme
hi sheila,

maybe it would help if you provide more information of what you are trying to 
do.

Regards
Sandor

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

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


[jboss-user] [JBoss jBPM] - How can I split storage scheme JBPM and general?

2007-06-19 Thread slogger
How can I split storage scheme JBPM and general?
I tried to create different DataSource (two confiqs *-ds.xml with 
local-tx-datasource), but I got issues.
It is necessary for application to guarantee execution in single transaction 
(jbpm and general).
RDBMS Oracle10g, JDK 1.5.8, JBoss 4.2.0, Jbpm-3.2
What's the matter? Please, sorry my English.

Jbpm is deployed as EAR, with config:
...
  | 
  |   
  |   
  |   
  |   
  | 
  | ...

FIRST 

2007-06-20 10:01:35,625 WARN  [org.hibernate.cfg.SettingsFactory] Could not 
obtain connection metadata
  | org.jboss.util.NestedSQLException: Could not enlist in transaction on 
entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 
-3f57218c:1154:4677a2d0:3c70 status: ActionStatus.ABORT_ONLY >); - nested 
throwable: (org.jboss.resource.JBossResourceException: Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 
-3f57218c:1154:4677a2d0:3c70 status: ActionStatus.ABORT_ONLY >))
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
  | at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:84)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  | at 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | at 
org.jbpm.persistence.jta.JtaDbPersistenceService.isCurrentJtaTransactionAvailable(JtaDbPersistenceService.java:37)
  | at 
org.jbpm.persistence.jta.JtaDbPersistenceService.(JtaDbPersistenceService.java:22)
  | at 
org.jbpm.persistence.jta.JtaDbPersistenceServiceFactory.openService(JtaDbPersistenceServiceFactory.java:17)
  | at org.jbpm.svc.Services.getService(Services.java:141)
  | at org.jbpm.svc.Services.getPersistenceService(Services.java:180)
  | at org.jbpm.JbpmContext.getPersistenceService(JbpmContext.java:628)
  | at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:569)
  | at org.jbpm.JbpmContext.newProcessInstance(JbpmContext.java:408)
  | at 
com.rfc.security.scheme.actions.ActionCreateDoc.doSomething(ActionCreateDoc.java:26)
  | at com.rfc.security.scheme.actions.PAction.execute(PAction.java:30)
  | at 
com.rfc.ejb.security.SecurityMgrBean.executeAction(SecurityMgrBean.java:73)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | ...
  | Caused by: org.jboss.resource.JBossResourceException: Could not enlist in 
transaction on entering meta-aware object!; - nested throwable: 
(javax.transaction.SystemException: java.lang.Throwable: Unabled to enlist 
resource, see the previous warnings. tx=TransactionImple < ac, BasicAction: 
-3f57218c:1154:4677a2d0:3c70 status: ActionStatus.ABORT_ONLY >)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:343)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | ... 49 more
  | Caused by: javax.transaction.SystemException: java.lang.Throwable: Unabled 
to enlist resource, see the previous warnings. tx=TransactionImple < ac, 
BasicAction: -3f57218c:1154:4677a2d0:3c70 status: ActionStatus.ABORT_ONLY >
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.checkEnlisted(TxConnectionManager.java:744)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:577)
  | at 
org.jboss.resource.connectionmanager.TxCon

[jboss-user] [JBoss Seam] - Re: Ajax4jsf UnboundedFifoBuffer

2007-06-19 Thread baz
anyone?

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

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


[jboss-user] [EJB 3.0] - Re: Client accessing EJB3 via RMIoverHTTTP on Port 80

2007-06-19 Thread hauch
Hi,

As far as I understand all you have to do is change
socket://${jboss.bind.address}:3873
to
http://${jboss.bind.address}:80
in ejb3.deployer/META-INF/jboss-service.xml.

You can read more about JBoss remoting in 
http://labs.jboss.com/file-access/default/members/jbossremoting/freezone/docs/guide/JBoss_Remoting_Guide.pdf
and
http://www.onjava.com/pub/a/onjava/2005/02/23/remoting.html


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

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


[jboss-user] [JBoss Seam] - Re: where to find errata for Seam book

2007-06-19 Thread baz
Thanks Michael,
i have not found the thread i mentioned above. I explicitly refer to chapter 
11.1.3. When i try to pass the var variable(fan) of a datatable to a method, 
then a null value is passed.
This behaviour is consistent with seam docu(1.3.0Alpha)anonymous wrote : Note: 
You can not pass objects as arguments! All that is passed is names,[...] If the 
arguments can not be resolved at that time (because hotel and user variables 
can not be found in any available context) the action method will be called 
with null arguments!
The var variable is not present in any scope, so null must be passed.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Installing JBoss Portal on Existing JBoss Installation

2007-06-19 Thread jba8273
Any replies, anyone?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: reg IP Address instead of the localhost

2007-06-19 Thread jaikiran
Which version of JBoss are you using? If its 4.2 then have a look at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=40 

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

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


[jboss-user] [Installation, Configuration & Deployment] - reg IP Address instead of the localhost

2007-06-19 Thread rsuser
Hi 

I have installed the Jboss in my machine. When i work with the webservices, If 
i give localhost then its working fine.But when i give the ipaddress of the 
system and it is not coming it displayed as "The Page Cannt br displayed"

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

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


[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2007-06-19 Thread aditsu
Oops, I ran eclipse from the command line and I can see the full stack trace in 
the console now. It's from my code, I'll find a way to fix it.

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

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


[jboss-user] [JBossCache] - Re: JBossCacheIDE 1.0 Released

2007-06-19 Thread aditsu
Thanks for the reply. I downloaded the version with dependencies, and I'm still 
getting NPE with no stack trace. I'd like to clarify that I'm doing "import new 
local configuration", and adding some "registered jars" that it may need.
Why is there no stack trace? How can I possibly tell what's the problem if the 
only error information is NPE?

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

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


[jboss-user] [JBoss Seam] - Re: How to persist entities that have arrays or collections

2007-06-19 Thread [EMAIL PROTECTED]
It works just fine and I don't see what it has to do with any entityconverter. 
If your entity has a mapped and persistent collection, it will be managed as 
part of the mapped entity.

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

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


[jboss-user] [JBoss Messaging] - How to provide the identity in the annotation for MDB?

2007-06-19 Thread JasonHsu
I have a normal MDB defined like: 


  | @MessageDriven(activationConfig = { 
  |  @ActivationConfigProperty(propertyName="destinationType", 
propertyValue="javax.jms.Topic") 
  | ,@ActivationConfigProperty(propertyName="destination", 
propertyValue="/topic/testTopic")
  | })
  | public class MyMdb implements MessageDrivenBean, MessageListener {
  |  ..
  | }
  | 
It works fine with the default destination (on JBoss Messaging 1.3 GA). Now, I 
want to access a secured topic(remote) which has been set correctly if I use 
"testUser" and "testPassword" to access it locally (on remote box) 

What's the keyword of the propertyName that I can specify the identity to my 
MDB? I've been searching around but can't any piece of information regarding 
this issue. Please help!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4055874
___
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 provide the identity in the annotation for MDB?

2007-06-19 Thread JasonHsu
No one secure their queue at all?

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

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


[jboss-user] [JBoss Portal] - Re: How can I change the default portal ??

2007-06-19 Thread tufla
Thank you Antoine, 

I have my own default-object.xml definition into my war file, so I don't want 
to have to do that into the server descriptor.

I've been looking for that, but I haven't found a good answer. I'll continue 
researching.

Anyway, thanks a lot, I've written several posts without answers. It's great 
receive response from anyone.

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

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


[jboss-user] [JBoss Seam] - seam generate-entities problem

2007-06-19 Thread sirmyth
Hi,
I seam to have a  problem with seam-gen.
When I run "seam generate-entities" i get the following error( full listing at 
end):
[hibernate] java.sql.SQLException: No suitable driver found for 
system@//localhost:1521/xe

I run Jboss 4.0.5 seam 1.2.1GA, Oracle 10XE
Driver  jar is ojdbc14.jar. Im using this jdbc string in the SQLDeveloper and 
it works properly. I made sure jar is in the right place.
Any ideas? 
Please HELP!

=
Full console listing:
Microsoft Windows XP [Version 5.1.2600]
(C) Copyright 1985-2001 Microsoft Corp.

C:\Documents and Settings\Vor>cd \

C:\>cd jboss*

C:\jboss-seam-1.2.1.GA>seam generate-entities
Buildfile: C:\jboss-seam-1.2.1.GA\seam-gen\build.xml

validate-workspace:

validate-project:

generate-entities:
[hibernate] Executing Hibernate Tool with a JDBC Configuration (for reverse engi
neering)
[hibernate] 1. task: hbm2java (Generates a set of .java files)
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.cfg.Environment 
[hibernate] INFO: Hibernate 3.2.0.cr5
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.cfg.Environment 
[hibernate] INFO: hibernate.properties not found
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.cfg.Environment buildBytecodeP
rovider
[hibernate] INFO: Bytecode provider name : cglib
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.cfg.Environment 
[hibernate] INFO: using JDK 1.4 java.sql.Timestamp handling
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.cfg.reveng.OverrideRepository
addFile
[hibernate] INFO: Override file: C:\Mike\Programing\workspace\newslocal\resource
s\seam-gen.reveng.xml
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.connection.DriverManagerConnec
tionProvider configure
[hibernate] INFO: Using Hibernate built-in connection pool (not for production u
se!)
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.connection.DriverManagerConnec
tionProvider configure
[hibernate] INFO: Hibernate connection pool size: 20
[hibernate] Jun 19, 2007 9:11:44 PM org.hibernate.connection.DriverManagerConnec
tionProvider configure
[hibernate] INFO: autocommit mode: false
[hibernate] Jun 19, 2007 9:11:45 PM org.hibernate.connection.DriverManagerConnec
tionProvider configure
[hibernate] INFO: using driver: oracle.jdbc.driver.OracleDriver at URL: system@/
/localhost:1521/xe
[hibernate] Jun 19, 2007 9:11:45 PM org.hibernate.connection.DriverManagerConnec
tionProvider configure
[hibernate] INFO: connection properties: {user=system, password=}
[hibernate] Jun 19, 2007 9:11:45 PM org.hibernate.cfg.SettingsFactory buildSetti
ngs
[hibernate] WARNING: Could not obtain connection metadata
[hibernate] java.sql.SQLException: No suitable driver found for system@//localho
st:1521/xe
[hibernate] at java.sql.DriverManager.getConnection(Unknown Source)
[hibernate] at java.sql.DriverManager.getConnection(Unknown Source)
[hibernate] at org.hibernate.connection.DriverManagerConnectionProvider.getC
onnection(DriverManagerConnectionProvider.java:110)
[hibernate] at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFacto
ry.java:76)
[hibernate] at org.hibernate.cfg.Configuration.buildSettings(Configuration.j
ava:1929)
[hibernate] at org.hibernate.cfg.JDBCMetaDataConfiguration.readFromJDBC(JDBC
MetaDataConfiguration.java:38)
[hibernate] at org.hibernate.tool.ant.JDBCConfigurationTask.doConfiguration(
JDBCConfigurationTask.java:82)
[hibernate] at org.hibernate.tool.ant.ConfigurationTask.getConfiguration(Con
figurationTask.java:55)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.getConfiguration(Hib
ernateToolTask.java:299)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.getProperties(Hibern
ateToolTask.java:315)
[hibernate] at org.hibernate.tool.ant.ExporterTask.configureExporter(Exporte
rTask.java:94)
[hibernate] at org.hibernate.tool.ant.Hbm2JavaExporterTask.configureExporter
(Hbm2JavaExporterTask.java:34)
[hibernate] at org.hibernate.tool.ant.ExporterTask.execute(ExporterTask.java
:39)
[hibernate] at org.hibernate.tool.ant.HibernateToolTask.execute(HibernateToo
lTask.java:183)
[hibernate] at org.apache.tools.ant.UnknownElement.execute(UnknownElement.ja
va:275)
[hibernate] at org.apache.tools.ant.Task.perform(Task.java:364)
[hibernate] at org.apache.tools.ant.Target.execute(Target.java:341)
[hibernate] at org.apache.tools.ant.Target.performTasks(Target.java:369)
[hibernate] at org.apache.tools.ant.Project.executeSortedTargets(Project.jav
a:1216)
[hibernate] at org.apache.tools.ant.Project.executeTarget(Project.java:1185)

[hibernate] at org.apache.tools.ant.helper.DefaultExecutor.executeTargets(De
faultExecutor.java:40)
[hibernate] at org.apache.tools.ant.Project.executeTargets(Project.java:1068
)
[hibernate] at org.apache.tools.ant.Main.runBuild(Main.java:668)
[hibernate] at org.apache.tools.ant.Main.startAnt(Main.java:187)
[hibernate] at org.apache.tools.ant.launch.Launcher.run(Launcher.java:246)
[hibernate]

[jboss-user] [JBoss Seam] - Re: Identity.addrole returns false when admin is used !!

2007-06-19 Thread [EMAIL PROTECTED]
Can you please provide some more info? This doesn't make sense.

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

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


[jboss-user] [JBoss Seam] - Re: Injected variable initialization

2007-06-19 Thread vwu98034
Thanks very much Pete. I will try it.

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

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


[jboss-user] [Remoting] - Re: RMI : Boss Remoting heavy load

2007-06-19 Thread [EMAIL PROTECTED]
There isn't a lot you can do to configure the RMI runtime.  You can set the 
socket timeout value by configuring the server with custom client and server 
socket factories.  See section "5.7. Socket factories and server socket 
factories" 
(http://labs.jboss.com/jbossremoting/docs/guide/ch05.html#section-socket-factories)
 of the Remoting Guide for more information.

However, maybe RMI is not the source of the problem.  If your server is running 
on Windows XP, then you might be suffering from a restriction Windows places on 
the range of TCP ports it is willing to allocate.  By default, Windows XP will 
allocate ports in the range 1024 through 5000.  You can increase this range by 
setting MaxUserPort in the registry.  See 
http://www.microsoft.com/technet/network/deploy/depovg/tcpip2k.mspx#EBNBG for 
more details.

There is also a restriction in Windows on the number of open connections, 
TcpNumConnections, but the default value is 0xFE in Windows XP.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Problem when configuring virtual hosts in jboss-4.2.0.GA

2007-06-19 Thread ataud
is there anyone from JBoss who can give me a response on the right way to 
configure virtual hosts ??

is it possible to have an exhaustiv example that works ?


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

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


[jboss-user] [JBossWS] - Suspending input from web services

2007-06-19 Thread khkachn
Hi,

Is there a way programmaticly to suspend/resume web services from accepting 
connections? I was going to set a flag somewhere and just return an error, but 
I was wondering if there is a better way.

Also, is there a way to adjust how many threads can be used by web services? 

Thanks,

Ken

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

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


[jboss-user] [JBoss jBPM] - JBPM Database Cleaning

2007-06-19 Thread Hoffman462
i have a question concerning the JBPM 3.1.2 database;

The data that the JBPM stores doesn't seem to ever get truncated, cleaned, or 
purged from this database.  While we can easily halt Jboss,  and effectively 
stop  processing at some given time, say midnight,  drop the JBPM tables, and 
remake them,  this only puts us behind on schedule.

Is there any aging ability supported by JBPM? Or perhaps any other mechanism 
that can be considered for aging data within a specific set of tables? 

I haven't investigated the table structure that much,  so I don't really know 
how I would right a procedure to remove just the rows that are 'old'.  

Thanks for any help,
Dan

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

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


[jboss-user] [JBoss Seam] - Re: using EL for variable ID's within columns

2007-06-19 Thread dinaddan
It is possible now with RichFaces 3.0.1 (just downloaded it and seems to work)

You need to use rich:dataTable instead of h:dataTable (may require some CSS 
tuning, because rich:dataTable forces inheritance of rich-table style sheets) 
and specify rowKeyVar attribute to get variable holding current row number.

For example if you use:

  | 
  | 
  | ...
  | 
  | 
  | ...
  | 
  | 
  | 

Then you can reference your panel ID in each row as:

  | Richfaces.showModalPanel('myForm:myTable:#{rowIdx}:myPanel')
  | 

Note that those panels don't require #{task.id} anymore. Their Id will be 
generated in the context of their container.

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

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


[jboss-user] [JBoss Portal] - Re: Executing additional funcionalities on login time

2007-06-19 Thread lucasdeoliveira
We have a bunch of portlets for different tools (let's say Bugzilla and Trac) 
and once a user logs into Jboss Portal, I need to log him/her in automatically 
on other tools (by retrieving the user associated with session and getting the 
different auths that he/she may have).  
I looked at adding more CMS interceptors - 
http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html_single/#d0e4018
It looks like an way out is it?

thanks a lot!!  =)

ps.:  for now I'm assuming that each user have only ONE login for each tool.

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

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


[jboss-user] [JBoss Seam] - Re: Implement VNC/RDP/NetMeeting-like desktop sharing for he

2007-06-19 Thread Delphi's Ghost
Perhaps this might help : 

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

If I am reading it correctly, then it would be possible to write your own 
custom session manager for seam, which may allow you access to the session for 
another user. 
Of course, it would mean writing a session manager that was as good as the one 
that comes with your web server in production, and ensuring that no information 
is put into the session, outside of the seam environment since that wouldn't be 
available. 

But hey, the dream can live on for a little longer...

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

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


[jboss-user] [JBoss Seam] - Re: How to persist entities that have arrays or collections

2007-06-19 Thread grettke_spdr
"[EMAIL PROTECTED]" wrote : This is a JPA/hibernate question, please ask on the 
relevant forum

Hi Pete, I guess the question is "Does Seam support this out of the box?". In 
other words can I do this without writing a converter or any custom code?

I want to know if I am wasting my time trying to make this work.

No one replies in the Hibernate boards, anyway.

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

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


[jboss-user] [JBoss Seam] - Re: How to persist entities that have arrays or collections

2007-06-19 Thread [EMAIL PROTECTED]
This is a JPA/hibernate question, please ask on the relevant forum

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

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


[jboss-user] [JBoss Seam] - How to persist entities that have arrays or collections of e

2007-06-19 Thread grettke_spdr
How to persist entities that have arrays or collections of enums?

It doesn't seem to work out of the box.

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

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


[jboss-user] [JBoss Seam] - Re: Implement VNC/RDP/NetMeeting-like desktop sharing for he

2007-06-19 Thread modoc
Has there been any thought about moving the seam state into a managed component 
keyed by session id, etc...?  That way session scoped component could be 
accessed via normal JNDI from other apps

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

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


[jboss-user] [JBoss Portal] - Re: RichFaces on portlets is available

2007-06-19 Thread [EMAIL PROTECTED]
No problem, but anyone who is trying need to understand that it is *very* 
early. We do not have a list of components that works/doesn't work and so on...
We do not have instructions on how to install the libraries from SVN and how to 
properly configure. 

I'm just setting the expectation low so we don't end up with too many user 
questions in that early phase :)

RichFaces support for JBoss Portal is a killer thing, i'm very glad the guys 
from Exadel worked hard on this. Congrats to them and keep the excellent work.

Antoine your help is very appreciated, thanks again.

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

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


[jboss-user] [Clustering/JBoss] - Re: HA JMS & message selector

2007-06-19 Thread [EMAIL PROTECTED]
If you added a selector on the MDB and a message doesn't match, the message 
shouldn't be discarded; it should remain in the queue.  The fact that there is 
a cluster involved shouldn't affect this at all.

Suggest you search the JMS forums for any similar issue and if you can't find 
anything, post there.

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

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


[jboss-user] [JBoss Portal] - Re: Executing additional funcionalities on login time

2007-06-19 Thread [EMAIL PROTECTED]
What kind of features ?

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

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


[jboss-user] [JBoss Portal] - Re: Capturing User Entered Password for Legacy Applicaton Us

2007-06-19 Thread Antoine_h
You have to look at the Tomcat authentication process.
JBoss Portal rely on this common feature of Tomcat to get the authentication 
done.

Look at the /deploy/jboss-portal.sar/portal-server.war war to see how it is 
done.
The web.xml define the authentication requierments and process.

Then it is as any web servlet application. (that is I don't really know how 
to... ;-)

Look also at the login.jsp in this war. 
It is in the form of this jsp (called by tomcat, not by the portal) that the 
password is sent back to the server.
You may find a way to retrieve the password...

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

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


[jboss-user] [JBoss Portal] - Re: RichFaces on portlets is available

2007-06-19 Thread Antoine_h
Ok... 
As it is said in the RichFaces JIRA, it is "to test"
I will as soon as I can.
Hope some others will too, so we go ahead with this very nice feature...

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

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


[jboss-user] [JBoss Seam] - Re: Strange symptom with rich:dataTable used with @DataModel

2007-06-19 Thread Delphi's Ghost
What kind of link is it you are clicking on? 

I had a weird error where I was getting the same value in my data selection, 
and it seemed to be because I was returning a page flow action in the command 
link


  | 
  | 

It appeared that when I did this, the data model selection was not updated, and 
when I got to my new page, the same object was selected no matter what link I 
selected :


  | 
  | 
  | 
  | which is defined as :
  | 
  | public String editMyObject() {
  |return "editMyObject";
  | }
  | 

works fine and the right object was selected when I got to the next page.

Might be something worth looking at and trying if it is applicable. I was also 
using the rich data table, and the same Richfaces and seam versions as you.

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

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


[jboss-user] [JBoss Seam] - "Could not find datasource" tip?

2007-06-19 Thread grettke_spdr
Hi folks,

We are trying to set up a new machine (installed jdk 1.5 and jboss) on which to 
deploy.

On startup the deployment fails with "Could not find datasource:". We did 
create a database with the expected name. 

What I want to know is where can I look to find more details of what exactly 
was the problem? (login failure, can't reach db...)



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

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


[jboss-user] [JBossWS] - Re: UnmarshallException for xsd type any

2007-06-19 Thread meghanai_99
Hello,

I am still getting this exception. It was my mistake when I thought I am not 
getting this exception anymore.

Can someone tell me how can I get rid off this exception? Even after the 
exception, the request is received correctly by my BPEL process and it is 
executed as expected.

Here is my SOAP request for that particular element -

  | 
  |   http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-secext-1.0.xsd";>
  |https://wag.bandit-project.org/TrustService/services/SecurityTokenService";
 MajorVersion="1" MinorVersion="1" 
xmlns:saml="urn:oasis:names:tc:SAML:1.0:assertion">
  | .   
  |  
  | 
  |
  | 

Thank you,
Meghana 

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

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


[jboss-user] [JBoss Seam] - Re: howto: expose application scope component with JMX?

2007-06-19 Thread koenhandekyn
feature request to gavin :)

to inject a ' service ' bean you have to resort to the standard jboss 
provisioning wich looks like

  private GlobalConfigurationMBean globalConfiguration;
  
  @Depends ("upr:service=globalConfiguration")
  |   public void setGlobalConfiguration(final GlobalConfigurationMBean 
globalConfiguration)
  |   {
  |  this.globalConfiguration = globalConfiguration;
  |   }
  |   


it would be nice to be able to add an @Name attribute to the service and inject 
it with @In

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

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


[jboss-user] [Installation, Configuration & Deployment] - JBoss on Linux HELLPPPPPP!!!

2007-06-19 Thread sheila lety
Hi every body!

Im having a problem with my Jboss installation, i have jdk-1_5_0_05 and 
jboss-4.0.3-src, i have set JAVA_HOME and JBOSS_HOME but i didint find a way to 
configure JBoss can somebody help me? its VERY URGENT!!


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

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


[jboss-user] [JBoss Seam] - Entity not Mapped with two datasources accessing EJBs outsid

2007-06-19 Thread sysex
Hi, I'm new to JBoss and Seam and have encountered a problem when trying to 
query Entity beans outside of my EAR.

My environment consists of JBoss-4.0.5 running Seam-1.2.1.GA and Hibernate. My 
EAR deployment uses a MySQL database (which is connecting and working just 
fine) but also needs to query Entity beans, which also use Hibernate, and are 
deployed one level up (~/server/default/deploy) as two separate JAR archives 
(API and Impl). The JARs are able to communicate with Hibernate to create and 
import data into their OracleXE database but aren't accessible from my EAR.

After having done some research I am not sure if the issue is related to Seam 
needing an explicit persistence-unit declaration to use for the query or 
whether there is an issue with the Entities needing to be published as a JMX 
service using jboss-app.xml so that the separate classloaders can communicate.

I am writing the simplest query possible which throws the following exception: 

Caused by: org.hibernate.hql.ast.QuerySyntaxException: CollectionCategory is 
not mapped [select categoryCollection from CollectionCategory 
categoryCollection where categoryCollection.collectionCategoryId = :el1]
at 
org.hibernate.hql.ast.util.SessionFactoryHelper.requireClassPersister(SessionFactoryHelper.java:158)
at 
org.hibernate.hql.ast.tree.FromElementFactory.addFromElement(FromElementFactory.java:87)
at 
org.hibernate.hql.ast.tree.FromClause.addFromElement(FromClause.java:70)
at 
org.hibernate.hql.ast.HqlSqlWalker.createFromElement(HqlSqlWalker.java:265)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElement(HqlSqlBaseWalker.java:3056)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromElementList(HqlSqlBaseWalker.java:2945)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.fromClause(HqlSqlBaseWalker.java:688)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:544)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.analyze(QueryTranslatorImpl.java:228)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.doCompile(QueryTranslatorImpl.java:160)
at 
org.hibernate.hql.ast.QueryTranslatorImpl.compile(QueryTranslatorImpl.java:111)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:77)
at org.hibernate.engine.query.HQLQueryPlan.(HQLQueryPlan.java:56)
at 
org.hibernate.engine.query.QueryPlanCache.getHQLQueryPlan(QueryPlanCache.java:72)
at 
org.hibernate.impl.AbstractSessionImpl.getHQLQueryPlan(AbstractSessionImpl.java:133)
at 
org.hibernate.impl.AbstractSessionImpl.createQuery(AbstractSessionImpl.java:112)
at org.hibernate.impl.SessionImpl.createQuery(SessionImpl.java:1623)
at 
org.hibernate.ejb.AbstractEntityManagerImpl.createQuery(AbstractEntityManagerImpl.java:92)
... 85 more


Is anyone able to elaborate on the mechanisms of communication between separate 
JBoss deployments and the accessibility of Hibernate mappings? As well, whether 
Seam's implicit usage of datasource mappings should be considered as a factor?

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread Delphi's Ghost
Oh yeah a list apart is a great resource for css stuff, including articles on 
why we should be using css.

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread shakenbrain
I forgot one of the styles:

.entry div.inputblock {
  |   float:  left;
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread Delphi's Ghost
Hey Pete, 

Yes, I saw that, I have looked at the decorate stuff, actually, I think I have 
copied edit.xhtml to my app to look at start trying to use it.  I do need to 
add an access key element on to there, but that should be easy. 

I did implement a facelet for date edits, and my main problem was that in order 
to specify a proper document, with access keys in labels and labels and 
controls with Ids, you end up having include a lot of parameters, and putting 
an access key param in a facelet is a lot longer than putting accessKey="a" in 
the label tag. 
Also, remembering the params can be a pain, until you get to the point where 
you are having to copy and paste the invokation of the template, at which 
point, you might as well just copy and paste the raw html that is in the 
template. My select date template contained around 8 tags for params, whereas 
the underlying html was 3 tags and a few attributes.

I know, you get re-use and all that from s:decorate and templates, but 
still...I'm a tough customer to please :)



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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread shakenbrain
This article illustrates how to create a flexible three column layout:

http://www.alistapart.com/articles/holygrail/

Of course, there are lots of other layouts and approaches.  Google for "css 
layout" and you'll find lots of good references and examples.

For laying out simple forms, I use the following template for :

http://www.w3.org/1999/xhtml";
  |  xmlns:ui="http://java.sun.com/jsf/facelets";
  |  xmlns:h="http://java.sun.com/jsf/html";
  |  xmlns:f="http://java.sun.com/jsf/core";
  |  xmlns:s="http://jboss.com/products/seam/taglib";>
  | 
  | 
  | 
  | 
  |  *
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

and call it like this:


  |   #{messages.TargetRole}
  |   
  | 
  | 
  |   
  | 

and here are the CSS styles:

.entry {
  |   padding-top: 6px;
  |   clear: left;
  | }
  | 
  | .inputlabel {
  |   color: #434343;
  |   font-weight: normal;
  |   line-height: 1.8;
  |   vertical-align: top;
  |   margin-bottom: 4px;
  | }
  | 
  | .errors {
  |   font-weight: normal;
  |   text-align: center;
  | }
  | 
  | .entry .label {
  |   color: #434343;
  |   float: left;
  |   padding-right: 12px;
  |   font-weight: bold;
  |   width: 80px;
  |   text-align: left;
  | }
  | 
  | .entry .errorMessage {
  |   display: block;
  |   margin-top: 4px;
  |   font-size: 85%;
  |   color: red;
  | }
  | 

I'm no CSS expert so keep in mind there may be better ways of doing this.

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

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


[jboss-user] [Beginners Corner] - Re: classloader problems

2007-06-19 Thread cristian_e
Can you post more info about this ? Stack trace ?

I understand that when there is more than just one version of the same class 
deployed on JBoss, it simply gets the first one deployed unless you have 
defined a different approach. So, if you have the same lib/class deployed more 
than once, the problems becomes getting to know if your app is calling the 
wrong version.

If you want to check what version of a class JBoss is actually using, you can 
use the jmx-console to ask what class loader is getting it and also from what 
archive (look for LoaderRepository in the main screen).


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Connecting to remote queue.

2007-06-19 Thread tnine
Hi all,
  I'm using spring to connect to a remote HA JBoss MQ service via a JNDI 
lookup.  I'm connecting with the following jndi properties.


  | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | java.naming.factory.url.pkgs=org.jnp.interfaces
  | java.naming.provider.url=jnp://localhost:1100
  | 

I'm using maven2 for my build, and I'm using groupId=jboss, 
artifactID=jbossall-client, version = 3.2.3.  I'm connecting to jboss 4.0.5, so 
I'm assuming I need a newer client jar, but I couldn't find any implementation 
of org.jnp.interfaces.NamingContextFactory in the 4.x jars.  What properties 
and which client jars do I need to connect?  Below is my stack trace for any 
additional information that may be useful.

Thanks,
Todd

Stack trace


  | Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'inputConnectionFactory' defined in class path resource 
[reader-context.xml]: Cannot resolve reference to bean 
'inputQueueConnectionFactory' while setting bean property 'connectionFactory'; 
nested exception is org.springframework.beans.factory.BeanCreationException: 
Error creating bean with name 'inputQueueConnectionFactory' defined in class 
path resource [reader-context.xml]: Cannot resolve reference to bean 
'internalJmsQueueConnectionFactory' while setting bean property 
'targetConnectionFactory'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'internalJmsQueueConnectionFactory' defined in class path resource 
[reader-context.xml]: Invocation of init method failed; nested exception is 
java.lang.IllegalStateException: Failed to find method for 
hash:-790108502850547550 available={-884175917852741154=public abstract ja!
 va.lang.Object org.jnp.interfaces.Naming.lookup(javax.naming.Name) throws 
javax.naming.NamingException,java.rmi.RemoteException, 
-5642140585403320990=public abstract java.util.Collection 
org.jnp.interfaces.Naming.listBindings(javax.naming.Name) throws 
javax.naming.NamingException,java.rmi.RemoteException, 
7733619496521189953=public abstract java.io.Serializable 
org.jboss.ha.framework.interfaces.HAPartition$HAPartitionStateTransfer.getCurrentState(),
 -4221607359560216057=public abstract java.util.Collection 
org.jnp.interfaces.Naming.list(javax.naming.Name) throws 
javax.naming.NamingException,java.rmi.RemoteException, 
-5717908715153450081=public abstract void 
org.jnp.interfaces.Naming.rebind(javax.naming.Name,java.lang.Object,java.lang.String)
 throws javax.naming.NamingException,java.rmi.RemoteException, 
6991977298034536864=public abstract void 
org.jboss.ha.framework.interfaces.HAPartition$HAPartitionStateTransfer.setCurrentState(java.io.Serializable),
 -8107796390111393345=pu!
 blic abstract void org.jnp.interfaces.Naming.unbind(javax.naming.Name)
 throws javax.naming.NamingException,java.rmi.RemoteException, 
-7286638714004764603=public abstract javax.naming.Context 
org.jnp.interfaces.Naming.createSubcontext(javax.naming.Name) throws 
javax.naming.NamingException,java.rmi.RemoteException, 
-6149798079139202860=public abstract void 
org.jnp.interfaces.Naming.bind(javax.naming.Name,java.lang.Object,java.lang.String)
 throws javax.naming.NamingException,java.rmi.RemoteException}
  | Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creating bean with name 'inputQueueConnectionFactory' defined in class path 
resource [reader-context.xml]: Cannot resolve reference to bean 
'internalJmsQueueConnectionFactory' while setting bean property 
'targetConnectionFactory'; nested exception is 
org.springframework.beans.factory.BeanCreationException: Error creating bean 
with name 'internalJmsQueueConnectionFactory' defined in class path resource 
[reader-context.xml]: Invocation of init method failed; nested exception is 
java.lang.IllegalStateException: Failed to find method for 
hash:-790108502850547550 available={-884175917852741154=public abstract 
java.lang.Object org.jnp.interfaces.Naming.lookup(javax.naming.Name) throws 
javax.naming.NamingException,java.rmi.RemoteException, 
-5642140585403320990=public abstract java.util.Collection 
org.jnp.interfaces.Naming.listBindings(javax.naming.Name) throws 
javax.naming.NamingException,java.rmi.RemoteE!
 xception, 7733619496521189953=public abstract java.io.Serializable 
org.jboss.ha.framework.interfaces.HAPartition$HAPartitionStateTransfer.getCurrentState(),
 -4221607359560216057=public abstract java.util.Collection 
org.jnp.interfaces.Naming.list(javax.naming.Name) throws 
javax.naming.NamingException,java.rmi.RemoteException, 
-5717908715153450081=public abstract void 
org.jnp.interfaces.Naming.rebind(javax.naming.Name,java.lang.Object,java.lang.String)
 throws javax.naming.NamingException,java.rmi.RemoteException, 
6991977298034536864=public abstract void 
org.jboss.ha.framework.interfaces.HAPartition$HAPartitionStateTransfer.setCurrentState(java.io.Serializable),
 -8107796390111393345

[jboss-user] [JBoss Seam] - Problem on listTimerHandles

2007-06-19 Thread quintenjiang
My error message like at Jboss 4.2.0 + Seam 1.3:

[org.jboss.ejb3.stateless.StatelessDelegateWrapper] Starting failed 
jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam.jar,name=TimerServiceDispatcher,service=EJB3
java.lang.NullPointerException
at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

I use Mysql DB. In the previous version 4.0.3. I put mysql-ds.xml and remove 
hsqldb-ds.xml. It work fine with DB.

Then I use Seam and use Jems to install Jboss 4.0.5. It use GUI to configure DB 
connection and put it on the file hsqldb-ds.xml. even I use MySQL. But I work 
fine.

After that  I try to use Jboss-4.2..0*, and use hsqldb-ds.xml or mysql-ds.xml 
to configure MySQL connection. I got same problems
(JBoss + Seam 1.3, and seam booking)

Can anyone help me on this?

Thanks,


Quinten


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: the never ending flow of optimistic locking questions

2007-06-19 Thread fernando_jmt
I dealt with this time ago.

Here you can find a topic related (whether it's of your interest):
http://forum.hibernate.org/viewtopic.php?t=969898

After several tries I figured out that the only way (at least for me) to have 
this working is to have a POJO action and a SFSB DAO. 
POJO action and SFSB DAO are conversational, but the things that makes the 
difference are:
* Action must not have the SMPC.
* The SMPC must be in the SFSB and your update method must be marked (as you 
did) with TransactionAttributeType.REQUIRES_NEW. With this when the update 
fails you can read with the same EM (SFSB is requires).


This works for me, and I think it is a good approach.

Example of use:
I start a, at the same  conversation trying to edit a contact in its formtime 
(wherever located) other user opens to edit the same contact, user A saves fine 
its changes, but when user B tries to save, he is notified (in the same form) 
that someone else changes its data, and of course such data is displayed in the 
form.



HTH.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Installing JBoss Portal on Existing JBoss Installation

2007-06-19 Thread jba8273
Hi,

Is it possible to install JBoss portal on an existing JBoss installation? I 
checked the JBoss portal downloads but didn't see a 'plugin' type installer.

I have the latest JBoss 4.2.0 version.

Thanks.

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

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


[jboss-user] [JBoss jBPM] - Re: How to access process variables?

2007-06-19 Thread cristian_e
You can try executionContext.getVariable("quant") directly. At least this is 
the way we have worked with variables in ActionHandlers (with the appropriate 
cast). In our case the variables have been set programatically, but I think 
it's the same thing with your scenario.

About fuligj's question, I'm not sure I understand what you mean. If you are 
asking about how to show this variable in a web page, all I can say is you have 
a million ways, where probably struts and JSF are the most popular.

Hope it helps.


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

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


[jboss-user] [JBoss Portal] - Executing additional funcionalities on login time

2007-06-19 Thread lucasdeoliveira
Hello there!
I'm new to portal and I wish to execute a bunch of funcionalities when the user 
logs in. What path should I take? Create a class extending LoginModule and 
adding this new capabilities to it? 

thanks in advance!

ps.: any link to possible solution would be nice =)

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

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


[jboss-user] [JBoss Seam] - Re: Strange symptom with rich:dataTable used with @DataModel

2007-06-19 Thread [EMAIL PROTECTED]
You'll need to use your debugger to look in the 
javax.faces.model.DataModel.getWrappedData() method and see whats going on.

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread [EMAIL PROTECTED]
"Delphi's Ghost" wrote : I hate having to use a panel grid to layout forms, and 
then in one cell, have another panel grid or other wrapper, because I want a 
button next to the edit box, and the panel grid won't by default let me put two 
items in the same cell

Take a look at the way we use s:decorate in the booking example to lay out 
forms - works pretty well.

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread grettke_spdr
"shakenbrain" wrote : It is possible to use CSS DIVS in JSF; that's what I do...

May you please point in the direction of your favored resources on using divs 
to lay out pages?


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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread grettke_spdr
"Delphi's Ghost" wrote : In theory, it should be easier if you are using 
facelets 
  | 
  | I think a more important question is intra-page layout such as form layout. 
Css is good for overall page layout and design, but not so much for in-page 
items such as form layout.
  | 
  | I hate having to use a panel grid to layout forms, and then in one cell, 
have another panel grid or other wrapper, because I want a button next to the 
edit box, and the panel grid won't by default let me put two items in the same 
cell.
  | 

This is exactly my problem. I've got panel grids with panel grids inside them 
because the UI was designed with Visio. It wasn't designed in mind of the 
limitations of how JSF lays out its UIs.

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

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


[jboss-user] [JBoss Seam] - Re: Set do not work

2007-06-19 Thread [EMAIL PROTECTED]
Yes, this is a limitation of the JSF spec.  Workaround here:

http://jroller.com/page/pmuir?entry=using_sets_in_jsf

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

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


[jboss-user] [Clustering/JBoss] - multiple JBoss servers session expire (loadbalancer) problem

2007-06-19 Thread ddai
Hello JBoss gurus, 

Currently I am facing a very painstaking problem. I want to have a 1 web server 
+ 2 app servers configuration for the sake of fault tolerance. So I use 
loadbalancer in "worker.properties" file. Also in that file, I specify two 
JBoss app servers' names. And that works well. 

However, I found the loadbalancer can make the request go to each app server 
one after another. But that caused a problem when a user logs in. When we 
access authenticate.jsp in one app server, it works well. However, when we 
submit the username, the request are actually transferred to app server 2. And 
server 1 reports session expire error, with a link for us to go back. When we 
click that link, the request goes back to server 1 again and seems that the 
username has been approved. But when we submit anything in there, server 2 
takes control again and server 1 reports session expire again. So the "working 
well" and "session expire" apprear consecutively as the request goes back and 
forth between those two app servers. 

Could anyone tell me if this is a problem in application or in JBoss 
configuration. If it is due to JBoss, what should I do? Thanks, in advance 




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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Jboss-4.2 + LambdaProbe

2007-06-19 Thread paulalbano
Hi,

I'm using "jboss-4.2.0.GA", but lambdaprobe dont work with this version of 
jboss.

I used "jboss-4.0.5.GA" until now and everything worked correctely.

I can log in lambdaprobe, but it gets me a error.
The error is :

"
There was an error

Application encountered an unexpected error. We would greatly appreciate if you 
send the information below back to us so we can correct the problem as soon as 
possible!
java.lang.StackOverflowErrorjavax.servlet.ServletException: 
java.lang.StackOverflowError at 
org.apache.jasper.runtime.PageContextImpl.doHandlePageException(PageContextImpl.java:855)
 at 
org.apache.jasper.runtime.PageContextImpl.handlePageException(PageContextImpl.java:784)
 at org.apache.jsp.index_jsp._jspService(index_jsp.java:64) at 
org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:70) at 
javax.servlet.http.HttpServlet.service(HttpServlet.java:803) at ...
"

Someone has this problem too??
tks




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

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


[jboss-user] [JBoss Seam] - Strange symptom with rich:dataTable used with @DataModelSele

2007-06-19 Thread tonylmai
Hello all,

I've been using rich:dataTable together with Seam's @DataModelSelection for 
several pages in my app without any problem. However, one of the pages I have 
displayed weird symptom where regardless of which row I clicked on, the 
@DataModelSelection would always default to the last row in my table.

Any ideas on how I would go about debugging this error? I am using RichFaces 
3.0.1GA and Seam 1.2.1GA under JBoss 4.0.5GA.

Thanks
-tony

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

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


[jboss-user] [JBoss Seam] - Set do not work

2007-06-19 Thread KoniKoni
  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |


 @DataModel  private List catList;

AND Entitybean:

 @OneToMany(mappedBy="category",cascade=CascadeType.ALL, fetch=FetchType.LAZY)
  | private Set tournaments;


SCHWERWIEGEND: Error Rendering View[/sports.xhtml]
  | java.lang.IllegalArgumentException: value of context variable is not an 
instance of the component bound to the context variable: tournament
  | at org.jboss.seam.Component.getInstance(Component.java:1659)
  | at org.jboss.seam.Component.getInstance(Component.java:1614)
  | at org.jboss.seam.Component.getInstance(Component.java:1608)
  | at 
org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
  | at 
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
  | at 
org.jboss.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:173)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicInputRenderer.getValue(HtmlBasicInputRenderer.java:189)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.getCurrentValue(HtmlBasicRenderer.java:320)
  | at 
com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:200)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:833)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:286)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChildren(RendererBase.java:262)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:284)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:274)
  | at 
org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:216)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:75)
  | at 
org.ajax4jsf.ajax.repeat.SequenceDataModel.walk(SequenceDataModel.java:101)
  | at 
org.ajax4jsf.ajax.repeat.UIDataAdaptor.walk(UIDataAdaptor.java:917)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeRows(AbstractRowsRenderer.java:92)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeChildren(AbstractRowsRenderer.java:124)
  | at 
javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:809)
  | at 
org.ajax4jsf.framework.renderer.RendererBase.renderChild(RendererBase.java:282)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.encodeCellChildren(AbstractRowsRenderer.java:274)
  | at 
org.richfaces.renderkit.AbstractTableRenderer.encodeOneRow(AbstractTableRenderer.java:216)
  | at 
org.richfaces.renderkit.AbstractRowsRenderer.process(AbstractRowsRenderer.java:75)
  | at 
org.ajax4jsf.ajax.repeat.SequenceDataModel.walk(SequenceDataModel.java:101)
  | at 
org.ajax4jsf.ajax.repeat.UIDataAdaptor.walk(UIDataAdaptor.java:917)
  | 



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

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


[jboss-user] [JBossWS] - Problem Accessing Web Service

2007-06-19 Thread djayakaran
Hi,

I deployed a very simple web service to JBoss-4.2.0.GA, and used JBoss's 
wsconsume utility to generates stubs.  I ran the client in its own JVM as a 
java application.  It invokes the web service... no problem!

Then I coded a servlet (actually an Action class much like Struts) to call the 
web service.  In this case the servlet and the web service are deployed within 
the same EAR.  When the servlet invokes the web service from within the same 
container I get an exception when it tries to get the port.  The offending line 
of code is in the generated service class:
return (CurrencyWS)super.getPort(new QName("http://currencyconverter.ws/";, 
"CurrencyWSPort"), CurrencyWS.class);


The exception says:

javax.xml.ws.WebServiceException: SEI is missing @WebService annotation: 
interface ws.currencyconverter.CurrencyWS

All my annotations seem to be fine... the web service deploys fine and a client 
running in a separate JVM invokes it successfully.

If I run the web service on one machine and the servlet (web server) on another 
machine they communicate just fine.

Can someone tell me what I'm doing wrong?

Thanks,
David


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

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


[jboss-user] [JBossWS] - Endpoint does not contain operation meta data for: getAccoun

2007-06-19 Thread Maffewl
I want to try and test the backwards compatibility of a webservice I upgraded 
from Axis to JBossWS.

Up to this point I have consumed the old wsdl w/ wsconsume and have the service 
deployed in Jboss 4.2.0.GA.  I sent in the old xml and it hits the endpoint but 
i get the following message:

[org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
javax.xml.rpc.soap.SOAPFaultException: Endpoint 
{http://x/account}accountServicePort does not contain operation meta data 
for: getAccount

here is the request I am sending that works in our old environment 
(axis/jboss.net) but fails in the new environment:

http://schemas.xmlsoap.org/soap/envelope/"; 
xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:m0="http://x/account";>
  | 
  | 
  | ...
  | 
  | 
  | 

just for kicks I changed the getAccount tags to :
 ... 
as defined in the envelope, and i got a different error

[org.jboss.ws.core.jaxws.SOAPFaultHelperJAXWS] SOAP request exception
org.jboss.ws.WSException: Cannot find child element: 
{http://x/type}getAccount

which seems to me that it it does find the 'getAccount'.

but the reality is, i cant really change the request.  I have to try and 
upgrade transparently.

heres a portion of the deployed wsdl on the service if it helps


  |  
  |   
  | 
  |...
  | 
  |
  | 
  |  
  | 
  |   ...
  | 
  |  
  | 
  |
  |   
  |  
  | 
  |  ...
  | 
  |  
  |   
  |  
  | 
  |  ...
  | 
  |  
  | 
  |   ...
  | 
  |   
  |
  |
  |   
  | 
  |   ...
  | 
  |  
  | 
  |  
  |   
  | 
  |   ...
  | 
  |   
  |
  |
  | 
  |
  |
  | 
  |
  |   
  | 
  |   ...
  | 
  |  
  |  
  |   
  |
  |   
  |  
  | 
  | 
thanks

matt

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread [EMAIL PROTECTED]
Of course, you can use CSS/divs with JSF, but as so many of the standard 
components are implemented using tables for layout (panelGrid, 
selectOneCheckbox...) it's hard.  Pressure needs to be put on the JSF impls (RI 
is Seam's choice) to produce CSS/div versions of the standard components.

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread Delphi's Ghost
In theory, it should be easier if you are using facelets since you should 
already have your view code split into sections such as header, body, menu, 
footer etc, it's just a matter of putting the  facelet tags into the 
right place in the layout table, or wrapping the  in a div set to 
the style of the layout css. 

I think a more important question is intra-page layout such as form layout. Css 
is good for overall page layout and design, but not so much for in-page items 
such as form layout.

I hate having to use a panel grid to layout forms, and then in one cell, have 
another panel grid or other wrapper, because I want a button next to the edit 
box, and the panel grid won't by default let me put two items in the same cell.

Of course, one could argue that the ability to easily change layout when css is 
used is moot when you start using facelets since you are already grouping your 
content into sections. Whether it is wrapped in a table or css divs amounts to 
personal choice based on the arguments for using either one. 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate doesn't reflect manual change to database

2007-06-19 Thread waynebaylor
I was messing around today and noticed that if I perform a manual INSERT into 
an entity table, then call 
em.createQuery("from "+MyEntity.class.getName()).getResultList()
to get all entities, the list returned does not contain the entity I inserted 
manually.

I thought it might be a caching issue, so I set the cache provider to 
NoCacheProvider, but I still get the same behavior. 

What's preventing Hibernate from getting the latest info from the database??

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

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


[jboss-user] [JBoss Portal] - Re: RichFaces on portlets is available

2007-06-19 Thread [EMAIL PROTECTED]
shuuttt ;) It's still a secret.

We are still ironing things out before claiming RichFaces support on JBoss 
Portal :)

2.6 Final is still targeted for the very end of this month.



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

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


[jboss-user] [JBoss Seam] - Re: howto: expose application scope component with JMX?

2007-06-19 Thread koenhandekyn
as i had to look for a while to find what gavin was referring to, i think it is 
the below thing : 'service beans'

http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html

???any comment on service beans versus application scope session beans for 
holding configuration type of data???

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

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


[jboss-user] [JBoss Portal] - Re: Portlet printing

2007-06-19 Thread Antoine_h
What I would do is to define a new window state, such as the Maximized one, and 
make it work the same, but with a special layout and theme that is special for 
printing.

see how it works for maximised window state. and adapt for a printing html page 
provided.
You may need to add some things in the layout and theme, so the header etc does 
not show.




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

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


[jboss-user] [JBoss Seam] - Re: javax.el.ELException , unable to localize the error

2007-06-19 Thread dkane
"ChristopheA" wrote : Is your findPart method declared in the PartSearch 
interface ?
  | 

Yes 

@Local
  | public interface PartSearch
  | {
  |   public int getPageSize();
  |   public void setPageSize(int pageSize);
  |   
  |   public String getSearchString();
  |   public void setSearchString(String searchString);
  |   public String getSearchPattern();  
  |   
  |   public void findParts();
  |   public void nextPage();
  |   public boolean isNextPageAvailable();
  | 
  |   public void destroy();
  |   
  | 
  | }
  | 


I've just played a bit with (un)commenting references to partSearch component 
in xhtml page. 
Interesting results : 

action="#{partSearch.findParts}"  -  throws Exception
actionListener="#{partSearch.findParts}" - throws Exception
value="#{partSearch.pageSize} - works 
action="#{partSearch.nextPage}"   -  throws Exception
rendered="#{partSearch.nextPageAvailable}" - works

Looks like property-invoking methods works but action-methods of type void does 
not work. 
Any ideas ? 


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

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


[jboss-user] [JBoss Portal] - Portlet printing

2007-06-19 Thread glarenzie
I am trying to provide portlet print capability.  Can anyone point me in the 
right direction?  I tried renderResponse.createRenderURL() and opened the 
result in a javascript popup but it reproduces the page with all the tabs, 
header etc.  I want just the portlet contents.  Any help would be greatly 
appreciated!

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

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


[jboss-user] [JBoss Seam] - Identity.addrole returns false when admin is used !!!???

2007-06-19 Thread dreuzel
I tried  out  the  addrole  function of  identity ,
loggingg in with  the  administrator password 


All roles are  attributed  except   ADMIN any special reason

Admin, admin   are  resources  that are  refused  as security roles 


Can someone explain this .

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

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


[jboss-user] [Beginners Corner] - session replication and clustering

2007-06-19 Thread ddai
Hi all,

How should I set up session replication so that two app servers can share one 
session?

Thanks in advance


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

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


[jboss-user] [JBoss Seam] - Re: User Navigation Design Pattern

2007-06-19 Thread Delphi's Ghost
Hey, 

I had considered that, and part of my reluctance is the messyness involved in 
keeping a new subwidget informed of it's widget and vice versa. The subwidget 
has a property called Widget which refers to the owning widget. The Widget has 
a property called getSubWidgets which returns the list of subwidgets.

The edit widget page is in a long running conversation, so I think the only way 
to start a separate conversation is by issuing a GET request and not use any 
conversation propagation, starting a new conversation using a link such as 
/editSubWidget?subWidgetId=123. You don't need to pass any parent widget 
information since you are editing an existing subWidget, and it already has a 
parent Widget.

However, when you want to create a new subWidget, say by not sending in the 
subWidgetId, then you do need to provide a widgetId to indicate which widget is 
the parent, and you need to load that widget and use it with the new subWidget. 

By keeping everything in the same conversation, I can just reference the 
bijected widget variable to get the widget I am currently working on and will 
be the parent of my new subWidget.

Additionally, if I create a new subWidget in a separate conversation, I then 
have to find a way to notify the original Widget instance that it has a new 
child. I could start getting into seam event handlers to do that but again, it 
starts getting messy. 

Neither are overly complex, but we are aiming to keep things simple due to 
really tight deadlines, and our inexperience with web development and seam.  

To add to the problems, we are trying to do it all using pageflows since the 
editing process can have multiple steps, which complicates matters as far as 
nested conversations go.

I don't know, maybe we're looking for too simple a solution, does everyone else 
go through these kinds of hurdles in order to deliver web sites with seemingly 
logical editing navigation?






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

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


[jboss-user] [JBoss Portal] - RichFaces on portlets is available

2007-06-19 Thread Antoine_h
See : http://jira.jboss.com/jira/browse/RF-186

RichFaces has been adapted to run with portlets.

It needs 2.6 version of portal, so ajax features can work inside a portlet.
by the way, any idea when the 2.6 final release is out ?



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

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


[jboss-user] [JBoss Portal] - Capturing User Entered Password for Legacy Applicaton Use/ R

2007-06-19 Thread ennova2005

We are developing a portlet that will connect to a remote application that 
requires an inline  username/password for authentication.

Although we are able to use the "same" user name/password for that application 
as for the portal  but the legacy application is not single signon enabled.

How, or can we,  have the JBOSS portal server provide to our portlet the 
password string as entered/typed by user on the initial login ?

IBM WS and BEA provide a way to do this by means of some extra configuration 
for remote portlets ( credential vaults, shared authentication etc)

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

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


[jboss-user] [JBoss Portal] - Re: How can I change the default portal ??

2007-06-19 Thread Antoine_h
ho ho... I answered to quickly...

first level : 
build your own pages, with the portal/windows/instances/portlet manager in the 
default portal.
or by defining it in the *.xml descriptor files.

second level :
if you want to define your own portal, with your own url etc...
and not have the default portal running on your server, then see the other 
posts


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

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


[jboss-user] [JBoss Portal] - Re: How can I change the default portal ??

2007-06-19 Thread Antoine_h
There are post about this.
Search with the "default" and "url" key words.

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

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


[jboss-user] [JBoss Seam] - Re: How do folks layout pages: panelgrids (embedded tables)

2007-06-19 Thread shakenbrain
It is possible to use CSS DIVS in JSF; that's what I do...

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

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


[jboss-user] [JBoss Seam] - Re: c:set (or ui:param) and s:link, s:button action paramete

2007-06-19 Thread ChristopheA
Ok. 

Thanks and sorry. I should have had a closer look before posting.

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

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


[jboss-user] [JBoss Seam] - Re: User Navigation Design Pattern

2007-06-19 Thread hstang
Hi,

Just wondering what your thoughts are using two independent conversations for 
editing the edit widget and their children widgets

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

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


[jboss-user] [JBoss Seam] - Re: c:set (or ui:param) and s:link, s:button action paramete

2007-06-19 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-666

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

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


[jboss-user] [JBoss Seam] - Re: c:set (or ui:param) and s:link, s:button action paramete

2007-06-19 Thread ChristopheA
No. 

I just want aliasing at a particular page scope. Or I won't use qualified names 
for my components.

Factories in component.xml as defined in Seam reference doc is not convenient 
for that as far as I understood.

In a large application you may use my.package.manager bean in some pages, and 
another my.other.package.manager in an other. And yet want to use #{manager} in 
both because you know which one you want. 

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

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


[jboss-user] [JBossWS] - "ArrayOf" parameter types generating BindingExceptions

2007-06-19 Thread acxjbertr
I am using a "Top Down" (aka wsdl-to-java) approach to create a JSR109 endpoint 
with JBossWS 1.2.1.GA.

The WSDL that was provided to me contains things like:

  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  |   
  | 
  |   
  | 

My wstools-config.xml is:


  | 
  | http://www.jboss.org/jbossws-tools";>
  | 
  | 
  | 
  | 
  | 

Running the wstools Ant task finishes without a problem.  Both the code and 
mapping document are generated without error.

However, when I deploy the service and try to invoke it I get a 
BindingException saying that the ArrayOfString class cannot be found.  Upon 
inspection of the generated classes there isn't a ArrayOfString.java file nor 
any references to a ArrayOfString object in FieldSelection.java.  
FieldSelection uses the actual array type "String[]".  

When I look at the mapping.xml I see this:


  | 
  |   ArrayOfString
  |   typeNS:ArrayOfString
  |   complexType
  |   
  |string
  |string
  |   
  |  
  | 

When I remove this snippet from the mapping.xml everything works fine.

Is this appropriate behavior?

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

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


[jboss-user] [JBoss Seam] - Re: Injected variable initialization

2007-06-19 Thread [EMAIL PROTECTED]
How about using an @Factory method

@In Foo foo;
  | 
  | @Out Bar bar;
  | 
  | @Factory("bar")
  | public void initBar() {
  |// do your init.
  | }

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

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


[jboss-user] [JBoss Seam] - Re: c:set (or ui:param) and s:link, s:button action paramete

2007-06-19 Thread hstang
Have you tried using a factory?  Put this in your components.xml


  |  
  | 


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

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


[jboss-user] [JBoss Seam] - Injected variable initialization

2007-06-19 Thread vwu98034
In one action class, an injected attribute needs to be initiated with an 
attribute from another injected attribute before shown in the view.  I know 
that shall be easy. But, I have tried several approaches without a luck. Can 
someone point me a right direction.

Thanks. 

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

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


[jboss-user] [JBoss Messaging] - two server cluster - consumer count 2

2007-06-19 Thread [EMAIL PROTECTED]
I am using messaging 1.3 with JB 4.2 clustered on two servers
I have a standalone client application running on both servers
The server names are jbossclust1 and jbossclust2

When I start the client applications the Queue ConsumerCount on jbossclust2 is 
2.
I would expect the ConsumerCount to be 1 on both machines

Here is the relevant client code.

String strQueue   = "/queue/testDistributedQueue";

 ic = new InitialContext();

 cf = (ConnectionFactory)ic.lookup("/ClusteredConnectionFactory");

 connection = cf.createConnection();

 Queue testQueue= (Queue)ic.lookup(strQueue);

 session = connection.createSession(false, Session.AUTO_ACKNOWLEDGE);

 // task queue
 MessageConsumer consumer =  session.createConsumer(testQueue);

 connection.start();

 while(true)  {

   // if we get an admin shutdown message - exit
   if ( false )  {
 log("  shutdown requested");
 break;
   }

   // get a task to process
   message = (TextMessage)consumer.receive(36000);

   if ( message == null )  {
 log("  no messages available");
 continue;
   }

   log("  found a message - continuing");

   ProcessMessage(message);
 }

Suggestions please...



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

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


[jboss-user] [Performance Tuning] - Re: in access logs 500(Page can't displayed) comes sometimes

2007-06-19 Thread genman
Is this performance related question? server.log should have  information, if 
not you need to change your logging settings.

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging & Persistence (Failed to route Reference

2007-06-19 Thread timfox
I am not 100% sure but it looks like a scoping issue.

Most scoping issues were resolved in JBM 1.3.0

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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging & Persistence (Failed to route Reference

2007-06-19 Thread Stephen.Campbell
Hi Tim,

Sorry,
The versions are as follows

JBM - 1.2.0SP1
jbOSS - 4.0.4
OS - WinXp (but eventually Linux)
JDK - 1.5.12

If there is anything else let me know

Regards,
Stephen

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

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


[jboss-user] [JBoss Seam] - c:set (or ui:param) and s:link, s:button action parameter

2007-06-19 Thread ChristopheA
I'd like to use some form of aliasing for my Seam components with qualified 
(and yet possibly long) names. I'd like my aliases to be valid for a given 
page. And I'm using facelets.

I tried to use ui:param or c:set tags, and everything went fine - except with 
action parmaters of s:link and s:button tags.

Here's the facelet code :


  | 
  | 
  | 
  | 
  | ...
  | 
  |  // Not working
  | 
  |  // Not working
  | 
  | 
  | // 
Working fine
  | 
  | 

Everything works fine with h:commandButton. But for s:link and s:button I got :

javax.el.PropertyNotFoundException: Target Unreachable, identifier 'manager' 
resolved to null

As the action method called is #{manager.start} rather than 
#{my.package.manager.start}. Here is the html generated :

actionMethod=example%2Fmember_view.xhtml%3Amanager.start&cid=30

Anyone has an idea ?

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

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


[jboss-user] [JBoss Seam] - User Navigation Design Pattern

2007-06-19 Thread Delphi's Ghost
I have an edit page for a widget, and each widget has a set of sub widgets. I 
want to show the widget details as editable inputTexts, and have a clickable 
list of subwidgets. If you click on a subwidget, you go to a page to edit the 
subwidget, click save on the subwidget page, and it should save the subwidget, 
and take you back to the widget edit page. On the widget edit page, you can 
finish editing the widget, click save, and it will save the widget. 

I'm finding this hard to do in seam, since the entity manager flush mode is set 
to manual, and obviously, when I flush it for the subwidget, it also flushes it 
for the widget itself which I don't want. 

I'm wondering whether a) I can do this in seam, or b) I'm still thinking in 
desktop client/server mode and need to adapt my ideas of user interaction to 
adapt to the web, for which seam is most suited.

Regarding option A, I'm wondering whether I need to do something along the 
lines of starting a nested conversation, and trying to get a new entity 
manager. I have tried to put the subwidget editor into a separate nested 
conversation, but it appears not to work since it shares the entity manager 
(I'm using the @In EntityManager entityManager seam managed transactional 
entity manager).

For option B, I can see that my current problem is that I am trying to have 2 
different 'editors' in the same conversation space, and I can't pick and choose 
which one I want to flush. This leads me to think my interface design is wrong. 
We are inexperienced web developers and still thinking in client/server mode.

As an alternative navigation/interface design, I'm thinking of a 'view widget' 
page which lets you see the details as view only, with a link to edit the 
details. The view only page also has the clickable list of subwidgets which 
takes you to a page to edit the subwidget. The navigation would then revolve 
around the view details page, and you can only edit one item (widget or 
subwidget) at a time and go back to the view details page each time after 
saving the item. With this design, I don't think I will have any problems 
implementing it in Seam. This also gives me the benefit of having a page with 
view only access that the user cannot edit, and I can check rights to see if 
they can edit the widget/subwidgets. I also notice that this is similar to the 
style that seam-gen uses when it generates the crud pages. 

Anyone's experience or thoughts on this would be most welcome.



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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging & Persistence (Failed to route Reference

2007-06-19 Thread timfox
Please, please, please always state the versions of the software you are using 
when making a report.

JBM version

JBAS version

JDK version

OS

etc

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

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


[jboss-user] [Clustering/JBoss] - Failed to retrieve stub from server

2007-06-19 Thread tamaluna
I initially posted this issue to the JNDI forum, but didn't get a response.  It 
seemed to me my problem was stemming from clustering, since (as indicated 
below) I'm getting a message that my local JBoss AS is trying to access a 
clustered JBoss AS on my LAN.  So I'm submitting to this forum in hopes that 
the Clustering experts can help me resolve my issue.

Here's the situation. We've had a web app that's been running fine on JBoss 
4.0.5.GA, as the server-side for a Flex app.  All developers are running JBoss 
AS's on their local machines and sharing a common MSSQL database.  I built an 
MDB, added it to the deploy dir, and it worked somewhat with our web app, but 
the MDB couldn't find the FlexSession stuff. So we thought we'd build an .ear, 
to include the .war of the web app and the .jar of the MDB.

The problem I'm getting on start-up isanonymous wrote : ...
  | 17:59:02 INFO [org.hibernate.util.NamingHelper] JNDI InitialContext 
properties:{}
  | 17:59:02 FATAL [org.hibernate.connection.DatasourceConnectionProvider] 
Could not find datasource: jdbc/PlanITDataSource
  | javax.naming.CommunicationException: Failed to retrieve stub from server 
192.168.1.18:1100 [Root exception is java.io.StreamCorruptedException: 
unexpected block data]
  | ...

Now, I never had this problem before, so something is not configured right, I 
guess. That IP address belongs to my colleague, who is running a clustered 
JBoss setup; I'm running non-clustered.  (18 and 38 are the clustered AS, 14 is 
mine, and 30 is the data server.) He's also running Linux, whereas I'm running 
Windows XP Pro. He was able to get the app up and running, after wading through 
some configuration issues. We're on the same LAN, as are the other developers, 
who are only using the .war, not the .ear or .jar (MDB), and they don't 
experience any errors (all are on Windows boxes).

Can you please tell me what's wrong with our set-up? Is there a way to make 
sure the clustered JBoss installation doesn't interfere with the non-clustered 
ones? I'm hoping that will solve my issue. Or maybe there's another solution.

Thanks
Pauly T.

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

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


[jboss-user] [EJB/JBoss] - Re: Stateful session bean Serlization

2007-06-19 Thread tst
anybody please HELP

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: *-ds.xml in EAR

2007-06-19 Thread psyllogism
Through much toil and searching, the solution I found was to put the following 
into my EAR's application.xml file:


  |  
  |   *-ds.xml
  |  
  | 

and it worked.

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

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


[jboss-user] [EJB/JBoss] - Stateful session bean Serlization

2007-06-19 Thread tst
when jboss tries passivate my session bean , i get a 
java.io.NotSerializableException exception ,  i do not want jboss to put my 
session bean to passivate

can anybody help me on this

i need this urgent , i have demo to be given to my director in another 2 hrs


Please Please Please Please  HELP

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

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


[jboss-user] [JBoss Seam] - Re: Glassfish example and the entity converter.

2007-06-19 Thread hongzhang
Thanks for the detailed instructions! I was able to reproduce the problem on my 
box now. I will look into this and let you know what I find out. 

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

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


  1   2   3   >