[jboss-user] [JCA/JBoss] - I can't see Conneciton Sharing happening .

2007-05-05 Thread vickyk
I am making the res-sharing-scopeUnshareable/res-sharing-scope in the 
web.xml file , here goes the code .resource-ref
  |   descriptionDB Connection/description
  |   res-ref-namejdbc/testDS/res-ref-name
  |   res-typejavax.sql.DataSource/res-type
  |   res-authContainer/res-auth
  |   res-sharing-scopeUnshareable/res-sharing-scope
  |   /resource-ref

I have a jsp which does the following 
InitialContext ctx = new InitialContext();
  | DataSource ds = (DataSource)ctx.lookup(java:comp/env/jdbc/testDS);
  | UserTransaction utx = (UserTransaction)ctx.lookup(UserTransaction);
  | utx.begin();
  | Connection con = ds.getConnection();
  | out.println(First Connection  -- +con.toString()+br);
  | WrappedConnection unlycon = (WrappedConnection)con;
  | out.println(unlycon.getUnderlyingConnection()+br);
  | Connection con1 = ds.getConnection();
  | WrappedConnection unlycon1 = (WrappedConnection)con1;
  | out.println(unlycon1.getUnderlyingConnection()+br);
  | out.println(Second Connection+con1);
  | utx.commit();
  | con.close();
  | con1.close();
And I see the following result First Connection -- [EMAIL PROTECTED]
  | [EMAIL PROTECTED]
  | [EMAIL PROTECTED]
  | Second [EMAIL PROTECTED]

Since the resource sharing is defined as Unsharable I was expecting the 
underlying connection reference as different but it is not .
Am I missing some thing here ?

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

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


[jboss-user] [JBoss Seam] - Problem with s:convertEntity

2007-05-05 Thread Seto
When I choose one of the category, nothing happen. But when i choose the no 
selection label, the form is submitted normally. Anyone could help me? Please, 
I'm waiting anxiously online now.

  | 
  | h:form
  | s:validateAll
  | h:messages globalOnly=true /
  | h:panelGrid columns=2
  | h:outputText value=tag /
  | h:inputText value=#{brand.tag} 
required=true /
  | h:outputText value=name /
  | h:inputText value=#{brand.name} 
required=true /
  | h:outputText value=category /
  | h:selectOneMenu value=#{brand.category}
  | s:selectItems value=#{categoryList} 
var=category
  | label=#{category.name} 
noSelectionLabel=please choose /
  | s:convertEntity /
  | /h:selectOneMenu
  | /h:panelGrid
  | h:commandButton value=new 
action=#{brandHome.persist}
  | rendered=#{!brandHome.managed} /
  | h:commandButton value=edit 
action=#{brandHome.update}
  | rendered=#{brandHome.managed} /
  | h:commandButton value=delete 
action=#{brandHome.remove}
  | rendered=#{brandHome.managed} /
  | /s:validateAll
  | /h:form
  | 

  | @SuppressWarnings(unchecked)
  | @Factory
  | public void getCategoryList() {
  | entityManager.clear();
  | categoryList = entityManager.createQuery(from Category 
category)
  | .getResultList();
  | Contexts.getSessionContext().flush();
  | }
  | 

  | factory name=brand value=#{brandHome.instance} /
  | fwk:entity-home name=brandHome
  | entity-class=com.hongyang.domain.directory.Brand /
  | 

  | @ManyToOne
  | @JoinColumn(name = category)
  | private Category category = new Category();
  | 

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

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


[jboss-user] [EJB/JBoss] - Re: Statefull session bean and exception

2007-05-05 Thread vkaushik_610
I am getting the same issue. can anybody help me out if this is possible.


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

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


[jboss-user] [JBoss Seam] - Re: Nested conversations and transaction management

2007-05-05 Thread FabBoco
Christian,

anonymous wrote : 
  | Yes, you have a fuzzy picture about what system transactions are and now 
look for the wrong solutions. Seam and Java EE have _all_ options you need to 
handle transactions. Don't jump into the middle trying to use nested 
conversations, long-running persistence contexts, and complex EJB/transaction 
assemblies, without understanding the basics first. 
  | 

let me say that it is too strong !!

You say, don't, don't, don't 

This is what I am trying to do

anonymous wrote : 
  | What I am trying to do is very simple:
  | 
  | 1) I start an input form for the Entity Bean A
  | 
  | 2) From the input form I open a pop up window in which I can choose items 
from EB B or I can create new items
  | 
  | 3) When I close the pop up the A form is update (so that the back entity 
bean)
  | 
  | 4) If I cancel the operation I would like that the B items would not be 
saved to the database
  | 

It's fuzzy ? 

In my fuzzy understanding of transactions I know that, if all the previous 
operations are performed into ONE SINGLE transaction (system, database, 
whatever you like to call) I can cancel the operation and have the database in 
a consistent state. 

Nothing more, nothing less. 

anonymous wrote : 
  | Seam and Java EE have _all_ options you need to handle transactions. 
  | 


Regards

Fab

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

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


[jboss-user] [Remoting] - Re: how to start remote jboss server

2007-05-05 Thread [EMAIL PROTECTED]
Hi jb,

Could you be more specific about what you want to do?

Thanks,
Ron

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

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


[jboss-user] [Beginners Corner] - Stateless session bean locking policy for jboss 3.2.3

2007-05-05 Thread hasifinc
Hi all,

I am new in jboss and I have 3 questions.

1) Can I set locking policy for stateless session bean in standardjboss.xml, 
because in the standardjboss.xml it doesn't state the locking policy for 
stateless session bean, and if available, what type of locking policies are 
available for 3.2.3

