[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How can I deploy web_app on different port?
Hlep! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062252#4062252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ResourceBundle mystery
Hi, I defined an additional resource-bundle with the following definition in components.xml (Seam 2.0B) core:resource-bundle | core:bundle-names | valuemessages/value | valuecommon/value | /core:bundle-names | /core:resource-bundle I see in my debug session that the bundle common is loaded. But I've no success to access a key defined in it when I try it in a xhtml page. #{messages.maintenance} - works #{common.maintenance} - doestn't work Same key is availabe in both files. Could anybody give me a hint what's going on? TIA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062253#4062253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom Portal URL
If there is an option rename for the default 3 portals, that will be easy to set another portal as default. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062254#4062254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
Maybe you should signal to the process instance after creation to move from start state to first task node? Or try to add some actions to start-state, for example on node enter and perform signaling in it. But it is only in theory, i didn't use models without a task in start state. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062255#4062255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
correct View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062256#4062256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - TestNG example with hibernate
Hi All, Is there any example on doing integration or unit testing under Hibernate. I seen there is sample for unit test using ejb, however not in hibernate. I hope Seam developer could provide a sample for the hibernate. Cheers, -T View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062257#4062257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSR-299 Web Beans approved by the EC
Is there any estimation as how close the JSR-299 spec will match the current Seam implementation? Is reading up on Seam more likely to give a head start or cause confusion because it's close but not exactly? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062258#4062258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
hmm... Maybe I am wrong, but I tested the node-enter behaviour on start-state and it seems, that this event is never executed: process-definition | xmlns= name=test5 |start-state name=start | task name=task/task | event type=node-enter | script | expression | System.out.println(NODE-ENTER); | /expression | /script | /event | event type=node-leave | script | expression | System.out.println(NODE-LEAVE); | /expression | /script | /event | transition name= to=end1/transition |/start-state |end-state name=end1/end-state | /process-definition I get only NODE-LEAVE output on my console. Is that correct?!? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062259#4062259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
Seems that start-state doesn't have a node-enter event. For ricardomarques: maybe you should use StartProcessInstanceCommand instead NewProcessInstanceCommand with cmd.setCreateStartTask(false); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062260#4062260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSR-299 Web Beans approved by the EC
Congratulations. Great news. /Kenneth View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062261#4062261 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploying to Weblogic 8.1
Hi, can someone tell me how to set up the authentication part for the jbpm console on weblogic 8.1 ? I suspect that i need a realm with the informations of my oracle database. But so far i didn't succed. Im' stuck at the part where i have to tell to weblogic using JBPM_ID_USER for authenticating users etc ... I cant find where to do that. Can someone confirm that thats the good process ? and how to do it ? Any help will be greatly appreciated. Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062262#4062262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Simple Socket Server (TEXT)?
Appologies in advance if the questions are too naive, but I'm just starting with Jboss and have a head full of doubts. I have try to implement a socket server using this approach and have hit a wall. the timeout attribute works but doesn't close the socket instead it sends error messages to the console. 16:05:52,492 ERROR [STDERR] java.net.SocketTimeoutException: Read timed out 16:05:52,492 ERROR [STDERR] at java.net.SocketInputStream.socketRead0(Native Method) 16:05:52,492 ERROR [STDERR] at java.net.SocketInputStream.read(SocketInputStream.java:129) 16:05:52,492 ERROR [STDERR] at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411) 16:05:52,493 ERROR [STDERR] at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453) 16:05:52,493 ERROR [STDERR] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183) 16:05:52,493 ERROR [STDERR] at java.io.InputStreamReader.read(InputStreamReader.java:167) 16:05:52,493 ERROR [STDERR] at java.io.BufferedReader.fill(BufferedReader.java:136) 16:05:52,493 ERROR [STDERR] at java.io.BufferedReader.readLine(BufferedReader.java:299) 16:05:52,493 ERROR [STDERR] at java.io.BufferedReader.readLine(BufferedReader.java:362) 16:05:52,493 ERROR [STDERR] at com.thetote.dbi.socket.TextUnMarshaller.read(TextUnMarshaller.java:53) 16:05:52,493 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.versionedRead(ServerThread.java:652) 16:05:52,493 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:530) 16:05:52,493 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383) 16:05:52,493 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165) 16:05:57,492 ERROR [STDERR] java.net.SocketTimeoutException: Read timed out 16:05:57,493 ERROR [STDERR] at java.net.SocketInputStream.socketRead0(Native Method) 16:05:57,493 ERROR [STDERR] at java.net.SocketInputStream.read(SocketInputStream.java:129) 16:05:57,493 ERROR [STDERR] at sun.nio.cs.StreamDecoder$CharsetSD.readBytes(StreamDecoder.java:411) 16:05:57,493 ERROR [STDERR] at sun.nio.cs.StreamDecoder$CharsetSD.implRead(StreamDecoder.java:453) 16:05:57,493 ERROR [STDERR] at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:183) 16:05:57,493 ERROR [STDERR] at java.io.InputStreamReader.read(InputStreamReader.java:167) 16:05:57,493 ERROR [STDERR] at java.io.BufferedReader.fill(BufferedReader.java:136) 16:05:57,494 ERROR [STDERR] at java.io.BufferedReader.readLine(BufferedReader.java:299) 16:05:57,494 ERROR [STDERR] at java.io.BufferedReader.readLine(BufferedReader.java:362) 16:05:57,494 ERROR [STDERR] at com.thetote.dbi.socket.TextUnMarshaller.read(TextUnMarshaller.java:53) 16:05:57,494 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.versionedRead(ServerThread.java:652) 16:05:57,494 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:530) 16:05:57,494 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:383) 16:05:57,494 ERROR [STDERR] at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:165) unless the client closes the connection itself it seems that the server will timeout and write error messages to STDERR. I don't want to rely on the client to close the connection, is it possible to close the socket connection after sending the response? the other question is How do I send multiple messages back to the client. At the moment on my invoke method I receive the request, parse it and return a string, what do I have to do to send another string without concatenating on the previous string? this is my config file !-- -- !-- Invokers to the JMX node -- !-- -- mbean code=org.jboss.remoting.transport.Connector name=com.:service=Connector,transport=socket display-name=RacingDB Socket transport Connector 5000 text com..dbi.socket.TextMarshaller com..dbi.socket.TextUnMarshaller com..dbi.socket.SimpleInputStreamWrapper ${jboss.bind.address} 6193 true com..dbi.socket.Handler View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062263#4062263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062263 ___ jboss-user mailing list
[jboss-user] [Remoting] - Re: Simple Socket Server (TEXT)?
sorry the config file is here !-- -- !-- Invokers to the JMX node -- !-- -- mbean code=org.jboss.remoting.transport.Connector name=com.:service=Connector,transport=socket display-name=RacingDB Socket transport Connector 5000 text com..dbi.socket.TextMarshaller com..dbi.socket.TextUnMarshaller com..dbi.socket.SimpleInputStreamWrapper ${jboss.bind.address} 6193 true com..dbi.socket.Handler View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062264#4062264 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - EntityNotFoundException
HI, i get the following Exception during loading of an Entity: javax.persistence.EntityNotFoundException: Unable to find hji.entities.Customer with id 0 caused by the following code: @ManyToOne | @JoinColumn(name = FZAG#,nullable=false) | private Customer storageDealer; | ..and yes this is correct because id 0 really no exist in the referenced table. (long story why...and currentlynot possible to be changed) All i want is that in the case when ID is 0 the Customer will be set to NULL and no exception will stop loading the entitiy ! does anyone know how to do this? tx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062265#4062265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Simple Socket Server (TEXT)?
cazuza wrote : sorry the config file is here | server | !-- -- | !-- Invokers to the JMX node -- | !-- -- |mbean code=org.jboss.remoting.transport.Connector | name=com.:service=Connector,transport=socket | display-name=RacingDB Socket transport Connector | attribute name=Configuration | config | invoker transport=socket |attribute name=timeout5000/attribute |attribute name=dataType isParam=truetext/attribute |attribute name=marshaller isParam=truecom..dbi.socket.TextMarshaller/attribute |attribute name=unmarshaller isParam=truecom..dbi.socket.TextUnMarshaller/attribute |attribute name=serverSocketClasscom..dbi.socket.SimpleInputStreamWrapper/attribute |attribute name=serverBindAddress${jboss.bind.address}/attribute |attribute name=serverBindPort6193/attribute |attribute name=enableTcpNoDelay isParam=truetrue/attribute | /invoker | handlers |handler subsystem=RDBIScom..dbi.socket.Handler/handler | /handlers | /config | /attribute |/mbean | | /server View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062266#4062266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - How to return a complex type?
Hi. I'm a new user of JBoss. I'm trying to create a WebService with JBoss 4.2.0 and Eclipse 3.1 (using Java 1.5 and Ejb 2.1: I must use these versions). No problem with business methods returning a String, but I can't create business methods returning an array of Strings, a JavaBean or (it's my really goal) an array of JavaBeans. I realize that in some way I have to map Java types in xml types and viceversa. But, HOW? I have to change wsdl file, jaxrpc-mapping.xml, webservices.xml or I have to create some new file? Googling, I found too many infos: sorry, maybe this is a faq but it's driving me crazy :( . I can deploy a Service that returns an array of Strings but the client throws the follow exception: {http://xml.apache.org/axis/}stackTrace:org.xml.sax.SAXException: | Deserializing parameter 'result': could not find deserializer for type | {http://dipartimento.wsEjb.agaticarnazzo.it/types}String.Array | at org.apache.axis.message.RPCHandler.onStartChild(RPCHandler.java:308) | at org.apache.axis.encoding.DeserializationContextImpl.startElement(DeserializationContextImpl.java:1040) | at org.apache.axis.message.SAX2EventRecorder.replay(SAX2EventRecorder.java:198) | at org.apache.axis.message.MessageElement.publishToHandler(MessageElement.java:856) | at org.apache.axis.message.RPCElement.deserialize(RPCElement.java:325) | at org.apache.axis.message.RPCElement.getParams(RPCElement.java:349) | at org.apache.axis.client.Call.invoke(Call.java:2379) | at org.apache.axis.client.Call.invoke(Call.java:2278) | at org.apache.axis.client.Call.invoke(Call.java:1772) | at org.apache.axis.client.AxisClientProxy.invoke(AxisClientProxy.java:195) | at $Proxy0.getDocumenti(Unknown Source) | at it.agaticarnazzo.dipartimento.wsPojo.TestClient.main(TestClient.java:30) And if I try to deploy a webservice that returns a JavaBean, Jboss prints the follow error: Cannot load java type: MyJavaBean.in.its.package Can someone help me? :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062268#4062268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
That's not really a good solution because you can't specify the behaviour by processdefinition. While searching the source code i found: public static final String[] supportedEventTypes = new String[]{ | Event.EVENTTYPE_NODE_LEAVE, | Event.EVENTTYPE_AFTER_SIGNAL | }; | for start-state. So there really seems to be no ENTER event. But why? Anybody knows? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062267#4062267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deploying to Weblogic 8.1
This is a jBPM forum. The question you have is WLS specific, please ask in their forum, post the table definition there and the example query of the jboss login. They might help you further. And yes, that is a good approach View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062269#4062269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - task instance in start state
hi, I went through the jbpm user guide about task instance, it's saying Task instances are typically created by the process execution entering a task-node Is that different from the task in start state? 'Cause when I invoke this method instance.getTaskMgmtInstance().getTaskInstances().iterator().next(); | right after I create the process instance, it will throw a NullPointerException. If the task instance won't be created automatically in start state, can I create it somehow manually? or I misunderstand somewhere above? Here is my start state definition: | start-state name=draft | task name=making a draft swimlane=writer | assignment class='com.test.WriterAssignmentHandler' / | /task | transition to=review name=submit/transition | /start-state | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062270#4062270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss 4.2.1, download???
The other day I checked jira and I noticed that jboss 4.2.1GA was commited. How do I download it? I have a new project and I want to use the lastest version of Jboss Any link or news? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062272#4062272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - End conversation when user leaves a page
Is it possible to end a long-running conversation when the user leaves the page? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062273#4062273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Different CMS default page per CMS portlet instance?
Hi I have my portal users divided into 2 roles. I would like to have a CMS Portlet instance for each role, and I would like to have a different default page showing in the CMS portlet depending on the role of the users currently logged in. Is that possible? Thanks /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062274#4062274 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Can any of my web server retrieve which JBOSS instance holds
Hi, I am very new to mod_jk and JBOSS clustering. If I put a very dull hardware load balancer in front of my Apache who does a round robin load balancing, are my Apaches and the mod_jk module capable of retrieving each time to which JBOSS instance my session belongs to? Is the route of each subsequent request encoded somewhere in the request header, a cookie, a session number after the first request of a session? Of course, I am using sticky sessions. I am not planning to use session replication as the software running on top of the AS is not going to support it fully. Thanks, Vina. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062275#4062275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSR-299 Web Beans approved by the EC
Gavin, I see that description of this JSR covers EJB only. What about Seam's POJO components compatibility? Will it be maintained by future versions of Seam/WebBeans RI? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062277#4062277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
You can use NewProcessInstanceCommand with createStartTask as true, if returned value will be null then you will know, that process doesn't contain a start task. Then you can use SignalCommand or some other one to move process from start state to first task node. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062278#4062278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: task instance in start state
How i know start-state currently doesn't support a swimlanes View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062279#4062279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
Ok. Should work this way. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062280#4062280 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: A timebomb in the UnlockInterceptor?
Changing the logging level is perfiectly valid. This problem is quite easy to fix once you understand what's going on. ;) I just wanted to let the others know that there is an issue, so they won't spend 2 days as I did to find the reason. And also to show the developers that there is a potentially dangerous code in this class. Even if there is no lock, it might be that the performance of the treecache for some users will become 10x times higher after changing the debug level for this class. Cheers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062282#4062282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: update DataModel values
Ok, I cleaned up the code to show you what is needed for this problem: Here is the bean that shows the item list: | @Name(itemList) | @Scope(ScopeType.CONVERSATION) | @Stateful | @LoggedIn | public class MItemListActionBean implements MItemListAction { | | @In(create = true, value = myEM) | private EntityManager em; | | // other stuff... | | @DataModel(items) | private ListItem items; | | @DataModelSelection(items) | private Item item; | | @Begin(join=true) | @Factory(items) | public void init() { | // retrieving | this.allItems = null; | this.allItems = getItemsFromDB(); | // sorting | // etc... | } | | @End | public String selectItem() { | return edit; | } | } | The method getItemsFromDB() just queries the db. Note that if a property changes, the query returns the same list than before the modification (the only difference will be an element change in the properties collection inside item). Here is the bean to edit an item (I show you this just to show the conversation model): | @Name(editItem) | @Scope(ScopeType.CONVERSATION) | @Stateful | @LoggedIn | public class EditItemActionBean implements EditItemAction { | | @In(create = true, value = myEM) | private EntityManager em; | | @Begin(nested=true) | @Factory(itemPropertyList) | public void initProperties() { | if(this.item != null) { | em.refresh(this.item); | SetMProperty set = item.getProperties(); | | //put properties in the datamodel that will be shown | | } | | // other methods ... | | public String saveItem() { | | // do some stuff with the properties... | | // Ends conversation before redirecting to item list | Conversation conversation = Conversation.instance(); | log.info(Ending + conversation.getDescription()); | conversation.end(true); | | return ok; | } | | This is the entity class Item: | @Entity | @Name(item) | @Table(name=item) | public class Item { | | @ManyToOne( targetEntity = ItemClass.class ) | @JoinColumn(name = it_class, nullable = false) | private ItemClass itemClass; | | @ManyToMany | @org.hibernate.annotations.Fetch(org.hibernate.annotations.FetchMode.SUBSELECT) | @org.hibernate.annotations.Cascade({ | org.hibernate.annotations.CascadeType.SAVE_UPDATE, | org.hibernate.annotations.CascadeType.MERGE, | org.hibernate.annotations.CascadeType.PERSIST}) | @JoinTable( | name = item_prop, | joinColumns = [EMAIL PROTECTED](name = ip_item)}, | inverseJoinColumns = [EMAIL PROTECTED](name = ip_prop)}) | private SetProperty properties = new HashSetProperty(); | | // getters, setters, other stuff... | } | Here is the jsf that shows the item list: | div class=section | h:form id=sc_itemlist | t:dataTable value=#{items} var=row | | t:columns value=#{itemList.columnHeaders} var=columnHeader | f:facet name=header | h:outputText value=#{columnHeader.propertyClassLabel} / | /f:facet | !-- triggers iterator to get the next property (property is stored into currentProperty and can be manipulated without triggering the iterator) -- | h:inputHidden value=#{row.nextProperty} / | h:outputText value=#{row.currentProperty.typedValue} converter=OutputTextFieldConverter/ | /t:columns | | h:column | f:facet name=header | h:outputText value=Action/ | /f:facet | s:link action=#{itemList.selectItem} value=Edit/ | h:outputText value= / | s:link action=#{itemList.deleteItem} value=Delete/ | /h:column | | /t:dataTable | /h:form | /div | Hope this code is enough to understand the problem... Thanx! View the
[jboss-user] [JBoss jBPM] - Re: Deploying to Weblogic 8.1
Ok Thanks Ronald. See you soon. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062284#4062284 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Resource adapter deployment problem
It work ! Thank you ! J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062292#4062292 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062292 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Multiple Seam DataModelSelection in one action: Selectio
This is the working code: Abstract class: | package com.nxp.cda.commons.controller; | | import java.math.BigDecimal; | ... | import org.jboss.seam.annotations.datamodel.DataModel; | import org.jboss.seam.annotations.datamodel.DataModelSelection; | ... | import com.nxp.cda.commons.model.DomainObject; | public abstract class AbstractSearchActionT extends DomainObject implements | SearchActionT { | /**Current (selected) object */ | @DataModelSelection(searchResults) | @Out(required = false) | protected T current; | | /**Resultset.*/ | @DataModel | protected ListT searchResults; | | public ListT getSearchResults() { | return this.searchResults; | } | | protected void setSearchResults(ListT searchResults) { | this.searchResults = searchResults; | } | | public T getCurrent() { | return current; | } | | public void setCurrent(T current) { | this.current = current; | } | | } | And the specific implementation: | package com.nxp.atinvestor.web.controller; | | ... | import org.jboss.seam.annotations.datamodel.DataModel; | import org.jboss.seam.annotations.datamodel.DataModelSelection; | | import com.nxp.atinvestor.domain.Investment; | import com.nxp.atinvestor.domain.OrganizationalLevel; | import com.nxp.atinvestor.domain.User; | import com.nxp.cda.commons.controller.AbstractAction; | ... | | @Stateful | @Name(userAction) | @Scope(ScopeType.SESSION) | public class UserActionImpl extends AbstractActionUser | implements UserAction { | | /** The current user: */ | private User user; | /** All OrganizationalLevels that this user is an approver of. */ | // This is the secondary model:@DataModel | private ListOrganizationalLevel organizationalLevels; | | // This is the secondary model selected item:@DataModelSelection(organizationalLevels) | private OrganizationalLevel currentOrganizationalLevel; | | public ListOrganizationalLevel getOrganizationalLevels() { | return organizationalLevels; | } | | public void setOrganizationalLevels( | ListOrganizationalLevel organizationalLevels) { | this.organizationalLevels = organizationalLevels; | } | | | public OrganizationalLevel getCurrentOrganizationalLevel() { | return currentOrganizationalLevel; | } | | public void setCurrentOrganizationalLevel( | OrganizationalLevel currentOrganizationalLevel) { | this.currentOrganizationalLevel = currentOrganizationalLevel; | } | | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062298#4062298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Scopes problem
Hi all i have the following scenario - page for creating a new project that has a few input fields for project info and data table with components related to that project. Here is the page code: h:form | table | tr | td colspan=3 | h:messages layout=table globalOnly=true styleClass=message id=globalMessages / | /td | /tr | | tr | td | #{projMsg.name}: | /td | td | h:inputText id=prj_name value=#{project.name} required=true /h:inputText | /td | /tr | | tr | td colspan=2 align=center | h:message styleClass=errorMessage for=prj_name / | /td | /tr | | tr | td | #{projMsg.url}: | /td | td | h:inputText id=prj_url value=#{project.url} /h:inputText | /td | /tr | | tr | td | #{projMsg.description} | /td | td | h:inputTextarea rows=4 cols=20 id=prj_desc value=#{project.description} / | /td | td | h:message for=prj_desc / | /td | /tr | | tr | td | /td | td | h:commandButton value=#{otherMsg.create} action=#{projectAction.createProject} / | /td | td | /td | /tr | | tr | td colspan=2 | rich:dataTable value=#{project.componentCollection} var=comp | f:facet name=header | rich:columnGroup | rich:column colspan=2 | #{projMsg.components} | /rich:column | /rich:columnGroup | /f:facet | | rich:column | #{comp.name} | /rich:column | rich:column | #{fn:length(comp.name)} | /rich:column | | f:facet name=footer | rich:columnGroup | rich:column | h:inputText value=#{component.name}/h:inputText | /rich:column | rich:column | h:commandButton action=#{projectAction.addComponent} value=Add / | /rich:column | /rich:columnGroup | /f:facet | /rich:dataTable | /td | /tr | /table | /h:form Here is the code of the backing bean: | @Stateful | @Name(projectAction) | public class ProjectActionBean implements com.amitev.bts.ejb.ProjectActionLocal { | | @PersistenceContext | EntityManager em; | | @In | private User user; | | @In @Out | private Project project; | | @In @Out | private Component component; | | @In | private FacesMessages facesMessages; | | @Restrict(#{identity.loggedIn}) | public String createProject() { | List results = em.createQuery(from Project pr where pr.name = #{projectAction.project.name}).getResultList(); | if ( results.size()==0 ) { | project.setOwnerId(user); | em.persist(project); | } else { | facesMessages.addToControlFromResourceBundle(prj_name,project_exists);
[jboss-user] [JBoss Seam] - Themes question
Good day, How can I realise such functionality: I have 2 themes on my site: 1) Default - with images, CSS etc. 2) Printable - plain text - suitable for printing I want: for human show Default theme, but for crawles (Google, Yahoo etc.) show by default Printable version. How can I do that? May be some filter? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062301#4062301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Get nightly exadel plugins working with JBossIDE
what exceptions are you getting ? Drools installation should not affect jboss tools plugins. I haven't been able to use Drools IDE with Eclipse 3.3 which I why we had to remove it from jboss tools until that work has been done. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062304#4062304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: End conversation when user leaves a page
On navigation away, yes. On the user browsing to another URL, no. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062307#4062307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ResourceBundle mystery
All resource bundles are made available under #{messages} - read the docs to find out about the order the bundles are accessed in when you request a messages. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062308#4062308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Has anyone seen jboss and jvm crashing like this?
The same error happend in my application. The config:java 1.5 , tomcat 5.5 We run application at one computer,when user go up,we add another computer,but the new machine java clash frequently.Two computer is same. and why? Maybe not the JBoss's mistake,but java's View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062309#4062309 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how can i save a task with variables?
Ask on the jbpm forum, I'm not sure how you get variables to be persisted. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062311#4062311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Mocking @Logger
I would like to unit test a Seam SFSB which uses an injected logger. I didn't find any MockLog so I use the logging factory like that : setField( editor, log, Logging.getLog( test ) ); It solves the NullPointerException and the test are working fine but when logging, the Interpolator try to access the context which doesnt exist and throws an IllegalStateException ... It may be useful to have a mockLog method in the SeamTest class which look for a @Logger annotation and inject a MockLog. The MockLog will basically print any log on the console. What do you think ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062312#4062312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel PersistentSet problem from rich subtable
Whether thats to do with the rich:subTable, or doing the set-list conversion I'm not sure. Try passing in the id of task to select. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062314#4062314 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: bijection question - value could not be converted to the
Try using f:convertNumber tags on each of the inputs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062315#4062315 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSR-299 Web Beans approved by the EC
przemjaskier wrote : Gavin, | | I see that description of this JSR covers EJB only. What about Seam's POJO components compatibility? Will it be maintained by future versions of Seam/WebBeans RI? Yes, certainly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062317#4062317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSR-299 Web Beans approved by the EC
To be clear: Web Beans do not need to be EJBs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062318#4062318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: update DataModel values
How does the list refresh happen? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062319#4062319 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mocking @Logger
Sure, add a request to JIRA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062321#4062321 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How is done the authentication for the JBPM console ?
Hi, can someone explain me how the authentication for the jbpm console is done ? Im trying to understand how all the components work together in order to solve some problems on weblogic. If someone have a good understanding of the links between the login-config.xml, the access.propreties, the security- domainjava:/jaas/jbpm/security-domain in the jboss-web.xml and the security-roles / security-constraints in the web.xml, can he be kind enough to explain me ? Regards, O.M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062322#4062322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Urgent - running seam-2-beta without a network connectio
You have to make sure that you have the latest, most uptodate Seam schemas declared. If you use the old ones, they will not be available in the Seam jar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062324#4062324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 2.0 is tightly coupled with Hibernate validator
I checked the code - there are actually four hard dependencies to Hibernate Validator: FacesMessages Param Validators BaseSeamTest I guess it would be *possible* to get rid of the hard dependency, but it wouldn't be simple. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062329#4062329 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062329 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ResourceBundle mystery
[EMAIL PROTECTED] wrote : All resource bundles are made available under #{messages} - read the docs to find out about the order the bundles are accessed in when you request a messages. Thanks for the hint! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062330#4062330 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: update DataModel values
One more thing: I actually noticed that if I do an em.refresh(item) on each item before showing the list it works, but I'd like to find another solution since this one is very expensive in time... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062331#4062331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Write lock is not released
genman wrote : What's the write thread doing? (Can you get a stack trace of your application at this time?) Yep that's a good idea. However I do not have exact steps to reproduce this issue, and we observe it only ocassionaly in production. I'll try to reproduce it and get the stack trace. Thank you, Stas. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062333#4062333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBossWS 2.0 throws WebServiceException: Error creating JAXBC
I updated my JBoss 4.2 installation to JBossWS 2.0. Only minor modifications where necessary for ANT build.xml files (JARs changed regarding classpath, classes for ANT tasks changed). However, if I run my JBossWS clients I get this stacktrace. What's going on? Any hint is appreciated! When testing with the generic WS test client of the Eclipse plugin WTP everything works fine. java.lang.ExceptionInInitializerError | at java.lang.reflect.Constructor.newInstance(Constructor.java:513) | at java.lang.Class.newInstance0(Class.java:355) | at java.lang.Class.newInstance(Class.java:308) | at javax.xml.ws.spi.FactoryFinder.newInstance(FactoryFinder.java:36) | at javax.xml.ws.spi.FactoryFinder.find(FactoryFinder.java:95) | at javax.xml.ws.spi.Provider.provider(Provider.java:76) | at javax.xml.ws.Service.(Service.java:57) | at de.hska.wsgen.KundenverwaltungService.(KundenverwaltungService.java:41) | at de.hska.test.WebServicesJBossWSTest.setupProxy(WebServicesJBossWSTest.java:44) | Caused by: javax.xml.ws.WebServiceException: Error creating JAXBContext for W3CEndpointReference. | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:188) | at com.sun.xml.ws.spi.ProviderImpl.(ProviderImpl.java:65) | Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions | Two classes have the same XML type name address. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Address com.sun.xml.ws.developer.MemberSubmissionEndpointReference.addr | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Address | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Address javax.xml.ws.wsaddressing.W3CEndpointReference.address | at javax.xml.ws.wsaddressing.W3CEndpointReference | Two classes have the same XML type name elements. Use @XmlType.name and @XmlType.namespace to assign different names to them. | this problem is related to the following location: | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements | at public com.sun.xml.ws.developer.MemberSubmissionEndpointReference$Elements com.sun.xml.ws.developer.MemberSubmissionEndpointReference.referenceProperties | at com.sun.xml.ws.developer.MemberSubmissionEndpointReference | this problem is related to the following location: | at javax.xml.ws.wsaddressing.W3CEndpointReference$Elements | at private javax.xml.ws.wsaddressing.W3CEndpointReference$Elements javax.xml.ws.wsaddressing.W3CEndpointReference.referenceParameters | at javax.xml.ws.wsaddressing.W3CEndpointReference | | at com.sun.xml.bind.v2.runtime.IllegalAnnotationsException$Builder.check(IllegalAnnotationsException.java:66) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.getTypeInfoSet(JAXBContextImpl.java:422) | at com.sun.xml.bind.v2.runtime.JAXBContextImpl.(JAXBContextImpl.java:270) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:103) | at com.sun.xml.bind.v2.ContextFactory.createContext(ContextFactory.java:81) | at javax.xml.bind.ContextFinder.newInstance(ContextFinder.java:210) | at javax.xml.bind.ContextFinder.find(ContextFinder.java:366) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:574) | at javax.xml.bind.JAXBContext.newInstance(JAXBContext.java:522) | at com.sun.xml.ws.spi.ProviderImpl.getEPRJaxbContext(ProviderImpl.java:186) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062337#4062337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Mocking @Logger
Ok, http://jira.jboss.com/jira/browse/JBSEAM-1633 I attached a MockLog. The mockLog method for SeamTest should be straightforward. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062339#4062339 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Resource adapter deployment problem
Hi I've just one more doubt. I've seen many examples about how to offer my JCA resource adapter via JNDI. I saw that with JBoss, database datasources are offered via a configured datasource xml file, but as my ra is not sql related, I wonder how could I offer it via jndi in JBoss. Thanks in advance J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062344#4062344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - 0:0 Unidentified parser error in build.xml files
Hello, using buildfragements in my build.xml I get an 0:0 Unidentified parser error using JbossTools. Here a short code sniplet of my build.xml file: ?xml version=1.0? | !DOCTYPE project [ |!ENTITY libraries SYSTEM ../buildfragments/libraries.ent | ] | | project name=MyProject default=explode basedir=. | libraries; | ... | /project The error occurs when the line libraries; is inserted and my project gets red. Is there a way to get rid of this error message without ignoring other qualified errors in the build file? regards Stefan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062346#4062346 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Resource adapter deployment problem
Look at sample application explained here http://docs.jboss.org/jbossas/jboss4guide/r3/html/ch7.chapt.html#d0e15145 You would notice the binding done by using the connection-factories tag as !DOCTYPE connection-factories PUBLIC | -//JBoss//DTD JBOSS JCA Config 1.5//EN | http://www.jboss.org/j2ee/dtd/jboss-ds_1_5.dtd; | !-- |The non-transaction FileSystem resource adaptor service configuration | -- | connection-factories | no-tx-connection-factory | jndi-nameNoTransFS/jndi-name | rar-namechap7-ex1.rar/rar-name | connection-definition | org.jboss.chap7.ex1.ra.DirContextFactory | /connection-definition | config-property name=FileSystemRootDir | type=java.lang.String/tmp/db/fs_store/config-property | /no-tx-connection-factory | /connection-factories Look at the jndi-name at the above contents . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062351#4062351 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Different CMS default page per CMS portlet instance?
I can see that this is possible with Portal 2.6, but I am currently running on a 2.4. I would like to do this on 2.4... /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062353#4062353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with Seam 2
I was using the build.xml in the base of the base of the Seam 2.0.0 Beta 1 package. This used to build! I am pretty sure I used to build this in previous versions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062355#4062355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problems with Seam 2
Yes, it looks like some files were missing which were needed to build Seam. Sorry :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062356#4062356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Different CMS default page per CMS portlet instance?
You could have create 2 instances, 1 instance only available for Role A, the other only for role B. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062357#4062357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - user session
Hi, I would like to keep track of some user actions in the application like when some critical information is deleted, or by what time the user logged in and logged out. What would be the best approach to do that? Thanks Kelly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062359#4062359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Different CMS default page per CMS portlet instance?
Hmm - but won't I have to tell each instance which file to show in the CMS portlet? Otherwise it just uses the same file (index.html)? /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062361#4062361 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Hot redeployment - EJB
When I change something in EJB, even in method implementation, IDE is saying that hot redeployment is not implemented and I have to redeploy whole seam application. Is that by the design or it is some way possible to hot redeploy of EJBs in seam project? Thanks for help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062365#4062365 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Quartz Bean deployment
Thank you very much for the informations I found it very usefull. However trying to migrate from adnotations to the deployment xml files proved much more complicated. After a lot of trouble I was able write a small doc: http://www.len.ro/work/articles/jboss/creating-a-quartz-job. Hope it helps. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062366#4062366 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss 4.2.1, download???
Development is over; we are at the last stages of packaging and testing. It'll be released on July 18th. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062367#4062367 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WebService that catches all requests
Am I able to add new handler from the code? If not, how to add the handler that will be able to catch some requests without breaking the whole JBoss installation? I am searching through the documentation and I cannot find any information about this config file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062368#4062368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Different CMS default page per CMS portlet instance?
Yes, but you can. Look at section 11.3.1 http://docs.jboss.com/jbportal/v2.4/reference-guide/en/html/cmsPortlet.html#d0e3842 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062371#4062371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hot redeployment - EJB
By default (with eclipse at least) you can change a class as long as you don't change it's api when you are debugging the server. Sometimes it goes wrong - but it should work if you are on the first start of eclipse/the server. This works with the seam-gen built project for example View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062372#4062372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Please help, its urgent (BPEL involving call to a service in
Hi, I get the following error when one webservice residing in the service mix called by another one which is a bpel application. | 16:18:41,869 ERROR [StartListener] could not start process instance | org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:367) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358) | at sun.reflect.GeneratedMethodAccessor98.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185) | at org.jbpm.bpel.graph.def.CompositeActivity$$EnhancerByCGLIB$$6b1056f4.raiseException(generated) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:358) | at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:110) | at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$4e41da69.enter(generated) | at org.jbpm.graph.def.Transition.take(Transition.java:151) | at org.jbpm.graph.def.Node.leave(Node.java:393) | at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184) | at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:55) | at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105) | at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$4e41da69.enter(generated) | at org.jbpm.graph.def.Transition.take(Transition.java:151) | at org.jbpm.graph.def.Node.leave(Node.java:393) | at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184) | at org.jbpm.bpel.graph.basic.Invoke.execute(Invoke.java:47) | at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105) | at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$4e41da69.enter(generated) | at org.jbpm.graph.def.Transition.take(Transition.java:151) | at org.jbpm.graph.def.Node.leave(Node.java:393) | at org.jbpm.bpel.graph.def.Activity.leave(Activity.java:184) | at org.jbpm.bpel.graph.basic.Assign.execute(Assign.java:55) | at org.jbpm.bpel.graph.def.Activity.enter(Activity.java:105) | at sun.reflect.GeneratedMethodAccessor96.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185) | at org.jbpm.graph.def.Node$$EnhancerByCGLIB$$4e41da69.enter(generated) | at org.jbpm.graph.def.Transition.take(Transition.java:151) | at org.jbpm.graph.def.Node.leave(Node.java:393) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:185) | at org.jbpm.bpel.graph.struct.StructuredActivity$Begin$$EnhancerByCGLIB$$8749bd97.leave(generated) | at org.jbpm.bpel.graph.struct.StructuredActivity.execute(StructuredActivity.java:58) | at org.jbpm.bpel.graph.struct.StructuredActivity$Begin.leave(StructuredActivity.java:222) | at org.jbpm.graph.def.Node.execute(Node.java:349) | at
[jboss-user] [JBoss jBPM] - Re: start-state
The node enter event gets fired when the token enters a node. As for the start-state, the token never enters it. Rather the token is *positioned* in the start-state when the process starts executing. So the event you want to look at is the process-start event. Btw. Performing a signal on the current token from an action handler is not a good practice. Action handlers that are configured on events should not try to modify the execution of the token. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062373#4062373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Better debug logging during EJB3/Hibernate automatic DDL and
Hi everyone, I am a new JBoss user and please forgive me if I missed something searching in the forums or in the docs. I looked for a while and couldn't find info on exactly my problem. I find ways to increase Hibernate logging once everything is running but not for when I deploy my ear to JBoss. I have written some enitty bean classes properly annotated with EJB3 annotations. To deploy and test it I have created an ear and in the persistence.xml set the Hibernate Entity Manager property hibernate.hbm2ddl.auto = create-drop. In my JBoss app server console I am getting this error during deployment org.hibernate.MappingException: Foreign key (FK9967C03096D4F603:ALL_EQUIPMENT [EQUIPMENT_IDC])) must have same number of columns as the referenced primary key (EQUIPMENT [GENERIC_PROTOCOL_IDC,GENERIC_EQUIPMENT_IDC]) The error is understandable but it is not enough information to tell me where the source of the error is in my EJB3 entity bean code. Hibernate shouldn't think that the EQUIPMENT table has a composite primary key with the above columns but I cannot find where it is interpreting this and where the possible error is in my code. How do I get it to tell me more information? Thanks for the help, Leandro View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062374#4062374 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scopes problem
I solved the problem with a4j:keepAlive but is there a seam solution to this. Something like page scope (which dunno why is not allowed for SFSB) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062378#4062378 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062378 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Different CMS default page per CMS portlet instance?
Ahh - perfect. I can overwrite the portlet preferences per instance. Thanks Thomas! /Michael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062379#4062379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062379 ___ 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: java.util.Properties causes IllegalStateException on JBo
Has a JIRA issue been created for this? It is still there in JBoss 4.2--more than one year later. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062381#4062381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: start-state
[EMAIL PROTECTED] wrote : Performing a signal on the current token from an action handler is not a good practice. Koen, You mean that to apply only to event-handling ActionHandlers, correct? Node-execution ActionHandlers can signal, yes? Thanks, -Ed Staub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062382#4062382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: forever problem! right way to create and deploy bean
i upgrade to jboss 4.2 and my bean functions, but i become: log4j:WARN No appenders could be found for logger (org.jboss.security.SecurityAssociation). log4j:WARN Please initialize the log4j system properly. I dont no what is the appender and where should i put it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062383#4062383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS 2.0 throws WebServiceException: Error creating J
Soved: The endorsed dir wasn't set to $JBOSS_HOME/lib/endorsed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062384#4062384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Drools 4.0 M3 API changed Seam 2.0 security package broke
I am using drools 4.0.0 daily snapshot with seam 2.0 daily snapshot. The drools 4.0 M3 WorkingMemory API has been changed. Please have a look here: http://wiki.jboss.org/wiki/Wiki.jsp?page=4.0.0.MR3ReleaseNotes So the code in the RuleBasedIdentity class in the Seam security package should change correspondingly (if the libraries are updated). And the Seam reference Chapter 12 should be changed too. Regards, Ellen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062388#4062388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to access in code to the Window Properties map in do
For 2.6 GA CorePortalNode has changed to PortalNodeImpl. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062389#4062389 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Cant create JSF1.2 Project with Jboss, a division of Red Hat
Hello following Problem: Having 2 Servers (1. defined with Jboss and 2. defined with Jboss, a division of Red Hat) 1. File - New - Project... 2. Select Seam - Seam Project and Next For Server 1. it is possible to select Java Server faces v1.2 Project under configuration For Server 2. it is not possible:( Using JBossTools-200707091951-nightly-ALL-win32.zip View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062391#4062391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - create portal
Hello, I am using Jboss portal 2.2.I change core code and I can create portal but when I trying to see the portal I see this error : This request requires HTTP authentication (). I think jboss portal core can't detect the url of another portal and only can detect default.How can I solve this problem? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062393#4062393 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSR-299 Web Beans approved by the EC
congratulations! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062394#4062394 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - create portal
Hello, I am using Jboss portal 2.2.I change core code and I can create portal but when I trying to see the portal I see this error : This request requires HTTP authentication (). I think jboss portal core can't detect the url of another portal and only can detect default.How can I solve this problem? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062397#4062397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM 3.2.1 and Sub-Process
In case you are finding it difficult to deploy a process-definition having a sub-process, then use the below class: org.jbpm.graph.node.DbSubProcessResolver.java Use this class in jbpm.cfg.xml: bean name=jbpm.sub.process.resolver class=org.jbpm.graph.node.DbSubProcessResolver / | and build the jbpm-console.war again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062398#4062398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem with multiple end-states
Hi, I've got a problem with the following test- workflow: | process-definition xmlns= name=test |start-state name=start | transition name= to=FooBar/transition |/start-state |state name=FooBar | event type=before-signal | action name=check foo bar class=TestActionHandler/action | /event | transition name=foo to=EndFoo/transition | transition name=bar to=EndBar/transition |/state |end-state name=EndFoo/end-state |end-state name=EndBar/end-state | /process-definition | I set a variable, and based on it's value the TestActionHandler calls leaveNode for either the transition foo or the transition bar, which lead to differend end-states. However, the execution ends in the state EndFoo every time. After the decision the correct transitions are taken, but after entering the EndXX State, the execution doesn't stop, instead another (non-existent)transition to the state EndFoo is taken. Here's some of my debug output: | Token: Token(/) | Start Time: Tue Jul 10 14:36:40 CEST 2007 | String: action[action[check foo bar]] | Log Entry: 21 | Token: Token(/) | Start Time: Tue Jul 10 14:36:40 CEST 2007 | String: node[FooBar] | Log Entry: 22 | Token: Token(/) | Start Time: Tue Jul 10 14:36:40 CEST 2007 | String: transition[FooBar--EndBar] | Log Entry: 23 | Token: Token(/) | Start Time: Tue Jul 10 14:36:40 CEST 2007 | String: processinstance[end] | Log Entry: 24 | Token: Token(/) | Start Time: Tue Jul 10 14:36:40 CEST 2007 | String: node[EndBar] | Log Entry: 25 | Token: Token(/) | Start Time: Tue Jul 10 14:36:40 CEST 2007 | String: transition[EndBar--EndFoo] | Has someone already experienced this problem, or is it a normal behaviour? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062399#4062399 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062399 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Incremental 'hot' deployment problem
I have changed a Seam-Gen EAR based project to use the incremental deployment utilising WEB-INF/dev. I have left my src/model in the normal place but changed the src/action to output it's class files to resources/WEB-INF/dev. I have set core:init debug=true and changed the build.xml to move the resources/WEB-INF/dev classes to the {war.dir}/WEB-INF/dev directory. I'm not referring to any of these classes from anywhere outside of WEB-INF/dev. All of these classes are JavaBeans (no SFSB or SLSB). This all deploys fine and runs without problem, however when I change something (eg. an EntityHome based class) I have errors: | Caused by: java.lang.IllegalArgumentException: Could not set field value by reflection.[etc etc] | Caused by: java.lang.IllegalArgumentException | at sun.reflect.UnsafeObjectFieldAccessorImpl.set(UnsafeObjectFieldAccessorImpl.java:63) | This wasn't an issue deploying in the normal way and doesn't appear to break the rules of the incremental deployment. Can anyone point me in the right direction? Also, when the Seam classloader runs through the list of classes in WEB-INF/dev it prints out only the unchanged classes and omits the ones that have changed. Is this intended? Thanks, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062403#4062403 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - JBoss NegotiateKerberos [HttpServletRequestResponseValve] R
i config NegotiateKerberos at jboss Login as domain user, happen some error 20:24:23,328 DEBUG [SPNEGO] CallbackHandler: [EMAIL PROTECTED] 20:24:23,328 DEBUG [JaasSecurityManagerService] Created [EMAIL PROTECTED] 20:24:23,328 DEBUG [SPNEGO] CachePolicy set to: [EMAIL PROTECTED] 20:24:23,328 DEBUG [JaasSecurityManagerService] setCachePolicy, [EMAIL PROTECTED] 20:24:23,328 DEBUG [JaasSecurityManagerService] Added SPNEGO, [EMAIL PROTECTED] to map 20:24:23,328 DEBUG [AdvancedWebCallbackHandler] Got SecurityAssociationCallback: [EMAIL PROTECTED] 20:24:23,328 DEBUG [AdvancedWebCallbackHandler] Sending back authorization header 20:24:23,328 DEBUG [HttpServletRequestResponseValve] Realm returned: null 20:24:27,546 DEBUG [AdvancedWebCallbackHandler] Got NegotiateCallback: [EMAIL PROTECTED] 20:24:27,546 DEBUG [AdvancedWebCallbackHandler] Token was Type 1 NTLM 20:24:27,546 DEBUG [HttpServletRequestResponseValve] Realm returned: null 20:24:27,546 DEBUG [AdvancedWebCallbackHandler] Got NegotiateCallback: [EMAIL PROTECTED] 20:24:27,546 DEBUG [AdvancedWebCallbackHandler] Token was Type 3 NTLM 20:24:27,546 DEBUG [NegotiateLoginModule] Found NTLM token in SPNEGO: [EMAIL PROTECTED] 20:24:27,546 DEBUG [HttpServletRequestResponseValve] Realm returned: null login-config.xml application-policy name=SPNEGO login-module code=org.jboss.security.auth.NegotiateLoginModule flag=required module-option name=loadBalancefalse/module-option module-option name=domainController192.168.0.31/module-option module-option name=defaultDomainTEST/module-option /login-module /application-policy Web.xml login-config auth-methodNegotiate/auth-method realm-nameDomain Realm/realm-name /login-config jboss-web.xml jboss-web security-domainjava:/jaas/SPNEGO/security-domain /jboss-web context.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062404#4062404 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss NegotiateKerberos [HttpServletRequestResponseValv
jboss-service.xml . org.jboss.web.tomcat.security.AdvancedWebCallbackHandler context.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062405#4062405 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss NegotiateKerberos [HttpServletRequestResponseValv
| jboss-service.xml | | mbean code=org.jboss.security.plugins.JaasSecurityManagerService name=jboss.security:service=JaasSecurityManager | | attribute name=CallbackHandlerClassNameorg.jboss.web.tomcat.security.AdvancedWebCallbackHandler/attribute | /mbean | | context.xml | | Context | Valve className=org.jboss.web.tomcat.security.HttpServletRequestResponseValve / | /Context | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062407#4062407 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062407 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Incremental 'hot' deployment problem
I should mention that the error occurs when I refresh the page and not on the actual redeployment. It appears to be choking when I have injected another JavaBean into the class eg. @In(create=true) | NumberGenerator numberGenerator; where numberGenerator is just a basic POJO. If I comment this out it will choke on the next one - not necessarily in this class or any class referenced on the current page that is being refreshed. Cheers, D. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062408#4062408 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: forever problem! right way to create and deploy bean
You see those messages because you dont have a log4j.properties or log4j.xml file in the classpath of the client (MyBeanClient). Have a look at http://jaitechwriteups.blogspot.com/2006/07/i-get-log4jwarn-no-appenders-could-be.html for more details. All you have to do is place a log4j.xml or log4j.properties file in the classpath of your client View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062410#4062410 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062410 ___ 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: java.util.Properties causes IllegalStateException on JBo
bartvh wrote : Has a JIRA issue been created for this? It is still there in JBoss 4.2--more than one year later. Ok, found the JIRA bug : http://jira.jboss.com/jira/browse/JBAS-3383. And I see no 'Fix Version' has been filled in... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062412#4062412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - project from CVS fails to build
Hi, Just did a checkout of from CVS and got two problems: 1) .classpath points to an old version of itext (2.0.1) while the lib folder has a newer version (2.0.4) 2) org.jboss.seam.international.Messages is missing an import for org.jboss.seam.core.ResourceBundle (which causes the ant build to fail) Cheers, nts View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062416#4062416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Dynamic Class loading
Hello, Having read through lots of posts, documents and pages found on Google and still having a, to me, strange problem, I turn to the gurus on jboss.org ... Situation: I start my main application from within jboss. My application will generate dynamic java classes outside the jboss directories. When the classes needs to be loaded the class loading fails with a Class Not Found Exception. However, if I restart jboss and loads the previously generated classes everything runs smoothly. In the jboss-service.xml for the .sar I have a line: My classes are in a com.hp package and their name starts with Dyn{autogen-id}. The {autogen-id} is a autogenerated name based on a md5 sum of some of the properties of the class (path, name etc). A full path to a class would be: c:\HP\myapp\classes\com\hp\DynXXX.class To find/load the class I use the following: class = Thread.currentThread().getContextClassLoader().loadClass(com.hp.DynXXX); So ... my question is: how do I hot deploy a class outside of the jboss directory hierarchy? Kind regards, Brian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062417#4062417 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062417 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Config for EJB3 over servlet-invoker with compression
Hi, thanks for the info! I tried configuring it : | mbean code=org.jboss.remoting.transport.Connector name=jboss.remoting:type=Connector,name=DefaultEjb3Connector,handler=ejb3 | dependsjboss.aop:service=AspectDeployer/depends | attribute name=Configuration |config | invoker transport=servlet | attribute name=serverBindAddress${jboss.bind.address}/attribute | attribute name=serverBindPort8080/attribute | attribute name=pathservlet-invoker/ServerInvokerServlet/attribute | attribute name=dataType isParam=trueserializable | /attribute | attribute name=marshaller isParam=trueorg.jboss.remoting.marshal.compress.CompressingMarshaller | /attribute | attribute name=unmarshaller isParam=trueorg.jboss.remoting.marshal.compress.CompressingUnMarshaller | /attribute | /invoker | handlers | handler subsystem=AOPorg.jboss.aspects.remoting.AOPRemotingInvocationHandler/handler | /handlers | /config | /attribute | /mbean | The Server WARN's when starting up ... | 14:41:07,203 INFO [TransactionManagerService] Binding TransactionManager JNDI Reference | | 14:41:08,562 WARN [MarshalFactory] Found marshaller fully qualified class name within locator parameters, but was unable to load class: org.jboss.remoting.marshal.compress.CompressingMarshaller | | 14:41:11,390 INFO [EJB3Deployer] Starting java:comp multiplexer | ... | and then throws an exception somewhat later | 14:41:37,312 INFO [TomcatDeployer] deploy, ctxPath=/servlet-invoker, warUrl=.../deploy/servlet-invoker.war/ | 14:41:37,656 ERROR [[/servlet-invoker]] Servlet /servlet-invoker threw load() exception | javax.servlet.ServletException: Can not find servlet server invoker with same locator as specified (servlet://localhost:8080/servlet-invoker/ServerInvokerServlet) | at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.getInvokerFromInvokerUrl(ServerInvokerServlet.java:198) | at org.jboss.remoting.transport.servlet.web.ServerInvokerServlet.init(ServerInvokerServlet.java:66) | at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161) | at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981) | I tried the config of the attribute's dataType, marshaller, unmarshaller under the element , then both above mentioned messages wont appear, but there is no compression. I guess I am still messing up the config. Any help is greatly appreciated! Sincerely Marc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062418#4062418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm web console development
I am surprised at the fact that You do not use a visual designer for the development of the web part. How it is possible to see it in this manner, how will look in the browser? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062420#4062420 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062420 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom Portal URL
The admin portal shouldn't be renamed since the link in the header points to it. To select the default portal, it would actually be easy to add it to the GUI (core-admin). But not yet in the XML descriptors (there is currently no way to set properties on a portal parent via XML. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062421#4062421 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062421 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: project from CVS fails to build
Fixed, thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062422#4062422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problems with deploying process with mail nodes or elements
Hi Guys, I am new to this, and so far very impressed with the whole thing, it is the best working, best graphical editor and generally best thought out architecture I have seen with regards to workflow engines.. I tried quite a few, but ended up with buggy imlpementations with very poor documentation.. anyhow, I ran into a problem today when trying to deploy a process definition from the graphical tool in eclipse containing any kind of mail functionality.. my exception from the logs is... for mail-node --- org.jbpm.jpdl.JpdlException: [[ERROR] line 47: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mail-node'. One of '{urn:jbpm.org:jpdl-3.1:swimlane, urn:jbpm.org:jpdl-3.1:start-state, urn:jbpm.org:jpdl-3.1:node, urn:jbpm.org:jpdl-3.1:state, urn:jbpm.org:jpdl-3.1:task-node, urn:jbpm.org:jpdl-3.1:super-state, urn:jbpm.org:jpdl-3.1:process-state, urn:jbpm.org:jpdl-3.1:fork, urn:jbpm.org:jpdl-3.1:join, urn:jbpm.org:jpdl-3.1:decision, urn:jbpm.org:jpdl-3.1:end-state, urn:jbpm.org:jpdl-3.1:action, urn:jbpm.org:jpdl-3.1:script, urn:jbpm.org:jpdl-3.1:create-timer, urn:jbpm.org:jpdl-3.1:cancel-timer, urn:jbpm.org:jpdl-3.1:event, urn:jbpm.org:jpdl-3.1:exception-handler, urn:jbpm.org:jpdl-3.1:task}' is expected., and for mail action on leaving node org.jbpm.jpdl.JpdlException: [[ERROR] line 35: cvc-complex-type.2.4.a: Invalid content was found starting with element 'mail'. One of '{urn:jbpm.org:jpdl-3.1:action, urn:jbpm.org:jpdl-3.1:script, urn:jbpm.org:jpdl-3.1:create-timer, urn:jbpm.org:jpdl-3.1:cancel-timer}' is expected.] my jbpm webapp version is starters kit 3.1.4 and my jpdl designre plug in in eclipse is 3.1.0beta1 can anyone tell me which versions I should be using, if I want to adapt the faces webapp sample as it is in 3.1.4, so I can deploy mail related functionality from the designer tool? Thankyou very much for your help regards Ross View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4062424#4062424 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4062424 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user