[jboss-user] [JBoss Seam] - problem about @Observer and Events

2007-02-25 Thread mnrz
Hello

I have a bunch of session beans with conversation scope. the conversation 
starts by clicking search button. when the result is shown on the second page 
the user can go to its setting page and after make his  changes and apply them 
he/she turns back to the result page.

in order to apply new changes, I have a method namely extractColumn() on result 
action marked with @Observer(columnChanged) and in setting action when the 
action method calls to apply changes I put 
Events.instance.raiseEvent(columnChanged) 

but the result is Exception:

I added the 
Events.instance.addListener(columnChanged,#{searchResult.extractColumn}); 
but problem still exists.


  | ERROR Servlet.service() for servlet Faces Servlet threw exception
  | javax.faces.FacesException: Error calling action method of component with 
id settingForm:_id11
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:94)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:168)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamCharacterEncodingFilter.doFilter(SeamCharacterEncodingFilter.java:41)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:856)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:744)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
  | at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.faces.el.EvaluationException: /pages/main/setting.xhtml 
@31,89 action=#{userSetting.display}: javax.ejb.EJBException: 
javax.faces.el.EvaluationException: Exc
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | ... 32 more
  | Caused by: javax.ejb.EJBException: javax.faces.el.EvaluationException: 
Exception while invoking expression #{searchResult.extractColumns}
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197)
  | at 

[jboss-user] [JBoss Seam] - Combining list and all CRUD functionality on a single page?

2007-02-25 Thread lawrieg
Hi,

I'm just wondering whether it makes sense to combine listing and all create, 
read, update and delete functionality all on the same page?

The reason I ask is that all the examples I've seen tend to split this 
functionality out onto separate pages, and coming from a Swing background this 
seems strange to me. I think I can see why web apps used to be done this way 
(because people thought in terms of pages and page-flows and due to not being 
easily able to store a page's state), but I can't see why you'd go for this 
approach now when using Seam to develop a desktop app replacement (especially 
if using Ajax).

Can anyone tell me why the single page approach isn't used? Have I missed 
something?

Thanks,

Lawrie

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

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


[jboss-user] [JBoss Seam] - Re: Combining list and all CRUD functionality on a single pa

2007-02-25 Thread lawrieg
Also, is using disabled input components (e.g. h:inputText) instead of output 
components (e.g. h:outputText) considered bad practice?

The reason I ask is that it would certainly simplify my forms if I can just set 
the disabled attribute on components rather than having to duplicate every 
input component with a matching output one.

Any thoughts?

Thanks,

Lawrie

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

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


[jboss-user] [JNDI/Naming/Network] - When deploying stateful session bean, it shows via JNDI view

2007-02-25 Thread yair.zaslavsky
The definition of the bean is:

@Stateful
@Remote(QueryManager.class)
@RemoteBinding(jndiBinding=ams/QueryComposerManagerBean/Remote)
@Local(QueryManager.class)
@LocalBinding(jndiBinding=ams/QueryComposerManagerBean/Local)
public class AMSQueryManagerBean implements QueryManager {
}

JNDI view shows:

QueryComposerManagerBean (class: org.jnp.interfaces.NamingContext)
  |   |   +- RemoteStatefulProxyFactory (proxy: $Proxy170 implements interface 
org.jboss.ejb3.ProxyFactory)
  |   |   +- Remote (class: java.lang.Object)
  |   |   +- LocalStatefulProxyFactory (class: 
org.jboss.ejb3.stateful.StatefulLocalProxyFactory)
  |   |   +- Local (class: java.lang.Object)


I manage to lookup it from tomcat, and J2SE clients
I cannot lookup it from a WAR that is a part of the deployed ear (throws class 
cast exception, this is why i checked the JNDI view).
For stateless session beans, i see Remote and Local are ok in JNDI view.

How can I solve this? (There is no multiple defition in the EAR of the stateful 
session bean)




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

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


[jboss-user] [JBoss jBPM] - Re: deployment problem

2007-02-25 Thread abdenourh
I already tried to parse hibernate.cfg.xml and I have en error whhich says


Exception in thread main org.jbpm.util.XmlException: couldn't parse xml
at org.jbpm.util.XmlUtil.parseXmlInputStream(XmlUtil.java:68)
at 
org.jbpm.configuration.ObjectFactoryParser.parseElementsStream(ObjectFactoryParser.java:109)
at 
org.jbpm.JbpmConfiguration.parseObjectFactory(JbpmConfiguration.java:303)
at org.jbpm.JbpmConfiguration.parseResource(JbpmConfiguration.java:334)
at com.sample.action.Dep.main(Dep.java:37)
Caused by: java.net.ConnectException: Connection refused: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(PlainSocketImpl.java:333)
at java.net.PlainSocketImpl.connectToAddress(PlainSocketImpl.java:195)
at java.net.PlainSocketImpl.connect(PlainSocketImpl.java:182)
at java.net.Socket.connect(Socket.java:516)
at java.net.Socket.connect(Socket.java:466)
at sun.net.NetworkClient.doConnect(NetworkClient.java:157)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:365)
at sun.net.www.http.HttpClient.openServer(HttpClient.java:477)
at sun.net.www.http.HttpClient.(HttpClient.java:214)
at sun.net.www.http.HttpClient.New(HttpClient.java:287)
at sun.net.www.http.HttpClient.New(HttpClient.java:299)
at 
sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(HttpURLConnection.java:796)
at 
sun.net.www.protocol.http.HttpURLConnection.plainConnect(HttpURLConnection.java:748)
at 
sun.net.www.protocol.http.HttpURLConnection.connect(HttpURLConnection.java:673)
at 
sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:917)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
Source)
at org.apache.xerces.impl.XMLEntityManager.startEntity(Unknown Source)
at org.apache.xerces.impl.XMLEntityManager.startDTDEntity(Unknown 
Source)
at org.apache.xerces.impl.XMLDTDScannerImpl.setInputSource(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentScannerImpl$DTDDispatcher.dispatch(Unknown 
Source)
at 
org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown 
Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.DOMParser.parse(Unknown Source)
at org.apache.xerces.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at javax.xml.parsers.DocumentBuilder.parse(DocumentBuilder.java:98)
at org.jbpm.util.XmlUtil.parseXmlInputStream(XmlUtil.java:66)
... 4 more



please can some one help me

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

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


[jboss-user] [JBossCache] - Bug? maximum number of expressions in a list is 1000

2007-02-25 Thread gmeroz
I'm usning JBossCache-all-2.0.0.ALPHA2 with Oracle. When i try to remove the 
root of my cache, i get the following error.

It looks like a bug...


  | 09:41:43,802 ERROR [JDBCCacheLoader] Failed to remove node /aag
  | 
  | java.sql.SQLException: ORA-01795: maximum number of expressions in a list 
is 1000
  | 
  |  
  | 
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:125)
  | 
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:305)
  | 
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:272)
  | 
  | at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:626)
  | 
  | at 
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:182)
  | 
  | at 
oracle.jdbc.driver.T4CPreparedStatement.execute_for_rows(T4CPreparedStatement.java:630)
  | 
  | at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1081)
  | 
  | at 
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:2905)
  | 
  | at 
oracle.jdbc.driver.OraclePreparedStatement.executeUpdate(OraclePreparedStatement.java:2977)
  | 
  | at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:227)
  | 
  | at 
org.jboss.cache.loader.JDBCCacheLoader.remove(JDBCCacheLoader.java:376)
  | 
  | at 
org.jboss.cache.loader.AbstractCacheLoader.put(AbstractCacheLoader.java:211)
  | 
  | at 
org.jboss.cache.loader.JDBCCacheLoader.prepare(JDBCCacheLoader.java:431)
  | 
  | at 
org.jboss.cache.interceptors.CacheStoreInterceptor.prepareCacheLoader(CacheStoreInterceptor.java:378)
  | 
  | at 
org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreInterceptor.java:142)
  | 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
  | 
  | at 
org.jboss.cache.interceptors.NotificationInterceptor.invoke(NotificationInterceptor.java:22)
  | 
  | at 
org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:75)
  | 
  | at 
org.jboss.cache.interceptors.TxInterceptor.runPreparePhase(TxInterceptor.java:802)
  | 
  | at 
org.jboss.cache.interceptors.TxInterceptor$LocalSynchronizationHandler.beforeCompletion(TxInterceptor.java:1058)
  | 
  | at 