2) Currently, I'm using Oracle as the persistence storage, if I set the locking 
policy, does it overwrite the locking mechanism in Oracle?

3) In ejb-jar.xml, I declared the bean using CMT, and specified one of the 
method using NotSupported attribute. I am not sure whether it will  involved in 
locking mechanism. My concern is to have user access the application 
concurrently.

Any helps are highly appreciated. Thanks.


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

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


[jboss-user] [JBoss Seam] - problem with security and login

2007-05-05 Thread mnrz
Hi

I have a problem with security.
I am using JBoss Seam 1.1.6
when I press login button I encounter following exception:


  | ERROR Servlet.service() for servlet Faces Servlet threw exception
  | javax.faces.FacesException: Error calling action method of component with 
id login:_id13
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:72)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:109)
  | at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:97)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:171)
  | at 
org.apache.myfaces.lifecycle.InvokeApplicationExecutor.execute(InvokeApplicationExecutor.java:32)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(LifecycleImpl.java:95)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:70)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:139)
  | 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/login.xhtml 
@35,71 action=#{identity.login}: java.lang.IllegalStateException: no security 
rule base available - please install a RuleBase with the name 'securityRules'
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:73)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:61)
  | ... 33 more
  | Caused by: java.lang.IllegalStateException: no security rule base available 
- please install a RuleBase with the name 'securityRules'
  | at 
org.jboss.seam.security.Identity.assertSecurityContextExists(Identity.java:276)
  | at 
org.jboss.seam.security.Identity.populateSecurityContext(Identity.java:245)
  | at 
org.jboss.seam.security.Identity.postAuthenticate(Identity.java:223)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:207)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:199)
  | at org.jboss.seam.security.Identity.login(Identity.java:184)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 

[jboss-user] [Remoting] - Re: https with path and ejb3 can not be configured

2007-05-05 Thread [EMAIL PROTECTED]
Hi Rino

Are you still having problems with this issue?  If so, I can tell you a couple 
of things that might help.

1.  The problem in JBWS-1141 comes from the fact that Remoting versions 2.x 
require a call to org.jboss.remoting.Client.connect() before any calls to 
Client.invoke(), whereas earlier versions of Remoting didn't impose that 
requirement.  The current version of EJB3 is compatible with Remoting 2.x.  
Perhaps you can upgrade to JBossAS 4.2, where this problem is solved.

2. Are you familiar with the path configuration attribute, which adds a path 
the the InvokerLocator:


  |attribute name=Configuration
  |   config
  | invoker transport=socket
  |   attribute 
name=serverBindAddresstest.somedomain.com/attribute
  |   attribute name=serverBindPort8084/attribute
  |   attribute name=pathfoo/bar/attribute
  | /invoker
  | ...
  | 

3. How are you passing in the org.jboss.remoting.serverAuthMode parameter?  You 
want it to be available to the client when it is creating its socket factory.  
You could do that by passing it in the configuration map to the client, e.g., 
new Client(locator, configuration).   If you put it in an XML server 
configuration file, be sure to use the isParam attribute.

4.

anonymous wrote : 
  | It should be possible (according to the documentation) to pass in the 
client cofiguration through a URL parameter. However this results in an 
exception when starting up the server 
  | 

What does your URL look like?

-Ron

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

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


[jboss-user] [JBoss Seam] - Re: Nested conversations and transaction management

2007-05-05 Thread [EMAIL PROTECTED]
You believe that there are nested transactions and that transactions span 
requests. These things do not happen or don't exist.

It took me a while to realize that you actually wanted to say persistence 
context whenever you said transaction, because that is what you are looking 
for.


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

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


[jboss-user] [JBoss Seam] - can I join a session with a conversation?

2007-05-05 Thread mnrz
hello

I have some beans in one conversation (or rather some pages) but I want to use 
another page which is in session scope and then back to last conversation and 
resume the job but when I enter the session scope page after pressing the 
button to go back it throws exception and tell me the conversation has been 
ended.

is this possible? or I missed something to resolve that.

here is my pages.xml:
setting.xhtml is the page in session scope:

  | pages
  | page view-id=/pages/main/searchQuery.xhtml 
  | navigation from-action=#{indexSearch.search} 
  | rule if-outcome=resultQuery
  | begin-conversation join=true /
  | redirect 
view-id=/pages/main/resultQuery.xhtml /
  | /rule
  | /navigation
  | /page
  | 
  | page view-id=/pages/main/setting.xhtml  
  | navigation from-action=#{userSetting.continueNextPage} 
  | rule if-outcome=nextPage
  | redirect 
view-id=/pages/main/resultQuery.xhtml /
  | /rule
  | /navigation
  | navigation from-action=#{userSetting.apply} 
  | rule if-outcome=resultQuery
  | redirect 
view-id=/pages/main/resultQuery.xhtml /
  | /rule
  | /navigation
  | /page
  | 
  | page view-id=/pages/main/resultQuery.xhtml 
conversation-required=true
  | no-conversation-view-id=/pages/main/searchQuery.xhtml
  | navigation from-action=#{searchResult.back}
  | rule if-outcome=back
  | end-conversation/
  | render view-id=/pages/main/searchQuery.xhtml 
/
  | /rule 
  | /navigation
  | navigation from-action=#{searchResult.setting}
  | rule if-outcome=setting
  | redirect view-id=/pages/main/setting.xhtml /
  | /rule 
  | /navigation
  | /page
  | 
  | page view-id=/login.xhtml
  | navigation from-action=#{identity.login}
  | rule if-outcome=success
  | redirect view-id=/resultQuery.xhtml/
  | /rule
  | /navigation
  | /page
  | /pages
  | 

