[jboss-user] [EJB 3.0] - Re: Create timer -

2007-05-27 Thread adenzo
Hi,
Any further info on this? 
I had similar trouble, and in the end got it working by making a seperate call, 
i.e.:
JSF ManagedBean -> A:doSomething();
JSF ManagedBean -> B:makeTime();

Then making timers worked, as long as I did not EJB work within B.
This was on 4.2.0.CR2
Having other issues like this regarding using a @Resource injected JDBC 
connection also.


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

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


[jboss-user] [JBoss Seam] - Re: problem with page parameter and back

2007-05-27 Thread henrik.lindberg
It looks like others have the same problem: 
http://jira.jboss.com/jira/browse/JBSEAM-660 - here Gavin points out that this 
is a JSF problem. 

I am stuck on this issue - appreciates if someone has ideas what I should do.

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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread breuniga
Did you find solutions for your questions?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Separate Logging for application

2007-05-27 Thread grininger.h
Thanks a lot for you answer, I will try it asap.

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

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


[jboss-user] [JBoss Portal] - Re: error changing theme when logged in as admin in 2.6cr2

2007-05-27 Thread andreas.wiesauer
Hello,

I did nothing special. As I said, I installed JBoss Portal from SVN (trunk) and 
I use a MYSQL database as datasource. I deployed with "build deploy" and after 
that I installed add-on (samples, admin, management portlets).

If I log in as admin and try to change the theme of the default portal, the 
drop-down list switches back to default theme and the theme is not changed (but 
there is no error message, the theme simply does not change). The same thing 
happens if I create a new user with admin role. The only theme I can change is 
the theme of my dashboard.

Thank you for your help!

Best regards,
Andy

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

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


[jboss-user] [EJB 3.0] - Re: Create timer -

2007-05-27 Thread obfuscator
"adenzo" wrote : Hi,
  | Any further info on this? 
  | I had similar trouble, and in the end got it working by making a seperate 
call, i.e.:
  | JSF ManagedBean -> A:doSomething();
  | JSF ManagedBean -> B:makeTime();
  | 
  | Then making timers worked, as long as I did not EJB work within B.
  | This was on 4.2.0.CR2
  | Having other issues like this regarding using a @Resource injected JDBC 
connection also.
  | 

Yeah, I think it's some sort of "bug" that has to do with accessing different 
data sources within the same transaction, although I'm not sure. Seems like the 
transaction craps up since i was trying to persist entities and create timers 
in the same transaction. Is this what you're getting to? I guess that's pretty 
logical if you think about it...

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

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


[jboss-user] [JBoss jBPM] - Re: Scheduler Question

2007-05-27 Thread kukeltje
Yes, if they are using the same database tables. run the scheduler on just one 
machine.

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

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


[jboss-user] [JBoss jBPM] - Re: Arbitrary Elements in jPDL

2007-05-27 Thread kukeltje
'arbitrary elements'? Youi mean custom nodes? then look at 
http://docs.jboss.com/jbpm/v3/userguide/processmodelling.html#customnodebehaviour

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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread hstang
Seam provides a stack of your conversations.

@In List conversationStack;

Methods of interests are conversationEntry.destroy() and 
conversationEntry.select()

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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread hstang

  | @In List conversationStack;
  | 

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - javax.ejb.EJBException: Could not instantiate bean

2007-05-27 Thread bbeloff
Hi

I'm attempting to use my first MDB.  My code and deployment descriptors are 
based on examples 6.6 to 6.9 in The JBoss 4 Application Server Guide.  I'm 
running jboss 4.0.2 / MySQL.

The problem: my sender sends the message okay (confirmed by querying MySQL) but 
the message driven bean causes:


  | 15:19:40,563 ERROR [LogInterceptor] TransactionRolledbackLocalException in 
method: public abstract void 
javax.jms.MessageListener.onMessage(javax.jms.Message), causedBy:
  | javax.ejb.EJBException: Could not instantiate bean
  | at 
org.jboss.ejb.plugins.AbstractInstancePool.get(AbstractInstancePool.java:180)
  | at 
org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(MessageDrivenInstanceInterceptor.java:67)
  | at 
org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48)
  | at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
  | at 
org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityInterceptor.java:94)
  | at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | at 