org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:74)
  | 
  | at 
org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java:1473)
  | 
  | at 
org.jboss.tm.TransactionImpl.beforePrepare(TransactionImpl.java:1092)
  | 
  | at org.jboss.tm.TransactionImpl.commit(TransactionImpl.java:306)
  | 
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.endTransaction(TxInterceptorCMT.java:486)
  | 
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:346)
  | 
  | at 
org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:166)
  | 
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:153)
  | 
  | at 
org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:192)
  | 
  | at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122)
  | 
  | at 
org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:624)
  | 
  | at org.jboss.ejb.Container.invoke(Container.java:873)
  | 
  | at sun.reflect.GeneratedMethodAccessor124.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:141)
  | 
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | 
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | 
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245)
  | 
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | 
  | at 
org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:155)
  | 
  | at 
org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:104)
  | 
  | at 
org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:179)
  | 
  | at 
org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:165)
  | 
  | at 
org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46)
  | 
  | at 
org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:55)
  | 
  | at 
org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97)
  | 
  | at 

[jboss-user] [JBoss jBPM] - Re: deployment problem

2007-02-25 Thread abdenourh
Sorry I mean when I try to parse  jbpm.cfg.xml I have the same error


:11:15,684 [main] ERROR JpdlXmlReader : couldn't parse process definition
org.dom4j.DocumentException: null Nested exception: null
at org.dom4j.io.SAXReader.read(SAXReader.java:484)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
at com.sample.action.Dep.main(Dep.java:38)
Nested exception: 
java.net.MalformedURLException
at java.net.URL.(URL.java:601)
at java.net.URL.(URL.java:464)
at java.net.URL.(URL.java:413)
at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown 
Source)
at 
org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source)
at org.apache.xerces.parsers.XMLParser.parse(Unknown Source)
at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source)
at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown 
Source)
at org.dom4j.io.SAXReader.read(SAXReader.java:465)
at org.jbpm.jpdl.xml.JpdlParser.parse(JpdlParser.java:57)
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:138)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
at com.sample.action.Dep.main(Dep.java:38)
Exception in thread main org.jbpm.jpdl.JpdlException: [[ERROR] couldn't parse 
process definition]
at 
org.jbpm.jpdl.xml.JpdlXmlReader.readProcessDefinition(JpdlXmlReader.java:163)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlInputStream(ProcessDefinition.java:172)
at 
org.jbpm.graph.def.ProcessDefinition.parseXmlResource(ProcessDefinition.java:153)
at com.sample.action.Dep.main(Dep.java:38)


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM with Eclipse 3.2, Newbie getting started

2007-02-25 Thread [EMAIL PROTECTED]
Geoff,

In the 'jbpm-designer' subfolder you'll find a readme.htm which tells you what 
to do.

Regards,
Koen

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

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


[jboss-user] [JBoss Seam] - Re: Combining list and all CRUD functionality on a single pa

2007-02-25 Thread petemuir
anonymous wrote : I'm just wondering whether it makes sense to combine listing 
and all create, read, update and delete functionality all on the same page?
  | 

JSF allows you to do this easily (an editable table, which is a nightmare in 
PHP type stuff).  I suppose you just choose what is best for your app...

I often use readOnly (this is a specific Trinidad thing) when outputting a 
form.  I think you could use disabled in the same way - but as its just an html 
attribute, those fields could still be submitted by a malicious person...

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

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


[jboss-user] [JBoss Seam] - Does #{identity.login} start a long running conversation?

2007-02-25 Thread schmatz
Hello guys,

I'm a bit confused. Does #{identity.login} start a long running conversation? 
I'm just asking because after successfully logging in, my User entity bean 
which I have outjected in the Authenticator.authenticate() method and injected 
in my conversational-scoped Stateful EJB still lives after every other click.

I have no @Begin/@End annotations declared myself.

Here's the beginning of my EJB:

@Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Name(userAction)
  | public class UserActionImpl implements UserAction
  | {
  | @Logger private Log log;
  | 
  | @In
  | FacesMessages facesMessages;
  | 
  | @In(value=entityManager)
  | private EntityManager em;
  |
  | @In(required=false) @Out(required=false)
  | private User user;
  | 
  | [...]

And here's my Authenticator class:

@Name(authenticator)
  | public class Authenticator
  | {
  | @Logger Log log;
  | 
  | @In
  | private Identity identity;
  | 
  | @In(value=entityManager)
  | private EntityManager entityManager;
  | 
  | @Out(required=false)
  | private User user;
  | 
  | public boolean authenticate()
  | {
  | log.info(authenticating #0, identity.getUsername());
  | 
  | //write your authentication logic here,
  | //return true if the authentication was
  | //successful, false otherwise
  | 
  | try
  | {
  | user = (User) entityManager.createQuery(
  | from User where username = :username and password = 
:password)
  | .setParameter(username, identity.getUsername())
  | .setParameter(password, identity.getPassword())
  | .getSingleResult();
  | 
  | if( user.getRoles() != null )
  | {
  |for( Role role : user.getRoles() )
  |identity.addRole(role.getName());
  | }
  | 
  | //FacesMessages.instance().add(Successfully authenticated #0, 
identity.getUsername());
  | log.info(Successfully authenticated #0, 
identity.getUsername());
  | return true;
  | }
  | catch( NoResultException e )
  | {
  | //FacesMessages.instance().add(Invalid username/password);
  | log.info(authentication of #0 failed., 
identity.getUsername());
  | return false;
  | }
  | catch( Exception e )
  | {
  | FacesMessages.instance().add(Unexpected error occurred.);
  | log.error(Unexpected error occurred, e);
  | return false;
  | }
  | }
  | }

Like you can see: it's just out- and injecting the User which I expect to live 
for only one cycle (when no long running conversation exists). But I can click 
on my 'show-user-details' form as many times as I want and - magic - every 
other time the user's properties are displayed. Don't misunderstand me, this is 
exactly the behaviour I want but I thought I would have to start a long running 
conversation manually.

Can someone explain that 'magic' to me?

Thanks i.a.,
Mark



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

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


[jboss-user] [JBoss jBPM] - Re: JBPM GPD Plugin Issues

2007-02-25 Thread [EMAIL PROTECTED]
cvs -d :pserver:[EMAIL PROTECTED]:/cvsroot/jbpm co -r 
jbpm_jpdl_gpd_3_1_0_alpha2 
  |   jbpm.3/designer/jpdl/org.jbpm.gd.jpdl.build
  | cd jbpm.3\designer\jpdl\org.jbpm.gd.jpdl.build
  | ant

If you run the above script it should build GPD 3.1.0 alpha2.

Regards,
Koen

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

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


[jboss-user] [JBoss Seam] - Re: Combining list and all CRUD functionality on a single pa

2007-02-25 Thread lawrieg
Thanks Pete - that's reassuring to hear.

I like being able to model and think of my pages in terms of state machines so 
combining related functionality on a single page (like you would on a desktop 
app) makes sense to me. It seems to make even more sense with web2 / ajax.

Cheers,

Lawrie

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

Reply to the post : 
http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4021945
___
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 connection - deployment problem

2007-02-25 Thread pista666
it's there sii find output 
/opt/jboss/server/default/lib/pgsql-jdbc.jar 

might not be problem of jar

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

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


[jboss-user] [EJB/JBoss] - Re: Executing a Bunch of code before EJB's Deployed

2007-02-25 Thread [EMAIL PROTECTED]
Check the JBoss AS documentation on the kernel and service architecture, 
deploying MBeans and how to order deployments.


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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-25 Thread bsmithjj
These methods are not called by JSF - rather, they are the points at which I 
invoke my MailSenderBean.sendEmailMessage() method.  In both (all) cases, I put 
some objects in event scope (for rendering) and invoke sendEmailMessage().  
Here's the code for one invokation:


  | // contextual email data
  | Contexts.getEventContext().set(
  | accessRequest,
  | accessRequest
  | );
  | Contexts.getEventContext().set(
  | accessRequestUser,
  | QueryEPeopleUtil.findUserByUid(accessRequest.getUserId())
  | );
  | mailSender.sendEmailMessage(
  | 
EmailTemplateType.UserManagerRejectedRequest.getTemplateFilePath()
  | );
  | 

Here is the relevant portions of MailSenderBean:


  | @Stateless
  | @Name(mailSenderBean)
  | public class MailSenderBean implements MailSender {
  | 
  | private Log log = LogFactory.getLog(MailSenderBean.class);
  | 
  | @In(required=false)
  | private EmailMessage emailMessage;
  | 
  | @In(create = true)
  | private Session mailSession;
  | 
  | @PersistenceContext(unitName = accessControlDatabase)
  | private EntityManager em;
  | 
  | @In(create = true)
  | private Renderer renderer;
  | 
  | 
  | 
  | public String sendEmailMessage(String templateFile) {
  | try {
  | log.info(sending email:  +templateFile);
  | renderer.render(templateFile);
  | log.info(...mailt sent(?));
  | return success;
  | 
  | } catch (Exception e) {
  | log.error(e,e);
  | }
  | return null;
  | }
  | 
  | }
  | 

The only other thing I could do is dump the classloaders from a factory method 
that supplieds a 'mailConfiguration' object during rendering of the email - I 
tried this, but since the factory method is an SLSB method, both calls show the 
same classloader - the EAR classloader.

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

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


[jboss-user] [JBoss Seam] - Any way to apply same attribute/value to several tags?

2007-02-25 Thread lawrieg
Hi,

I have a page with a large number of inputText fields and was wondering if 
there is an easy way to set them all be enabled/disabled (i.e. I'd like to 
avoid having to to add disabled=true to every inputText tag).

Is this possible?

If I was doing this in a desktop app I could disable a number of controls by 
disabling the controls' containing component - is there some such container 
tag that I can use in Seam or standard HTML?

Thanks,

Lawrie

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

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


[jboss-user] [JBoss Seam] - Contactlist Example: No redirect after EntityNotFoundExcepti

2007-02-25 Thread mgombocz
Hi,
I had a view at the Contactlist example of 1.1.7.RC1.
If you enter 
http://localhost:8080/seam-contactlist/viewContact.seam?contactId=90 in your 
browser according to pages.xml there should happen a http Error 404 redirect 
because no contact with Id=90 exists.
But a seam error page with /viewContact.xhtml: Cannot get value for expression 
'#{contactHome.instance}' comes up.

I have a similar problem where I raise an exception and no correct redirect 
occurs.

Any ideas how to solve this?

Thanks, Manuel



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

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


[jboss-user] [EJB 3.0] - Cannot find a suitable constructor

2007-02-25 Thread chrismalan
I have a custom util class called LessonView.  It looks like this:

public class LessonView{
  | private String subject;
  | private int year, count;
  | 
  | public LessonView(){}
  | 
  | public LessonView(String subject, int year, int count){
  |   sets the variables via setters
  | }
  | 
  | public getters and setters
  | }

Then I have a query:
select new LessonView(l.subject, l.year, count(*)) from Lesson l group by 
l.lesson, l.year order by l.lesson, l.year;

This throws exceptions telling me there is no suitable constructor.  When the 
count(*) is removed everything works fine.  I have used custom classes before 
with sum(whatever.k) and it worked fine.  I have also tried count(l.id), same 
results.

Any idea how to fix this?  The database is MySQL.  

Thanks,

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

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


[jboss-user] [Remoting] - server bind address - documentation

2007-02-25 Thread [EMAIL PROTECTED]
On the documentation page describing how the server invoker binds to its server 
address - section 5.4.3 at 
http://labs.jboss.com/portal/jbossremoting/docs/guide/ch05.html it says:

anonymous wrote : If the serverBindAddress property is set, it will be used for 
binding. If the serverBindAddress is not set, but the clientConnectAddress 
property is set, the server invoker will bind to local host address. If neither 
the serverBindAddress nor the clientConnectAddress properties are set, then 
will try to bind to the host specified within the InvokerLocator. If the host 
value of the InvokerLocator is also not set, will bind to local host.

When serverBindAddress is not set but clientConnectAddress is, the server 
invoker will bind to the local host address.

Is that true?  Do I read that right  - if only clientConnectAddress is given, 
it will actually bind to the locahost? (what does this mean when it says the 
local host address)?  That doesn't seem right.  If I don't provide a 
serverBindAddress, then it should automatically assume the host within the 
InvokerLocater URL should be the one I bind to.

I assume this is a mistake in the documentation - I actually haven't tested 
what really happens, but just reading it seems like its either a wrong way to 
implement this or its just an error in the docs.

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

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


[jboss-user] [EJB 3.0] - Re: Datasource config files?... how to? docs?

2007-02-25 Thread [EMAIL PROTECTED]
Generally:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCA

Specifically:

http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources


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

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


[jboss-user] [JBoss Seam] - Re: How to deploy seam with oracle as ( or oc4j)?

2007-02-25 Thread cedric.lamalle
I bought Michael Yuan's Book from Rough Cuts and got useful informations.
Deploying seam with ejb is easy using oc4j ejb stack, but you'll have to 
define jndi mappings in orion-ejb-jar.xml, which is really annoying.
I had no success deploying a seam app using jboss ejb stack it's always 
stopping  when creating the entity manager factory :
11:16:39,625 INFO  [TableMetadata] table found: helloworld.person
11:16:39,625 INFO  [TableMetadata] columns: [name, id]
11:16:39,640 INFO  [TableMetadata] foreign keys: []
11:16:39,640 INFO  [TableMetadata] indexes: [primary]
11:16:39,640 INFO  [SchemaUpdate] schema update complete
11:16:39,640 DEBUG [SessionFactoryImpl] obtaining JTA TransactionManager
11:16:39,656 INFO  [NamingHelper] JNDI InitialContext properties:{}
07/02/25 11:16:39 oracle.oc4j.admin.internal.DeployerException: 
[helloworld:helloworld] - Exception lors de la crÚation de EntityManagerFactory 
utilisant la classe PersistenceProvider org.hibernate.ejb.HibernatePersistence 
pour l'unité de persistance helloworld.
07/02/25 11:16:39   at 
com.evermind.server.ejb.exception.DeploymentException.exceptionCreatingEntityManagerFactory(DeploymentException.java:130)
07/02/25 11:16:39   at 
com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.createContainerEntityManagerFactory(PersistenceUnitManagerImpl.java:197)
07/02/25 11:16:39   at 
com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initializePersistenceUnit(PersistenceUnitManagerImpl.java:159)
07/02/25 11:16:39   at 
com.evermind.server.ejb.persistence.PersistenceUnitManagerImpl.initialize(PersistenceUnitManagerImpl.java:86)
07/02/25 11:16:39   at 
com.evermind.server.http.HttpApplication.(HttpApplication.java:733)
07/02/25 11:16:39   at 
com.evermind.server.ApplicationStateRunning.getHttpApplication(ApplicationStateRunning.java:414)
07/02/25 11:16:39   at 
com.evermind.server.Application.getHttpApplication(Application.java:545)
07/02/25 11:16:39   at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.createHttpApplicationFromReference(HttpSite.java:1990)
07/02/25 11:16:39   at 
com.evermind.server.http.HttpSite$HttpApplicationRunTimeReference.(HttpSite.java:1909)
07/02/25 11:16:39   at 
com.evermind.server.http.HttpSite.addHttpApplication(HttpSite.java:1606)
07/02/25 11:16:39   at 
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:238)
07/02/25 11:16:39   at 
oracle.oc4j.admin.internal.WebApplicationBinder.bindWebApp(WebApplicationBinder.java:99)
07/02/25 11:16:39   at 
oracle.oc4j.admin.internal.ApplicationDeployer.bindWebApp(ApplicationDeployer.java:547)
07/02/25 11:16:39   at 
oracle.oc4j.admin.internal.ApplicationDeployer.doDeploy(ApplicationDeployer.java:202)
07/02/25 11:16:39   at 
oracle.oc4j.admin.internal.DeployerBase.execute(DeployerBase.java:93)
07/02/25 11:16:39   at 
oracle.oc4j.admin.jmx.server.mbeans.deploy.OC4JDeployerRunnable.doRun(OC4JDeployerRunnable.java:52)
07/02/25 11:16:39   at 
oracle.oc4j.admin.jmx.server.mbeans.deploy.DeployerRunnable.run(DeployerRunnable.java:81)
07/02/25 11:16:39   at 
com.evermind.util.ReleasableResourcePooledExecutor$MyWorker.run(ReleasableResourcePooledExecutor.java:303)
07/02/25 11:16:39   at java.lang.Thread.run(Thread.java:595)

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

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

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