thank you very much

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

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


[jboss-user] [JBoss Seam] - Re: Nested conversations and transaction management

2007-05-05 Thread [EMAIL PROTECTED]
OK, last post from me, this is what you need:

- A long-running conversation that is started when the form in 1) is rendered

- A Seam-managed persistence context with @In EntityManager (read the docs) 
that is bound to that conversation (automatically)

- The conversation should begin with FlushModeType.MANUAL, so that the 
persistence context does not write to the database until em.flush() is called

- All your screens and popups run inside the same long-running conversation 
(JSF POSTback propagates the conversation, for opening a new window etc. and 
propagation during GET use s:link or s:button)

- Use the @In EntityManager to load objects and queue objects for storing 
(unflushed)

- If you want to cancel the whole thing, end the conversation without flushing 
the persistence context

- If you want to commit the whole thing, call em.flush() in the request that 
also ends the conversation

Finally, this is _not_ trivial although there is probably no framework that 
makes this easier than Seam. For example, I did not even mention the word 
transaction, because what the TransactionalSeamPhaseListener is doing is just 
fine.


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

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


[jboss-user] [Remoting] - Re: unexpected server shutdown with sslsocket

2007-05-05 Thread [EMAIL PROTECTED]
Hi Claudia,

There's no indication that there was any problem closing the old ServerSocket, 
so it looks like the the port was just unavailable (in a TIME_WAIT) state.  Do 
you set reuseAddress to true?  Maybe that would fix the problem.

-Ron

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

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


[jboss-user] [JBoss Seam] - Re: Nested conversations and transaction management

2007-05-05 Thread FabBoco
Christian,

thank you again.

anonymous wrote : 
  | You believe that there are nested transactions and that transactions span 
requests. These things do not happen or don't exist.
  | 

Your answers helped me to realize that this is not true.

anonymous wrote : 
  | It took me a while to realize that you actually wanted to say persistence 
context whenever you said transaction, because that is what you are looking 
for. 
  | 

If you call - do all or nothing -  persistence context it is ok for me too.

Anyway, following your answers I get to exactly:

anonymous wrote : 
  | - A long-running conversation that is started when the form in 1) is 
rendered
  | 
  | - A Seam-managed persistence context with @In EntityManager (read the docs) 
that is bound to that conversation (automatically)
  | 
  | - The conversation should begin with FlushModeType.MANUAL, so that the 
persistence context does not write to the database until em.flush() is called
  | 
  | - All your screens and popups run inside the same long-running conversation 
(JSF POSTback propagates the conversation, for opening a new window etc. and 
propagation during GET use s:link or s:button)
  | 
  | - 
  | 

It is not working yet (my application is a little more complex of my 
description), but I think to be able to fix it myself.

Tank you again.

Regards

Fab.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
I've tried the entity-query to be running sucessful.
So it seem that it is caused by the type. The converter seems to have the 
problem of  judge the type of the object. What should I do to make it run?

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
I don't want to use the entity-query because of the limitation of it.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
Oh, I see. The @DataModel outjected the List as DataModel, so the 
entityConverter can't judge the type. Should I add an issue for s:convertEntity 
DataModel not supported?

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

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


[jboss-user] [EJB 3.0] - Performance issues with batch insert

2007-05-05 Thread toni
Hi,

in our webapplication the user can trigger a batch insert, which will create 
about 400 entities. This takes about 40 minutes.

In the beginning each entity gets created within a second. The more entities 
are inserted and the further the process progreses, the slower it gets.

In the end it takes about 7 seconds to create one and this trend seems to 
continue. I'm currently running a test to insert a few thousand entities to see 
what happens.

First I thought that this might be because of some imperformant SELECT 
statements of mine. There is lots of business logic involved in creating a 
single entity with all it's relationships.

However, if after a batch insert has been completed successfully I start 
another one, then the same thing happens over. Considerably fast in the 
beginning and the slowly slowing down.

If it would be about the tables growing larger, then the second batch insert 
should be slow from the very start.

Does anybody know what could be the cause of this?

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

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


[jboss-user] [JBoss Seam] - Re: Help: problem with EntityHome

2007-05-05 Thread petemuir
You've got an NPE in you own code.  Fix it.  At least show the code that gives 
the NPE!

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
s:convertEntity doesn't need to know about DataModels, and s:selectItems, which 
does need to, does know about them.

What version of Seam?  Add a message component to the h:selectOneMenu and see 
why it's not submitting.

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

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


[jboss-user] [JBoss Seam] - Re: Sun's app server and Seam

2007-05-05 Thread petemuir
There is also a glassfish example in the seam distribution

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread petemuir
What you are saying makes no sense.  Views aren't bound to conversations or the 
session, components are.

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

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


[jboss-user] [JBoss Seam] - Re: jboss-el improvements?

2007-05-05 Thread petemuir
No, its currently not been documented.  I believe Jacob (Hookom) blogged about 
it a while ago, but I'm not sure how up to date that syntax is.

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

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


[jboss-user] [JBoss Seam] - Re: ClassCastException: org.jboss.seam.jsf.SeamApplication11

2007-05-05 Thread petemuir
It appears that WAS isn't well behaved here as it assumes that the JSF 
Application will be a particular implementation, rather than using an API 
class, or even putting the cast inside an if.  You'll need to take this up with 
IBM I think.

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread mnrz
petemuir wrote : What you are saying makes no sense.  Views aren't bound to 
conversations or the session, components are.

well, I meant the same component, sorry I made mistake

I want to go to a page which has a component in session scope but when I want 
to go back to conversation it says it has ended

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

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


