[jboss-user] [JBoss Seam] - Re: Seam Example + Local Database

2007-12-20 Thread vikramchhetryy
Thanks a lot guys...
Local host problem is solved now

But still i dont know how to connect to the local mysql4.1 database.
I am very new to this technology and already running late.

Thanks,
Vikram

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

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


[jboss-user] Deployment jar conflict when using applets

2007-12-20 Thread pau carre
Hello, I have a problem with JBoss 3.2.8 when deploying a web app with
an applet. I have some .jar files with class utilities for the applet
(client-side) which I do not want the server to use them. The problem
is that server seems to detect this jar files and uses them for class
loading. As some of this classes have the same name as some of the
JBoss libs (for example, axis and Bouncy Castle), there are conflicts
executing EJBs (these EJB should use JBoss default libs instead of the
applet ones)
Is there any TAG for jboss-app.xml (or another configuration file)
that means something like ignore this jars files for class loading ?

Thanks,
Pau Carré

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


[jboss-user] [JBoss Seam] - Re: Seam sources - html tags

2007-12-20 Thread fredespi
Hello,

I am having problems using a urlrewrite rule in seam. I have a rule like:


  | rule
  | from^/(.*)$/from
  | to last=true/resultsPage.seam?searchString=$1/to
  | /rule
  | 

This works fine unless the string that is caught by (.*) contains %26, i.e. 
ampersand. So if the incoming url looks like this:

anonymous wrote : http://localhost:8080/a+%26+b

The urlrewriter logs this:

anonymous wrote : 
  | 09:08:56,632 INFO  [[/]:log] org.tuckey.web.filters.urlrewrite.RuleBase 
DEBUG: Rule 1 run called with /a  b
  | 09:08:56,632 INFO  [[/]:log] org.tuckey.web.filters.urlrewrite.RuleBase 
DEBUG: matched from
  | 09:08:56,640 INFO  [[/]:log] 
org.tuckey.web.filters.urlrewrite.RuleExecutionOutput DEBUG: needs to be 
forwarded to /resultsPage.seam?searchString=a  b
  | 09:08:56,641 INFO  [[/]:log] org.tuckey.web.filters.urlrewrite.UrlRewriter 
DEBUG: rule is last
  | 

but the parameter searchString is set to 
anonymous wrote : 
  | a
  | 

and not

anonymous wrote : a  b

I suppose I am doing something wrong. Can someone help me out?

Regards,

Fredrik

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

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


[jboss-user] [JBoss jBPM] - Component to manage user-roles model

2007-12-20 Thread vsevel
Hello,

I read in the user guide that a component to manage user-roles model will 
provided in the future.
I browsed the JIRA issue tracker.
I did not find anything about this subject.
What is the number for this?
Thanks,
Val

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

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


[jboss-user] [JBoss jBPM] - Re: Changing the id of a processDefinition or of a instance?

2007-12-20 Thread rodosa
Thank you very much [EMAIL PROTECTED] . I thought that it was a problem of 
configuration because when the Jboss server starts, there is a problem:

  | 2007-12-20 09:33:11,375 DEBUG [org.hibernate.util.JDBCExceptionReporter] 
could not execute query [select job0_.ID_ as ID1_26_, job0_.VERSION_ as 
VERSION3_26_, job0_.DUEDATE_ as DUEDATE4_26_, job0_.PROCESSINSTANCE_ as 
PROCESSI5_26_, job0_.TOKEN_ as TOKEN6_26_, job0_.TASKINSTANCE_ as 
TASKINST7_26_, job0_.ISSUSPENDED_ as ISSUSPEN8_26_, job0_.ISEXCLUSIVE_ as 
ISEXCLUS9_26_, job0_.LOCKOWNER_ as LOCKOWNER10_26_, job0_.LOCKTIME_ as 
LOCKTIME11_26_, job0_.EXCEPTION_ as EXCEPTION12_26_, job0_.RETRIES_ as 
RETRIES13_26_, job0_.NAME_ as NAME14_26_, job0_.REPEAT_ as REPEAT15_26_, 
job0_.TRANSITIONNAME_ as TRANSIT16_26_, job0_.ACTION_ as ACTION17_26_, 
job0_.GRAPHELEMENTTYPE_ as GRAPHEL18_26_, job0_.GRAPHELEMENT_ as GRAPHEL19_26_, 
job0_.NODE_ as NODE20_26_, job0_.CLASS_ as CLASS2_26_ from JBPM_JOB job0_ where 
(job0_.LOCKOWNER_ is null or job0_.LOCKOWNER_=?) and job0_.RETRIES_0 and 
job0_.DUEDATE_=? and job0_.ISSUSPENDED_1 order by job0_.DUEDATE_ asc]
  | java.sql.SQLException: You have an error in your SQL syntax; check the 
manual that corresponds to your MySQL server version for the right syntax to 
use near '1 job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, 
job0_.DUEDATE_ as DUEDAT' at line 1
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:2975)
  | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1600)
  | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1695)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:3026)
  | at 
com.mysql.jdbc.PreparedStatement.executeInternal(PreparedStatement.java:1137)
  | at 
com.mysql.jdbc.PreparedStatement.executeQuery(PreparedStatement.java:1231)
  | at 
org.jboss.resource.adapter.jdbc.CachedPreparedStatement.executeQuery(CachedPreparedStatement.java:90)
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeQuery(WrappedPreparedStatement.java:236)
  | at 
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
  | at org.hibernate.loader.Loader.getResultSet(Loader.java:1669)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:662)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | at org.hibernate.loader.Loader.doList(Loader.java:2145)
  | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2029)
  | at org.hibernate.loader.Loader.list(Loader.java:2024)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:392)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:333)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1114)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:756)
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:114)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:58)
  | 2007-12-20 09:33:11,375 WARN  [org.hibernate.util.JDBCExceptionReporter] 
SQL Error: 1064, SQLState: 42000
  | 2007-12-20 09:33:11,375 ERROR [org.hibernate.util.JDBCExceptionReporter] 
You have an error in your SQL syntax; check the manual that corresponds to your 
MySQL server version for the right syntax to use near '1 job0_.ID_ as ID1_26_, 
job0_.VERSION_ as VERSION3_26_, job0_.DUEDATE_ as DUEDAT' at line 1
  | 2007-12-20 09:33:11,375 ERROR [org.jbpm.db.JobSession] 
org.hibernate.exception.SQLGrammarException: could not execute query
  | 2007-12-20 09:33:11,375 DEBUG [org.jbpm.JbpmContext] closing jbpmContext 
[EMAIL PROTECTED]
  | 2007-12-20 09:33:11,375 DEBUG [org.jbpm.svc.Services] closing service 
'persistence': [EMAIL PROTECTED]
  | 2007-12-20 09:33:11,375 DEBUG 
[org.jbpm.persistence.db.DbPersistenceService] committing hibernate transaction 
[EMAIL PROTECTED]
  | 2007-12-20 09:33:11,375 DEBUG [org.hibernate.transaction.JDBCTransaction] 
commit
  | 2007-12-20 09:33:11,375 DEBUG [org.hibernate.transaction.JDBCTransaction] 
re-enabling autocommit
  | 2007-12-20 09:33:11,375 DEBUG [org.hibernate.transaction.JDBCTransaction] 
committed JDBC Connection
  | 2007-12-20 09:33:11,375 DEBUG [org.hibernate.jdbc.ConnectionManager] 
aggressively releasing JDBC connection
  | 2007-12-20 09:33:11,375 DEBUG [org.hibernate.jdbc.ConnectionManager] 
releasing JDBC connection [ (open PreparedStatements: 0, globally: 0) (open 
ResultSets: 0, globally: 0)]
  | 2007-12-20 09:33:11,375 DEBUG 