[jboss-user] [JBoss Seam] - Re: Combining list and all CRUD functionality on a single pa

2007-02-25 Thread [EMAIL PROTECTED]
It's completely a matter of taste :)

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

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


[jboss-user] [JBoss Seam] - Re: problem about @Observer and Events

2007-02-25 Thread [EMAIL PROTECTED]
It looks like UserSettings.display() ends up calling back to 
UserSettings.columnHeaders(), via a third object, 
SearchResult.extractColumns(). I think this happens during bijection.

This is an error because SFSBs can't have re-entrant calls.

BTW, this will be much easier to debug if you use the leatest version of Seam.

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

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


[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)

2007-02-25 Thread hamtho2
Is the a4j-trinidad.jar still necessary for ajax4jsf 1.0.6 or is it integrated 
into that package now?

I´m facing a similar issue but already use 1.0.6.

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

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

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


[jboss-user] [JBoss Seam] - Re: integration with Trinidad (ADF)

2007-02-25 Thread hamtho2
BTW: this error only occures if using an ajax-rerender. Otherwise it works 
quite fine:

Example:


  |  h:dataTable var=profile value=#{ProfileList} 
rendered=#{ProfileList.rowCount0}
  | 
  | h:column
  | 
  | a4j:commandButtonid=command_link_up 
  |   value=Delete 
  |   reRender=profile, 
deleteConfirmation 
  |   
action=#{OverviewAction.registerPublisherProfile} 
  | a4j:ajaxListener type=org.ajax4jsf.ajax.ForceRender 
/ 
  | /a4j:commandButton
  | 
  | 
  | a4j:outputPanel id=deleteConfirmation ajaxRendered=true
  | h:panelGroup id=deleteConfirmationPanel 
rendered=#{OverviewAction.deleteRequested} 
  | div class=colored
  | tr:outputText 
value=#{messages['deleteProfile.confirmationText']} /
  | ...
  | /h:panelGroup
  | /a4j:outputPanel
  | ...
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Contactlist Example: No redirect after EntityNotFoundExc

2007-02-25 Thread [EMAIL PROTECTED]
Thanks!


OK, so the main problem was that facelets debug mode was enabled, which was 
catching the exception before our exception filter got a chance to see it. So I 
needed to disable that in web.xml.

But then there was another minor bug that I needed to fix.

Anyway, its now working in CVS.

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

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


[jboss-user] [JBoss Seam] - Re: Does #{identity.login} start a long running conversation

2007-02-25 Thread flashguru
Hello there,

Can you show us your 'show-user-details' form?  And what do you mean by 
clicking on a form? Are you submitting a form or are you refreshing the page?

Also, are you using Firefox?

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

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


[jboss-user] [JBossWS] - Re: receiving a AxisFault in the client

2007-02-25 Thread flaviafm
Does anyone know a good tutorial to create a WS client with the JBossWS?

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

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


[jboss-user] [JBossCache] - Re: Bug? maximum number of expressions in a list is 1000

2007-02-25 Thread genman
That's a bug. I'll file this for you.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Cannot shutdown jboss-4.0.5.GA on Windows XP

2007-02-25 Thread genman
Network issue. The shutdown command connects via RMI.

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

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


[jboss-user] [JBoss Seam] - asynchronous workflow in seam without jBPM

2007-02-25 Thread chpressler
i built a pipeline within my seam application. that is, a user can upload a 
file to the server and as soon as the file is uploaded, the pipeline starts. 
even when the user logs out, the pipeline still runs until every task is 
comleted. the several tasks read file contents and save it into a database. my 
problem now is that i can't Inject my EntityManager or the Seam Logger into my 
Pipeline classes. EntityManager and Logger are always null. This Pipeline 
classes are ThreadPoolExecutors with @Name Annotation. In all other classes 
(e.g.my UploadBean which is sateless) i can inject the EntityManager and the 
em.persist(obj) works fine.I remember that i got an no application context 
active exception, has that anything to do with it? I now try to solve this 
problem by using jBPM, but is this the only way to implement async workflow?

the following is one of my PipeLine classes which will thorow a null pointer 
exception while trying to persist a task due EntityManager is null because its 
not injected



@Name(convertexecutor)
public class ConvertExecutor extends PipelineExecutor implements 
IPipelineExecutor {

@In
private EntityManager entityManager;

public ConvertExecutor(int corePoolSize, int maximumPoolSize,
long keepAliveTime, TimeUnit unit, BlockingQueue 
workQueue) {
super(corePoolSize, maximumPoolSize, keepAliveTime, unit, 
workQueue);
}

protected void beforeExecute(Thread t, Runnable r) {
super.beforeExecute(t, r);
}

protected void afterExecute(Runnable r, Throwable t) {
super.afterExecute(r, t);
SplitTask task = new SplitTask(((PipelineTask) 
r).getUserUpload(),
((PipelineTask) r).getPriority());
ExecutorManager.getSplitExecutor().execute(task);
entityManager.persist(task);
}

}

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Cluster Failover

2007-02-25 Thread macjboss
The last point I mention about my portal pages being wiped; this actually 
happens quite often now, even if I shutdown one of the servers in the cluster 
and the following exception occurs:


  | 2007-02-25 17:48:13,815 WARN  
[org.jboss.portal.server.deployment.jboss.ServerDeployer] Unknown setup url by 
main deployer provided by factory ObjectDeploymentFactory : 
file:/C:/jboss-portal-ha-2.4.1/server/all/deploy/jboss-portal-ha.sar/conf/data/default-object.xml
  | 2007-02-25 17:48:13,815 ERROR 
[org.jboss.portal.core.system.LifecycleInvoker] The mbean 
portal:deploymentFactory=PortletApp invocation of method disableCreateInstance
  | javax.management.ReflectionException
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:231)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.portal.core.system.LifecycleInvoker.invoke(LifecycleInvoker.java:111)
  | at 
org.jboss.portal.core.system.LifecycleInvoker.stopService(LifecycleInvoker.java:148)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStop(ServiceMBeanSupport.java:315)
  | at 
org.jboss.system.ServiceMBeanSupport.stop(ServiceMBeanSupport.java:206)
  | at 
org.jboss.portal.common.system.AbstractJBossService.stop(AbstractJBossService.java:78)
  | at sun.reflect.GeneratedMethodAccessor987.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
  | at $Proxy0.stop(Unknown Source)
  | at 
org.jboss.system.ServiceController.stop(ServiceController.java:508)
  | at 
org.jboss.system.ServiceController.stop(ServiceController.java:499)
  | at 
org.jboss.system.ServiceController.stop(ServiceController.java:499)
  | at 
org.jboss.system.ServiceController.stop(ServiceController.java:499)
  | at sun.reflect.GeneratedMethodAccessor983.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy4.stop(Unknown Source)
  | at org.jboss.deployment.SARDeployer.stop(SARDeployer.java:336)
  | 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.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  |  

[jboss-user] [JBoss Portal] - sitemap and sitemap.jsp

2007-02-25 Thread yurei
Hello, I want a site map portlet for my portal, I use jboss portal 2.4.1 i 
found in the jboss-portal.sar\portal-core.war\WEB-INF\jsp\catalog folder 
there is a sitemap.jsp. is this for use catalog portlet as a sitemap portlet? 
How can i use it? Or i have to create a sitemap portlet from scratch?

Thanks

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

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


[jboss-user] [JBoss Seam] - seam-gen stack overflow

2007-02-25 Thread pista666
occurs when you have 2 tables referencing each other

like this:
alter table core.ORG_PARTNER
add constraint FK1 foreign key  (PRIMARY_CONTACT_ID)
   references core.ORG_PARTNER_CONTACT(CONTACT_ID)
;

alter table core.ORG_PARTNER_CONTACT
add constraint FK2 foreign key  (PARTNER_ID)
   references core.ORG_PARTNER (PARTNER_ID)
;



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

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


[jboss-user] [JBoss Seam] - Re: seam-gen stack overflow

2007-02-25 Thread [EMAIL PROTECTED]
Please download the latest version (1.1.7RC1).

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

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


[jboss-user] [Beginners Corner] - Re: Inability to Run a JSF Application on JBoss

2007-02-25 Thread [EMAIL PROTECTED]
jhimmel wrote : 
  | Since I am new to JSF and relatively new to Java, I am not sure what the 