[jboss-user] [JBoss Seam] - Re: Loosing the URL parameters between requests

2007-05-05 Thread Sammy8306
My approach is to cache the parameters in a page scoped component.

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread petemuir
post code

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread mnrz
here is the component in session scope:


  | @Stateful
  | @Name(userSetting)
  | @Scope(ScopeType.SESSION)
  | public class UserSettingAction implements UserSetting {
  | 
  | private Log logger = LogFactory.getLog(SearchResultAction.class);
  | 
  | private ListString selectedItems;
  | 
  | private ListString categoryList;
  | 
  | private HtmlSelectOneMenu selectOneCategory;
  | 
  | private SelectItem categorySelectItem[];
  | private SelectItem selectedCategory;
  | private HtmlSelectManyPicklist picklist;
  | private boolean sorted = false;
  | 
  | @Out
  | private String headerName;
  | 
  | private ColumnHeaderListColumnHeader columns;
  | 
  | @Out
  | private MapClass, ColumnHeaderListColumnHeader columnHeaders;
  | 
  | @Create
  | @Begin(join=true)
  | public void build() {
  | logger.debug(Populating column headers);
  | selectedItems = new ArrayListString();
  | categoryList = new ArrayListString();
  | columnHeaders = new HashMapClass, 
ColumnHeaderListColumnHeader();
  | try {
  | int j = 0;
  | categorySelectItem = new 
SelectItem[Infrastructure.getStructure()
  | .keySet().size()];
  | for (Class cat : 
Infrastructure.getStructure().keySet()) {
  | IndexRoot indexRoot = 
Infrastructure.getStructure().get(cat);
  | SelectItem selectItem = new 
SelectItem(indexRoot.getClassName().getName(), indexRoot.getName());
  | categorySelectItem[j] = selectItem;
  | headerName = indexRoot.getName();
  | ColumnHeaderListColumnHeader columns = new 
ColumnHeaderListColumnHeader();
  | int i = 1;
  | for (FieldData f : indexRoot.getFields()) {
  | if (f.isExpanded())
  | columns.add(new 
ColumnHeader(f.getOriginalName(), f
  | .getAlias(), i, 
i = 3));
  | else
  | columns.add(new 
ColumnHeader(f.getName(),
  | f.getAlias(), 
i, i = 3));
  | ++i;
  | }
  | columnHeaders.put(indexRoot.getClassName(), 
columns);
  | j++;
  | }
  | 
  | //set defaults...
  | Class clazz = 
getClassFromName((String)categorySelectItem[0].getValue());
  | selectOneCategory = new HtmlSelectOneMenu();
  | picklist = new HtmlSelectManyPicklist();
  | 
selectOneCategory.setValue((String)categorySelectItem[0].getValue());
  | //columns = columnHeaders.get(clazz);
  | setCurrentFields(clazz);
  | } catch (Exception e) {
  | logger.error(exception in loading column names:);
  | e.printStackTrace();
  | }
  | }
  | 
  |   rest of the codes...
  | }
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Looking for localhost:8080/jbpm (referenced in demo)

2007-05-05 Thread kukeltje
look at the first post in this forum.

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

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


[jboss-user] [JBoss jBPM] - Re: Nullable properties and Text control behaviour in the GP

2007-05-05 Thread kukeltje
Item 1: I have to experience that I think, no preference yet.

Item 2: I wanted to post that. Maybe real pure eclipse users are used to this, 
I'm not (although I use eclipse regularly, I rarely come across using tables). 
I think other (business?) users will not be used to this either. So  imo an 
inconsistency with eclipse tables is acceptable (or make it configurable?)

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread mnrz
I think I put @Begin in wrong place because when the session is creating it 
will calls the @Create method and it is also lunches a conversation so this 
conversation is different from the next one that I will lunch later

but I dont know, if I remove @Begin how can I notify to join to current 
conversation if the user clicks on the link or button to go in that page with 
session scope component (the above component) 

there is no attribute on pages.xml to define a page to join the current 
conversation. 

is there any way?

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

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


[jboss-user] [JBoss jBPM] - Re: Enumerations in jPDL

2007-05-05 Thread kukeltje
The most simple way is to do it in the forms. 

The more complex way is to use an actionhandler that takes parameters and sets 
a processvariable as an enummeration. The form can then display that 
processvariable. 

There is no option (yet) to set/declare an enumeration in jpdl

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

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


[jboss-user] [JBoss jBPM] - Re: How to delete a process archive?

2007-05-05 Thread kukeltje
jbpm has fairly good api docs. Use them to your advantage and you'll find two 
methods to delete a processdefinition in the class GraphSession

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread petemuir
You need to post *all* the code involved - not just random portions.

mnrz wrote : I think I put @Begin in wrong place because when the session is 
creating it will calls the @Create method and it is also lunches a conversation 
so this conversation is different from the next one that I will lunch later

No, the conversation is join=true.

anonymous wrote : but I dont know, if I remove @Begin how can I notify to join 
to current conversation if the user clicks on the link or button to go in that 
page with session scope component (the above component) 

A session scoped component will be able to inject stuff from the current 
conversation.

anonymous wrote : there is no attribute on pages.xml to define a page to join 
the current conversation. 

begin-conversation join=true /

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread mnrz
ok

here is the page that has a button to go to setting.xhtml:


  | ?xml version=1.0 encoding=utf-8 ?
  | !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:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | xmlns:s=http://myfaces.apache.org/sandbox;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:c=http://java.sun.com/jstl/core;
  | xmlns:fn=http://java.sun.com/jsp/jstl/functions;
  | ui:composition template=/pages/template.xhtml
  | ui:define name=topnav
  | ui:include src=/pages/incl/navbar.xhtml /
  | /ui:define
  | ui:define name=body
  | f:view
  | h:form id=resultQuery
  | s:fieldset legend=Settings: align=left
  | h:panelGrid bgcolor=#cc 