[org.jbpm.persistence.db.DbPersistenceService] closing hibernate session
  | 2007-12-20 09:33:11,375 DEBUG [org.jbpm.svc.Services] closing service 'tx': 
[EMAIL PROTECTED]
  | 2007-12-20 09:33:11,375 

[jboss-user] [JBoss Seam] - @End from join ends all conversations - unexpected action

2007-12-20 Thread Bernix
I have two beans in conversation scope, beanA and beanB. beanA is backing pageA 
individually,and beanB is backing pageB individually.
beanA will begin the long-running conversation in pageA at first, then we jump 
to pageB, pageB will begin(join=true) beanB.
but when we end the joined conversation in beanB.done , the beanA is destroyed 
as well.

beanA
@Stateful
  | @Scope(CONVERSATION)
  | @Name(beanA)
  | public class BeanA implements IBeanA {
  | 
  | public BeanA() {
  | System.out.println( BeanA is constructed.);
  | }
  | 
  | @Begin
  | public void init() {
  | System.out.println( BeanA is initialized.);
  | }
  | 
  | @End
  | public void done() {
  | System.out.println( BeanA is done.);
  | }
  | 
  | @Remove
  | public void destroy() { 
  | System.out.println( BeanA is destroyed.);
  | }
  | }


beanB
@Stateful
  | @Name(beanB)
  | @Scope (CONVERSATION)
  | public class BeanB implements IBeanB {
  | 
  | public BeanB() {
  | System.out.println( BeanB is constructed.);
  | }
  | 
  | @Begin(join=true)
  | public void init() {
  | System.out.println( BeanB is initialized.);
  | }
  | 
  | @End(beforeRedirect=true)
  | public void done() {
  | System.out.println( BeanB is done.);
  | }
  | 
  | @Remove
  | public void destroy() { 
  | System.out.println( BeanB is destroyed.);
  | }
  | }


home.xhtml
s:link view=/pageA.xhtml action=#{beanA.init()} value=Go to beanA


pageA
s:link view=/pageB.xhtml action=#{beanB.init()} value=Go to beanB/


pageB
h:form
  | h:commandButton action=#{beanB.done} value=Done beanB/
  | /h:form


pageB.page.xml
   navigation from-action=#{beanB.done}
  |  redirect view-id=/pageA.xhtml/
  |/navigation


we do the following steps:
1. enter home page
2. link to pageA
3. link to pageB
4. click Done beanB in pageB

then we got the exception.the log is:
16:31:46,333 INFO  [STDOUT]  BeanA is constructed.
  | 16:31:46,458 INFO  [STDOUT]  BeanA is initialized.
  | 16:31:49,458 INFO  [STDOUT]  BeanB is constructed.
  | 16:31:49,489 INFO  [STDOUT]  BeanB is initialized.
  | 16:31:56,129 INFO  [STDOUT]  BeanB is done.
  | 16:31:56,145 INFO  [STDOUT]  BeanB is destroyed.
  | 16:31:56,161 INFO  [STDOUT]  BeanA is destroyed.
  | 16:31:56,254 INFO  [STDOUT]  BeanA is constructed.
  | 

Why the @End in beanB.done() cause the beanA to be destroyed?
We would hope that resume to beanA when beanB is done.

I know we can use nested conversation in beanB,yes,nested conversation works OK.
I just wondering,if I join a conversation,how can I end it then resume to the 
previous long-running conversation?


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

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


[jboss-user] [JBoss Seam] - What does it take for a POJO to promote a conv. to long-runn

2007-12-20 Thread EricJava
Let's say I have a POJO like this:

@Name(item) public class Item {
   //
}

What exactly do I need to put on that POJO to have it promote a conversation to 
a long-running conversation, and install itself in that conversation?  It seems 
like it's possible to do this but I'm never completely sure what the minimum 
steps are for this to happen, or if it's even possible for a POJO to be a 
member of a long-running conversation.  I've spent the evening trying various 
things to get this to happen, and no success, but strangely, there are examples 
in the Seam examples directory that seem to be POJOs, and that have @Begin 
annotations on them.  Any reason for this?


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

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


[jboss-user] [JBoss Seam] - Re: @End from

2007-12-20 Thread Bernix

I am using JBoss AS 4.2.0GA and Seam 2.0GA

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

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


[jboss-user] [Security JAAS/JBoss] - Is there a way to specify my application-policy rules inside

2007-12-20 Thread froger
I have created login-config.xml file inside my WEB-INF directory in Web module. 
The content is:


  | application-policy name=TopupInvoice
  |   authentication
  |login-module 
  | code=com.bluemedia.topupInvoice.util.LoginModule
  | flag=required
  | module-option name=dsJndiName
  |  java:/TopupInvoiceDS
  | /module-option
  | module-option name=principalsQuery
  |  select userpassword from tabuser where userlogin = ? and uservalid = 
true
  | /module-option
  | module-option name=rolesQuery
  |  !--  select userRoles,'Roles' from UserRoles where username=?--
  |  select userrole, 'Roles' from tabuser where userlogin = ? and 
uservalid = true
  | /module-option 
  |/login-module
  |   /authentication
  |  /application-policy
  | 
Now i started my JBoss 4.2.2 with my application deployed. Everything runs fine 
and when i want to log in this exception occurs:


  | 10:07:57,765 ERROR [UsersRolesLoginModule] Failed to load 
users/passwords/role files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:315)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
  | 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 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | at 
javax.security.auth.login.LoginContext.login(LoginContext.java:579)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  | at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:491)
  | at 
org.apache.catalina.authenticator.FormAuthenticator.authenticate(FormAuthenticator.java:257)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:416)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Thread.java:595)

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

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


[jboss-user] [JBoss Messaging] - Re: how to send message to remote server with http

2007-12-20 Thread ataylor
anonymous wrote :  is docs/examples/http the same as 
jboss-messaging-1.4.0.SP3/examples/http? 

yes thats right.

The exception you are getting is because HttpNamingContextFactory  is not in 
the classpath. This gets picked up from jbossall-client.jar under the jboss 
installation. Make sure that you have JBOSS_HOME set correctly.

Also, there is a bug in the JBoss documentation, change jndi.properties to


  | java.naming.factory.initial=org.jboss.naming.HttpNamingContextFactory
  | java.naming.provider.url=http://172.25.67.39:8080/invoker/JNDIFactory
  | java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam sources - html tags

2007-12-20 Thread adamw
Hello,

I think it's an issue of urlrewrite not of seam, so maybe check their website.

-- 
Adam

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

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


[jboss-user] [Beginners Corner] - errors on Seam hang complete JBoss AS

2007-12-20 Thread Kees
I am extending a seam-gen crud app to a simple multi directory app.
Windows XP config:
  | jboss-4.2.2.GA + jboss-seam-2.0.0.GA + MySQL Server 4.1 + 
mysql-connector-java-3.0.17
Until now I was using my configuration in development mode with local client 
and thought it'd be better to check on client-server reliability before going 
on developing a multi-user app. With the \jboss-4.2.2.GA\bin\run.bat -b 
ipnumber arguments I could reach the server from within the LAN.
Strangely and disturbingly enough the JBoss AS hangs on practically every error 
that occurs in my Seam code and all clients are unable to proceed. Any similar 
experiences or hints on causes/solutions?

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

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


[jboss-user] [JBossWS] - Re: Memory leak in JBossWS 2.0.1 native and JBoss 4.2.1

2007-12-20 Thread [EMAIL PROTECTED]
AFAICS [JBWS-1860] has never been public. It is an internal patch request that 
does not effect jbossws community releases.

What version of jbossws are you talking about?

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

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


[jboss-user] [JBoss jBPM] - Re: Installation JBPM on SqlServer

2007-12-20 Thread vtysh
It is present in jbpm-jpdl package in db folder. It's called 
jbpm.jpdl.mssql.sql. 

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

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