purpose is for a file ending in the ?.faces? suffix.
  | 
  | - jhimmel
  | 

That's how a request is mapped to the JSF servlet.  It is done in web.xml.

That's a VERY newbie question.  I suggest you look at a book on JSF or an 
online tutorial.   Take some time to educate yourself on basic java web app 
concepts.  Otherwise,  you will just get lost when it's time to do something 
complicated.

Stan

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

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


[jboss-user] [JBoss Seam] - Re: Does #{identity.login} start a long running conversation

2007-02-25 Thread schmatz
Yes I'm using Firefox 2.x.

clicking = submitting the user form with redirect 

Here's the userDataForm:

!DOCTYPE composition PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
  |  
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | ui:composition xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | 
xmlns:ec=http://jboss.com/products/seam/entityconverter/taglib;
  | template=template.xhtml
  | 
  | ui:define name=subtitle
  | h:outputText value=Create a new account 
rendered=#{!identity.loggedIn} /
  | h:outputText value=Edit your account details 
rendered=#{identity.loggedIn} /
  | /ui:define
  |
  | ui:define name=body
  | 
  | p
  | h:outputText value=Please fill in the form 
rendered=#{!identity.loggedIn} /
  | h:outputText value=Update your fields 
rendered=#{identity.loggedIn} /
  | /p
  | 
  | h:form id=createNewAccountForm
  | 
  | s:validateAll
  | 
  | div class=dialog
  | div class=prop
  | span class=nameUsername/span
  | span class=value
  | s:decorate
  | h:inputText id=username required=true 
value=#{user.username} /
  | /s:decorate
  | /span
  | /div
  | s:div rendered=#{!identity.loggedIn}
  | div class=prop
  | span class=namePassword/span
  | span class=value
  | s:decorate
  | h:inputSecret id=password required=true 
value=#{user.password} / 
  | /s:decorate
  | /span
  | /div
  | div class=prop
  | span class=nameRepeat password/span
  | span class=value
  | s:decorate
  | h:inputSecret id=password2 required=true 
value=#{user.password2} / 
  | /s:decorate
  | /span
  | /div
  | /s:div
  | div class=prop
  | span class=nameFirst name/span
  | span class=value
  | s:decorate
  | h:inputText id=firstName required=true 
value=#{user.firstName} / 
  | /s:decorate
  | /span
  | /div
  | div class=prop
  | span class=nameLast name/span
  | span class=value
  | s:decorate
  | h:inputText id=lastName required=true 
value=#{user.lastName} / 
  | /s:decorate
  | /span
  | /div
  | div class=prop
  | span class=namePseudonym/span
  | span class=value
  | s:decorate
  | h:inputText id=pseudonym 
value=#{user.pseudonym} / 
  | /s:decorate
  | /span
  | /div
  | div class=prop
  | span class=nameEmail address/span
  | span class=value
  | s:decorate
  | h:inputText id=emailAddr required=true 
value=#{user.emailAddr} / 
  | /s:decorate
  | /span
  | /div
  | div class=prop
  | span class=nameZip/span
  | span class=value
  | s:decorate
  | h:inputText id=zip required=true 
value=#{user.zip} / 
  | /s:decorate
  | /span
  | /div
  | div class=prop
  | span class=nameCity/span
  | span class=value
  | s:decorate
  | h:inputText id=city required=true 
value=#{user.city} / 
  | /s:decorate
  | /span
  | /div
  | div class=prop
  | span class=nameCountry/span
  | span class=value
  | s:decorate
  | h:selectOneListbox 
id=country value=#{user.country} size=1 required=true
  | s:selectItems 
value=#{countries.resultList} var=countr label=#{countr.name} /
  | ec:convertEntity /
  | /h:selectOneListbox
  | /s:decorate
  | 

[jboss-user] [JBoss Seam] - Re: Any way to apply same attribute/value to several tags?

2007-02-25 Thread lawrieg
I've browsed through all the HTML spec and had a good Google and have drawn a 
blank so, unless anyone can inform me otherwise, I'm guessing my options are 
either to manually add disabled=#{...} to every component, or else pull that 
Javascript book of the bookshelf

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

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


[jboss-user] [JBoss Seam] - Re: Validation issue in adapted Registration example

2007-02-25 Thread chopin
I have done the tests with Seam 1.1.6 using JBoss 4.0.5 patched with JAXB 2.1.

Now, everything is working fine using Seam 1.1.7RC1.

Thank you for your replies.

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen stack overflow

2007-02-25 Thread pista666
i use CVS, varsion from 24.feb

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen stack overflow

2007-02-25 Thread pista666
i use CVS, varsion from 24.feb

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen stack overflow

2007-02-25 Thread [EMAIL PROTECTED]
Ohyeah, I fixed self-associations, but not circularities, I guess.

Create an issue in JIRA, please, not sure how easy it will be to fix...

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

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


[jboss-user] [Beginners Corner] - Re: Detecting client disconnects

2007-02-25 Thread Knuffelbert
A no, can't be done is also an acceptable answer :) Does really noone 
know this?

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

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


[jboss-user] [JBoss Seam] - Re: Does #{identity.login} start a long running conversation

2007-02-25 Thread flashguru
Please be aware that some browsers will repopulate some of the fields for you . 
 
If you have access to IE 6, can you try to reproduce the behavior again?

Also, would you please post your User class too?

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

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


[jboss-user] [JBoss Seam] - Re: Does #{identity.login} start a long running conversation

2007-02-25 Thread schmatz
anonymous wrote : Please be aware that some browsers will repopulate some of 
the fields for you.
Maybe it's of interest that I redirect to a success page after submitting the 
form.

Here's the User entity:
@Entity
  | @Scope(ScopeType.SESSION)
  | @Name(user)
  | @Table(name=tzuser)
  | @javax.persistence.SequenceGenerator(
  | name=s_tzuser,
  | sequenceName=s_tzuser)
  | public class User implements Serializable
  | {
  | private static final long serialVersionUID = 3366658268468153076L;
  | 
  | public static enum UserStatus { ACTIVE, INACTIVE, REMOVED };
  | 
  | protected Long id;
  | 
  | protected String username;
  | protected String checkPassword, password, password2;
  | protected SetRole roles = new HashSetRole();
  | 
  | protected String firstName;
  | protected String lastName;
  | protected String pseudonym;
  | protected String emailAddr;
  | 
  | protected String street;
  | protected String zip;
  | protected String city;
  | protected String district;
  | protected Country country;
  | 
  | protected Date dob;
  | 
  | protected Boolean emailAddrChecked = false;
  | protected UserStatus status = UserStatus.ACTIVE;
  | 
  | 
  | 
  | public User()
  | {
  | }
  | 
  | @Override
  | public String toString()
  | {
  | return firstName +   + lastName +  ( + id + );
  | }
  | 
  | @Id @GeneratedValue(strategy=GenerationType.SEQUENCE, 
generator=s_tzuser)
  | public Long getId()
  | {
  | return id;
  | }
  | 
  | public void setId(Long id)
  | {
  | this.id = id;
  | }
  | 
  | @ManyToMany(
  | targetEntity=Role.class,
  | cascade={CascadeType.PERSIST, CascadeType.MERGE, 
CascadeType.REFRESH}
  | )
  | @JoinTable(
  | name=user_role,
  | [EMAIL PROTECTED](name=fk_user)},
  | [EMAIL PROTECTED](name=fk_role)}
  | )
  | public SetRole getRoles()
  | {
  | return roles;
  | }
  | 
  | public void setRoles(SetRole roles)
  | {
  | this.roles = roles;
  | }
  | 
  | public void addRole(Role role)
  | {
  | this.roles.add(role);   
  | }
  | 
  | @NotNull
  | public String getCity()
  | {
  | return city;
  | }
  | 
  | public void setCity(String city)
  | {
  | this.city = city;
  | }
  | 
  | @ManyToOne(cascade={CascadeType.PERSIST, CascadeType.MERGE, 
CascadeType.REFRESH})
  | @JoinColumn(name=fk_country)
  | public Country getCountry()
  | {
  | return country;
  | }
  | 
  | public void setCountry(Country country)
  | {
  | this.country = country;
  | }
  | 
  | public Date getDob()
  | {
  | return dob;
  | }
  | 
  | public void setDob(Date dob)
  | {
  | this.dob = dob;
  | }
  | 
  | @NotNull
  | public String getFirstName()
  | {
  | return firstName;
  | }
  | 
  | public void setFirstName(String firstName)
  | {
  | this.firstName = firstName;
  | }
  | 
  | @NotNull
  | public String getLastName()
  | {
  | return lastName;
  | }
  | 
  | public void setLastName(String lastName)
  | {
  | this.lastName = lastName;
  | }
  | 
  | @NotNull
  | @Length(min=2)
  | public String getUsername()
  | {
  | return username;
  | }
  | 
  | public void setUsername(String username)
  | {
  | this.username = username;
  | }
  | 
  | @NotNull
  | //@Length(min=8, max=30)
  | public String getPassword()
  | {
  | return password;
  | }
  | 
  | public void setPassword(String password)
  | {
  | this.password = password;
  | }
  | 
  | //@Length(min=8, max=30)
  | @Transient
  | public String getPassword2()
  | {
  | return password2;
  | }
  | 
  | public void setPassword2(String password2)
  | {
  | this.password2 = password2;
  | }
  | 
  | //@Length(min=8, max=30)
  | @Transient
  | public String getCheckPassword() {
  | return checkPassword;
  | }
  | 
  | public void setCheckPassword(String checkPassword) {
  | this.checkPassword = checkPassword;
  | }
  | 
  | @NotNull
  | public String getZip()
  | {
  | return zip;
  | }
  | 
  | public void setZip(String zip)
  | {
  | this.zip = zip;
  | }
  | 
  | public String getPseudonym()
  | {
  | return pseudonym;
  | }
  | 
  | public void setPseudonym(String pseudonym)
  | {
  | this.pseudonym 

[jboss-user] [JBoss Seam] - Re: Does #{identity.login} start a long running conversation

2007-02-25 Thread schmatz
Ups! Blame on me

I just realize that the user is SESSION-scoped...

Sorry for that!

Mark

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

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


[jboss-user] [JBoss Portal] - Re: sitemap and sitemap.jsp

2007-02-25 Thread [EMAIL PROTECTED]
You should try it and see if it fits your needs.

If you create a nice sitemap portlet, please think about sharing it with others 
:)

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

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