columns=5
  | t:selectOneMenu 
id=rowPerPageOption onchange=submit(this)
  | 
valueChangeListener=#{searchResult.rowPerPageChanged}
  | f:selectItem 
itemLabel=5 itemValue=5 /
  | f:selectItem 
itemLabel=10 itemValue=10 /
  | f:selectItem 
itemLabel=20 itemValue=20 /
  | f:selectItem 
itemLabel=30 itemValue=30 /
  | f:selectItem 
itemLabel=40 itemValue=40 /
  | f:selectItem 
itemLabel=50 itemValue=50 /
  | f:selectItem 
itemLabel=100 itemValue=100 /
  | f:selectItem 
itemLabel=200 itemValue=200 /
  | /t:selectOneMenu
  | 
  | h:commandButton 
action=#{searchResult.setting}
  | value=Columns... /
  | 
  | h:commandButton 
actionListener=#{exportData.export}
  | value=Export to Excel 
/
  | h:commandButton 
actionListener=#{exportDataIText.exportToPDF}
  | value=Export to PDF /
  | h:commandButton 
actionListener=#{exportDataIText.exportToRTF}
  | value=Export to Word 
/
  | 
  | s:pprPanelGroup 
id=pprInlineMsg
  | 
partialTriggers=resultQuery:rowPerPageOption
  | 
inlineLoadingMessage=Loading.../s:pprPanelGroup
  | 
  | t:popup styleClass=popup 
id=popupMenu
  | 
  | h:outputText 
value=loading file
  | 
rendered=#{exportData.loading} /
  | f:facet name=popup
  | h:panelGroup
  | 
h:panelGrid columns=1
  | 
ui:repeat value=#{exportData.listDownload} var=down
  | 
h:commandLink action=#{dounloadFile.downloading}
  | 
f:param name=fileupload_type value=#{down.contentType} /
  | 
f:param name=fileupload_name value=#{down.filename} /
  | 
h:outputText value=#{down.filename} /
  | 
/h:commandLink
  | 
/ui:repeat
  | 
/h:panelGrid
  | /h:panelGroup
  | /f:facet
  | /t:popup
  | /h:panelGrid
  | /s:fieldset
  | hr /
  | 

[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread mnrz
sorry and this is the setting.xhtml 
and when I click on continueButton i want to go back to last conversatin
but I receive this message:
The conversation ended, timed out or was processing another request



  | ?xml version=1.0 encoding=utf-8 ?
  | !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:ui=http://java.sun.com/jsf/facelets;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:t=http://myfaces.apache.org/tomahawk;
  | xmlns:s=http://myfaces.apache.org/sandbox;
  | xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:c=http://java.sun.com/jstl/core; 
  | head
  | title
  | Query Builder
  | /title
  | meta http-equiv=Content-Type content=text/html; 
charset=UTF-8/
  | /head
  | body
  | ui:composition template=/pages/template.xhtml
  |  ui:define name=topnav
  | ui:include src=/pages/incl/navbar.xhtml /
  | /ui:define
  | 
  | ui:define name=body
  | f:view
  | h:form id=settingForm
  | 
  | !--label for=categoryList1 value=select a category: --
  | t:selectOneMenu  id=categoryList1 required=true 
  |   
valueChangeListener=#{userSetting.processValueChanged} 
  |   
binding=#{userSetting.selectOneCategory}
  | f:selectItems id=selectcategory 
value=#{userSetting.categorySelectItem}/
  | /t:selectOneMenu 
  | h:commandButton id=loadButton value=Load class=button /
  | hr/
  | h:outputText id=headerNameOutput value=select columns: /
  | !-- pprPanelGroup id=pprCategoryDropDown align=center 
partialTriggers=loadButton--   
  |   s:selectManyPicklist id=pickList size=10 
  | value=#{userSetting.selectedItems} 
valueChangeListener=#{}
  |  s:selectItems id=columnHeadersSelectItems 
value=#{userSetting.columns} var=column 
  |   itemValue=#{column.name} 
itemLabel=#{column.label} /
  |   /s:selectManyPicklist
  | hr/  
  | h:commandButton id=applyButton value=Apply class=button 
action=#{userSetting.apply}/
  | h:commandButton id=continueButton value=Continue 
class=button action=#{userSetting.continueNextPage}/
  | s:pprPanelGroup id=pprPanelall align=center 
partialTriggers=applyButton   
  | 
  | /s:pprPanelGroup
  | !-- outputText value=userSetting.selectedInfo} --
  | 
  |/h:form
  | /f:view
  | 
  | /ui:define
  | /ui:composition 
  | /body
  | 
  | /html
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread petemuir
And the exception? The WHOLE stack trace

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

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