[jboss-user] [JBoss Seam] - Re: Seam in Real World: Made with Seam

2007-12-20 Thread mortena
I just read: http://www.theserverside.com/news/thread.tss?thread_id=45998

Where 37signals are mentioned and I came to think of a fundamental difference 
between the two companies:

 - 37signals use the tool they develop (ruby on rails)
 - JBoss develop a tool for others to use (seam)

Which kind of compares to:
 - A blacksmith that happens to sell hammers (and optimizing the hammer design 
while using and testing it)
 - A blacksmith that happens to sell a kind of hammer he doesn't use himself.

This just gives the wrong impression (and marketing material) for the last 
blacksmith.

And came to think:

 - Why are we using this c forum when we have a tool like seam at our 
hands?
 - Why are JBoss not building real world applications and making som great 
marketing material to show off?

It's time for real world examples.


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

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


[jboss-user] [JBossWS] - Re: Memory leak in JBossWS 2.0.1 native and JBoss 4.2.1

2007-12-20 Thread [EMAIL PROTECTED]
In case it still occurs with jbossws-2.0.2, could you please create a JIRA for 
it?

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

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


[jboss-user] [Clustering/JBoss] - Migration from Jboss 3.2.5 to 3.2.7............

2007-12-20 Thread suneelchetty
I have developed one application in Jboss 3.2.5 and migrated to jboss 3.2.7 and 
when I start my application following getting displayed in the console wht 
would be the problem and how to solve the issue. Can any one help me in this 
regard.

ERROR [STDERR] [ jacorb.home unset! Will use '.' ]
ERROR [STDERR] [ File .\jacorb.properties for configuration jacorb not found ]

regards,

sunil


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

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


[jboss-user] [JBoss jBPM] - Re: Phase status with super-state

2007-12-20 Thread realdemo
I think it is possible to enhance the super-state node by a boolean variable, 
and if the super-state leaves, then the variable is set to true.

I've tried to override the leave method in the super-state but when I 
debugging, my override method is never called

what do you think? other hints?

thanks

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

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


[jboss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: queue not bound

2007-12-20 Thread bidhudas
Can any body give me solution for this??

This is related to JNDI issue. So can any body tell how I can move this POST 
JNDI forum??



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

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


[jboss-user] [JBossCache] - Re: Optimistic Locking

2007-12-20 Thread spennec
Hi Manik,

Thanks for the reply! :)

You're right: it looks like MVCC is exactly what I need.

So I'm looking forward to TreeCache 3.x! :)

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

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


[jboss-user] [JBoss jBPM] - Re: Installation JBPM on SqlServer

2007-12-20 Thread yairfr
Thanks very Much !!

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

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


[jboss-user] [Remoting] - JBoss Messaging client

2007-12-20 Thread poyge394
Hello,

I try to do an standalone JMS Client with following code,

  |QueueConnectionFactory qcf = (QueueConnectionFactory) tmp;
  | conn = qcf.createQueueConnection();
  | 

i get the exception below in createQueueConnection();
any ideas ?
  



  | org.jboss.jms.exception.MessagingJMSException: Failed to invoke
  | at 
org.jboss.jms.client.delegate.DelegateSupport.handleThrowable(DelegateSupport.java:271)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:187)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
  | at 
org.jboss.jms.client.container.StateCreationAspect.handleCreateConnectionDelegate(StateCreationAspect.java:83)
  | at 
org.jboss.aop.advice.org.jboss.jms.client.container.StateCreationAspect_z_handleCreateConnectionDelegate_20120943.invoke(StateCreationAspect_z_handleCreateConnectionDelegate_20120943.java)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.invokeNext(ClientConnectionFactoryDelegate$createConnectionDelegate_N3019492359065420858.java)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.createConnectionDelegate(ClientConnectionFactoryDelegate.java)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createConnectionInternal(JBossConnectionFactory.java:205)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:101)
  | at 
org.jboss.jms.client.JBossConnectionFactory.createQueueConnection(JBossConnectionFactory.java:95)
  | at 
xx.xx.xx.xx.setupConnection(PersonalScheduleServiceRemoteTest.java:88)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.junit.internal.runners.BeforeAndAfterRunner.invokeMethod(BeforeAndAfterRunner.java:74)
  | at 
org.junit.internal.runners.BeforeAndAfterRunner.runBefores(BeforeAndAfterRunner.java:50)
  | at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:33)
  | at 
org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75)
  | at 
org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45)
  | at 
org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71)
  | at 
org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35)
  | at 
org.junit.internal.runners.TestClassRunner$1.runUnprotected(TestClassRunner.java:42)
  | at 
org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34)
  | at 
org.junit.internal.runners.TestClassRunner.run(TestClassRunner.java:52)
  | at 
org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | Caused by: java.lang.IllegalArgumentException: Invalid remoting 
configuration - do not specify clientMaxPoolSize use JBM_clientMaxPoolSize 
instead
  | at 
org.jboss.jms.client.remoting.JMSRemotingConnection.start(JMSRemotingConnection.java:280)
  | at 
org.jboss.jms.client.delegate.ClientConnectionFactoryDelegate.org$jboss$jms$client$delegate$ClientConnectionFactoryDelegate$createConnectionDelegate$aop(ClientConnectionFactoryDelegate.java:154)
  | ... 29 more
  | 
  | 
  | 

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

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


[jboss-user] [JBoss jBPM] - Re-routing Tokens

2007-12-20 Thread dleerob
I would like to be able to re-route a token. For example, it moves along a 
flow, and you realise that a task on a previous node was completed incorrectly 
or there was an unexpected error, and now you want to send it back to that node 
to continue the flow from there again. What is the best way to re-route the 
token?

There is the method 'token.setNode(Node)', would this do the job properly? Is 
it as simple as calling that method, or are there reprocutions I need to know 
about? 
I found an idea searching the forums that you could perhaps create a temporary 
transition etc, but I don't like that idea for our system.

I would think that if I used token.setNode(Node), any task instances on that 
node would still remain, so I would probably have to delete those as well?

Anyone done anything similair to what I am looking for, or have any ideas on 
the best method to re-route a token properly?

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-20 Thread lovelyliatroim
anonymous wrote : 
  | Does the application work in 4.2.2? You never said. 
  | 
I kind of did, see my comment on the difference of the directory structure 
between 4.2.2 and 5.0. 4.2.2 has no web-inf directory in the work directory 
whereas 5.0 does. Works fine in 4.2.2!! 

anonymous wrote : 
  | Here is my directory/file structure (starting with the deploy directory):
  | 
  | deploy/inear.ear/meta-inf/application.xml
  | deploy/inear.ear/webapp.war/index.jsp
  | deploy/inear.ear/webapp.war/web-inf/web.xml
  | deploy/inear.ear/webapp.war/web-inf/lib/stuff.jar
  | deploy/inear.ear/webapp.war/web-inf/classes/config.properties 
  | 

The difference between me and you now is that my config.properties does not sit 
inside the classes directory but just under the base web directory so  in your 
case it would look like so

deploy/inear.ear/webapp.war/config/config.properties 

anonymous wrote : 
  |  thought you stated that you were using exploded directories?
  | 
I did and im after double checking again ;). Deleted what was in the work 
directory and fired it up again, still same problem, i have the WEB-INF in the 
work directory. With exploded ear i no longer get any entry in the tmp 
directory, i assume this is because the directories are already exploded in the 
deploy directory.

I dont see how the location of the config.properties will make a difference to 
what you are getting though!! You sure you are using 5.0 Beta 2?? 

I will assume so, ok i dont know if this will make a difference but I´ll 
just describe what is happening. I dont directly reference the 
ProjectRootClass, i use an interface thats given to me and that indirectly 
references the ProjectRootClass, under the hood if you like to call it that 
way. The 2 classes are however packaged in 2 different jars from one another 
but both under the WEB-INF/lib directory. I dont see how that would make a 
difference from directly accessing it but i thought i would mention it 
anyways.(Just in case).  