[jboss-user] [JBoss Seam] - Re: Does #{identity.login} start a long running conversation

2007-02-25 Thread flashguru
Ok, I should have asked for the User class from the start.  Glad you are okay 
now!

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

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


[jboss-user] [JBoss Seam] - Re: Does #{identity.login} start a long running conversation

2007-02-25 Thread schmatz
OK. After making the User entity CONVERSATION-scoped everything works like I 
expect.

Thanks,
Marl

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

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


[jboss-user] [Beginners Corner] - Re: Detecting client disconnects

2007-02-25 Thread jwenting
no, at least not without some custom plumbing. The bean is removed either on a 
client request or on a connection timeout.

You could code some sort of keepalive service that polls a client for a 
connection regularly.
But that would require a custom client library as well which would respond to 
that polling.


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

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


[jboss-user] [Installation, Configuration Deployment] - Re: part deux: tomcat server.xml not supporting custom defau

2007-02-25 Thread [EMAIL PROTECTED]
JBoss uses org.jboss.util.StringPropertyReplacer for substituting variables. 
Tomcat/jboss-web must be using a different way to do this, so this is really a 
feature request for jboss-web.

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen stack overflow

2007-02-25 Thread [EMAIL PROTECTED]
Nevermind. Fixed in CVS. Please test it for me.

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

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


[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-25 Thread ghyoju
Hi bdaw,

The IdentityLoginModule class you mentioned is in package 
org.jboss.portal.identity.auth  and extends 
org.jboss.security.auth.spi.UsernamePasswordLoginModule 
but the one I found in jbosssx.jar is in package 
org.jboss.security.auth.spi and extends 
org.jboss.security.auth.spi.AbstractServerLoginModule

I need to use the one you mentioned (gave the url for) as I need to use the 
method getUsernameAndPassword() from class UsernamePasswordLoginModule. Which 
jar should I use?

Am I missing something?

Thanks a lot.

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

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


[jboss-user] [JBoss Seam] - ScopeType.STATELESS misunderstanding

2007-02-25 Thread fernando_jmt
Hi everyone.

I'm having troubles (maybe my bad or anything else) realated to Stateless Seam 
component. 

I have a stateless session bean marked as @Stateless and also I wrote 
@Scope(ScopeType.STATELESS) (this is redundant according the docs.), this 
component is used to populate a @DataModel to the page with a list of users, 
and also it has some properties like the column that it will be used to sort, 
and the sorting ascending/descending property.

Then, the first time I log in and display the list, all works fine.
By instance suppose the first time the column for odering the list is 
username (This is setted everytime the component is created), then suppose I 
change the sorting to another column e.g. email.

Well, at this point all looks fine, there's no problem yet.
Then I log out from the application (#{identity.logout}), then I log in back 
and when I display the list I notice the sorting column still is email, but 
it supposes it should be username (called when the component is created).

So, here is my question (I see 3.1.1 and 3.2.1 of seam reference, maybe I'm 
misunderstanding something):

Does ScopeType.STATELESS components lives more than the user session? 

Are they instantiated only one time in the application (like Application 
context)?

I don't know why I'm getting this behaviour in the stateless component, please 
clear me this up.

Thanks in advance.







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

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


[jboss-user] [Beginners Corner] - Re: Unable to start JBOSS

2007-02-25 Thread PeterJ
The missing class, org/apache/log4j/Layout, is found in the 
server/xxx/lib/log4j.jar file. Jboss should pick up that file automatically.

Based on the fact that you have JBoss in Program Files, I am going to guess 
that you installed JBoss using the installer. I suggest re-installing JBoss to 
somewhere other than Program Files (mine is at c:/apps/jboss-4.0.5.ga) . Also, 
if you installed the JDK in Program Files, also reinstall it elsewhere (mine is 
at c:/apps/jdk1.5.0_11). Yes, those installers default to Program Files, but 
spaces in directory names causes some Java libraries fits, so it is usually 
prudent to avoid Program Files.

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

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


[jboss-user] [JBoss Seam] - Re: Any way to apply same attribute/value to several tags?

2007-02-25 Thread petemuir
You could easily do this using a container tag (take a look at UIValidateAll)

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

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


[jboss-user] [JBoss Seam] - Re: ScopeType.STATELESS misunderstanding

2007-02-25 Thread [EMAIL PROTECTED]
I *strongly* recommend you get a good book on EJB (for example the Bill Burke / 
RMH book from O'Reilly).

The definition of stateless in the EJB spec is a limitation upon *you*. The 
container can do anything it likes! What the spec says is that *you* are not 
allowed to keep any state *relating to the client* in the bean. 

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

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


[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-25 Thread bdaw
jbosssx.jar contains stuff for org.jboss.security.*

But I'm wondering what do you mean by use a method... UserPasswordLoginModule 
is an abstract class. What exactly do you want to do?

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

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


[jboss-user] [JBoss Seam] - Re: ScopeType.STATELESS misunderstanding

2007-02-25 Thread fernando_jmt
It absolutely was my fault. Even 3.2.1. section of the book says it to me:
They may be used as JSF action listeners, but cannot provide properties to JSF 
components for display.

Sorry :(





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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.7 RC1 released

2007-02-25 Thread fers
Hello,

as usually I published new Maven + Seam integration on 
http://software.softeu.cz/seam/ (and published to maven repository 
http://maven.softeu.cz/ ). Updated archetype (seamgen equivalent) should be 
released soon. 

Petr Ferschmann




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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.7 RC1 released

2007-02-25 Thread [EMAIL PROTECTED]
Thanks, Petr.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Maven2

2007-02-25 Thread fers
to fip: try the current version. It should be really fixed it this time :-)

There was problem with picking wrong version of xercesImpl.jar (2.6.x instead 
of 2.7.x). But everything was working on my computer.

I hope it helps.


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

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


[jboss-user] [JBoss jBPM] - jBpm setup

2007-02-25 Thread [EMAIL PROTECTED]
On an xp workstation I installed the following items.

eclipse 3.2.2 installed at c:\eclipse
jbpm-starters-kit-3.1.4.zip installed under c:\jbpm
jbpm-gpd-site-3.0.zip in \ibpm

When I do an example similar to the following url address 
http://docs.jboss.com/jbpm/v3/gpd/firstprocess.html I get figure 2.3 but with 
12 errors.

The import org.jbpm cannot be resolved  (4)
The import junit cannot be resolved
Testcase cannot be resolved to a type
Action Hanlder cannot be resolved to a type

I must have missed a step and I am now missing a path and/or files.
Any suggestions would be appreciated.

thanks,
roy 

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

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


[jboss-user] [JBoss Seam] - Booking authenticator vs. Seamspace authenticator

2007-02-25 Thread flashguru
I noticed that the authenticator implementation in the booking example is 
stateful session bean with scope event, while the seamspace authenticator is 
POJO.  Any specific reason why? Or was is simply a matter of taste?

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

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


[jboss-user] [JBoss Seam] - Re: Booking authenticator vs. Seamspace authenticator

2007-02-25 Thread [EMAIL PROTECTED]
Actually I would prefer if they were both STATELESS.

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

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


[jboss-user] [JBoss Messaging] - Re: 1.2.0.CR1 transparent node failover does not always work

2007-02-25 Thread bander
anonymous wrote : I am trying to understand why you're example uses an 
exception listener to catch exceptions, and recreate the connections etc? 

In this case it's because I'm reusing a test case I created for an issue in 
1.0.1. :) 

We're also working with the assumption that an error on the connection is 
likely to be infrequent and in most situations will signify that something  
unrecoverable has happened i.e. it will be safer to just start over. This 
assumption may be invalid - I'm open to any better/more sensible/more standard 
way to do it.

Our code also needs to work with other JMS providers that don't have 
transparent failover. We've got production sites using Oracle JMS (which is 
really just the JMS API wrapped around their Advanced Queues DB functionality) 
but smaller potential customers don't want to pay $$$ for Oracle. So, we've 
been evaluating the Open Source alternatives i.e. JBoss Messaging, Active MQ, 
Open JMS, Sun Messaging. JBoss is one of the more attractive options because 
paid support is available.

Ben

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

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


[jboss-user] [EJB 3.0] - Re: How can I use a EJB Query with this?

2007-02-25 Thread chrismalan
Hi Dornus,

There are two solutions I can think of.  The first side-steps an EJB query.

One of class A's attributes will be a collections of some sort of class B.  
Simply get an instance of class A by primary key, get an instance of the 
collection of Bs and do a bees.size().

The second is to do a join.  Something like select ab from A as a join a.b as 
ab where a.PrimaryKey=PK and then again a size() on ab.

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

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


[jboss-user] [JBoss Messaging] - Re: 1.2.0.CR1 transparent node failover does not always work

2007-02-25 Thread [EMAIL PROTECTED]
We've been testing like crazy lately, and we found some bugs with failover. I 
might release a CR2 this night, in case you want to give it a spin.

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

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


[jboss-user] [JBoss Seam] - Event scoped stateful session bean and passivation

2007-02-25 Thread flashguru
Is it correct to assume that stateful session bean with scope event will never 
be passivated when using TransactionalSeamPhaseListener?

This is because the stateful session bean will be considered in a transaction 
and therefore it will prevent the EJB3.0 container from passivating it? The 
rule of not passivating an SFSB when it is in a transaction is mentioned in the 
EJB3.0 spec (page 63).


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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-25 Thread petemuir
So, I've run into this (in anger) as well now.  

1) Facelets scans the classpath for .taglib.xml files inside of META-INF, and 
loads them if it finds them (thats what all the load implicit stuff you see is).

2) The UCL doesn't scan WEB-INF/lib (as this is a special war thing).