[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?

2007-05-05 Thread mnrz
petemuir wrote : And the exception? The WHOLE stack trace

no exception I can see in tomcat console, but the first page will be displayed 
and the message 

The conversation ended, timed out or was processing another request

will be displayed at that page. I expect to go back to another page but it 
returns to the first page of the application which I set if no conversation go 
to it.

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

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


[jboss-user] [JBossWS] - can any one know how to return a collection object in a @web

2007-05-05 Thread shaiknoor_basha
please help

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

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


[jboss-user] [JBoss Seam] - Seam validation problem with facelets source tag

2007-05-05 Thread czhao07
Here is what I am trying to do:

1. Create facelets source tag:

In taglib:


  | tag
  | tag-nameaddress/tag-name
  | sourcexhtml/address.xhtml/source
  | /tag
  | 

In address.xhtml:

  | ui:composition ...
  | ...
  | s:decorate
  | h:inputText
  | value=#{address.street}
  | id=street
  | /h:inputText
  | /s:decorate
  | ...
  | /ui:composition
  | 

2. Now in my facelets that uses the tag:


  | 
  | ...
  | s:validateAll
  |  ...
  |  v:address address=mybean.billingAddress/
  |  ...
  | /s:valiateAll
  | ...
  |  
  | 

The facelets loads fine with the address source tag, and when I enter invalid 
data in fields from address.xhtml, submit the form and I get the proper 
validation error messages, so far so good. But if I enter the valid data and 
submit form, I got the following stack trace:



  | Caused by: java.lang.NullPointerException
  | at 
org.jboss.seam.core.Expressions.getValidator(Expressions.java:198)
  | at org.jboss.seam.core.Expressions.validate(Expressions.java:182)
  | at org.jboss.seam.ui.ModelValidator.validate(ModelValidator.java:25)
  | at 
javax.faces.component._ComponentUtils.callValidators(_ComponentUtils.java:157)
  | at javax.faces.component.UIInput.validateValue(UIInput.java:312)
  | at javax.faces.component.UIInput.validate(UIInput.java:353)
  | at javax.faces.component.UIInput.processValidators(UIInput.java:183)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at javax.faces.component.UIForm.processValidators(UIForm.java:70)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624)
  | at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:146)
  | 
  | 

If I change the address.xhtml to use #{mybean.billingAddress} directly like 
this:


  | ui:composition ...
  | ...
  | s:decorate
  | h:inputText
  | value=#{mybean.billingAddress.street}
  | id=street
  | /h:inputText
  | /s:decorate
  | ...
  | /ui:composition
  | 

Then the problem goes away, although this works, but it defeats the purpose of 
reusing the tag in several other places.

Any idea?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Seam validation problem with facelets source tag

2007-05-05 Thread czhao07
There was a typo in previous post, the facelets that uses the tag acutally was:


  | ...
  | s:validateAll
  |  ...
  |  v:address address=#{mybean.billingAddress}/
  |  ...
  | /s:valiateAll
  | ...
  | 



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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
I thought I'm misunderstanding it. It isn't caused by datamodel. I use the @Out 
error again. I'm confused.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
The field is annotated as below. I forgot to show here.

  | @SuppressWarnings(unused)
  | @DataModel
  | private ListCategory categoryList;
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
is this happening inside a long running conversation?

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

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


[jboss-user] [JBoss Seam] - Re: Seam validation problem with facelets source tag

2007-05-05 Thread [EMAIL PROTECTED]
I had the same problem. It's a known issue - 
http://jira.jboss.com/jira/browse/JBSEAM-666.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
No

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

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


[jboss-user] [JBoss Seam] - Re: ClassCastException with @DataModel

2007-05-05 Thread anarinsky
I have the same problem.  Did you find a solution?
Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread Seto
Thanks. I make it into long-running conversation and it runs.

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

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


[jboss-user] [Clustering/JBoss] - Re: Session Replication - Concurrency Problems?

2007-05-05 Thread sparrow
Hi !

I've discavered same problem too. Mode REPL_SYNC with SERIALIZABLE with 
SyncCommitPhase=true and SyncRollbackPhase=true doesn't always allow to 
replicate session succsessfully. I would glad for any advices. Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread fhh
Why is the conversation approach recommended.

I thought entites do require overwriting equals() anyway because it is used in 
many other locations as well.


Regards

Felix


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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread petemuir
http://hibernate.org/109.html

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

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


[jboss-user] [JBoss jBPM] - BPEL: adding an element to an array?

2007-05-05 Thread zauberlehrling
Hi,

is there a way to add an element to an array in a BPEL-program?
In the bpel-engine from oracle there exists a function addChildNode
for this purpose.

Best regards,

Frank

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

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


[jboss-user] [EJB 3.0] - ClassNotFoune Exception in Tomcat Servlet in response to a r

2007-05-05 Thread tonioc
Hi,

My configuration:

1. Jboss 4.0.5.GA - EJB3
2.Tomcat 5.5.23 in an independent JVM
3.All jboss-client jar's are in tomcat's share class loader, not in the 
war-archive

I'm experiencing a strange problem when calling a
stateless Session Bean from Tomcat.

- The first time I call it gives a ClassNotFoundException
- The second/third/etc time I call it works OK
- If I wait for nearly 30 seconds, it repeats the same problem

I'm sure all classes are in my war.

This is the top of my stack-trace

  | 14:27:59 
[remoting.transport.socket.SocketClientInvoker-http-9080-Processor25] ERROR - 
Error loading classes from remote call result.
  |  java.lang.ClassNotFoundException: isoa.investments.entity.PublicBond
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1359)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1205)
  | at 
org.jboss.remoting.loading.RemotingClassLoader.loadClass(RemotingClassLoader.java:50)
  | at 
org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.resolveClass(ObjectInputStreamWithClassLoader.java:139)
  | 

I've also tested putting jboss-all-client.jar in my war, and the same
error occurs.

Any help will be greatly welcome.
thanks in advance
tonio





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

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


[jboss-user] [Beginners Corner] - Socket problems when invoking EJB method

2007-05-05 Thread kuvera
My program gets past JNDI lookup to remote host, but fails when it actually 
invokes the method on the remote object. I suspect I need some more ports other 
than 1098,1099,, but I'm not sure. I get this exception:

  | org.jboss.remoting.CannotConnectException: Can not get connection to 