Im working on windows XP(Although i use cgywin to start it up) and you are on 
linux(i think), could this be a factor??

Cheers Peter,
LL


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

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

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


[jboss-user] [JBoss Seam] - Issues with natural conversation ids

2007-12-20 Thread dilator
Hi guys,

Capturing / returning to views (e.g. login) doesn't seem to work with natural 
ids, has anyone else found this?

THanks - Ben


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

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


[jboss-user] [JBoss Seam] - Re: Seam in Real World: Made with Seam

2007-12-20 Thread [EMAIL PROTECTED]
mortena wrote :  - Why are we using this c forum when we have a tool 
like seam at our hands?
  |  - Why are JBoss not building real world applications and making som great 
marketing material to show off?

Take a look at 
http://in.relation.to 
and 
http://alpha.seamframework.org: (this last one is still under heavy 
development as the address suggests) for the new Seam infrastructure (of course 
built using the Seam stack).

Also, I know our consulting teams are out there building, and helping to build, 
real applications using Seam. However most companies aren't willing to discuss 
this in public.

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread dkane
No one have delete controls in data tables :) ? 

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

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


[jboss-user] [JBoss jBPM] - Re: Component to manage user-roles model

2007-12-20 Thread kukeltje
There is no specific jira issue for this since it will not be solved in 3.2.x 
or 3.3. It will (most likely) be solved in the 4.0 release.


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

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


[jboss-user] [JBoss jBPM] - Re: Re-routing Tokens

2007-12-20 Thread kukeltje
There is no realy 'best method' since all have (dis)advantages like you already 
mention and other things like actionhandlers have already done things etc... so 
it is not that easy (not only in jBPM but in all workflow  systems). Best is to 
model them in the process.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-20 Thread lovelyliatroim
Ok this might be easier, take the jmx-console.war in the default dir that is an 
exploded war file from jboss.

In the work directory for this war  i see


  | +jmx-console
  | +org
  | +WEB-INF
  |   +classes
  | tldCache.ser
  | 

What do you have for this directory structure??



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

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


[jboss-user] [JBoss Seam] - Could not create instance of RandomAccessSubList

2007-12-20 Thread dkane
Hello 

I am getting the following exception after a period of inactivity , when 
clicking any control in the app. 

JBoss 4.2.1, Seam 2.0GA

Component is session scoped and session is active. Looks like something wrong 
with serialization, but what ? 

13:44:16,750 ERROR [SeamPhaseListener] uncaught exception
  | javax.el.ELException: java.lang.RuntimeException: 
java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: 
Could not create instance of java.util.RandomAccessSubList - 
java.util.RandomAccessSubList
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:332)
  | at 
org.jboss.el.util.ReflectionUtil.invokeMethod(ReflectionUtil.java:341)
  | at 
org.jboss.el.parser.AstPropertySuffix.invoke(AstPropertySuffix.java:58)
  | at org.jboss.el.parser.AstValue.invoke(AstValue.java:96)
  | at 
org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:174)
  | at org.jboss.seam.navigation.Pages.callAction(Pages.java:634)
  | at org.jboss.seam.navigation.Pages.preRender(Pages.java:289)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.preRenderPage(SeamPhaseListener.java:544)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeRenderResponse(SeamPhaseListener.java:455)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:146)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: java.lang.RuntimeException: java.lang.RuntimeException: 
org.jboss.serial.exception.SerializationException: Could not create instance of 

[jboss-user] [JBoss Seam] - Re: SelectItems and cache

2007-12-20 Thread damianharvey
[EMAIL PROTECTED] wrote : It does? I can't see one...
  | 
  | There is no support for caching created s:selectItems lists. If you want 