So, if you get the UCL instead of the WebAppClassLoader then it don't work.  
And, I found that even if the classloader inside FaceletsRenderer is the WACL 
then the UCL may be used to initialise facelets.

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

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


[jboss-user] [JBoss Seam] - Re: Event scoped stateful session bean and passivation

2007-02-25 Thread [EMAIL PROTECTED]
Thats a pretty fair assumption (though there are a couple of tiny windows).

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-02-25 Thread petemuir
anonymous wrote :  And, I found that even if the classloader inside 
FaceletsRenderer is the WACL then the UCL may be used to initialise facelets.

Oops, no, thats not right...

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

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


[jboss-user] [JBoss Portal] - Re: Custom Login

2007-02-25 Thread ghyoju
Hi bdaw,

IdentityLoginModule extends UsernamePasswordLoginModule so the method 
getUsernameAndPassword() implemented in class UsernamePasswordLoginModule  is 
inherited by IdentityLoginModule.

I want to extend IdentityLoginModule and I want to use the method 
getUsernameAndPassword() which is implemented in UsernamePasswordLoginModule.

Thanks a lot.

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

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


[jboss-user] [JBoss Seam] - Re: Event scoped stateful session bean and passivation

2007-02-25 Thread flashguru
Thank you Gavin!

I am trying to understand if there is any benefit to clustering a stateful 
session bean with scope event.  Is it correct to assume that clustering a 
stateful session bean is not relevant when talking about the event scope?




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

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


[jboss-user] [JBoss Seam] - Re: Event scoped stateful session bean and passivation

2007-02-25 Thread [EMAIL PROTECTED]
yes, exactly.

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

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


[jboss-user] [JBoss Messaging] - Re: 1.2.0.CR1 transparent node failover does not always work

2007-02-25 Thread bander
Sure - I'll give it a go.

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

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


[jboss-user] [JBoss Seam] - Is there any good way to implement jump from actionA.method

2007-02-25 Thread chicochen
thanks

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

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


[jboss-user] [JBoss Seam] - Anybody made s:upload work in Seam+ICEfaces app?

2007-02-25 Thread gus888
Hi all,

Did anybody make s:upload work in the Seam+ICEfaces application? I always got a 
null value of the uploaded byte[] data? Any help is appreciative! Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.7 RC1 released

2007-02-25 Thread gus888
Shane said that the SeamMultipartFilter has been replaced with a universal Seam 
filter, but in the s:fileUpload section in 1.1.7 RC1 docs, the 
SeamMultipartFilter is still there: For multipart requests, the Seam Multipart 
servlet filter must also be configured in web.xml:
  | 
  |  
  | filter
  | filter-nameSeam Multipart Filter/filter-name
  | 