server.  Problem establishing socket connection for locator - InvokerLocator 
[socket://127.0.0.1:3873/]
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:319)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:116)
  | at org.jboss.remoting.Client.invoke(Client.java:612)
  | at org.jboss.remoting.Client.invoke(Client.java:604)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
  | at $Proxy0.queryWithoutRecord(Unknown Source)
  | at 
kuvera.dataware.SqlClientProxy.queryWithoutRecord(SqlClientProxy.java:155)
  | at kuvera.main.Main.indit(Unknown Source)
  | at kuvera.main.Main.main(Unknown Source)
  | Caused by: java.net.ConnectException: Connection refused: connect
  | at java.net.PlainSocketImpl.socketConnect(Native Method)
  | at java.net.PlainSocketImpl.doConnect(Unknown Source)
  | at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
  | at java.net.PlainSocketImpl.connect(Unknown Source)
  | at java.net.SocksSocketImpl.connect(Unknown Source)
  | at java.net.Socket.connect(Unknown Source)
  | at java.net.Socket.connect(Unknown Source)
  | at java.net.Socket.init(Unknown Source)
  | at java.net.Socket.init(Unknown Source)
  | at 
org.jboss.remoting.transport.socket.SocketClientInvoker.createSocket(SocketClientInvoker.java:179)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:681)
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:315)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:116)
  | at org.jboss.remoting.Client.invoke(Client.java:612)
  | at org.jboss.remoting.Client.invoke(Client.java:604)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:61)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:72)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:103)
  | at $Proxy0.queryWithoutRecord(Unknown Source)
  | at 
kuvera.dataware.SqlClientProxy.queryWithoutRecord(SqlClientProxy.java:155)
  | at kuvera.main.Main.indit(Unknown Source)
  | at kuvera.main.Main.main(Unknown Source)
  | at 
org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74)
  | ... 12 more
  | 

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

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


[jboss-user] [JBossWS] - After Adding WSDL to JBossWS, the

2007-05-05 Thread MichelRobert
Hello,

I seem to have some sort of configuration problem. When I Add a WSDL to my 
project using JBossWS, the IDE reads in the wsdl, but does not actually 
populate the JBossWS Web Services entry in package Explorer.  After lots of 
tests, I finally manged to get an error message:

Error importing wsdl: org.apache.xmlbeans.XmlException: error: Unexpected 
element: CDATA

Note the wsdl does not contains any CDATA. In fact, this is the wsdl that is 
generated by JBossIDE from the basic HelloWorld example.  So you would think it 
would not object to anything in it! 

I should also mention that it is my understanding that when the JbossIDE 
generates the wsdl, that a wsdl entry should appear under JBossWS Web 
Services.  This does not happen in my IDE (which is the JBoss Bundle that 
includes Eclipse).  The wsdl is actualy created though.  

Any help anyone might offer to help resolve this problem would be greatly 
appreciated.  

MR



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

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


[jboss-user] [JBoss Seam] - Re: Sun's app server and Seam

2007-05-05 Thread [EMAIL PROTECTED]
The examples/glassfish shows how to use Seam with GlassFish EJB3. The 
examples/jpa shows how to use Seam POJO and JPA in Glassfish (as well as in 
WebLogic 9 and WebSphere 6)

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

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


[jboss-user] [JBoss Seam] - conversation propagation and navigation rule

2007-05-05 Thread atao
With seam 1.2.1.GA, I tried this code:


  | page view-id=*
  | navigation
  | rule if-outcome=fundList
  | redirect view-id=/FundList.xhtml
  | param name=conversationPropagation value=none /
  | /redirect
  | /rule
  | /navigation
  | /page
  | 

and I got this exception:

anonymous wrote : 
  | javax.servlet.ServletException: Invalid expression: 'none'. Parsed 
Expression of unexpected type java.lang.String
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:152)
  | 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:147)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  |  ...
  | 
  | 21:18:15,218 ERROR [ExceptionFilter] exception root cause
  | javax.faces.el.ReferenceSyntaxException: Invalid expression: 'none'. Parsed 
Expression of unexpected type java.lang.String
  | at 
org.apache.myfaces.el.ELParserHelper.parseExpression(ELParserHelper.java:84)
  | at 
org.apache.myfaces.el.ValueBindingImpl$2.newInstance(ValueBindingImpl.java:82)
  | at 
org.apache.myfaces.shared_impl.util.BiLevelCacheMap.get(BiLevelCacheMap.java:123)
  | at org.apache.myfaces.el.ValueBindingImpl.(ValueBindingImpl.java:115)
  | 
  | ...
  | 

So how to specify no conversation propagation from navigation rule inside 
pages.xml?



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

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


[jboss-user] [JBoss Seam] - Re: Can i use another kind of architeture for a SEAM applica

2007-05-05 Thread carlos.abreu
Thanks very much for the tips given, they will be very helpful. Last 
question

There is a place to host a seam application ? I'm thinking in develop a project 
using SEAM and provide to the open community...

thanks

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

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


[jboss-user] [JBossWS] - Re: After Adding WSDL to JBossWS, the

2007-05-05 Thread omatzura
Hi!

You will need to switch to the Project Explorer view instead of the Package 
Explorer to see the WSDL under the JBossWS Web Services node.

does that help?

regards,

/Ole
eviware.com

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

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


[jboss-user] [EJB 3.0] - Re: ClassNotFound Exception in Tomcat Servlet in response to

2007-05-05 Thread tonioc
Some news.

If I put all jboss*.jar from JBOSS_HOME/client, except jbossall-client.jar in
my war file, it works ok.