it, file a feature request. Following a recent conversation with Gavin I 
figured out how to make it work nicely.
I just saw it in the code completion on an s:selectItem using JBoss Tools. It 
claims that valid attributes are: cache, cacheKey, config, hideNoSelection and 
value (hmm, label and var are missing. Didn't spot that before.) 

Sounds like this is a mistake in the JBoss Tools config. I'll dig a bit deeper.

Pete, not sure if you needed a JIRA but I've created one anyway : 
http://jira.jboss.org/jira/browse/JBSEAM-2415

Cheers,

Damian.

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

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


[jboss-user] [JBoss Seam] - where is BaseServerConfig? Seam integration testing

2007-12-20 Thread piotr.porzucek
Hi,

I'm using Seam 2.0.0.GA and I wanted to perform a very simple integration test. 
However, I'm getting this exception:

ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error 
installing to Described: 
  | name=ServerConfig state=PreInstall
  | java.lang.NoClassDefFoundError: Lorg/jboss/system/server/BaseServerConfig;
  | at java.lang.Class.getDeclaredFields0(Native Method)
  | at java.lang.Class.privateGetDeclaredFields(Class.java:2232)
  | at java.lang.Class.getDeclaredFields(Class.java:1715)
  | at org.jboss.aop.ClassContainer$1.run(ClassContainer.java:100)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.jboss.aop.ClassContainer.populateFieldTable(ClassContainer.java:96)
  | at org.jboss.aop.ClassContainer.createFieldTable(ClassConta
  | 
  | 


Strange, but class jboss/system/server/BaseServerConfig doesn't exist in 
jboss-system.jar. My classpath looks like this:

jboss-seam-2.0.0.GA/bootstrap/
jboss-seam-2.0.0.GA/lib/test/*.jar
jboss-seam-2.0.0.GA/lib/*.jar (apart from jboss-seam-ui.jar)
compiled tests
classpath for compiling tests

What is wrong with my settings?

Regards,
Piotr 

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

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


[jboss-user] [JBoss Seam] - SEAM in Production config and removing Hypersonic : Problem

2007-12-20 Thread ElNino
Hello,

I have spend several hours on this, without getting my answer So sorry to 
call to the community : 

 I 'am trying to create a Production configuration for JBoss.

I would like to start from the minimal configuration, but I gave up due to too 
errors...

I 'am taking the problem in the inverse way : I started from the default 
configuration and I 'am trying to remove things as described in JBoss Slimming 
Wiki.

I use MySQL Only database and I decided to remove the Hypersonic thing : 
anonymous wrote : 
  | When not using Hypersonic (which you should not in production)
  | Note that JBossMQ as deployed in the default configuration uses DefaultDS 
with mappings for Hypersonic. See JBoss MQ Persistence Wiki pages for more 
information on configuring other alternatives.
  | 
  | remove server/slim/deploy/hsqldb-ds.xml
  | remove server/slim/lib/hsqldb-plugin.jar
  | remove server/slim/lib/hsqldb.jar
  | 

And I have an error


java.lang.NullPointerException
  | at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:165)
  | 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy30.listTimerHandles(Unknown Source)
  | at 
org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408)
  | 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy112.restoreTimers(Unknown Source)
  | at 
org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:122)
  | at 
org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:106)
  | 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.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 

[jboss-user] [JBoss Seam] - Re: SelectItems and cache

2007-12-20 Thread [EMAIL PROTECTED]
Yes, you should report these attribute problems in the JBoss Tools JIRA too.

Thanks for the creating the Seam one.

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

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


[jboss-user] [JBoss jBPM] - Re: Phase status with super-state

2007-12-20 Thread [EMAIL PROTECTED]
Have a look at the superstate-leave event.

Regards,
Koen

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

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


[jboss-user] [JBoss Seam] - Re: How to set and get cookie in seam?

2007-12-20 Thread [EMAIL PROTECTED]
Try a JSF or other forum, nothing to do with Seam really.

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

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


[jboss-user] [JBoss Seam] - Re: PersistenceException when using double in Oracle10g

2007-12-20 Thread [EMAIL PROTECTED]
It is a hibernate issue. The reveng.xml is from Hibernate Tools, and it isn't 
used to store mappings either.

The answer is that hibernate-tools isn't perfect, and sometimes makes mistakes 
(like this) which you have to correct by hand. If you come across such a 
problem you need to (1) fix it in your app, (2) report it in the hibernate 
tools forum so they can add it to the mapping files which come with hibernate 
tools.

You can also ask about reveng.xml on the hibernate tools forum.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Connecting to Oracle (Driver Class is empty)

2007-12-20 Thread karypid
Ok, I've been trying to reproduce this behaviour for the past 3 hours! I've 
managed to find the concrete circumstances of when this happens. It's weird:

What works: create a connection profile with correct settings. Start the seam 
project wizard and select that connection profile. No problem at all.

What is broken: edit an existing connection profile and make a change to its 
settings (e.g. the JDBC connection URL). Start the seam project wizard and 
you'll see that the Driver Class error occurs.

I'm filing bug reports for this and the typo right now.


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

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


[jboss-user] [JBoss Seam] - Re: FlushModeType.MANUAL in conversation

2007-12-20 Thread [EMAIL PROTECTED]
I don't really understand what you are trying to say.

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread [EMAIL PROTECTED]
This is a problem with using the @DataModelSelection approach. If you used page 
parameters you wouldn't have this problem as you would be deleting rows by id 
rather than position in a list. So I would use page parameters ;)

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

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


[jboss-user] [JBoss Seam] - Re: old RichFaces bug: MethodNotFoundException back?

2007-12-20 Thread [EMAIL PROTECTED]
Make sure to report this in the RichFaces forum or JIRA.

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

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


[jboss-user] [JBoss Seam] - Re: How to select item in DataTable populated with @Unwrap?

2007-12-20 Thread [EMAIL PROTECTED]
Why not use page parameters.

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

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


[jboss-user] [JBoss Seam] - Re: Outjected variable as parameter for enhanced EL

2007-12-20 Thread [EMAIL PROTECTED]
mahbe wrote : 
  | 
  |   | h:commandLink id=back-customerdetails
  |   |   value=Back to details
  |   |   
action=#{ChooseCustomer.showDetails(choosenCustomer)}/
  |   | 

This is the one that should work. What scope do you outject the chosenCustomer 
to?

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

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


[jboss-user] [JBoss Seam] - Re: s:button loosing param value with s:convertDateTime?

2007-12-20 Thread [EMAIL PROTECTED]
Whaat is #{s:convertDateTime}?

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

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


[jboss-user] [JBoss Seam] - Re: HowTo: Pass POST values to external sites and also redir

2007-12-20 Thread [EMAIL PROTECTED]
Ask on a JSF forum, Seam provides no special capabilities here.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Connecting to Oracle (Driver Class is empty)

2007-12-20 Thread karypid
Bug reports filed:

http://jira.jboss.org/jira/browse/JBIDE-1542
http://jira.jboss.org/jira/browse/JBIDE-1543


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

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


[jboss-user] [JBoss Seam] - Re: @In and @Out in CONVERSATION scope

2007-12-20 Thread [EMAIL PROTECTED]
No, that shouldn't happen.

Does the debug page show your long running conversation?

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread damianharvey
Oh dear. So all my hard work removing IDs from my application is wasted? 
Exposing IDs in my app is a bit of an issue.

Do you know if it is just @DataModelSelection that is the problem or @DataModel 
in general? Ie. if I use this:s:link 
action=#{myBean.delete(myObject)}...will I still face this issue? (I assume 
so).

Cheers,

Damian.

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

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


[jboss-user] [JBoss Portal] - Re: Portal 2.6.2 with CAS on different Server

2007-12-20 Thread Soon5
Hy,

You are right. When I am running Portal and CAS-Webserver on same JBoss 
everything is fine. Now I have tried to run Portal clustered. So I set up a 
second JBoss server and configured both Portal deployments to run in cluster 
(in fact i downloaded the ha version ;-) ).

One of the JBoss runs the CAS-Webserver. I got the Problem when I tried to get 
the second Portal to use the CAS-Webserver on the first JBoss (how confusing, 
but I think you got what I mean).

I will look forward to that upgrade you mentioned.

Greetings Soon5

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

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


[jboss-user] [JBoss Seam] - Re: JMeter and Seam

2007-12-20 Thread [EMAIL PROTECTED]
Post the whole exception, someone might be able to help you.

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

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


[jboss-user] [JBoss Seam] - Re: Identity.loggedIn and Session expiring

2007-12-20 Thread [EMAIL PROTECTED]
b.reeve wrote : anonymous wrote : Not yet implemented. This is the best way 
to do what you are AFAICS.
  | 
  | Does this mean that there are plans for adding this to future release?

Yes, the sessionExpired event will be added.

anonymous wrote : 1. Also, Is there a way I can disable Seam from adding the 
default seam messages to FacesMessage apart from giving a value for that key in 
the resource bundle?

Thats the simplest way, but there are other ways depending on the particular 
message you are trying to hide.

That pages.xml ruleset isn't valid - this is equivalent and valid

page view-id=/login.xhtml 
  |navigation from-action=#{identity.login} 
  |   rule if=#{identity.loggedIn AND loginBean.navigation eq 'pageA'} 
  |  redirect view-id=/pageA.xhtml /

etc.

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

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


[jboss-user] [Performance Tuning] - Re: Not deploy and not scan some directories at the start of

2007-12-20 Thread nmaurel
hi,

thanks for ur answer.
I tried to look at jboss-service.xml and i added theses lines :

!--COMMENT LINE : THIS LINE WAS IN THE STANDARD FILE BEFORE MY ADDING
org.jboss.deployment.scanner.DeploymentFilter
--
  
!-- BEGIN OF MY ADDING
The FilterInstance specifies a URLLister.URLFilter for scanned
directories. This DeploymentFilter is initialized with the given
prefixes, suffixes and matches that define which URLs should be
ignored.
--

  !-- Files starting with theses strings are ignored --
  #,%,\,,.,_$
  !-- Files ending with theses strings are ignored --
  #,$,%,~,\,v,.BAK,.bak,.old,.orig,.tmp,.rej,.sh,.doc,.pdf,.xls,.html,.sql
  !-- Files matching with theses strings are ignored --
  .make.state,.nse_depinfo,CVS,CVS.admin,RCS,RCSLOG,SCCS,TAGS,core,tags

 !-- NCM : 20/12/2007 Ajout de cette partie pour test , END OF MY ADDING --   

but when i restarted jboss i had this message on boot.log :

2007-12-20 12:25:28,723 INFO  [org.jboss.deployment.MainDeployer] Deployed 
package: 
file:/E:/INTEG/AccessCommerce/CDS/jboss-3.2.3/server/CDS/conf/jboss-service.xml
2007-12-20 12:25:28,739 ERROR [org.jboss.system.server.Server] Root deployment 
has missing dependencies; continuing
Incomplete Deployment listing:
Packages waiting for a deployer:
  
Incompletely deployed packages:
  
MBeans waiting for classes:
  
MBeans waiting for other MBeans:
[ObjectName: jboss.deployment:type=DeploymentScanner,flavor=URL
 state: FAILED
 I Depend On:  jboss.system:service=MainDeployer

 Depends On Me: org.jboss.deployment.DeploymentException: No Attribute found 
with name: FilterInstance]
at 
org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1135)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:608)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:589)
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:324)
at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:384)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:291)
at org.jboss.Main.boot(Main.java:150)
at org.jboss.Main$1.run(Main.java:395)
at java.lang.Thread.run(Thread.java:534)

did i make a mistake ??

Nicolas.

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

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


[jboss-user] [JBoss Seam] - Re: Trouble W/ NullPointerException

2007-12-20 Thread [EMAIL PROTECTED]
Answering questions where people post all the information necessary to answer 
the question without prompting (which you did) in a concise form is a joy :) In 
short, if you take effort over your post you are more likely to get a good 
response (as this thread showed).

Beer is always good!

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

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


[jboss-user] [JBoss jBPM] - Re: Phase status with super-state

2007-12-20 Thread realdemo
I don't wan't to put an event on every super-state, because it should be a 
standard behavior of the node. 

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

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


[jboss-user] [JBoss Seam] - Re: Why is it that

2007-12-20 Thread [EMAIL PROTECTED]
Post the exception stack trace.

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread dkane
[EMAIL PROTECTED] wrote : If you used page parameters you wouldn't have this 
problem 
Thank you! 
Does any Seam examples project illustrate this recommended approach ? 

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

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


[jboss-user] [JBoss Seam] - Re: Seam - Redhat Studio -- How to persist multiple database

2007-12-20 Thread [EMAIL PROTECTED]
create a datasource for each database. You can then alter persistence.xml for 
each deployment of the app to point at the correct datasource

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread [EMAIL PROTECTED]
damianharvey wrote : Oh dear. So all my hard work removing IDs from my 
application is wasted? Exposing IDs in my app is a bit of an issue.

Sure, there are some apps where page parameters aren't appropriate.

We need to dig into exactly what works and doesn't with passing parameters to 
EL action methods inside iterative components 

http://jira.jboss.com/jira/browse/JBSEAM-2391

If you were able to use some synthetic id instead of the entities primary key 
would that help? Like the way the entity converter uses a numeric sequence - 
i.e. is this something which it would be good to have support in Seam for?

anonymous wrote : Does any Seam examples project illustrate this recommended 
approach ?

The seamdiscs example uses page parameters to select etc. rows - but not 
explicitly to delete.

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

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


[jboss-user] [EJB 3.0] - Pattern for using entities and aggregate functions in EJBQL

2007-12-20 Thread wark2007
Hello, I have a question about using entity beans and aggregate functions 
together in one EJBQL query. For example I have a pet shop and I want to get 
all Pets (entity Pet) and their corresponding sales figures. A simple query like

select p, sum(...) from Pet p where ...

is only possible if I put every attribute of Pet in the group by clause. In my 
opinion this is bad design.If I need the information for just one Pet at a time 
I would just execute a second query. But what if I must show the information 
for every Pet in a large table? 

In plain SQL I would just retrieve the fields of Pet which I need in that 
table. In EJB 2.1 I would execute the same native sql query and map the results 
into a special value object which contains only the attributes I need for that 
table. But what is the suggested way in EJB 3 where I shouldn't use value 
objects anymore? 

What other possibilities are available? I think it is a very common problem 
retieving entities together with aggregate funtion. What solution for that kind 
of problem do you prefer? Is there a common pattern available?

Thanks in advance!

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-20 Thread lovelyliatroim
Also JDK version is 1.5.0_13!!

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

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


[jboss-user] [JBoss Seam] - Re: Newbie Problem with Exception handling and pages.xml

2007-12-20 Thread [EMAIL PROTECTED]
Do you have seam's debug mode disabled, and facelets development mode turned 
off?

Try posting with [ code ] tags

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread damianharvey
I originally removed the IDs as I didn't want the user hacking around trying to 
find someone else's data. It's the usual use-case I suppose and certainly 
something that I do whenever I see IDs in the query string. I can check the 
authorisation of the user in the find() or similar but the @DataModel approach 
means I don't have to bother with that.

Sounds like from http://jira.jboss.com/jira/browse/JBSEAM-1734 that you're 
looking at removing the @DataModel entirely?

JBSEAM-2391 just needs the DataTable populated from a list annotated with 
@DataModel or am I missing something?

Cheers,

Damian.

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

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


[jboss-user] [JBoss Seam] - Re: @End from

2007-12-20 Thread Bernix
Does anyone meet such problem?

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread [EMAIL PROTECTED]
Not removing @DataModel, just removing the ability to pass objects inside of 
iterations using extended EL. The ability to pass an ID would still be there of 
course, but that doesn't meet your obfuscation requirements (which I agree with 
on a conceptual level). However, there is both Gavin's conceptual point, and 
the problem that we get more questions on the forum about why this doesn't work 
than any other. No conclusion has been reached for now.

JBSEAM-2391 - we need to document clearly what works and doesn't as everyone is 
just confused atm.

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

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


[jboss-user] [JBoss Seam] - Re: Could not create instance of RandomAccessSubList

2007-12-20 Thread dkane
Resolved. 

Turned out that List.sublist returns non-serializable result.



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Problems of joda-time-1.2.1.jar in jboss-4.0.5.GA

2007-12-20 Thread kishorc
Hi all...

I am using ejb2.0 and migrated from jboss-4.0.2 to jboss-4.0.5.GA and jdk1.4 to 
jdk1.5.

Its working fine in jboss-4.0.2 with jdk1.4 but giving problem in 
jboss-4.0.5.GA with jdk1.5.

I have a class with name DateSet. I imported the following.
org.joda.time.DateTime, 
org.joda.time.Period, 
org.joda.time.PeriodType. 

Compilation and deployment is fine. I created a jsp and called one of the 
method. but displays error as 
java.lang.NoClassDefFoundError: org/joda/time/ReadableInstant

I am already having joda-time-1.2.1.jar file in testproject.war/WEB-INF/lib 
folder.

Thanks in advance for helping
-KishorC.






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

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


[jboss-user] [JBoss Seam] - Re: seam events

2007-12-20 Thread skanky78
quote from the seam manual:

anonymous wrote : ...Notice that this event producer has no dependency upon 
event consumers. The event listener may now be implemented with absolutely no 
dependency upon the producer..

so you mean i have to introduce a dependency upon the producer, right?

can you give a short solution for my simplified example? how can i get the 
event state (argument Hello World) of the fired event in event listener? at 
the moment  i'm not seeing the wood for the trees...

thanks,
sven

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

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


[jboss-user] [JNDI/Naming/Network] - javax.naming.NameNotFoundException: queue not bound

2007-12-20 Thread bidhudas
Hi, 

I am trying to configure JMS queue in JBOSS. I have added the following entry 
in jbossmq-destinations-service.xml 

mbean code=org.jboss.mq.server.jmx.Queue
  |  name=jboss.mq.destination:service=Queue,name=WebResponse
  | depends 
optional-attribute-name=DestinationManagerjboss.mq:service=DestinationManager/depends
  |   /mbean 


But the same was not listed in JNDIVIEW. 

Whenever I tried to lookup this queue(ctx.lookup(queue/RequestQ) getting the 
following error. It will be of great help if any body can help in resolving 
this issue 

javax.naming.NameNotFoundException: queue not bound 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) 
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) 
at org.jnp.server.NamingServer.getObject(NamingServer.java:543) 
at org.jnp.server.NamingServer.lookup(NamingServer.java:267) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at sun.rmi.server.UnicastServerRef.dispatch(Unknown Source) 
at sun.rmi.transport.Transport$1.run(Unknown Source) 
at java.security.AccessController.doPrivileged(Native Method) 



Regards 
Bidhduas

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

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


[jboss-user] [JBoss Portal] - Re: Adding jmx options to the JAVA_OPTS gives NPE when start

2007-12-20 Thread viggo.navarsete
A NullPointer should never bubble up to the user, so I created a jira issue for 
this:) 
http://jira.jboss.com/jira/browse/JBPORTAL-1853

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-20 Thread lovelyliatroim
Ok interesting update!!

Downloaded the 5.0 beta2 again today, set the one up on my windows box and set 
up on my linux box, started both up!!

Took a look in the work directory for the jmx-console.war on my linux box and i 
have no web-inf dir, take a look on my windows box and i do have it!!!


Something not right going on there!! 


Im also having another issue and wondering is there any relation, i should post 
in the right forum but just want to ask do you think there is any relation 
going on. Im in the process of setting up my development environment and want 
to hot swap/deploy my code. Ive read about what i have to do 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment
http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts

So i have my exploded ear and i have eclipse exporting my classes to the 
exploded directories. I then have an ant script which touches my 
application.xml and web.xml but i dont get any reload. Jboss does not respond!! 
Has this any relation to what im experiencing with above ?? or should i just 
post in the deployment forum and see what they say?

Cheers Peter,
LL 


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

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


[jboss-user] [JBoss Seam] - Re: fail to persiste taskinstance variables from xhtml page

2007-12-20 Thread [EMAIL PROTECTED]
Task variables and Seam don't work great together IMO. You could try using the 
BUSINESS_PROCESS context?

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate MappingException with javassist altered class

2007-12-20 Thread [EMAIL PROTECTED]
You'll need to show us the mapping file, the action you use, the entity class, 
any xhtml involved and any stack trace from exceptions.

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

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


[jboss-user] [JBoss Seam] - session / SFSB timouts

2007-12-20 Thread threeps
Hi

I'm trying to get to the bottom of what exactly triggers timeouts in jboss/seam 
applications. More to the point i am trying to handle a timeout event such that 
my app doesn't freeze and become 'unclickable'.

I have tried altering the session-timeout element in web.xml, and this DOES 
seem to do something, ie my test bean will be destroyed after x minutes when 
this is set to x.

However, when i set session-timeout to 45 minutes, i still get some kind of 
timing out after around 10 minutes so i figure it must be something else. 

I've next tried altering my 'ejb3-interceptors-aop.xml' file to change the 
'idleTimeoutSeconds' parameter under simple.CachConfig (in 'Stateful Bean' 
domain). However, if i set this to say 1 minute, then set session-timeout to 
say 10 minutes, then bean is still not destroyed until the session expires, 
when surely the bean idleTimeoutSeconds should take precidence?

Further to this i've looked into altering 'standardjboss.xml', ie 
max-bean-life element. This doesn't seem to do much either.

Can anyone offer any assisstance, or point me in the direction of any info 
regarding seam timeout events and how to catch / manipulate them?

Thanks in advance

-Rich

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unwaring web app - leaves some files in the war

2007-12-20 Thread lovelyliatroim
anonymous wrote : 
  | m also having another issue and wondering is there any relation, i should 
post in the right forum but just want to ask do you think there is any relation 
going on. Im in the process of setting up my development environment and want 
to hot swap/deploy my code. Ive read about what i have to do
  | http://wiki.jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment
  | http://wiki.jboss.org/wiki/Wiki.jsp?page=DeployTipsAndBuildSampleScripts
  | 
  | So i have my exploded ear and i have eclipse exporting my classes to the 
exploded directories. I then have an ant script which touches my 
application.xml and web.xml but i dont get any reload. Jboss does not respond!! 
Has this any relation to what im experiencing with above ?? or should i just 
post in the deployment forum and see what they say? 
  | 

Forget the above, i missed a step in the documents, i was meant to make an 
entry in the conf/jboss-service.xml for the URLDeploymentScanner. Only thing 
now is that in 5.0 there isnt any entry now for it in jboss-service.xml!! Maybe 
i have to add it, we shall see!! 

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

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


[jboss-user] [JBoss Seam] - Re: integration testing - problem

2007-12-20 Thread [EMAIL PROTECTED]
SeamTest currently assumes Embedded JBoss is used as the container. I guess you 
could make it work with other containers, but not sure how. A better bet would 
probably be JSFUnit, which we are looking at for use in testing Seam inside 
real containers.

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

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


[jboss-user] [JBoss Seam] - Re: need help with url rewriting

2007-12-20 Thread [EMAIL PROTECTED]
Outbound rules should be applied to any link JSF builds (urlrewrite hooks into 
the Servlet encoding engine). I've never done this personally though.

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

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


[jboss-user] [JBoss Seam] - Re: hbm2ddl and multiple datasources

2007-12-20 Thread [EMAIL PROTECTED]
What is your question?

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

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


[jboss-user] [JBoss Portal] - how to configure Alfresco with Jboss portal

2007-12-20 Thread somi.naidu
Hi
I am new to JBoss Portal. anybody can guide me to configure Alfresco on JBoss 
portal.
tell me steps ,i have to do .
please respond as soos as possible.

thanx for all

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

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


[jboss-user] [JBoss Portal] - Automatically log someone in.

2007-12-20 Thread badock
Hi, still on my SS0+Apache+Kerberos+JBossPortal problem.

OK, so let's hear what's my plan :
First of all, i have JBossPortal running behind an Apache.
That Apache authenticates users with Kerberos, and can store the login in the 
variable REMOTE_USER that is handed to JBoss.
Now, for identification, I use a LDAP and the jbossportal html form.
By modifying the login.jsp file, i can already fill the form with the login : 
input text=text name=j_username value=% 
out.print(request.getAttribute(REMOTE_USER)); % /
And i also fill in the password with a value that is the same for every user in 
the LDAP (no need to have different passwords, the authentication has been done 
with Kerberos).

Now i'd like the form to Submit itself, so the user doesn't have to click nor 
can he get the oportunity to change the j_username variable.

Do you have any idea how can i do that ? For instance with a javascript maybe ?
Or can i use the response.sendRedirect(request.getContextxPath() + 
/some/path/); ?

Thanks in advance.

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

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


[jboss-user] [JBoss Seam] - Re: how to send events between natural conversations

2007-12-20 Thread [EMAIL PROTECTED]
If I understand you correctly, you have conversation A and conversation B. In 
conversation A you have some Seam component foo, and in conversation B you have 
some instantiated some component bar.

bar has an observer method that listens for fooEvent. You call a method on foo, 
which raises fooEvent. The observer method on bar will be called, but it won't 
be *the same instance* of bar that you have conversation B, but rather a new 
instance.

You can't observe an event raised in one conversation in another. If the 
observer was in the session scope or application scope this would work.

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

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


[jboss-user] [JBoss Seam] - Re: Separate database for jBPM

2007-12-20 Thread [EMAIL PROTECTED]
But what datasource are you pointing at in hibernate.cfg.xml?

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

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


[jboss-user] [JBoss Seam] - Re: missing conversation entry error

2007-12-20 Thread [EMAIL PROTECTED]
Try asking this question in the RichFaces forum, and post a track back here.

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

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


[jboss-user] [JBoss Seam] - Re: Why PAGE context variable = NULL

2007-12-20 Thread [EMAIL PROTECTED]
Post, clearly, the execution flow of your app involving these 
variables/components.

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

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


[jboss-user] [JBoss Seam] - Re: s:button loosing param value with s:convertDateTime?

2007-12-20 Thread terryb
Ops didn't see what i was cutting/pasting. I have since upgraded to Seam 2 but 
page parameter conversion errors are getting worse. I have tried following ways 
 but get class not found exception for both.


  | ...
  | param name=settlementDateFrom 
converterId=javax.faces.convert.DateTimeConverter 
value=#{paymentReconciliation.settlementDateFrom}/
  | 
  | OR
  | 
  |  param name=settlementDateFrom 
converterId=org.jboss.seam.ui.converter.DateTimeConverter 
value=#{paymentReconciliation.settlementDateFrom}/
  | ...
  | 

I have an other post with more details on this here:

http://jboss.com/index.html?module=bbop=viewtopicp=4114495#4114495




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

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


[jboss-user] [JBoss Seam] - Re: TransactionCompletionEvent and @Asynchronous

2007-12-20 Thread [EMAIL PROTECTED]
cpopetz wrote : where anAsyncMethod() is a method marked @Aysnchronous.  (I'd 
mark the observer itself as @Asynchronous, but that gets ignored.)

There is an open feature request for this to be supported (I think it makes 
good sense).

anonymous wrote : However, anAsyncMethod() isn't called asynchronously, because 
TransactionCompletionEvent is an AsynchronousEvent, and seam disallows spawning 
one asynchronous call from another.

This was a bug which we fixed for 2.0.0.GA - what version are you using?

You certainly should be able to schedule async calls from other async calls.

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

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


[jboss-user] [JBoss Seam] - Re: Outjected variable as parameter for enhanced EL

2007-12-20 Thread mahbe
By now, I solved the problem with page id.

anonymous wrote : What scope do you outject the chosenCustomer to?

I did outject it at standard scope (only with @Out). The page with the 
commandLink is generated from an @End annotated action method. Oddly enough


  | s:link id=back-customerdetails
  | value=Back to details
  | action=#{ChooseCustomer.showDetails(null)}
  | f:param name=custno 
value=#{choosenCustomer.customerNo}/
  | /s:link
  | 

does work now, but


  | h:commandLink id=back-customerdetails
  |   value=Back to details
  |   
action=#{ChooseCustomer.showDetails(choosenCustomer)}/
  | 
did not.

And don't nail me down to it, but I'm quite sure that I used commandLink inside 
form tags.

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

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


[jboss-user] [JBoss Seam] - Securing gwt pages

2007-12-20 Thread milesif
Hi everybody,

I set up gwt and seam and it works fine. Now I am trying to secure my gwt .html 
pages using 

anonymous wrote : 
  | page view-id=/protected/* login-required=true /
  | 

but it seems that only .xhtml pages can be protected that way. So I tried to 
embed my html page in a .xhtml, but when the page is loaded the gwt generated 
java script complains that it is running in the wrong context.

Has anybody tried to do something like that ? Any suggestions?

Thanks in advance.

Ciao Francesco


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

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


[jboss-user] [JBoss Seam] - Re: Call to a servlet from an action in a bean

2007-12-20 Thread [EMAIL PROTECTED]
Don't understand what you are asking.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Connecting to Oracle (Driver Class is empty)

2007-12-20 Thread [EMAIL PROTECTED]
ok cool.

Unfortunately we probably can't do much about the driver issue since it's DTP's 
API that is failing...but lets get a reproducable case and we can talk to the 
DTP guys about it.

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

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


[jboss-user] [JBossCache] - Re: org.jboss.cache.lock.TimeoutException thrown in second i

2007-12-20 Thread [EMAIL PROTECTED]
I dont get it - you're running in LOCAL mode but starting up a second 
instance in your cluster causes lock exceptions?  Where do you see the 
exceptions, on the first or second instance?


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

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


[jboss-user] [JBossWS] - Re: Web Service Response encoding problem

2007-12-20 Thread AndersM
OK!
The fix was to install JBossWS 2.0.1 instead of JBossWS 2.0.1 that came with 
JBoss 4.2.1.

Thanks for all the help. ;-)

/Anders

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

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


[jboss-user] [JBossWS] - Re: Web Service Response encoding problem

2007-12-20 Thread AndersM
Sorry!
Should have been:
The fix was to install JBossWS 2.0.1 instead of JBossWS 1.2.1 that came with 
JBoss 4.2.1.

/Anders

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

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


[jboss-user] [JBoss Seam] - Re: Two browser tabs : basic question

2007-12-20 Thread dkane
[EMAIL PROTECTED] wrote : If you used page parameters you wouldn't have this 
problem as you would be deleting rows by id rather than position in a list. So 
I would use page parameters ;)

I have solved problem partially with page parameters, but it does not work for 
ajax request (used exactly for delete operation in table). 

I define page parameter in pages.xml and obtain it via @RequestParameter in 
code. For normal request it works, for ajax request parameter is null. 

Any idea ? 

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

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


[jboss-user] [JBoss Seam] - Re: Seam EJB not binding

2007-12-20 Thread [EMAIL PROTECTED]
Post the Seam startup log

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

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


[jboss-user] [JBoss Seam] - Re: Update transactions occurring prematurely in Seam app

2007-12-20 Thread [EMAIL PROTECTED]
Are you using manual flush mode? Or bypassUpdates on the a:support?

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

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


[jboss-user] [JBoss Seam] - Re: EL changes according to JSF 1.2

2007-12-20 Thread [EMAIL PROTECTED]
Try

Expressions.instance().createActionExpression(#{foo.bar});

http://docs.jboss.org/tools/2.0.0.GA/seam/en/html/create_new_seam.html for 
creating a new Seam project with JBoss Tools.

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

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


[jboss-user] [Beginners Corner] - JBoss + Xerces + Xalan ... lots of problems

2007-12-20 Thread viniciuscarvalho
Hello there! I'm living a nightmare with xml-apis
I have a transformation that works fine in my eclipse test cases:


  | message
  | header
  | id1234/id
  | /header
  | payload
  | customer
  | id/
  | /customer
  | /payload
  | /message
  | 
  | What I need is to copy the id from header to customer. Well hereś the xsl:
  | 
  | ?xml version=1.0 encoding=ISO-8859-1?
  | xsl:stylesheet version=1.0
  |xmlns:xsl=http://www.w3.org/1999/XSL/Transform; 
  | xsl:template match=//customer/id
  |xsl:variable name=idc select=//payload/customer/id/
  |idxsl:value-of select=$idc/id
  | /xsl:template
  | 
  | xsl:template match=*
  | xsl:copy
  |xsl:apply-templates select=@*/
  |xsl:apply-templates select=node()/
  |  /xsl:copy
  | /xsl:template
  | /xsl:stylesheet
  | 
  | 

Well, when deployed on jboss it does not work .
So I've ran my tests using the endorsed libs from jboss, well it really does 
not work with those xerces/xalan versions:(
Trying to start without the endorsed overriding mechanism from jboss, throws 
exceptions about xerces classes (hum, aren't they loaded by the bootstrap 
classloader from the JVM???).

It's really hard to figure which version o xalan do I need to get it working. 
I've already ask this at their list, and I'm stuck with this for over 2 days 
now. I've tried JDK 6.0, which really works, but since I'm using jbossws, I'm 
having issues with jaxb :(

anyone could point me a solution?

Best regards

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

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

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


[jboss-user] [JBoss Seam] - Re: implementing SMPC questions

2007-12-20 Thread [EMAIL PROTECTED]
asookazian wrote : 1) I'm still getting @In attribute requires non-null 
value: securityAuditAction.em when I run my test case even after adding the 
create=true element setting in the @In attribute.  How can I fix that?

What does your components.xml look like?

anonymous wrote : 2) The previous code was as follows:
  | 
  | @PersistenceContext(unitName=boIcomsSecurityAudit, 
type=PersistenceContextType.EXTENDED)
  |   | private EntityManager em;
  | 
  | Note that I have multiple persistence units in my persistence.xml as well 
as multiple datasources in my *-ds.xml.  How will the SMPC know which 
datasource or persistence unit to use?  The optional elements for @In are 
required, create, scope, value.

By the wiring in your components.xml

anonymous wrote : 4) is the SMPC similar to JPA EXTENDED persistence context 
type in that the JPA entities are not released (unmanaged) from the PC?

It's like an Extended PC that is scoped to a conversation rather than a SFSB. 
It has significantly simpler propagation rules

anonymous wrote : must you use SMPC or can you use JPA Extended 
PersistenceContext as follows?

You can use either, but you must use Hibernate atm.

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

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


[jboss-user] [JBoss Portal] - Re: Automatically log someone in.

2007-12-20 Thread wesleyhales
although not very elegant, have you tried:
body onload=submitmyform()

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

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


  1   2   3   >