filter-classorg.jboss.seam.servlet.SeamMultipartFilter/filter-class
  | /filter
  | 
  | filter-mapping
  | filter-nameSeam Multipart Filter/filter-name
  | url-pattern*.seam/url-pattern
  | /filter-mapping  Should it be replaced by filter
  |   filter-nameSeam Filter/filter-name
  |   filter-classorg.jboss.seam.web.SeamFilter/filter-class
  | /filter
  | 
  | filter-mapping
  |   filter-nameSeam Filter/filter-name
  |   url-pattern/*/url-pattern
  | /filter-mapping 
In addition, it seems that s:fileUpload attributes missed the fileSize 
attribute in 1.1.7 docs of s:fileUpload section.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.7 RC1 released

2007-02-25 Thread [EMAIL PROTECTED]
Thanks, this was already fixed:

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


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBla

2007-02-25 Thread mp123
Hello,

Thank you very much for your reply.


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

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


[jboss-user] [The Lizzard's corner] - JBoss World 2006 Presentation Template

2007-02-25 Thread thejavafreak
Where can I get the presentation template used in last year's (2006) JBoss 
World in Berlin? It's pretty neat and I like it.

Thanks in advance

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

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


[jboss-user] [JBoss Seam] - pages DTD for 1.1.7RC1

2007-02-25 Thread flashguru
Hello everybody,

When do the DTDs usually get updated?  GA only?

As of 1.1.7RC1,  pages-1.1.dtd is missing the login-required and login-view-id 
attributes.

(http://jboss.com/products/seam/pages-1.1.dtd)

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

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


[jboss-user] [JBoss Seam] - Re: Anybody made s:upload work in Seam+ICEfaces app?

2007-02-25 Thread gus888
Sorry typed wrong tag, s:upload should be s:fileUpload.

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

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


[jboss-user] [JBoss Seam] - Re: Anybody made s:upload work in Seam+ICEfaces app?

2007-02-25 Thread [EMAIL PROTECTED]
Yes I did.
There is a bug (in JIRA) with IceFaces upload when it tries to talk to the 
progress bar so don't use a progress bar).

I can get images uploaded but cant get it working with seam @End annotations 
yet.. there are a few things to finish on IceFaces...

I do callbacks to parental stateful session beans to pass them an updated 
child.

A bit of this was cribbed from the seamspace app.


Ignore the Done button below


  | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns=http://www.w3.org/1999/xhtml;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns:ice=http://www.icesoft.com/icefaces/component;
  | head
  | meta http-equiv=Content-Type
  | content=text/html; charset=iso-8859-1 /
  | link rel=stylesheet type=text/css 
href=./css/risingstars.css /
  | link rel=stylesheet type=text/css 
href=./xmlhttp/css/xp/xp.css /
  | titleUpload/title
  | /head
  | body
  | 
  | ui:composition xmlns=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;
  | xmlns:ice=http://www.icesoft.com/icefaces/component;
  | template=/WEB-INF/pages/template.xhtml
  | 
  | !-- content --
  | ui:define name=title
  | ice:outputText value=#{messages.form_upload} 
/
  | /ui:define
  | ui:define name=content
  | 
  | ice:form
  | ice:panelGrid columns=1
  | fieldset
  | legend
  | ice:outputText 
value=#{messages.fieldset_upload} /
  | /legend
  | !-- Messages --
  | ice:panelGrid 
columns=1
  | ice:messages 
infoClass=error globalOnly=true /
  | /ice:panelGrid
  | 
  | ice:panelGrid 
columns=1
  | fieldset
  | legend
  | 
ice:outputText value=#{messages.fieldset_upload}/
  | 
/legend
  | 
  | 
ice:panelGrid columns=1
  | 
ice:inputFile style=border:none; width:400px; height:70px;
  | 
actionListener=#{uploadController.action}/ !-- 
progressListener=#{uploadController.progress} --
  | ice:outputProgress 
id=progress value=#{uploadController.percent}/
  | 
/ice:panelGrid
  | 
  | 
ice:panelGrid columns=1 width=100%
  | 
div align=right
  | 
ice:commandButton action=#{uploadController.cancel}
  | 
value=#{messages.button_cancel} immediate=true
  | 
type=submit /
  | 
ice:commandButton id=done type=submit
  | 
value=#{messages.button_done} immediate=true
  | 
action=#{uploadController.done} /
  | 
/div
  | 
/ice:panelGrid
  | 
  | 

[jboss-user] [JBoss Seam] - Re: Anybody made s:upload work in Seam+ICEfaces app?

2007-02-25 Thread [EMAIL PROTECTED]
to see the images I go via the servlet (again see seamspace for this).

(I can also look into the hypersonic database to see the bytes arrive [and 
cut/paste them to see my database]).


  | ice:dataTable id=organisationsTableComponent 
value=#{organisations} var=the_organisation
  | 
sortColumn=#{findOrganisationController.sortColumn}
  | 
sortAscending=#{findOrganisationController.ascending}
  | rows=10
  | 
  | ice:column
  | f:facet name=header
  | ice:outputText 
value=#{messages.column_title_image} /
  | /f:facet
  | ice:graphicImage 
value=/content/images?id=#{the_organisation.picture.id} width=70/
  | /ice:column   
  | 

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

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


[jboss-user] [JBoss Seam] - FacesMessages API change might cause unexpected form validat

2007-02-25 Thread flashguru
I am not sure if this is something worth mentioning.
But the latest API changes to the FacesMessages might cause unexpected form 
validation behavior for people who are migrating from 1.1.6.

With 1.1.6, I used the method

FacesMessages.add(String id, String messageTemplate, Object... params) 

to associate a validation error message with a UI component.

Now with 1.1.7 the same method will map to

FacesMessages.add(String messageTemplate, Object... params) 

which will add the component id string as a global message and therefore 
prevents the validation system from detecting that the UI component has a 
validation error.

The solution, of course, is to use

addToControl(String id, String messageTemplate, Object... params)

instead.


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

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


[jboss-user] [JBoss Seam] - Re: Seam 1.1.7 RC1 released

2007-02-25 Thread [EMAIL PROTECTED]
Yes, I should have mentioned it. I hated breaking that API, but it was already 
broken (I screwed up totally). We needed to get rid of the ambiguity there, and 
deprecation was not going to help.

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

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


[jboss-user] [JBoss Seam] - Multiple Window/Tabs isolated conversations

2007-02-25 Thread h.cahyadi
Hi all,

How to get Multiple Window/Tabs isolated conversations, do we must make our 
controller as a SFSB? can anyone here give me example or explanation how to 
achieve  Multiple Window/Tabs isolated conversations? Can this be applied to 
portlet environment?

Thanx and regards,

-haric-

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

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


[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-02-25 Thread grdzeli_kaci
i did not resolve this problem yet, can anybody help me?

this error pointed to build.xml file line 623.
there is compileui configs:

  | target name=compileui depends=initui,select-compiler
  | description=Compile the Java source code for the UI package
  | javac
  | source=1.5
  | target=1.5
  | destdir=${uiclasses.dir}
  | classpathref=build.classpath
  | debug=${javac.debug}
  | deprecation=${javac.deprecation}
  | nowarn=on
  | src path=${src.ui.dir}/
  | /javac
  | /target
  | 

i don't know how to resolve this problem :(.

Regards,
Paata



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

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


[jboss-user] [JBoss Seam] - Re: could not execute seam commands.

2007-02-25 Thread [EMAIL PROTECTED]
Re-check-out jboss-seam. I promise you that CVS can be compiled.



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

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


[jboss-user] [JBoss Seam] - Re: problem about @Observer and Events

2007-02-25 Thread mnrz
yes, you're right. in extractColumn I am using an injected list from the same 
SB (UserSettings). 

but how can I do that. I want when user changed its settings the respective SB 
understands and apply changes. is it possible to restart a SFSB?  

I am using JBoss Seam 1.1.6

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

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


[jboss-user] [JBoss Messaging] - Does JDK1.4.2.X support JBM 1.0.1 GA

2007-02-25 Thread Craig2007
Hi
We are using JBoss Messaging. Version -  jboss-messaging-1.0.1.GA.

We have been using JDK1.5 with JBM.
Now we need to change JDK1.5 to JDK1.4.2.


Does JDK1.4.2.X can be used with JBoss Messaging 1.0.1GA ?

Does JDK1.4.2.X can also be used with Messaging 1.0.1 SP4 ?



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

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


[jboss-user] [JBoss Messaging] - Re: Does JDK1.4.2.X support JBM 1.0.1 GA

2007-02-25 Thread [EMAIL PROTECTED]
Yes... We assume JDK 1.4 for our development...
We always use JDK 1.4 in our release procedures.


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

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


[jboss-user] [Remoting] - Possible failure mode?

2007-02-25 Thread Cyberax
As far as I understand, JBoss Remoting has the following failure mode.

Suppose we have a client which connects to JBoss using HTTP/Servlet connector 
(I don't know about other connectors, possibly they have the same failure mode).

Now let's suppose that client has sent request to server, server has received 
this request and started its processing. What happens if client is disconnected 
while request is being processed?

Client has no way to know that request processing has started. How this 
situation can be resolved?

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

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


[jboss-user] [JBoss Portal] - Re: our company are evaluating jboss portal, who can answer s

2007-02-25 Thread charles751
who can help me

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

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


[jboss-user] [Remoting] - Don't want to hard code the dynamic IP for @RemoteBindings-

2007-02-25 Thread sotong
I'm trying to access a bean over a NAT, but I don't want to hard code the 
external IP on the beans since the IP is not static... So, I hope there is a 
solution soon.

my code:
@Stateless
@RemoteBindings({
@RemoteBinding(clientBindUrl=sslsocket://203.115.204.136:443, 
jndiBinding=JNLPServicesBean/ssl),
@RemoteBinding(jndiBinding=JNLPServicesBean/remote)
 })

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

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


[jboss-user] [JBoss Seam] - Re: Seam Maven2

2007-02-25 Thread fip
Thanks fers, works now like a charm.
Keep up the good work!

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

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


[jboss-user] [JBoss Messaging] - Re: 1.2.0.CR1 transparent node failover does not always work

2007-02-25 Thread [EMAIL PROTECTED]
It is not public and it was not tagged in the repository, but other than that, 
is a fully functional release. You'll find it here 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMessagingStagingArea, it's 
jboss-messaging-1.2.0.pre-CR2.zip.

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

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


[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict

2007-02-25 Thread grdzeli_kaci
i can't resolve this problem yet,
anybody knows about it ?

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

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


  1   2   >