[jboss-user] [Management, JMX/JBoss] - Re: Execution of twiddle from remote machine
for me the below command is also not working ./twiddle.sh -s 10.143.2.110 serverinfo -d jboss ./twiddle.sh -s remoteip serverinfo -d jboss ./twiddle.sh -s toki:1099 serverinfo -d jboss i also try out with the remote hostname also it is working for the local host only and i am getting the same error View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038225#4038225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Help on Named Query
Hi, My code are the following @Entity | @Table(name = tblName) | @NamedQueries( { | @NamedQuery(name = TblName.findFilteredDate, query = select * from table ), | @NamedQuery(name = TblName.findStuff, query = select * from tableStuff ) | }) On your code you have: @NamedQuery (name=Groupmember.findGroupsByMemberId, query=SELECT gm FROM Groupmember gm) Try putting @NamedQueries first and then you can use @NamedQuery. refer to my code above View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038226#4038226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: jboss.messaging:service=ServerPeer, ServerPeerID attribu
Anybody from development side that can spend a couple of words here? Thanks, Gabriele View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038227#4038227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with update of variable value
Sorry for my ugly english at first. I can't decide my problem for a few days. I am working on web application similiar to native jbpm demo app. I am using this code to load taskInstance and save variables (little simplified): | JbpmContext jbpmContext=null; | try | { | jbpmContext=createJbpmContext(); | long taskId=0; | String taskIds=request.getParameter(taskId); | if(taskIds!=null) | { | try | { | taskId=Long.parseLong(taskIds); | } | catch(NumberFormatException e) | { | } | } | TaskInstance taskInstance=jbpmContext.getTaskMgmtSession().loadTaskInstance(taskId); | List varAccesses=taskInstance.getTask().getTaskController().getVariableAccesses(); | if(varAccesses!=null) | { | for(Iterator iter=varAccesses.iterator();iter.hasNext();) | { | VariableAccess varAccess=(VariableAccess)iter.next(); | if(varAccess.isWritable()) | { | String name=varAccess.getVariableName(); | String value=pRequest.getParameter(name); | if(value==null||value.length()==0) | { | if(varAccess.isRequired()) | { | throw new UserError(parameter_required); | } | } | else | { | taskInstance.setVariable(name,value); | } | } | } | } | //marker 1 | taskInstance.end(request.getParameter(transition)); | //marker 2 | } | finally | { | jbpmContext.close(); | } | Before line marked as marker 1 all seems to be ok, variable updates theirs values, if i display it to System.out i see, that values is changed. But after i end task instance if variable was setted before, in some earlier task, then it backs old value again. For example: variable test has value first value which was setted in some previouse task node. In current task node i am trying to update it to second value all seems to be good until i end task node. Before i end it i have a second value as a value of variable test, but after i end task value returns to previous one and has first value as a value. Please explain what am i doing wrong? Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038229#4038229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with update of variable value
Upd.: I use jbpm from jbpm-starters-kit-3.1.3 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038230#4038230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Framework EntityQuery restrictions does not work fo
If that's correct, then great. I'm wrong and everything is safe. I've been cleaning out a lot of select ... where name like +name+% from a codebase I inherited. So I may just have been spooked by seeing #{expression} + %. That said, I don't recall reading anywhere that Seam does what you describe. Seam inlines these EL expressions elsewhere in components.xml. component class=com.helloworld.Hello name=hello | property name=name#{user.name}/property | /component View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038231#4038231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-console example in jBPM 3.2 not working
hashir, Were you able to resolve this? I'm running into the same. - Ralf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038232#4038232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Execution of twiddle from remote machine
Use netstat and figure out what IP your server is bound to for port 1099. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038236#4038236 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038236 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Framework EntityQuery restrictions does not work fo
I guess I'm just expecting the values to be run through Seam's interpolator, which just does a string replace. I don't expect that Seam will generate a prepared statement, replace the EL with bind variables, etc. If it does, more power to Gavin. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038239#4038239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: inconsistent behaviour
I have had that already and it even may (and usually does) give the error at the very first run. And there never is a permGen error in the log. I am not sure but I am relating it with me moving the library jars out of the project (to have a smaller .ear file) and adding these jars to the application server's classpath. I also have not managed log4j to find log4j.properties and initialize properly and after a lot of googling I have a feeling that it may be something to do with the class loader. There I have really near-to-zero knowledge about class loaders and about how an application server employs one (or many) Anything? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038240#4038240 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - what happent in my jboss4.0.5 with jbosscache?
Hello everyone! I built a apache with mod_jk to dispatch request to cluster. BY now thers is only one node in cluster. It's ok to forward a page on an ap server. After logining and get date from DB,page will set data to java bean. Bean will be put in session. But when I put a bean to session,It is alwayse dump the error message as bellow. Please help me. Thanks. liaomike --- 15:12:24,368 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: Fh+VdHvotLC84gCmLDmGvQ**.node3 lastAccessedTime: 1176880342145 version: 4 lastOutdated: 0] java.io.NotSerializableException: com.chttl.bcos.LogonAction at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156)at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at java.util.HashMap.writeObject(HashMap.java:1000) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at java.util.Hashtable.writeObject(Hashtable.java:824) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150)at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) at org.jboss.web.tomcat.tc5.session.SessionBasedClusteredSession.writeExternal(SessionBasedClusteredSession.java:175) at org.jboss.web.tomcat.tc5.session.JBossCacheService.externalizeSession(JBossCacheService.java:1023) at org.jboss.web.tomcat.tc5.session.JBossCacheService.putSession(JBossCacheService.java:312) at org.jboss.web.tomcat.tc5.session.JBossCacheClusteredSession.processSessionRepl(JBossCacheClusteredSession.java:121) at org.jboss.web.tomcat.tc5.session.JBossCacheManager.processSessionRepl(JBossCacheManager.java:1093) at org.jboss.web.tomcat.tc5.session.JBossCacheManager.storeSession(JBossCacheManager.java:648) at org.jboss.web.tomcat.tc5.session.IntervalSnapshotManager.processSessions(IntervalSnapshotManager.java:108) at org.jboss.web.tomcat.tc5.session.IntervalSnapshotManager.run(IntervalSnapshotManager.java:187) at java.lang.Thread.run(Thread.java:619) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038246#4038246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss
Just reelased: - http://blogs.jboss.com/blog/bburke/?permalink=Embedded_JBoss_JBoss_without_the_Application_SErver.txt View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038247#4038247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Understanding an asyncronous subflow ...
Hi All ... I was trying to understand and build a asyncronous subflow. My idea was to make the subflow to send a mail asyncronously. So I built a WF as below ... anonymous wrote : Mainflow MyAsyncWFTest starts | 1. Start | 2. Task1 - Read a variable P1 | | 3. Process State - Call SendMail Subflow to send a mail (ASYNCRONOUSLY) | | 4. Task2 - Display variable P1 | 5. End | Mainflow ends I have a subflow like this ... anonymous wrote : Subflow SendMail starts | 3.1 - Task31 - Do something before sending a mail | 3.2 - Task32 - Send Mail using mail action | 3.3 - Task31 - Do something after sending a mail | Subflow ends I thought by this,I can continue with my main workflow(Task2) even before the subflow returns to the main flow(when the subflow is active and has not returned to the main flow) But... I am able to execute the step Task2 in the main workflow only after the mailjing subflow has completed and returned to the main flow. Is my understanding right??Please provide clarification. Thanks in advance. --Yash View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038248#4038248 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Creating PDFs Programmatically
jgilbert wrote : I have the seam-pdf functionality working in my application. Now I want to have a background process create PDFs periodically. Currently I am using commons-httpclient to call out and back into my app and handle the redirect to create a PDF. | | It works but does anyone have a better way to do this? I'd like to know it too. But if you are simply sending PDFs by email here is a very elegant solution: http://docs.jboss.com/seam/1.2.1.GA/reference/en/html_single/#d0e8925 anonymous wrote : And it gets even better, you can attach a Seam generated PDF, or any standard JSF view, just by wrapping a m:attachment around the normal tags you would use: | | m:attachment fileName=tiny.pdf | | p:document | | A very tiny PDF | | /p:document | | /m:attachment I must say that I didn't try it myself yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038249#4038249 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: TypeNotPresentException
ya i selected ejb3 profile View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038250#4038250 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: Deploying a simple HelloWorld EJB3 under JBoss
I think you'd better post you source code to all of us, otherwise we cannot help you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038251#4038251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - listener action not called
I have an IncidentViewAction which display detail of entitfy incident. On the page are located some button, some do action and refresh page and some redirect to page to obtain some information. Finally all action ends on the same (detail) page. My problem is: How to do this correctly - best practise. When I create the entity and go to the detail page, click the button all works fine. But another buttons no nothing - only redirect the page. I would like how to get error (or any reason of this behaviour) and best practice how do it. | h:form | h:commandButton rendered=#{incident.reject} |action=#{incidentViewAction.reject(incident.id)} value=Odmítnout / | /h:form | | @Name(incidentViewAction) | @Restrict(#{identity.loggedIn}) | public class IncidentViewAction { | @In | Session agendaDatabase; | | @Out(required=false) | Incident incident; | | @Logger | Log log; | | @In(create = true) | IncidentService incidentService; | | private Long incidentId; | | public void loadIncident(Long id) { | log.info(Loading the incident...: + id); | incident = (Incident) agendaDatabase.load(Incident.class, id); | } | | public Long getIncidentId() { | return incidentId; | } | | /** business logic */ | public String reject(Long incidentId) { | log.info(Rejecting the incident: + incidentId); | this.incidentId = incidentId; | return IncidentState.IN_REJECTED; | } | | | !-- incident view - action execute before show -- | page view-id=/actions/incident/view.xhtml | param name=incidentId value=#{incident.id} / | action | execute=#{incidentViewAction.loadIncident(incident.id)} / | | navigation from-action=#{incidentViewAction.reject(incident.id)} | redirect view-id=/actions/incident/reject.xhtml | param name=incidentId | value=#{incidentViewAction.incidentId} / | /redirect | /navigation | ... | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038252#4038252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache and readonly transactions
Caching read-only data is a good thing if it is done locally, but i don´t understand why should we replicate them to all nodes in the cluster. Scalability and good performances can be achieved only if we reduce the amount of informations sent to the channel. So imagine that a transaction performs a SELECT * FROM T, where T is a table containing 1.000.000 of records, this transaction would produce an incredible and not necessary traffic on the communication channel, decreasing scalability and performances of the all cluster. isn´t it? Andrea View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038253#4038253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6 Alpha 2 Release
sh build.sh -p Gives you all the target. all Executes all modules and builds everything. clean Cleans up most generated files. clobber Cleans up all generated files. deployDeploy. exploded-deploy Deploy exploded sar. help Show this help message. main Executes the default target (most). most Executes all modules and builds most everything. outputGenerate all target output. release Builds the default release structure. release-full Builds the full release structure. undeploy Undeploy. sh build.sh exploded-deploy is what you are looking for. I don't see how Mr Pom.xml would help... That would be: maven exploded-deploy ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038254#4038254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen hbm to entities
Hello, I was wondering if there was an easy way to generate a seam project from a hibernate map file to help me migrate some spring projects. I tried generating from the DB, but the relations are not quite the way they are defined in my hibernate mapping files + I loose component objects. Thanks, Btw, I'd like to congratulate the whole Seam team, Seam went a long way since I first played with it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038255#4038255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache and readonly transactions
Please read the general hibernate documentation on the second level cache, as all JBossCache does is provide a replicated data store. Typically you lazily load a result set that large, unless you have massive amounts of memory. -Jason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038256#4038256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3 webservice + OASIS
Hi all! Is it possible to create a web service endpoint in a session bean with EJB3 annotations, and provide OASIS security features to it in a JBoss AS? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038258#4038258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Using a Seam-managed persistence context with JPA
Hi, If a non JSF request (to a old web app) calls a SLSB that uses a Seam managed persistence context e.g. @In EntityManager bookingDatabase; rather than @PersistenceContext(unitName=BookingDS) private EntityManager em; how does the Seam know the request has finished and it can close off the entity manager ? I presume that when using JSF the Seam Phase Listener resolves this. I have read the documents but it's still unclear to me what actually happens with Seam-Managed Persistence Context's. Thanks in advance for any advise. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038259#4038259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Management Portlet in JBoss Portal 2.4.1-GA (JEMS instal
I have exactly the same problem. Any ideas someone ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038262#4038262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Question : seam and fine grain url control (regular expressi
Hi, Is there a way to control urls way beyond the standard file name - url current mapping ? For instance if I have a page named users.xhtml along with a backing bean and I want that page to be served as /users/myusername/ to access my userspace instead of /users?username=myusername ? Is there a way to do that ? (This is really a need when migrating a legacy app to seam.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038263#4038263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Management Portlet in JBoss Portal 2.4.1-GA (JEMS instal
I found a solution. On http://jira.jboss.com/jira/browse/JBPORTAL-1198 It does not work for JAVA_HOME pointing to a JDK6. Cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038265#4038265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Execution of twiddle from remote machine
hi i have given netstat command but 1099 is not available ie) not assigned to any ip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038266#4038266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam-Managed Persistence Context and vanilla SessionBeans
Is there any way to get plain vanilla (non-Seam) SessionBeans to use the Seam-Managed Pesistence Context? Sean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038267#4038267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Conversation Should Be Flexible but NOT
If you set the conversation id manually, you can control the number of conversations created. (The side effect is that you might rejoin the conversation even if you don't want to.) You could also be sure to end conversations whenever a new treenode or tab is clicked. That way you only have one conversation running at a time, giving you the option to have a long timeout period. If the user enters a tab with a form, and the exits the form by clicking another tab, the conversation will be closed again. And if the user opens a new window, the users could fill out two forms concurrently (which is one of the big benefits of the conversation) Alas its not possible to restart a conversation with one action (correct me if i am wrong here), so you would have to redesign parts of the tabbing Of course it all depends on your requirements View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038268#4038268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Creating PDFs Programmatically
Can you file a JIRA issue for this - I can't currently see an easy way to do it... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038270#4038270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question : seam and fine grain url control (regular expr
Use the urlrewrite filter (see the wiki in cvs for an example) or a page action. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038272#4038272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues
My applications is still running on jboss 4.0.5, which means that I can't test the new Seam (as Seam is now dependent on jboss 4.2.0). I have been trying to port my app to run with the new jboss and seam. Unfortunately I am struggling a bit (the move from myfaces to jsf-ri appears to be problematic!) I will test as soon as I can get it to run with the new jb. L View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038278#4038278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - jboss-portal-2.4.1 with DB2 Express 9.1
hi All, We have connected jboss portal 2.4.1(bundle) with db2 9.1. We made the below changes to connect db2. c:\jboss-portal-2.4.1-bundled\jboss-portal-2.4.1\server\default\deploy\jboss-portal.sar\conf\hibernate\instance( change length=5000 to type=text). c:\jboss-portal-2.4.1-bundled\jboss-portal-2.4.1\server\default\deploy\jboss-portal.sar\portal-cms.sar\conf\hibernate\cms(removed the attribute length=1) and created portal_db2_ds.xml and placed in appropriate location. There are 33 tables has been created. We would like to validate like all the tables are crated, all data has been inserted and whether update happening properly(change the theme in admin). Could you please guide to validate the above things. Thanks in Advance. Cheers, Mohan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038280#4038280 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - space in path when using SeamTest
hi i try to make a test using a class extends SeamTest and there is a problem : java.lang.RuntimeException: Not a valid URL: file:/C:/Documents and Settings/XXX/.m2/repository/org/jboss/seam/jboss-seam/1.2.0.PATCH1/jboss-seam-1.2.0.PATCH1.jar look like there is no URL formating before try to get the jar. is there anything to do ? thanks for helping View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038282#4038282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam-gen: behaviour of an generated app
Hello, I do have some problems with a seam-gen (Seam 1.2.1GA) generated app. My setup: 1. seam setup 2. seam new-project 3. seam generate-entiities Now i hae a complete app which i can deploy to jboss. For simplicity i will reference to an entity called Car Start the application and navigate to view-id 'CarList.xhtml'Press the 'select' Link for a car. You are forwarded to Car.xhtml. Now press the 'edit' button. You are on carEdit Change some attributes and press 'Done'. You are now back to Car.xhtml and all changes where persisted to database. This is not what i want. The Done button should cancel all changes. I edited CarEdit.page.xml and added the attribute flush-mode=MANUAL to the begin-converstaion tag. Now i have the desired behaviour. But a little inconsistency remains. On CarEdit.xhtml the 'Save' button does what it should do. Perfect. The 'Done' Button forwards to Car.xhtml but all changes done on the CarEdit.xhtml page are shown here. A browser reload of the Car.xhtml page drops all changes and shows the page as it was before the changes on CarEdit.. Or do this: On CarEdit make changes, reload the page through the browser reload button. All changes that you have made are still shown. Now press the 'Done' button, and voila you get the expected 'old' values back. How can i achieve my requirement that pressing the 'Done' button will show directly the old values. (All changes are thrown away) Any ideas about this? I do have searched this forum and the seam jira but i have not found anything about this. If i overlooked something a pointer to the right direction is welcomed. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038281#4038281 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
Another thing: I've also tried to follow the instructions in chapter 10.4.2. Attaching to a scoped deployment. So, I've modified my jboss-aop.xml to read: | aop | loader-repositoryeapp:loader=eapp.ear/loader-repository | aspect class=org.lg.eapp.aop.AOPLoggingAspect scope=PER_VM/ | bind pointcut=execution(public org.lg.eapp.web.Handlers.ResponseHandler org.lg.eapp.web.Controller.Login-ProccessRequest(javax.servlet.http.HttpServletRequest, javax.servlet.http.HttpServletResponse)) | advice aspect=org.lg.eapp.aop.AOPLoggingAspect name=log/ | /bind | /aop | However, even that did not work. Is there anything else I could do? I would appreciate any help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038283#4038283 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Management Portlet in JBoss Portal 2.4.1-GA (JEMS instal
I just modify the source code so that it can compile with Java 6. Now, compiled with Java 6, it runs fine with Java 6. (I didn't run the whole testsuite though) Thanks for the feedback ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038287#4038287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
varkon wrote : Ok, I've installed and ran the example. | The example's documentation clearly states that UseJBossWebLoader should be true for it to work. This is an old requirement which relates to the use of EnableTransformer which plugs in to the JBoss UnifiedClassLoaders. For EnableLoadTimeWeaving/javaagent any classloader can be intercepted. If you are having problems running the injboss example, you have something wrong with your setup. Use that as the sanity test to get everything working. There are plenty of threads on that in this forum View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038288#4038288 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
[EMAIL PROTECTED] wrote : | If you are having problems running the injboss example, you have something wrong with your setup. If you are running it unscoped that is View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038289#4038289 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Unexpected redeployment
CafeD00d wrote : Is it possible that you have an over-aggressive virus scanner that's for sure not the case. Too bad. Greetings PeeR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038290#4038290 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Security Problem
I use latest seam release, i found follow in faces-config.xml: !-- Disabled when using Ajax4JSF -- | -- | view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler | -- and find follow in seam reference: For web-based security, jboss-seam-ui.jar must also be included in the application's war file. Also, to make use of the security EL functions, SeamFaceletViewHandler must be used. Configure it in faces-config.xml like this: view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler If a let the configs so i have follow exception: | | 12:00:34,550 WARN [lifecycle] javax.el.ELException: /templates/temp.xhtml @74,86 rendered=#{s:hasRole('admin')}: Function 's:hasRole' not found | javax.faces.FacesException: javax.el.ELException: /templates/temp.xhtml @74,86 rendered=#{s:hasRole('admin')}: Function 's:hasRole' not found | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:373) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:990) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:998) | at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$001(AjaxViewRoot.java:53) | at org.ajax4jsf.framework.ajax.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:254) | at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:54) | at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:176) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.processDecodes(AjaxViewRoot.java:267) | at com.sun.faces.lifecycle.ApplyRequestValuesPhase.execute(ApplyRequestValuesPhase.java:101) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | at org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:60) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:96) | at org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:220) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | Caused by: javax.el.ELException: /templates/temp.xhtml @74,86 rendered=#{s:hasRole('admin')}: Function 's:hasRole' not found | at com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76) | at javax.faces.component.UIComponentBase.isRendered(UIComponentBase.java:370) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:990) | at javax.faces.component.UIComponentBase.processDecodes(UIComponentBase.java:998) | at javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:493) | at org.ajax4jsf.framework.ajax.AjaxViewRoot.access$001(AjaxViewRoot.java:53) | at org.ajax4jsf.framework.ajax.AjaxViewRoot$1.invokeRoot(AjaxViewRoot.java:254) | at org.ajax4jsf.framework.ajax.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:54) | at org.ajax4jsf.framework.ajax.AjaxContext.invokeOnRegionOrRoot(AjaxContext.java:176) | at
[jboss-user] [Installation, Configuration Deployment] - Re: Unexpected redeployment
Something is probably touching your files in /deploy. To verify this record the initial timestamps, and after a redeployment check again to see if something changed. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038294#4038294 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Duplicate sessionIds in cluster
We are facing the same problem. Were you able to resolve the issue? -Kalyan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038295#4038295 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using a Seam-managed persistence context with JPA
how does the non faces request access the slsb? if that doesn't happen through a servlet that is filtere with the seam filter, @In won't work anyway. if it is filtered the PC is closed during the emulated jsf life cycle of the filter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038298#4038298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Problem
Is this on 1.2.1.GA or CVS? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038301#4038301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
Ok, I'll try running it un-scoped and post the findings here. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038304#4038304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Problem
Nightly build 16.04 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038305#4038305 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - does jboss support localization
I want to deploy an application which support localization on jboss. I want to know whether jboss support localization or not ? any jboss document regarding the same ? Thanks- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038306#4038306 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Problem
have i to use 1.2.1.GA? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038307#4038307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Problem
No, but there have been some problems with el in CVS recently (more fixes yesterday). I would recommend building from CVS as I'm not sure when the last nightly got built. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038308#4038308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using a Seam-managed persistence context with JPA
Hi Christian, Thanks for you help we this. The non faces request use remote interface to the SLSB. My understanding is that the injection is working as all the SLSB's have a ejb-jar.xml with the SeamInterceptoe defined |interceptor | interceptor-classorg.jboss.seam.ejb.SeamInterceptor/interceptor-class | /interceptor | My app is working with both Seam JSF+SFSB Client and an old Servlet Client using the same SLSB layer. I am just failing to understand the how it is working! Also what would happen if just a simple remote java client accessed the SLSB layer... how would seam know to close off things once the remote call had been made? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038309#4038309 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - connecting with the API
Hi all I'm currently evaluating jBPM, and after reading some docs I'm still wondering how can i contact the jBPM server, to interact with the API. When I develop an Action how can I deploy it? Must I recompile jBPM with that option? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038310#4038310 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Problem
I tried it today in the morning, a got a build error exception. I will try it again now... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038311#4038311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Problem
Hmm, there is still a build error. Sorry... It should be fixed soon... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038315#4038315 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - JBAS 4.2CR2 - JBossIDE is missing jboss-ejb3x.jar
Hello, since release 4.2CR2 of JBoss the JBossIDE 2.0.0Beta2 is missing the jboss-ejb3x.jar, if i add the jboss EJB3 libraries to the build-path of my project. Don't know, if it's a jboss packaging failure, that jboss-ejb3x.jar isn't anymore in the SERVER_HOME/server/default/deploy/ejb3.deployer directory or if the jboss-ide must point to the new location of this file in SERVER_HOME/client directory ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038317#4038317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem regarding fork
hi, I am new to JBOSS Jbpm. I have a simple process as mentioned below. The problem is, when i execute this process, the invokeTest2 node gets executed first, then InvokeTest1 node gets executed and again invokeTest2 node gets executed. Could anyone please tell me why the invokeTest2 node gets executed twice? I am stuck up here. Is there any fault in my processdefintion? If i can run this process without any flaw, i'll implement the fork concept to our existing complex workflows to improve performance(by concurrent execution.) ProcessDefinition.xml ?xml version=1.0 encoding=UTF-8? process-definition xmlns=urn:jbpm.org:jpdl-3.1 name=simple_workflow start-state name=start /start-state end-state name=End/end-state /process-definition Pls help me out..Many thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038318#4038318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: to use display tag how to set portlet objects in JSP pag
Hi, I'm facing the same issue. The URL generated by displaytag is http://localhost:18080/applicationTestPortlet/portal/auth/portal/dashboard/admin/default/11?action=2action=formulaireVue2Controllerd-49653-o=2d-49653-p=1d-49653-s=1 The right one is : http://localhost:18080/portal/auth/portal/dashboard/admin/default/11?action=2action=formulaireVue2Controllerd-49653-o=2d-49653-p=1d-49653-s=1 The requestURI is good, but displaytag adds applicationTestPortlet at the begining of the path. What can I do ? portlet:renderURL var=urlCourante | portlet:param name=action value=formulaireVue2Controller/ | /portlet:renderURL | | | urlCourante = %=urlCourante%br/ | | display:table name=${liste.listeDeFormulaires} requestURI=%=urlCourante% | display:column property=id title=ID sortable=true/ | display:column property=uneChaine title=Chaine sortable=true/ | display:column property=unEntier title=Entier / | display:column property=unDouble title=Double / | display:column property=unBooleen title=Booleen / | /display:table Best Regards, FJB View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038320#4038320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-console example in jBPM 3.2 not working
No, but I downloaded 3.1 it's example is working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038322#4038322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: More form buttons and validation
Thanks, I know it, but I dont know how to disable validation. When sumbiting first button, I would like to validate field via medatadata (@NotNull), but when I click on the second button (on same form) I would like to call listener action without validation. Mila View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038324#4038324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?
AFAIK there is no automatic inclusion of jar files in an EAR. You can define them in application.web: | module | javamyjar.jar/java | /module | And you place it in the root dir. of the EAR. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038325#4038325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: connecting with the API
depends on your deployment model... what docs did you read? the core/server can be just a jar, so in tyhat case you contact it via a pojo interface or the enterprise way where you can also connect via ejb or jms Your last question leads me to think you did way to little reading. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038328#4038328 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem regarding fork
Sorry the code is not being posted proeprly, posting again. | | ?xml version=1.0 encoding=UTF-8? | process-definition | xmlns=urn:jbpm.org:jpdl-3.1 name=simple_workflow |start-state name=start | transition name=forkTransition to=fork1/transition |/start-state |end-state name=End/end-state |fork name=fork1 | transition name=test1 to=InvokeTest1/transition | transition name=test2 to=InvokeTest2/transition |/fork |node name=InvokeTest1 | action class=net.bcgi.Test1/action | transition name= to=join1/transition |/node |node name=InvokeTest2 | action class=net.bcgi.Test2/action | transition name= to=join1/transition |/node |join name=join1 | transition name= to=End/transition |/join | /process-definition | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038331#4038331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: to use display tag how to set portlet objects in JSP pag
Which version of portal do you use ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038329#4038329 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?
Sorry, application.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038326#4038326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How to provide soapAction from dispatch call?
I file this as a bug in JIRA http://jira.jboss.com/jira/browse/JBWS-1611. There is no SOAPAction http header sent to the server doing the specified way. //Oskar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038332#4038332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: to use display tag how to set portlet objects in JSP pag
I'm using JBPortal 2.6.0-BETA 1. I'm a bit puzzle as I'm not able to make displaytag running on JetSpeed 2 too. And it's the same for eXtremeComponents. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038333#4038333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Where do external jar files go in the ear?
anonymous wrote : | AFAIK there is no automatic inclusion of jar files in an EAR. You can define them in application.web: | Code: | | | myjar.jar | | | | And you place it in the root dir. of the EAR. | | Not a good idea. The element is to be used for J2EE application clients and should not be used as a method for deploying third party/utility jars. The correct way to do this is to define a Classpath entry in the MANIFEST.MF file of each J2EE module (ie EJB jar file/WAR file). Example MANIFEST.MF | | Class-Path: jar1.jar jar2.jar | | Note the path itself is relative to the root of the archive. So, for instance assuming you had an EAR structure such as | EAR |--lib | jar1.jar | jar2.jar | | Your MANIFEST.MF should look as follows: | | Class-Path: lib/jar1.jar lib/jar2.jar | | Again, an entry like the one above should be placed in the MANIFEST.MF file of *each* J2EE module deployed inside your EAR file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038334#4038334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem regarding fork
how do you know it gets executed twice? do you have jbpm logging that shows that? Can't it just be a copy-paste error in in the net.bcgi.Test1/2 class? Secondly, if you want concurrent processing, use async actions View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038336#4038336 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038336 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Execution of twiddle from remote machine
What jboss version? If it's 4.2.0.CR1 the server binds to localhost by default. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038337#4038337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JNDI, JDBC Simple Application
A few things: 1) A DataSource does not require a PortableRemoteObject.narrow(). This is typically used for EJB resources running outside of the container (ie thin client). The real question you are facing is the 'location' of the DataaSource. Code running within the application server can simply access the DataSource as follows: | | InitialContext jndiContext = new InitialContext(); | DataSource ds = (DataSource)jndiContext.lookup(java:DSName); | | Note, it's better to use a resource-ref but that is for another discussion :-) Code, running outside of JBoss wanting to access a DataSource needs to add the following element to the *-ds.xml file | use-java-contextfalse/use-java-context | At this point you can access the DataSource remotely be executing | | InitialContext jndiContext = new InitialContext(); | DataSource ds = (DataSource)jndiContext.lookup(DSName); | | Note the difference in the JNDI name. Remote DataSource access uses the Global JNDI namespace, not the ENC namespace reserved for J2EE application components. A *BIG* word of caution here. DataSources are typicall not meant to be used outside of an application server. Testing simply JDBC interactions is fine but you are strongly, strongly, strongly encouraged not to do this in production environment. More on this can be found here: http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038338#4038338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - avoid the Apache single point of failure
Can I have 2 Apache in front of a Jboss cluster to avoid the single point of failure ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038339#4038339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Msg expiration doesn't work with a msg listener on a ses
You have not been listening to a word I've been saying. |// block consuming for 5 seconds |Thread.sleep(5000); |processed++; | If you do this, it is a not a problem for the JMS Server. The JMS Server has given you a message when it wasn't expired. It is your fault that you did not process it until after it expired. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038340#4038340 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Urgent:- JAR not loading exceptions in JBOSS-4.0.5
Is there any particular reason you are include the Servlet API jar in your deployment? This should be removed as this is provided by the application server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038342#4038342 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - use jbpm.business.calendar.properties
hello, howto use the jbpm.business.calendarin processDefinition. I want to execute some action just when time is good: exp: time in 9:00-12:00 12:30-17:00 and not holiday weekday.monday=9:00-12:00 12:30-17:00 | holiday.12= 25/12/2005 # kerstmis thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038343#4038343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Framework EntityQuery restrictions does not work fo
AFAICS this is exactly what it does - QueryParser in org.jboss.seam.persistence takes a ejbql which contains EL, , and replaces it with a parameter number, and creates a list of parameter value bindings. Then in EntityQuery query.setParameter is used. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038344#4038344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deploying seam app along side standard jsf app problem
Thank you for the quick responses. It looks like classpath isolation can only be done per deployment, the ear file in my case which contains both the wars. I don't know if this means that each war file in the ear will use classpath isolation or just the ear file as a whole will be isolated from other deployments. Anyway I tried setting the isolation level at both the ear and war level (just in case) but still end up with the same problem. I have never done it before so hopefully I set it up correctly by placing jboss-app.xml in the META-INF directory of the ear with the following content jboss-app loader-repository com.example:loader=unique-archive-name /loader-repository /jboss-app And placed a jboss-web.xml file in the WEB-INF directory of both my wars with the following content. jboss-web class-loading loader-repository com.example:loader=unique-archive-name /loader-repository /class-loading /jboss-web Please let me know if you have any other ideas, I am trying to avoid deploying them separately. Thanks again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038346#4038346 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Msg expiration doesn't work with a msg listener on a ses
Actually, Carlo and I had a discussion about this yesterday and I believe the issue is clearer. This post is 'outdated' at this point. Ideally the question is do we want to take action when a message has expired en route. As you pointed out in the JIRA we could simply add this as an interceptor as a QOS feature. Similarly, the adatper could do this as well but I am more inclinded to have it outside of the JCA stuff. It really is an interceptor type task. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038348#4038348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: inconsistent behaviour
It's a really bad idea to start randomly putting libs into the AS. Seam is tested with everything packaged into the ear/war (you can just grab a clean copy of your AS and put the ear in) - by following some other packaging structure you loose the benefit of all that testing :( Follow the packaging structure of the examples/seam-gen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038351#4038351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: More form buttons and validation
@NotNull doesn't really work (see the Seam Problems FAQ on the wiki). It's hard to disable validation depending on which button is pressed using the standard JSF/Seam validation stuff. You would need to cook up your own solution, or, as I mentioned, use two forms. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038353#4038353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: to use display tag how to set portlet objects in JSP pag
Hi again, I found a workaround : | portlet:renderURL var=urlCourante | portlet:param name=action value=formulaireVue2Controller/ | /portlet:renderURL | then, requestURI=%=http://+request.getServerName()+:+request.getServerPort()+urlCourante% But I'm not sure it's very generic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038354#4038354 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038354 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Can JBP be configured to handle a routine weekly disconnect
Hi All - We are about to go live with our new Doc Management app using JBoss Portal 2.4.1 SP1. (JBoss AS 4.0.4 GA, Oracle 9i, RedHat EL4). Our database goes down for a weekly maintenance every weekend. We have found that the AS needs to be restarted every Monday morning to restore connection to the database (and thus the functionality of the application). Other than writing a script to bring down JBoss AS before the maintenance then start it up again afterward, is there a way to configure the Portal to handle this break in DB connection? Thanks, sjewett View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038357#4038357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Oops! We can't really find the resource you're looking for
Hi All, We are getting the ?Oops! We can't really find the resource you're looking for? error, while accessing the home in the CMS portlet. We have configured the db2 express with jboss portal 4.2.1. Could you please advice, how we can resolve the issue. regards, Mohan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038358#4038358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Problem: JAAS + EJB + WEB
Hi People, I'm with a big problem. I have one EJB Project in EAR File and one WEB Project in WAR File. How I can loggin in my WEB Project and access the EJBs in my EJB Project? | Properties propriedades = new Properties(); | propriedades.put(Context.INITIAL_CONTEXT_FACTORY, Configuracao.getString(servidor.aplicacao.fabrica_contexto)); | propriedades.put(Context.PROVIDER_URL, Configuracao.getString(servidor.aplicacao.url)); | propriedades.put(Context.SECURITY_PRINCIPAL, user); | propriedades.put(Context.SECURITY_CREDENTIALS, password); | This code throws a SecurityException, because the autentication information of WEB Project not is transported from EJB Project Please help me, Thank's View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038359#4038359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - EJB 3.0 wizard and code/descriptors generation
Dear colleagues, I have some experience with WTP + WASCE app server, and now would like to move to JBoss IDE + JBoss AS in order to use EJB3.0 (not available in WASCE). Both WTP and JBoss IDE are built over Eclipse. In WTP, XDoclet eliminated a lot of manual work when creating EJBs. I selected New..EJB with XDoclet support , then used a GUI wizard and got all 4 (5,6) Java classes for new bean auto-genetrated. As well as ejb-jar.xml and appserver-specific descriptors. I know that EJB3.0 specification does not require so many interfaces/descriptors. This is already a step to simplicity for developers. But what about convenient wizard for EJB3.0 in JBoss IDE ? I was unable to plug XDoclet support into EJB3.0 project. I have attached xdoclet-1.2.3 , but there is nothing to create with XDoclet in New..EJB3.0 Project section. In New..EJB project there was XDoclet confuguration available, but not here. So far I don't know EJB3.0 in deep, but I guess some descriptors should still exist in EJB3.0 module. Wizard generates the only file jndi.properties. I have created a single session bean in auto-generated EJB3.0 project and wanted to add it to running JBoss 4.0.5 by Add/remove projects. IDE said that there are no projects to add. Apparently, some descriptors are missing. Then, I haven't found a way to generate code for entity bean in EJB3.0 project. New..EJB3.0 path contains only EJB3.0 project, Message driven bean and Session bean. Please let me know are any tutorials available for creating EJB3.0 module with all kinds of beans in JBoss IDE 2.0 beta and deploying them to JBoss AS 4.0.5. Many thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038360#4038360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Problems with the Subject
It assumes this context: 1.One ejb jar with one X Stateless . 2.Another ejb jar with Y Stateless. 3.The Security Domain is the same for both. Well, the login was made for client with user A. At this moment was performed one method of the X Stateless. In the sequence client perform another method in Y Stateless. The Subject is OK. The client made the logout. Now the client made the login with user B perform the same method in X Stateless. After this it executed the same method in Y Stateless. At this moment the Subject is of user A. I'm using isValid(principal,credential,subject) SecurityAssociation method to retrieve the Subject. In my jboss-service.xml JAAS Security Manager configuration the attribute is DefaultCacheTimeout = 0 and DefaultCacheResolution = 0. What's the problem??? Why the user A Subject still exists in the EJB Container after the first logout. My environment: -OpenSuSE Linux version 10.0 -JDK vesion 1.5.0_06 -JBoss-AS version4.0.4.GA -EJB3 RC9FD+Patch. Thaks a lot. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038361#4038361 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Conversation Should Be Flexible but NOT
Atleprange, Yes, I did all of your mentioned methods. Otherwise, you think I could get it done :). For tree component, I was using Apache Tree2. The weird thing is the combination of AJAX4JSF won't work well with the h:commandLink. I had to use s:link instead. Now for ending the a form's conversation when user clicks on a treenode or tab, I used s:link propagation=end to close any form that is being opened that has conversation scope, which failed to end the current conversation sometimes. And BTW, each tab will have its own Tree2 navigation menu tree display as well. For window conversation isolation, there wasn't any need for it but I knew that since each time the @Begin got call, it will create a new id across the application. As far as my app requirements, some search form has to be in session, specially those that requires to display the conversationList stack, while other are just conversation scope. Well, I can tell that I had fun implementing a full blown app using Seam. But I am a bit skeptical to recommend or use it again soon. Unless there is a solid sample app bundled with Seam download that has some type of complex interface layout, like the trees and tabs, that handles the conversations sufficiently. Thank you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038362#4038362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: connecting with the API
Well I've read some documentation on the forum and the jPDL User Guide, I guess I was hopping the find some documentation on the API (except the javadoc), with some examples and stuff like that. About my classes deployment, like Actions, how is the deployment done? Is there an API for that? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038363#4038363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Execution of twiddle from remote machine
no it is jboss-4.0.5.GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038364#4038364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: More form buttons and validation
miloslav.vlach, This is a general JSF thing. You can do this: h:commandButton immediate=true onclick=bCancel=true value=Upload Attachment/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038365#4038365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Problem of accessing Oracle DS in JBOSS from a stand-alo
One more 'anti-pattern', actually, it's a bug IMO. When using the Remote data source code like the following can lead to a leak pretty quickly: | | try | { | Connection conn = DataSource.getConnection() | PreparedStatement ps = conn.prepareCall(SomeSQL); | ps.close(); | | }catch(Exception e) | { | | } | finally | { | |if(ps != null) | ps.close(); | |if(conn != null) | conn.close(); | | } | What ends up happening in this particular instance is that the first ps.close() actually removes the Statement from the internal map on the server side. At the second close attempt a SQLException is thrown (who knows why). As a result, the connection itself would never get closed in this case. This actually crept up on the TCK for Oracle10g and was causing all sorts of issues. Yes, I know that to be 'truly' safe both the ps.close() and the conn.close() should be contained within their own try/catch/finally block but this is never a guarantee. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038366#4038366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: connecting with the API
look at the testcases... LOTS of 'examples' there that use te api, including deployment etc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038368#4038368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jbpm3.2 on jboss 4.0.5
Hi I am trying to install The jPDL Runtime Engine on jboss, but not getting success. Does anyone know how to configure or inco-opertate the jPDL Runtime Engine with Standalone JBOSS Application Server. Please send me steps if any one know. Many thanks R.K.Sharma View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038369#4038369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Creating PDFs Programmatically
i am currently using commons-http client to access it. 1 - i make the inital http GET 2 - then i parse the redirect response to calculate the new url 3 - then i do another GET it works but... a wrapper similar to the mail render would be nice, but for my scenario it would need to work outside the scope of a JSF UI request. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038372#4038372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Migrate to jboss 4.2.0 CR
Hi, This post with reference to: http://www.jboss.com/index.html?module=bbop=viewtopict=106625 I want to migrate my application to use the latest Seam cvs (to test a fix which has been submitted) which requires jboss 4.2.0CR. It seems that jb4.2.0 uses the JSF1.2 RI and not the myfaces jsf as earlier. This is quite troublesome as I make use of quite a large number of tomahawk components. 1. Is it possible to use tomahawk with the JSF 1.2 RI ? 1.1. If so, how do I configure my web.xml/faces-config.xml ? by adding the tomahawk jar I get the following error: Error configuring application listener of class org.apache.myfaces.webapp.StartupServletContextListener 1.2 If not, will it be possible to downgrade from JSF 1.2 RI to myfaces 1.1 (both JBoss and Seam) ? Alternatively will I be forced to remove all tomahawk dependencies from my application (a major piece of work) ? Regards Louis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038374#4038374 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Hi, don't know if it has been corrected or not. We just detected a problem in org.jboss.seam.ui.UISelectItems. There's a private static final String NO_SELECTION_VALUE = null; defined which should be replaced by import static org.jboss.seam.ui.NoSelectionConverter.NO_SELECTION_VALUE; Because: SelectItems class always uses 'null' as value of NullableSelectItem. Therefore during conversion this is not recognized by the NoSelectionConverter. Without this change the s:selectItems will not work with noSelectionLabel set. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038378#4038378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Security Problem
How long does it take? pleasantly:) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038380#4038380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Declare Anotation @EJB will a new instance ?
Yes, of course. What did you expect? Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038381#4038381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - run.bat does nothing at all
hi board I've installed JBoss AS utilizing Javas Web Installer. OS is MS XP Pro, JBoss Version is 4.05 GA After installation procedure finished, i've double clicked the run.bat and. guess what: nothing happens at all. JDK 1.5.x is installed, JAVA_HOME is set, PATH variable points to JRE What the f is going wrong? thx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038377#4038377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: Multiple persistence strategies in jbossMQ
No. Because that would require both databases to be XA and JBossMQ to use XA/JTA (two phase commit) internally on the two persistence managers. The jDBC2 PersistenceManager is not designed to do this. XA is implemented at the JMS Session level so you can do it with two different JBossMQ instances. But then you are back to having to know which ConnectionFactory needs to be used for which destination. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038384#4038384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problem: JAAS + EJB + WEB
anonymous wrote : How I can loggin in my WEB Project and access the EJBs in my EJB Project? Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationInJBoss View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4038387#4038387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4038387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user