org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenContainer.java:389)
  | at org.jboss.ejb.Container.invoke(Container.java:873)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvoker.java:1090)
  | at 
org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onMessage(JMSContainerInvoker.java:1392)
  | at 
org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:256)
  | at 
org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMessageConsumer.java:904)
  | at 
org.jboss.mq.SpyMessageConsumer.addMessage(SpyMessageConsumer.java:160)
  | at org.jboss.mq.SpySession.run(SpySession.java:333)
  | at org.jboss.jms.asf.StdServerSession.run(StdServerSession.java:180)
  | at 
EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:743)
  | at java.lang.Thread.run(Thread.java:613)
  | 15:19:40,572 ERROR [JMSContainerInvoker] Exception in JMSCI message listener
  | javax.ejb.TransactionRolledbackLocalException: Could not instantiate bean; 
CausedByException is:
  | Could not instantiate bean
  | ...
  | 

The jboss.xml entry (generated by XDoclet) looks like:


  |   
  |  DispatchAgent   
  |  queue/B
  |  
  | jms/QCF
  | ConnectionFactory
  |  
  |   
  | 

The ejb-jar.xml entry looks like:


  |   
  |  
  |  DispatchAgent
  |  
biz.classcalendar.core.agent.dispatch.DispatchAgent
  |  Container
  |  AUTO_ACKNOWLEDGE
  |  
  | javax.jms.Queue
  |  
  |  
  | jms/QCF
  | javax.jms.QueueConnectionFactory
  | Container
  |  
  |   
  | 

I'm stuck, because the log contains no debugging information that's useful to 
me, given my (lack of) knowledge of the jboss code.

Is this a authentication issue?

Please help!

Bruno.

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

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


[jboss-user] [JBoss Seam] - Re: conversations, nested conversations

2007-05-27 Thread hstang
YOu can also do 

  | 
  | @In Conversation conversation;
  | 
  | conversation.redirectToParent();
  | 

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

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


[jboss-user] [JBossCache] - Recommended way of locking to avoid many threads filling cac

2007-05-27 Thread mkotsbak
I have this case as this pseudocode shows:

getObject()
{
1:if ( jbc.get( "someobj" ) == null || cache error ) {
2:obj = getSomeObjFromDB();
3:jbc.put("someojb).
  } 

4:   return obj;
}

and typically have many threads accessing that method from JBoss at the same 
time. The problem is that line 2 can be time consuming and thus both:

- causing write locks in JBC for all but the first thread that got the write 
lock at line 3. This is probably similar to the Hibernate case and thus can 
probably avoided using the new "putFromExternalRead()" method?

- cause n number of threads simultaniously trying to get the same value from 
database (line 2) that both slows down the first one that has the write lock 
and all other.

What I want to solve those problems are some kind of lock that ensures that 
only the first thread that finds the cache miss fetches the object from the 
database and the others wait for that first thread to finish its fetching and 
then getting the value from JBC.

Since this is running inside JBoss I'm not sure what locking is safe to use. In 
a standalone program I would think of using a mutex or synchcronized keyword, 
but is this safe in this case?

I also think about a little hacky solution to use an extra node in JBC that you 
write to before fetching stuff from DB and the other threads lock on trying to 
write to and after the lock is freed check again if the content is still 
missing and if so (it in fact was the first thread) go fetch it from DB.

Maybe the API of JBC should be added with some support for this to do in it a 
clean way.

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

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


[jboss-user] [EJB 3.0] - jboss.xml entries for stateful session beans

2007-05-27 Thread cchhugani
what is the exact entry in the jboss.xml file for instance cache for stateful 
sessions bean.
where can i find such information.
thanks,
chetan
india.

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

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


[jboss-user] [JBoss Seam] - Re: Tomahawk Scheduler

2007-05-27 Thread mygol
i have the same problem,do you have mind?

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

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


[jboss-user] [Installation, Configuration & Deployment] - log4j configuration in ear file

2007-05-27 Thread kstrunk
Hello,

I'm using JBoss 4.2.0 and I want to add a custom log4j.properties to my ejb.jar 
and web.war. I'd like to do the following:

application.ear
| web.war
| ejb.jar
| log4j.jar

I put the log4j.properties in my web.war and in my ejb.jar. Both of them uses 
log4j.jar referenced from MANIFEST. Logging from my WebApp works fine and uses 
the configuration included in web.war. 
Logging from ejb.jar also works, but it doesn't uses the included 
log4j.properties. So what I can I do? Is there any chance to enable custom 
logging in my ejb.jar?

Best regards,
Strunker

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

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


[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
"matt.drees" wrote : Are you using a s:validate or s:validateAll on that 
h:inputText?  If so, I'm fairly certain you can't do that.

Nope. Not using either. I've posted the complete page code below. Any other 
ideas? Thanks.


  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";
  | xmlns:s="http://jboss.com/products/seam/taglib";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:f="http://java.sun.com/jsf/core";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:rich="http://richfaces.ajax4jsf.org/rich";
  | xmlns:a="https://ajax4jsf.dev.java.net/ajax";
  | template="layout/template.xhtml">
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | dataEntry
  | Welcome #{appUser.username}
  | 
  | 
  | Map 
Binding
  | 
  | 
  | 
  | 
  | eventdate
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | Name
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to work with multiple persistence units

2007-05-27 Thread avihaimar
Hey,

I have a generic DAO.
The DAO is a stateless and in the DAO the persistence context is injected:

@PersistenceContext
  | public void setEntityManager(EntityManager em) {
  | this.em = em;
  | }

The problem is that I have more than 5 schemas.
Each schema has a persistence unit, so I can?t use in the default persistence 
unit.

How you guys work in case that you have multiple schemas?
How can i get the persistence context on the fly?

Thank you


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

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


[jboss-user] [EJB 3.0] - Design question - how to create a thread safe operation in s

2007-05-27 Thread avihaimar
Hey,

I have the following problem.

I need to create a new EntityManagerFactory and rebind it to the JNDI:

EntityManagerFactory emf = new Ejb3Configuration().setProperty(
  | "hibernate.connection.datasource", "java:/DefaultDS").setProperty(
  | "hibernate.hbm2ddl.auto", "create").setProperty("hibernate.show_sql", 
"true")
  | .addAnnotatedClass(Hotel.class).addAnnotatedClass(Room.class)
  | .buildEntityManagerFactory();
  | new InitialContext().rebind("java:/sample3", emf);

I need that this code will be thread safe, because i dont want that 2 threads 
simultaneously will create the same EntityManagerFactory .

How can I do it in a stateless?

Thank you


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

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


[jboss-user] [JBoss AOP] - What do i do wrong?

2007-05-27 Thread avihaimar
I configure my JBoss server to work with AOP.

JBoss - 4.05GA , AOP - 1.5.

It work fine with the JBoss example as war.

I create a jar that contain the MyAspect example + some classes.
and under meta-inf in the jar place the jboss-aop.xml.

I deploy, but i dont see any affect.

How can i debug it?

Did i package and deploy it correctly?
(i tried to place the jboss-aop.xml directly under deploy folder , but didnt 
help)

Does any one has a simpe "Hello Word" exampe package as a jar?

Thank you,

I am trying to figure out what going on for more than 1 day


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

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


[jboss-user] [JBoss Seam] - jboss el and jstl functions issue

2007-05-27 Thread tazman
Hi all,

I'm using jstl's fn:length() function in several places in my application. It 
was working with the combination of jJboss 4.0.5, ajax4jsf 1.1, faceletes 
1.1.12, jsf ri 1.2, and seam 1.2.1. I started getting ClassNotFoundExceptions 
after I upgraded to seam cvs, ajax4jsf latest snapshot, and jboss 4.2.

This is the exception I'm getting:

java.lang.ClassNotFoundException: No ClassLoaders found for: com.sun.
  | facelets.tag.jstl.fn.JstlFunction
  | at org.jboss.mx.loading.LoadMgr3.beginLoadTask(LoadMgr3.java:212)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryCl
  | assLoader.java:514)
  | at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassL
  | oader.java:408)
  | at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:164)
  | at 
org.jboss.el.lang.FunctionMapperImpl$Function.getMethod(FunctionMappe
  | rImpl.java:147)

My jsf-facelets.jar is under web-inf/lib and I can use all other facelets 
features without any problem, so I don't understand why jstl functions cannot 
be loaded. Any ideas?