Now a question is: As I have a lot (20-30) web applications that
uses jboss-client, is there a way to avoid putting in every application
all jboss-client jars ?

thanks again
tonio

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

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


[jboss-user] [JBoss jBPM] - JBPM Integration

2007-05-05 Thread amontobin
Hi,

Currently, i'm studying usage of workflow mangament in particular for doing a 
big application. My application will have its own persistence (Hibernate or 
Ejb3), it's own user interface, it's own authentification, it's own task 
management  My questions concerns integration between my application and 
jbpm because i want this integration to be as close as possible.

In domain model, i will have different type of entities that will possess their 
own workflows. 

1. Workflow Modelling and integration with jbpm
Supposer i'm writing a worflow for entity E. Instances of entity E are 
stored in the database A. JBPM workflow is stored inn database B.
If i want to create a workflow for entity E, do i have to store the id of 
each instance in the jbpm's context of the process instance in order to do the 
link between my application and jbpm process ?
   If i do that, my actions will do for instance :
  // retrieve context variable for id
  int id = context.get(entityid);
  // connect to database A and retrieve entity with id.
  // do some business on database A
  // eventually, modify context for adding/removing/changing values
Is it good to do that ?
 
If i want to find in which state is my object with id i. I will have to 
find all process instances, get the context for each one, and loook to find the 
one with the variable entityid containing the value i. Is this correct ?

2. User/Task Integration
If my application have its own entities for (User, Group, Tasks, Rights 
...) 
How do i link with same entities of jbpm ?
How  do i do for using my own definition instead of jbpm definitions ?
Maybe should i create one user on the jbpm for each user i have in my 
application ?
Maybe i can rewrite factory for doing my own persistence ?
How could i do a good integration with my application ?

3. Maintenance
 Business has changed and i have added/removed some states to the process 
defintion. When deploying a new process definition, a new version is created.
 What happen to the objects (Ids) that where already in the workflow ?
 Do i have to do an sql patch procedure to move my objects already in the 
workflow to a consistent state according to the new prcocess  definition ? 

If you have any hints to answer theses questions or present how to integrate 
jbpm with an application, your help will be very appreciate.

I hope to explain my questions as clear as possible.

Thank you.
Sebastien Boutte


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

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


[jboss-user] [JBoss Seam] - @Future being ignored

2007-05-05 Thread [EMAIL PROTECTED]
I am not having the @Future being honoured.
Is this a valid annotation and is there anything wrong with this:


  | @NotNull
  | @Future
  | @Basic
  | @Temporal(TemporalType.DATE)
  | public Date getStartDate() {
  | return startDate;
  | }
  | 



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

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


[jboss-user] [JBoss Seam] - Re: Can i use another kind of architeture for a SEAM applica

2007-05-05 Thread Delphi's Ghost
I don't know anyplace that currently does it, but I'm no expert. Take a look at 
Michael Yuans posts about virtual private servers that lets you put what you 
want on the server.

I'll refer you to his blog for details :

http://www.michaelyuan.com/blog/index.php?s=hosting





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

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


[jboss-user] [JBoss Portal] - Connect JBoss Portal to a different JCR compliant repository

2007-05-05 Thread akgindia
Hi,

I am looking for a way to disconnect JBoss Portal from internal Jackrabbit 
repository and connect to an external repository.

The repository I want to use is HippoCMS.

Please provide some inputs on how this can be achieved.

Many thanks.

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

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


[jboss-user] [JBoss Seam] - Re: @Future being ignored

2007-05-05 Thread [EMAIL PROTECTED]
@CreditCardNumber is also not even known in Seam.

Are all the Hibernate validations etc. supported?

Can we drop in a new jar to catch up?

http://www.hibernate.org/hib_docs/validator/reference/en/html/validator-defineconstraints.html
 

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

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


[jboss-user] [JBoss Seam] - Re: Problem with s:convertEntity

2007-05-05 Thread fhh
Exactly that was my point.

I was refering to the wiki page: 

anonymous wrote : 
  | Strongly Recommended Ensure that you are in a long-running conversation 
that spans the both the select list creation and the submission of the form.
  | 

I would strongly recommend to implement a proper equals() method (by comparing 
ids and using object identity only if ids are null.).

Regards

Felix

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

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


[jboss-user] [JBoss jBPM] - Re: Looking for localhost:8080/jbpm (referenced in demo)

2007-05-05 Thread [EMAIL PROTECTED]
Thanks! I did find the console already. In future, I'll read the forum more 
closely!  ;-)

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

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


[jboss-user] [JBoss Seam] - Re: Help: problem with EntityHome

2007-05-05 Thread qzhengyy
Here is the code

  | public class FooHome extends EntityHomeFoo {
  | @In EntityManage em
  | @Transactional
  | public String persist() {
  |   getEntityManager().joinTransaction();
  |   getEntityManager().persist( getInstance() );
  |   getEntityManager().flush();
  |   assignId( PersistenceProvider.instance().getId( getInstance(), 
getEntityManager() ) ); // This is line 32
  |   createdMessage();
  |   return persisted;
  |}
  | }
  | 
PersistenceProvider.instance() == null

Thanks

Qing

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

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


[jboss-user] [JBossWS] - Re: After Adding WSDL to JBossWS, the

2007-05-05 Thread MichelRobert
Thank you so very much for the quick reply!  And you've made my day (well night 
now) - as your suggestion does in fact fix the problem.  Now that I have the 
Project Explorer up, the JBossWS Web Services node appears populated just 
as shown in the documentation.  

Now I can actually start doing some real work!

Tack så mycket!

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

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

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