[jboss-user] [Beginners Corner] - Stateless session bean locking policy for jboss 3.2.3
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=bb&op=viewtopic&p=4043411#4043411 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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 sun.reflect.Del
[jboss-user] [Remoting] - Re: https with path and ejb3 can not be configured
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: | | | | test.somedomain.com | 8084 | foo/bar | | ... | 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=bb&op=viewtopic&p=4043414#4043414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043416#4043416 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | thank you very much View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043417#4043417 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043418#4043418 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043419#4043419 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043420#4043420 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043421#4043421 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043422#4043422 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043423#4043423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043425#4043425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043428#4043428 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043427#4043427 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
There is also a glassfish example in the seam distribution View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043429#4043429 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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=bb&op=viewtopic&p=4043430#4043430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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=bb&op=viewtopic&p=4043431#4043431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043432#4043432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
"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=bb&op=viewtopic&p=4043433#4043433 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
My approach is to cache the parameters in a page scoped component. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043434#4043434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
post code View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043435#4043435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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 List selectedItems; | | private List categoryList; | | private HtmlSelectOneMenu selectOneCategory; | | private SelectItem categorySelectItem[]; | private SelectItem selectedCategory; | private HtmlSelectManyPicklist picklist; | private boolean sorted = false; | | @Out | private String headerName; | | private ColumnHeaderList columns; | | @Out | private Map> columnHeaders; | | @Create | @Begin(join=true) | public void build() { | logger.debug("Populating column headers"); | selectedItems = new ArrayList(); | categoryList = new ArrayList(); | columnHeaders = new HashMap>(); | 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(); | ColumnHeaderList columns = new ColumnHeaderList(); | 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=bb&op=viewtopic&p=4043436#4043436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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)
look at the first post in this forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043438#4043438 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043439#4043439 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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=bb&op=viewtopic&p=4043440#4043440 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043441#4043441 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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=bb&op=viewtopic&p=4043443#4043443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043442#4043442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
ok here is the page that has a button to go to setting.xhtml: | | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | 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";> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | |
[jboss-user] [JBoss Seam] - Re: can I join a session with a conversation?
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 | | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | 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"; > | | | Query Builder | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043445#4043445 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
And the exception? The WHOLE stack trace View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043446#4043446 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
"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=bb&op=viewtopic&p=4043447#4043447 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
please help View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043448#4043448 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
Here is what I am trying to do: 1. Create facelets source tag: In taglib: | | address | xhtml/address.xhtml | | In address.xhtml: | | ... | | | | ... | | 2. Now in my facelets that uses the tag: | | ... | | ... | | ... | | ... | | 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: | | ... | | | | ... | | 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=bb&op=viewtopic&p=4043449#4043449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
There was a typo in previous post, the facelets that uses the tag acutally was: | ... | | ... | | ... | | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043450#4043450 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
1.2.1 GA. The reason is 'Error: "_id19": .', translating into English as 'Error:"_id19":invalid option. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043451#4043451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043451 ___ 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
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=bb&op=viewtopic&p=4043452#4043452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
The field is annotated as below. I forgot to show here. | @SuppressWarnings("unused") | @DataModel | private List categoryList; | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043453#4043453 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
is this happening inside a long running conversation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043454#4043454 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043455#4043455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
No View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043456#4043456 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
I have the same problem. Did you find a solution? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043457#4043457 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043459#4043459 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
Thanks. I make it into long-running conversation and it runs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043461#4043461 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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=bb&op=viewtopic&p=4043464#4043464 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043465#4043465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
http://hibernate.org/109.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043466#4043466 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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?
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=bb&op=viewtopic&p=4043472#4043472 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043470#4043470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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.(Unknown Source) | at java.net.Socket.(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=bb&op=viewtopic&p=4043474#4043474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043475#4043475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043478#4043478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
With seam 1.2.1.GA, I tried this code: | | | | | | | | | | 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=bb&op=viewtopic&p=4043479#4043479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043480#4043480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043481#4043481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043483#4043483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JBPM Integration
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=bb&op=viewtopic&p=4043485#4043485 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043487#4043487 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043488#4043488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043489#4043489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
@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=bb&op=viewtopic&p=4043492#4043492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043493#4043493 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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)
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=bb&op=viewtopic&p=4043494#4043494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
Here is the code | public class FooHome extends EntityHome { | @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=bb&op=viewtopic&p=4043498#4043498 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=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
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=bb&op=viewtopic&p=4043499#4043499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Timer Problem
I know there is a problem with the hibernate.cfg.xml file but I wonder if it's my application configuration problem, I add the following entries relevant to hibernate config as documented: | oracle.jdbc.driver.OracleDriver | jdbc:oracle:thin:@srv-ora:1521:orcl | | jbpm | jbpm | | | | | | | classpath*:/org/jbpm/**/*.hbm.xml | | | | | org.hibernate.dialect.Oracle9Dialect | false | false | | update | | | Nothing else View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4043500#4043500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4043500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user