tazman


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

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


[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread matt.drees
What's layout/edit.xhtml look like?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: log4j configuration in ear file

2007-05-27 Thread jwcone
See the Wiki:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ScopedLoggingConfig


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Has anyone seen jboss and jvm crashing like this?

2007-05-27 Thread jwcone
"syalcin" wrote : any ideas?
Nothing certain, unless it's related to the OutofMemoryError with native 
threads/thread-stack.  I don't know if the answer to your problem is there, but 
http://wiki.jboss.org/wiki/Wiki.jsp?page=OutOfMemoryExceptions might be helpful.


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

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


[jboss-user] [JBoss Seam] - Warning/Error when using seam text and a4j

2007-05-27 Thread henrik.lindberg
When using seam text on a page that is rendered using a4j, I get lots of output 
like this:

  | 21:28:04,703 WARN  [HtmlRenderKitImpl] Unsupported 
component-family/renderer-type: org.jboss.seam.ui.FormattedText/javax.faces.Text
  | 21:28:04,703 INFO  [[/cssite]] No Renderer found for component 
{Component-Path : [Class: org.ajax4jsf.framework.ajax.AjaxViewRoot,ViewId: 
/component-view.xhtml]
  | [Class: javax.faces.component.html.HtmlForm,Id: _id44][Class: 
org.ajax4jsf.ajax.html.HtmlAjaxOutputPanel,Id: mainOutputPanel][Class: 
org.jboss.seam.ui.UIFormatt
  | edText,Id: _id84]} (component-family=org.jboss.seam.ui.FormattedText, 
renderer-type=javax.faces.Text)
  | 

Have I missed something that I needed to do?


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

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


[jboss-user] [JBoss Messaging] - Re: JBoss Messaging RMI/IIOP

2007-05-27 Thread timfox
I'm not sure what this question has to do with JBoss Messaging. JBM doesn't use 
IIOP.

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

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


[jboss-user] [JBoss Seam] - Re: JBoss AS 4.2.0, seam 1.2.1 and seamgen

2007-05-27 Thread [EMAIL PROTECTED]
Can you perhaps try building RF from its SVN source here:

http://anonsvn.jboss.org/repos/richfaces/

Let us know how it goes. Thanks.

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

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


[jboss-user] [Beginners Corner] - Re: JBOSS really slow on Solaris 64 bit system

2007-05-27 Thread lafr
What in you opinion is slow?
What kind of CPUs. Show us the head output of prtdiag.
What operating system:
 cat /etc/release
 uname -a
Startup parameters of JBoss?



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss 4.0.0 is slow on Solaris 8 (64bit SunFire v120) 4

2007-05-27 Thread lafr
Different performance on two systems is mostly based on the hardware used
The operating system only has minor influence on it.

So you showed us you have 16 CPUs in your Solaris box.
But what kind of CPU? Show us the head output of prtdiag.
What's the CPU used for your Linux box?

Don't know much about JMeter. How many threads do you use?
If you increase threads, the Solaris box should scale well, if your test 
application is good.


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

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


[jboss-user] [JBoss Seam] - Re: s:conversationPropagation has no effect with h:commandBu

2007-05-27 Thread quilleashm
s:button and s:link do not submit the form.

h:commandButton (I don't believe) accepts parameters like 
s:conversationPropogation.

If you want this effect I would suggest annotating createOffer with @Begin.

Cheers.

Mike.

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

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


[jboss-user] [Installation, Configuration & Deployment] - apache configuration

2007-05-27 Thread herrera
I need to configure my apache to redirect to my jboss server. I have a lot of 
webapplications in my jboss server. I need to a site, ie, www.mysite.com  
direct to jboss or must direct to webapp in jboss ? my webapplication uses 
struts.

Best Regards

Herrera

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: apache configuration

2007-05-27 Thread jwcone
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch9.chapt.html#d0e22413
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingMod_jk1.2WithJBoss


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

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


[jboss-user] [EJB 3.0] - can any one help me - having a bad day with ejb3 server and

2007-05-27 Thread wiggy
folks i need some help - i must be going stupid but dont know where - advice 
greatfully received.

I have created an EJB project for a simple hello world type stateless session 
bean that i publish to an 4.2 jboss container .

I use eclipse as the editor - and have two projects setup, the first for the 
ejb project, the second project is a standalone application that uses the 
embedded jboss server (from the seam distro 1.2.1.ga).

tried several scenarios and cant get the client to call the ejb successfuly.

in my EJB project i declare a bean like this 


  | package app;
  | 
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | 
  | import app.client.HelloUser;
  | 
  | // (see later comments on client lookup) @Remote (HelloUser.class)
  | @Stateless
  | public class HelloUserBean implements HelloUser
  | {
  | HelloUserBean() 
  | {};
  | 
  | public String sayHello (String text)
  | {
  | String msg = "hello " + text + " /n";
  | System.out.println(msg);
  | 
  | return msg;
  | }
  | }
  | 

I then have an 'app.client' dir for the bean interfaces.  I have a default 
interface 

  | package app.client;
  | 
  | import javax.ejb.*;
  | 
  | 
  | public interface HelloUser
  | {
  | public String sayHello (String text);
  | }
  | 

and then extend various interfaces local, remote, WS etc from this e.g. 


  | package app.client;
  | 
  | import javax.ejb.*;
  | 
  | import app.client.HelloUser;
  | 
  | @Remote
  | public interface HelloUserRemote extends HelloUser
  | {
  | 
  | }
  | 

so far so good.  I create a jar file for all the interfaces that i make 
available to the second project (am i doing the right thing here.  Without it i 
cant make a reference to the class i want when i do a jndi lookup or try DI)

Then i start the 4.2 server and deploy the ejb project.  This goes fine.

I then have a second straight java project - this includes a /conf dir which is 
an exact copy of the /conf from the seam embedded dir which i include in my 
classpath, along with all the /lib jars from the seam /lib dir.

I then write my main client app code 


  | /**
  |  * 
  |  */
  | import java.util.Hashtable;
  | 
  | import javax.ejb.EJB;
  | import javax.naming.InitialContext;
  | 
  | 
  | import org.apache.log4j.Level;
  | import org.apache.log4j.Logger;
  | import org.jboss.ejb3.embedded.EJB3StandaloneBootstrap;
  | 
  | import app.client.HelloUser;
  | import app.client.HelloUserRemote;
  | 
  | /**
  |  * @author Will
  |  *
  |  */
  | public class ClientApp 
  | {
  | @EJB
  | public HelloUser tstHandler;
  | 
  | public ClientApp () {}
  | 
  | public static void main(String[] args) throws Exception 
  | {
  | 
  | Logger log = Logger.getLogger(ClientApp.class);
  | log.setLevel(Level.DEBUG);
  | //log.debug("Welcome to Wills App");
  | 
  | // Boot the JBoss Microcontainer with EJB3 settings, 
automatically
  | // loads ejb3-interceptors-aop.xml and embedded-jboss-beans.xml
  | EJB3StandaloneBootstrap.boot(null);
  | 
  | // Deploy custom stateless beans (datasource, mostly)
  | 
//EJB3StandaloneBootstrap.deployXmlResource("META-INF/NeilsApp-beans.xml");
  | 
  | // Deploy all EJBs found on classpath (fast, scans build 
directory)
  | // This is a relative location, matching the substring end of 
one
  | // of java.class.path locations. Print out the value of
  | // System.getProperty("java.class.path") to see all paths.
  | EJB3StandaloneBootstrap.scanClasspath();
  | 
  | InitialContext ctx = getInitialContext();
  | 
  | 
  | // Look up the stateless TestHandler EJB
  | //HelloUserRemote tstHandlerLoc = (HelloUserRemote) 
ctx.lookup("HelloUserBean/remote");
  | // Call the stateless EJB
  | //String message = tstHandlerLoc.sayHello("hello Will");
  | 
  | //try dependency injection!
  | String message = new ClientApp().tstHandler.sayHello("hello 
William");
  | 
  | 
  | 
  | 
  | //Shut down EJB container
  | EJB3StandaloneBootstrap.shutdown();
  | 
  | }
  | 
  | public static InitialContext getInitialContext() throws Exception
  | {
  |Hashtable props = getInitialContextProperties();
  |return new InitialContext(props);
  | }
  | 
  | private static Hashtable getInitialContextProperties()
  | {
  |Hashtable props = new Hashtable();
  |props.put("java.naming.factory.initial", 
"org.jnp.interfaces.LocalOnlyContextFactory");
  |props.put("java.naming.factory.url.pkgs", 
"org.jboss.naming:org.jnp.interfaces");
  |return props;
  | }
  | }
  | 

as i am not using a Data Source at present so I comment out the
anonym

[jboss-user] [Installation, Configuration & Deployment] - Re: SSL Configuration

2007-05-27 Thread jwcone
Check the documentation.

http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationInJBoss
http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch9.chapt.html#ch9.https.sect












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

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


[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server

2007-05-27 Thread fhh
You have to use @Remote(RemoteInferface.class) on the bean or @Remote on the 
remote inteface.

Regards

Felix

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

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


[jboss-user] [Installation, Configuration & Deployment] - A serious error has occured while assembling the SOAP Fault

2007-05-27 Thread wizard_nitrkl
I'm new to JBOSS but I can configure juddi on previos versions of JBOSS with 
MySQL and its working fine,
but when I try on JBOSS 4.2.0GA I get an error code 500 while publishing or 
making some inquiry while jUDDI is happy.
Error log is like
"ERROR org.apache.juddi.registry.AbstractService - Unable to create message 
factory for SOAP: org.jboss.ws.core.soap.MessageFactoryImpl
ERROR org.apache.juddi.registry.AbstractService - A serious error has occured 
while assembling the SOAP Fault."
Could anyone please tell me where am I doing wrong. 

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

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


[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server

2007-05-27 Thread wiggy
felix - thanks but i think have - 

if i put the @Remote (RemoteInterface.class) on the bean then i can find it by 
JNDI lookup.

if i comment that out and rely on the @Remote on the interface class itself 
then i dont see to see it.

either way i cant seem to get Dep Inj to work - not even locally in the 
embeddable container.

I have  created a local bean in the emmbedded appliction client like this 


  | import javax.ejb.EJB;
  | import javax.ejb.Local;
  | import javax.ejb.Stateless;
  | 
  | import app.client.HelloUser;
  | import app.client.HelloUserRemote;
  | 
  | @Stateless
  | public class TestBean implements Test
  | {
  | 
  | @EJB (name="HelloUser")
  | public HelloUser tstHandler;
  | 
  | public void message (String msg)
  | {
  | 
  | String retmsg = tstHandler.sayHello(msg);
  | }
  | 
  | }
  | 

with an interface like this 


  | import javax.ejb.Local;
  | 
  | 
  | @Local
  | public interface Test 
  | {
  | public void message (String msg);
  | }
  | 

and then include the following in my main class 


  | public class ClientApp 
  | {
  | @EJB (name="HelloUserRemote")
  | public HelloUserRemote tstHandler;
  | 
  | @EJB 
  | public Test test;
  | 
  | public ClientApp () {}
  | 
  | public static void main(String[] args) throws Exception 
  | {
  | 
  | [all startup stuff]...
  | 
  | //try dependency injection!
  | new ClientApp().init ();
  | 
  | 
  | 
  | 
  | //Shut down EJB container
  | EJB3StandaloneBootstrap.shutdown();
  | 
  | }
  | 
  | public void init()
  | {
  | //trigger the DI for test
  | test.message("try again");
  | }
  | 

TestBean is local and exposes the message method - this then calls my remote 
bean.

in this example when i run it i get an null pointer ref like this

anonymous wrote : 
  | Exception in thread "main" java.lang.NullPointerException
  | at ClientApp.init(ClientApp.java:74)
  | at ClientApp.main(ClientApp.java:61)
  | 

this implies that the container isnt creating the required TestBean and 
injecting it.  never mind my external bean DI - i cant even get the local bean 
to work 

i'm still being stupid somewhere i think

Wiggy 

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

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


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

2007-05-27 Thread jwcone
The Wiki is your friend.
http://wiki.jboss.org/wiki/Wiki.jsp?page=ScopedLoggingConfig


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

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


[jboss-user] [JBoss AOP] - Re: What do i do wrong?

2007-05-27 Thread [EMAIL PROTECTED]
The META-INF/jboss-aop.xml needs to go in a jar with the .aop extension. As 
mentioned in the other thread, see the "injboss" tutorial example. In the jboss 
aop download it can be found under docs/aspect-framework/examples/injboss

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

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


[jboss-user] [EJB 3.0] - Re: can any one help me - having a bad day with ejb3 server

2007-05-27 Thread fhh
You have to add jndi.proeprties to set the proper InitialContext() to get 
dependency injection working.

Regards

Felix

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JdbcDatabaseAccess initialization failed

2007-05-27 Thread jwcone
anonymous wrote : Did I missed something during my installation?
Based on the information provided, I'd lay money that the problem can be found 
in your deployment, your configuration, or your code.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Stupid Class loading problem

2007-05-27 Thread jwcone
I'd put everything in an EAR.

Deploy your common classes as jar files inside the EAR, and reference them in 
the application.xml file ().  Deploy your SARs in the EAR, and reference them 
in the jboss-app.xml file ().



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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: JBoss Email service

2007-05-27 Thread jwcone
Read the Wiki for help configuring JavaMail.
http://wiki.jboss.org/wiki/Wiki.jsp?page=JavaMail

As far as how to use JavaMail, you'll need to use JNDI to lookup and get a mail 
Session and then go from there.  Google is your friend.




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

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


[jboss-user] [JBoss Seam] - Re: problem with page parameter and back

2007-05-27 Thread henrik.lindberg
If anyone is interested...

I had to provide a fix, so I added a urlrewrite call to pick up the parameter I 
needed, lookup the component that needed the parameter before forwarding the 
request to the seam page. My "filter" sets the property directly on the 
component . I then removed the page parameter from the  declaration.

Bingo. 

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

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


[jboss-user] [Installation, Configuration & Deployment] - alt-dd in jboss-app.xml

2007-05-27 Thread ptriller
Hello !

I want to make a build system for an EAR of an EE5 app and if possible
I want to keep the contained Modules free of any vendor specific
configuration. So for example I dont want to package the jboss-web.xml
im my contained WAR or the jboss.xml in my ejb JAR.

The EE5 application.xml specifies a  tag with which I can use
external Deployment descriptors for the archive. Can I do something
similar with the jboss-app.xml ?
It doesnt look like it from the look of the jboss-app.dtd, but I was
wondering if the upcoming version 5 will support this


Thanks


Peter

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configure queues/topics at application level, Possible?

2007-05-27 Thread jazir1979

This is causing me grief, because we want two different versions of the same 
app deployed into the same JBoss instance.

I have it all working, with two different web context-roots and two 
loader-repository names which isolates the EJBs just fine.

But if I need different queue names for different instances of my EAR, it will 
be a real pain, as the queue name is referenced by clients and in the EAR 
config.

Is there really no way to make queues application-level?

"jaikiran" wrote : Thank you genman, for sharing your thoughts.
  | 
  | anonymous wrote : Why can't you create two queues called MyQueue1 and 
MyQueue2 ? 
  | 
  | I can very well do that and that is going to work without any issues.
  | 
  | But, we do have a requirement where we need to deploy 2 applications which 
listen on a queue with the same name. The issue here is that i have to set 
different configurations on the queue depending on the application(one 
configuration setting is the SecurityConf on the queue). It's something like, 
for app1 the queue with name ABC with require a different configuration and for 
app2 the same queue will require a different configuration.
  | 
  | So far it appears that this is not possible. So am thinking of using 2 
different queues in these 2 applications(this would require some changes in the 
code of the applications, though).  Isnt this kind of requirement of having 
queues isolated at application level, encountered ever before?
  | 
  | Any suggestions are welcome.
  | 
  | 
  |  

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configure queues/topics at application level, Possible?

2007-05-27 Thread jazir1979

Well, after thinking about it, I guess this makes perfect sense.  If you had a 
remote client, or a client outside of your app, there'd be no way to know which 
queue/application it intended to send the message to.

So, ignore this ;)

"jazir1979" wrote : 
  | This is causing me grief, because we want two different versions of the 
same app deployed into the same JBoss instance.
  | 
  | I have it all working, with two different web context-roots and two 
loader-repository names which isolates the EJBs just fine.
  | 
  | But if I need different queue names for different instances of my EAR, it 
will be a real pain, as the queue name is referenced by clients and in the EAR 
config.
  | 
  | Is there really no way to make queues application-level?
  | 
  | "jaikiran" wrote : Thank you genman, for sharing your thoughts.
  |   | 
  |   | anonymous wrote : Why can't you create two queues called MyQueue1 and 
MyQueue2 ? 
  |   | 
  |   | I can very well do that and that is going to work without any issues.
  |   | 
  |   | But, we do have a requirement where we need to deploy 2 applications 
which listen on a queue with the same name. The issue here is that i have to 
set different configurations on the queue depending on the application(one 
configuration setting is the SecurityConf on the queue). It's something like, 
for app1 the queue with name ABC with require a different configuration and for 
app2 the same queue will require a different configuration.
  |   | 
  |   | So far it appears that this is not possible. So am thinking of using 2 
different queues in these 2 applications(this would require some changes in the 
code of the applications, though).  Isnt this kind of requirement of having 
queues isolated at application level, encountered ever before?
  |   | 
  |   | Any suggestions are welcome.
  |   | 
  |   | 
  |   |  

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

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


[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
"matt.drees" wrote : What's layout/edit.xhtml look like?

Ok. Looks like you're onto something. Below is the code from edit.xhtml where 
you'll see validateAll is being called. I don't understand why validateAll is 
problematic. Maybe you can point me somewhere so I can educate myself. Thanks!


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

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

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


[jboss-user] [JBoss Seam] - Re: Bind Map to h:inputText value

2007-05-27 Thread umk
I've done some reading here:
http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/validation.html

There's no mention of using Maps. I suppose that's why you suggested that using 
s:validate may not work. How would one validate the inputField?

Appreciate your help...

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

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


[jboss-user] [JBoss Seam] - Login redirection not remember page parameters?

2007-05-27 Thread hstang
I am experiencing some problems with login redirection not remembering page 
parameters.  

I have a main page (main.xhtml) that goes to another page (call it go.xhtml) 
which requires login.  After successful authentication, go.xhtml does not 
remember the page parameter that was passed in originally from main.xhtml, and 
as a result nothing is displayed.  However, if I login prior to entering 
go.xhtml, the page parameter is remembered and the output is displayed.

Here are the relevant bits:

## main.xhtml

  | 
  |   
  | 
  | 

## go.page.xml

  | 
  |   
  | 
  | 

## go.xhtml

  | 
  | #{bean.value}
  | 
  | #{facesContext.externalContext.requestParameterMap['hello']}
  | 
  | 

## components.xml

  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | 


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

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


[jboss-user] [JBoss Seam] - Re: Login redirection not remember page parameters?

2007-05-27 Thread hstang
I am using most up-to-date Seam-CVS.

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

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


[jboss-user] [JBoss Seam] - Re: MyFaces, Ajax4jsf and Tomahawk (probably beginners mista

2007-05-27 Thread mygol
i want to use tomahawk schedule,but no successful. could u send your web.xml to 
me.thanks

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: How to use Messaging from a remote client? (JBoss 4.2.0)

2007-05-27 Thread JasonHsu
Does anybody have this kind of issue?

or please advise me if I should consider to modify my architecture and install 
JBoss on each client app and build remote queue to each client then make the 
client app communicate with their local queue?

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

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


[jboss-user] [JBoss Seam] - Validation in Restful mode

2007-05-27 Thread blackers
I have an action that is called from a form on another site and am using the 
restful mode.  I have an action called from pages.xml.  The issue I have is 
that using this method my validation does not get called, is there a way that 
the hibernate validation (annotations in my entity bean) can be called so that 
the action will only be called if validation succeeds.  If I have the parameter 

if="#{validation.succeeded}" 

set in the action element my restful post will not work, if I remove the 
parameter then the action is called, but my validations are not being called.  
Is there a way that I can get it to work in a restful application?  It works 
fine if the form is submitted from the subscribe.seam action.



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

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

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


[jboss-user] [JBoss Seam] - Re: s:conversationPropagation with t:navigationMenuItem

2007-05-27 Thread kooudy
Has anyone solved this problem? I need stop conversation with jscookmenu item, 
like propagation="end".

Thanks

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

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