[jboss-user] [JBossCache] - Pojo cluster fail
when i use jbosscache,it meet a error like this: 2007-05-24 13:52:19 [org.jboss.cache.marshall.VersionAwareMarshaller]-[ERROR] Unable to read version id from first two bytes of stream, barfing. 2007-05-24 13:52:19 [org.jboss.cache.CacheImpl.JBossCache-Cluster]-[ERROR] failed setting state java.io.EOFException at java.io.DataInputStream.readShort(DataInputStream.java:287) at java.io.ObjectInputStream$BlockDataInputStream.readShort(ObjectInputStream.java:2696) at java.io.ObjectInputStream.readShort(ObjectInputStream.java:908) at org.jboss.cache.marshall.VersionAwareMarshaller.objectFromObjectStream(VersionAwareMarshaller.java:223) at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateAssociatedState(DefaultStateTransferIntegrator.java:116) at org.jboss.cache.statetransfer.DefaultStateTransferIntegrator.integrateState(DefaultStateTransferIntegrator.java:63) at org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:201) at org.jboss.cache.statetransfer.StateTransferManager.setState(StateTransferManager.java:152) at org.jboss.cache.CacheImpl$MessageListenerAdaptor.setState(CacheImpl.java:3407) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:667) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:722) at org.jgroups.JChannel.up(JChannel.java:1015) at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:326) at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:509) at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$2.run(STREAMING_STATE_TRANSFER.java:674) at java.lang.Thread.run(Thread.java:595) how can i deal with it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048126#4048126 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: A question about webservices
thanks Peter, one more question.. Which is th best way to build webservices? i´ve read something about axis, another posibility i found was wscompile from J2EE package. What do you recomend me? Jboss should let us using anotations for webservices as Sun J2EE server! Is Jboss 5 ready for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048128#4048128 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Connection not getting closed in jboss4.0.3
Hi, I am using JNDI for getting the connection I have wriiten a java servlet that takes the connection by look up as: Context ctx=new InitialContext(); DataSource ds = (DataSource) ctx.lookup(java:comp/env/OracleDS); oracle-ds.xml local-tx-datasource jndi-nameOracleDS/jndi-name connection-urljdbc:oracle:thin:@mc01.dlh.comp.com:1521:test/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class user-nametest1/user-name test1 valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name new-connection-sqlselect sysdate from dual/new-connection-sql check-valid-connection-sqlselect sysdate from dual/check-valid-connection-sql min-pool-size5/min-pool-size max-pool-size20/max-pool-size idle-timeout-minutes3/idle-timeout-minutes /local-tx-datasource I am able to get the 8 connections by hitting the servlet URL, for testing purpose I am not closing the connecion in my application at all. Although I've put the idle-timeout-minutes to 3 mins still the jboss is not able to close the connetion. I wait for a long but connection is still opened there I check by quering from v$session table in oracle the connection is already there. Also I've to implement the conection pool in my web application using JBOSS 4.0.3 is this the right way for doing that or not ? Thanks in advance for any help. Regards, Amit Ruwali View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048129#4048129 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048129 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Pojo cluster fail
if the second server connect, join in the group,the first server should get this error: 2007-05-24 14:36:18 [org.jboss.cache.CacheImpl.JBossCache-Cluster]-[ERROR] Caught java.io.NotSerializableException while responding to state transfer request java.io.NotSerializableException: java.net.Socket at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1081) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at java.util.HashMap.writeObject(HashMap.java:1039) 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 java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:917) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1339) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1251) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1075) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1375) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1347) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1290) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1079) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:302) at org.jboss.cache.marshall.NodeData.writeExternal(NodeData.java:71) at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:374) at org.jboss.cache.marshall.CacheMarshaller200.marshallCollection(CacheMarshaller200.java:466) at org.jboss.cache.marshall.CacheMarshaller200.marshallObject(CacheMarshaller200.java:312) at org.jboss.cache.marshall.CacheMarshaller200.objectToObjectStream(CacheMarshaller200.java:161) at org.jboss.cache.marshall.VersionAwareMarshaller.objectToObjectStream(VersionAwareMarshaller.java:183) at org.jboss.cache.statetransfer.DefaultStateTransferGenerator.marshallTransientState(DefaultStateTransferGenerator.java:140) at org.jboss.cache.statetransfer.DefaultStateTransferGenerator.generateState(DefaultStateTransferGenerator.java:58) at org.jboss.cache.statetransfer.StateTransferManager.getState(StateTransferManager.java:86) at org.jboss.cache.CacheImpl$MessageListenerAdaptor.getState(CacheImpl.java:3360) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.handleUpEvent(MessageDispatcher.java:653) at org.jgroups.blocks.MessageDispatcher$ProtocolAdapter.up(MessageDispatcher.java:722) at org.jgroups.JChannel.up(JChannel.java:1050) at org.jgroups.stack.ProtocolStack.up(ProtocolStack.java:326) at org.jgroups.protocols.pbcast.FLUSH.up(FLUSH.java:509) at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$StateProviderHandler.process(STREAMING_STATE_TRANSFER.java:829) at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$StateProviderThreadSpawner$1.run(STREAMING_STATE_TRANSFER.java:732) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:650) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:675) at org.jgroups.protocols.pbcast.STREAMING_STATE_TRANSFER$1$1.run(STREAMING_STATE_TRANSFER.java:453) i've implemented all my vo Serializable. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048131#4048131 Reply to the post :
[jboss-user] [JBoss Portal] - Re: setting a security for individual portlet instances
I am also using jboss-portal 2.6 beta1 and facing the same issue. Has anyone got a solution? Is this a bug? Mohan were u able to figure out any solution for this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048132#4048132 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Simplest s:fileUpload usage
It's exactly the same behaviour in my app. But I use Facelets(*.xhtml). The strange thing I found out: If I comment s:fileUpload tag, the fields are entered !--s:fileUpload id=fileupload data=#{specialreleaseeditor.file} accept=*/* fileName=#{specialreleaseeditor.fileName} contentType=#{specialreleaseeditor.fileContentType}/-- Without the comment the getter/setter of the fields file, fileName and fileContentType are not called in debug mode. Use Seam 1.2.1 and have configured the app as discriped. No exception is thrown. What can I do, get this working. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048134#4048134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: console url failing to load
forget about it, my bad (had two apps that mapped to index.jsp) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048138#4048138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Rollback not work. why?
I am using jboss-seam-1.2.1.GA/JPA example for testing the @ApplicationException(rollback=true). The following is my code. The problem is the user will store in DB without rollback. Why? em.persist(user); facesMessages.add(Successfully registered as #{user.username}); registered = true; throw new Error(); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048140#4048140 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Pojo cluster fail
Hi Appa It's the same pb as describe in my previous post http://www.jboss.com/index.html?module=bbop=viewtopict=109063 Have you tried to launch your example with jdk 1.5.0_* U assume you actually play with a 1.6 release ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048142#4048142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Pojo cluster fail
no,i am playing with JDK1.5.0_09... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048144#4048144 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: ADF Faces with Facelets in jBPM 3.2GA
probably not, sorry. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048147#4048147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: how to save processinstance
Oh jesus, what a complaints. Yes they can, by not declaring variables on the tasknodes you have access to the processcontext variables. Those are shared View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048150#4048150 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Associating views with process states
database views? html views? For the latter use jbpm 3.2 or build your own custom webapp View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048162#4048162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Un expected behavior observed with Token details
If you think this is a bug or enhancement, please file a jira issue. By just stating it here there is no guarantee it will get fixed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048163#4048163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - German article about Seam published
Hi, I wrote an article in German about Seam that was now published in the JavaSPEKTRUM. It contains mainly a brief introduction and a discussion about the architectural changes in comparison with traditional JEE web application. If somebody is interested, here is a link: http://akquinet.de/fileadmin/PDF_JASA/opensource/fink_JS_03_07.pdf Feedback is welcome of course. Best regards, Torsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048165#4048165 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048165 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Associating views with process states
Hi kukeltje, I am sorry for not being clear earlier. I meant html views only in a new webapp. What i am not able to understand is to how to show a specific html for a specific process state and another one for another state. I plan to make these as embeddeable htmls inside a parent html page. i dont wanna uses faces , simple html with controller logic is what i am planning Any ideas . - Vipul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048167#4048167 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Dropdown Lists in my seam application causing problem
Show us all the code for your page. Take out the globalOnly so you see messages for your inputs as well. Also you don't need to use si:selectItems and si:convertEntity anymore. They are now part of the core Seam tags. Eg. s:selectItems (this won't fix your problem though) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048168#4048168 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Associating views with process states
Then you have to build your own custom webapp. Including designing how to show a custom form for a specific state... Sorry, I can't be any clearer, since it wouldcost me way to much time to design something for you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048171#4048171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - 4.0.5 to 4.2.0 upgrade and JBossTS
All our 10 datasources are local-tx-datasource but it appears JBossTS (default transaction manager in 4.2.0) only allows 1 local-tx-datasource (not simple to find this out), you need to convert to xa-datasource. This should be in the release notes (I can find no reference). However, converting to xa-datasource on a Oracle database seems to be problematic. A conclusion I have reached after scanning these forums, scanning Google and trying it out. So I switched back to the 'deprecated' fast in-memory transaction manager which, in my view, should not be listed as 'deprecated' unless the default TM (JBossTS) supports multiple local-tx-datasource. Dave P.S. I think that this http://jira.jboss.com/jira/browse/JBAS-4425 is probably also going to screw up Oracle XA on 4.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048173#4048173 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: cannot read process variable from other thread
Hi, actually it did not help. Like stated at http://www.jboss.com/index.html?module=bbop=viewtopict=108409, since 2 threads are in game: JMS and JBPM then will join the race, so sometimes it will pass, sometimes won't. Actually that made a big problem to me, so I would strongly advice to either use XA transactions like mentioned or to redesign process and avoid using JMS, which I did at the end. Regards Milan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048174#4048174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Change user that jboss runs on (Linux)
I want tomcat connector to bind low ports on linux, so i start jboss through sudo. But I do not want to run it as a root. After it binds the ports i want it to change linux user that it is running on, so that it doesnt run on root any more. Thnx for any reply. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048178#4048178 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Own HttpServlet and No application context active
Problem was in component.xml web:context-filter url-pattern=/attachement/* / M. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048181#4048181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Radiobutton and AJAX
Hi all, I have problem with this scenario: I would like to have an form with some input text fields. On the form will be an group of radiobuttons which control the form. When I clicked on the first radiobutton, some imput texts disappears and some appears. I can do that with ajax4jsf - no problem. But problem is when some field are required. When the field is required the ajax request is called but response is not applied. I am trying to call immediate=true but it doesn't work, singleRequest=true .. Can somebody help me ? Thanks Mila | s:decorate template=/editspan.xhtml | ui:define name=labelTyp:/ui:define | h:selectOneRadio value=#{communicationAddAction.type} |f:selectItem itemValue=1 itemLabel=phone / |f:selectItem itemValue=2 itemLabel=email / |f:selectItem itemValue=3 itemLabel=person / |a:support action=#{communicationAddAction.changeType} event=onchange reRender=method singleRequest=true ajaxRendered=true/ | /h:selectOneRadio | /s:decorate | | | | a:outputPanel id=method | | s:fragment rendered=#{communicationAddAction.showEmailContact} | s:decorate template=/editspan.xhtml | ui:define name=labelE-mail:/ui:define | h:inputText value=#{communication.personEmail} required=true/h:inputText | /s:decorate | /s:fragment | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048183#4048183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam CVS: should jBPM work? (jbpm.function.mapper not de
There's a new version of the JBPM lib in CVS, everything should now work again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048189#4048189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Following Seam Pay example - Error
I wanted to follow the seam pay example and all works fine using this code | @Asynchronous | @Transactional | public Timer checkCitations(@Expiration Date when, | @IntervalDuration long interval, | Processor processor) throws SQLException | { | | DatabaseManager dbManager=new DatabaseManager(); | | | if (something) { | TimerHandle handle = processor.getTimerHandle(); | | handle.getTimer().cancel(); | | dbManager.updateQueue(processor.getId()); | | } | | but if I redeploy my app when goes to to cancel the handle.getTimer().cancel() I get | 11:29:40,533 ERROR [TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBException: java.lang.NullPointerException | any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048190#4048190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam CVS: should jBPM work? (jbpm.function.mapper not de
Great, I indeed just received the JIRA notifications. Do the efforts to create a new patched 3.1.4 version imply that jBPM 3.2 will probably not make it into Seam 1.3? Thanks, Arjan. 1.3.0.BETA1 Seam/WS and jBPM asynchronicity JBSEAM-1130 Upgrade to jBPM 3.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048191#4048191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Howto handle LazyInitializationException
Hello I have a problem with lazy loading and need a workaround. I have an Entity called SoftwareInventoryObject which contains a Collection of SoftwareInventoryObjectParts. | class SoftwareInventoryObject { | // other fields | ListSoftwareInventoryObjectPart parts; | | // Getter Setter | } | Additionally I have a EJB3 Bean SoftwareObjectSearch which searchs in the database for the above mentioned SoftwareInventoryObjects. | class SoftwareObjectSearch { |// other code | |@DataModel |ListSoftwareObjectPart inventoryObjects; | | // other code | } | To view the result I have a facelet which contains a h:dataTable. Now I would like to display each of the SoftwareObjectParts too therefor I have a nested h:dataTable in the facelet. | h:dataTable value=#{inventoryObjects} var=sio rendered=#{inventoryObjects != null} | h:column | h:dataTable value=#{sio.parts} var=siop | h:columnf:facet name=headerName/f:facet #{sio.name}/h:column | h:columnf:facet name=headerType/f:facet #{sio.type}/h:column | h:columnf:facet name=headerBarcode/f:facet #{sio.barcode}/h:column | h:columnf:facet name=headerManufacture/f:facet #{sio.manufacture}/h:column | h:columnf:facet name=headerDistributor/f:facet #{siop.distributor}/h:column | h:columnf:facet name=headerOrder Number/f:facet #{siop.orderNumber}/h:column | h:columnf:facet name=headerPrice/f:facet #{siop.price}/h:column | h:columnf:facet name=headerVersion/f:facet #{siop.version}/h:column | h:columnf:facet name=headerAction/f:facet link/h:column | /h:dataTable | /h:column | /h:dataTable | Now when I run a facelet I get a Lazy Initalization Exception for the siop, the SoftwareInventoryObjectPart. This makes sense to me, because I access a collection which is not eager loaded, after the initial Hibernate session was closed. My question is now, how can I avoid such an exception? What is a nice workaround. If you need any further code please let me know. Thanks for all the answers in advance. Thierry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048194#4048194 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Howto handle LazyInitializationException
Hi Thierry, Have you read about the extended persistence context? If not, this is where your answer lies http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/persistence.html Using a conversation-scoped SFSB with an extended persistence context will solve your problem. Daniel. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048196#4048196 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: If I deploy more than one webservice I get
Even when deploying only a single web service, this error may also be caused by some left-overs after refactoring without properly cleaning up. I changed the name of my service using Eclipse, which left the old compiled classes in various exploded archive folders. Those were then still copied to, and loaded by, JBoss. This resulted in multiple services (same implementation with different class names) within the same application, and thus yielding the org.jboss.ws.WSException: Multiple context root not supported error. My stupid mistake, of course... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048197#4048197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Error message when starting my jboss server.
I have just installed jboss 4.0.3SP1 (I tested whit .4.0.5 same problem there) I getting those messegeas when I start it whit ./run.sh -c all if I run the default server It's starts perfectly.. 12:25:08,400 INFO [SnmpAgentService] SNMP agent going active 12:25:08,428 ERROR [TrapEmitter] SNMP send error for localhost/127.0.0.1:1162: java.lang.NullPointerException 12:25:09,438 INFO [DefaultPartition] Initializing 12:25:09,476 ERROR [JChannel] exception: java.lang.Exception: exception caused by UDP.start(): java.lang.Exception: UDP.createSockets(): cannot list on any port in range 0-1 12:25:09,479 WARN [ServiceController] Problem starting service jboss:service=DefaultPartition ChannelException: java.lang.Exception: exception caused by UDP.start(): java.lang.Exception: UDP.createSockets(): cannot list on any port in range 0-1 -- the logs roll on -- 12:25:10,326 INFO [orb] ORB run 12:25:10,449 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3200D80001020D3139342E31342E38392E36300DC800114A426F73732F4E616D696E672F726F6F740500084A414301001C00010001000105010001000101090001050100010021005100240020007E0001000D3139342E31342E38392E36300DC90024001F00040003000100220024001F00040003] And there it hangs.. Anyone have a idea of what's wrong ?? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048201#4048201 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Howto handle LazyInitializationException
Now I got it. Sorry. I use now: | class SoftwareObjectSearchBean { | // other code | | @PersistenceContext(type=PersistenceContextType.EXTENDED) | EntityManager em; | | // other code | } | | Is that the right way? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048206#4048206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: what is par file? + has anyone used deploy.html in jbpm.
I did the same but when i tried to upload this file using deploy.html page it says not a process archive file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048207#4048207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Not a multipart request error while deploying using eclips
Hi all, I created a application using jbpm and i have been trying to deploy a process definition using eclipse plugin and its alway throwing an error saying Not a multipart request Any ideas what i can do to solve this. FYI: the same is working on windows machine but i am having problems when server is deployed on linux machine. thanks Vipul View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048205#4048205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Howto handle LazyInitializationException
Thank you for your reply. I have read through the articel in the JBoss Seam documentation. Unfortunately I din't fully understand it. Is there an example of an extended persistence context in the jboss-seam examples? Thanks again for your reply and your help, thierry View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048202#4048202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: what is par file? + has anyone used deploy.html in jbpm.
Use eclipse plugin to create process archive. (Deployment tab-Save Process Archive Locally) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048204#4048204 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to get the HttpResponse object using FacesContext.
Hi, How to get the HttpResponse object using FacesContext. iam using HttpServletResponse response = (HttpServletResponse)facesCtx.getResponseWriter(); but getting the response object as null. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048213#4048213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll in custom tag/template
Hello, i am also interested in an answer to this issue. I do have an app where on one page the validation is working and on an other page it is not working. Both pages uses templates. i try to hunt down the problem for a couple of weeks now, but with no success:-( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048218#4048218 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem with character-encoding-filter in components.xml
Hi, i added the following entry to components.xml web:character-encoding-filter encoding=UTF-8 |override-client=true |url-pattern=*.seam/ and when i deploy the ear i get the following error at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:610) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) | Caused by: org.dom4j.DocumentException: Error on line 58 of document : The prefix web for element web:character-encoding-filter is not bound. Nested exception: The prefix web for element web:character-encoding-filter is not bound. | at org.dom4j.io.SAXReader.read(SAXReader.java:482) | at org.dom4j.io.SAXReader.read(SAXReader.java:343) | at org.jboss.seam.util.XML.getRootElement(XML.java:16) | at org.jboss.seam.init.Initialization.initComponentsFromXmlDocument(Initialization.java:133) | ... 92 more can anyone help? i use seam 1.21GA thanks and regards, hasc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048219#4048219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: How to Call one EJB from another remotely?
Hi ebross I tried your suggestion But the Deployment itself is failing stating it couldn't found any EJB's View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048220#4048220 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Compiled docs for JBossMC_2_0_0_Beta3
Are the compiled docs for JBossMC_2_0_0_Beta3 available anywhere? The 'build/build.sh docs' fails with buildmagic's unmagic. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048222#4048222 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048222 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Compiled docs for JBossMC_2_0_0_Beta3
Uf, there is not a lot of docs for MC 2.x (yet). The best you can do is here: - http://www.jboss.org/index.html?module=bbop=viewtopict=105030 - http://www.jboss.org/index.html?module=bbop=viewtopict=105284 - http://www.jboss.org/index.html?module=bbop=viewtopict=104471 btw: where do you get buildmagic, isn't MC all Maven? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048224#4048224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataSource injection in entity
Hello. I must get some data in entity from a stored proc. this data belons to this entity. It is very old, legacy DB. For this I need a DataSource.getConnection() like this Connection conn = ds.getConnection(); CallableStatement cs = conn.prepareCall(sql); How can I inject DataSource, or maybe StatelesBean with this DataSource in my Entity. I have tried it with @EJB and @In but it didn't work. I get: | ... | Caused by: java.lang.reflect.InvocationTargetException | 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.apache.myfaces.el.PropertyResolverImpl.getProperty(PropertyResolverImpl.java:438) | ... 61 more | Caused by: java.lang.NullPointerException | at de.arvatoservices.web_france.entity.CatalogItem.callSP(CatalogItem.java:168) | at de.arvatoservices.web_france.entity.CatalogItem.getPysits(CatalogItem.java:141) | at de.arvatoservices.web_france.entity.CatalogItemHome.getPysits(CatalogItemHome.java:72) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20) | at org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57) | at org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:32) | at org.jboss.seam.util.Work.workInTransaction(Work.java:37) | at org.jboss.seam.interceptors.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.MethodContextInterceptor.aro | 13:32:15,028 ERROR [STDERR] undInvoke(MethodContextInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103) | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151) | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87) | at de.arvatoservices.web_france.entity.CatalogItemHome_$$_javassist_152.getPysits(CatalogItemHome_$$_javassist_152.java) | ... 66 more Any Ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048225#4048225 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048225 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Slow integration testing suite based on SeamTest - improveme
As the framework is designed right now, the embedded server starts for each testing class that extends SeamTest (basically every class that has integration tests using FacesRequest). This is done via SeamTest.init() which is annotated with @Configuration(beforeTestClass=true). Starting the server is slow, compared to the duration of the actual test methods, so as the testing suite grows, the developer is encouraged not to run the whole testing suite, which is bad. Is there any reason why the server needs to be started for each test class? What would possibly go wrong if server startup (SeamTest.init()) is done only once for all the tests in the suite? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048226#4048226 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048226 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: error changing theme when logged in as admin in 2.6cr2
The same error happens to me. I'm using the latest trunk, AS 4.0.5 and MySQL as database. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048231#4048231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Compiled docs for JBossMC_2_0_0_Beta3
alesj wrote : | btw: where do you get buildmagic, isn't MC all Maven? | Just do build/build.sh on JBossMC_2_0_0_Beta3 tag checkout. Seems to produce the jars from clobbered state, most other targets seem not to respond too well. I guess I'll try the pom.xml then. Thanks for the links. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048233#4048233 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048233 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] jboss seam, calling seam component from servlet filter
I am very new to jboss Seam and hence have this query. I want to call up a seam component from inside a servlet filter as below: AuthorizerActionLocal authLocal = (AuthorizerActionLocal)Seam.componentForName(packageCreationAction) .getInstance( AuthorizerActionImpl.class); UserVO userVO = authLocal.login(userName); I get an error saying: java.lang.IllegalStateException: No application context active at org.jboss.seam.Component.forName(Component.java:1603) What is going wrong? Is it possible to call a seam component from inside a servlet filter as above? If not then is there any other way Thanks, Rishi ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: How can I track connections by user?
anonymous wrote : I get them via the connection managers allocate method but I can't figure out how i tell the pool that I am returning the connection. You need to call the close method on the Connection which should eventually call the method on the ManagedConnection which in turn should call the ConnectionEvenListerner to close the connection . This goes as per the specs , would it be possible for you share the code I can have a look at how you are doing this ? I don't have knowledge about the bespoke protocol but that should not create any hindrance in understand the skeleton JCA implementation which you would be doing . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048235#4048235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - general question on encoding
Hello, i' ve got a general question on encoding. I encoded my messages_de.properties file in UTF-8 and if i add charakters like (Ä,ä,Ü,ü) they are displayed wrong. If i change back to ISO-8859-1 it works fine. All xhtml files begin with the line ?xml version=1.0 encoding=UTF-8? and are encoded in UTF-8. I expected it to work but maybe i have a misunderstanding here. can someone expain me the thing or point me to a reference where it is explained? regards, hasc View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048238#4048238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Un expected behavior observed with Token details
malish, When you jira it, you might ask for javadoc describing what to expect, regardless of the disposition of the request for a change in behavior. The current doc leaves it to your imagination. -Ed View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048242#4048242 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - jboss-archive-browsing vs jboss-common-core
I'm trying to use JbossCache 2.0.0 cr1 in a project that also uses Hibernate (with EntityManager 3.3.1 ga). There seems to be a conflict between the dependencies of these. Hibernate-EntityManager comes with a jar file called jboss-archive-browsing.jar. In its manifest it sais it's actually jboss-common-core 2.0.2 alpha. JBossCache 2.0.0 cr1 on the other hand comes with a jar file called jboss-common-core. There is no version information whatshowever in its manifest. When comparing these two, they seem mostly the same, although there are a couple of differences. E.g. org.jboss.util.file.ArchiveBrowserFactory exists in the jboss-common-core that comes with JbossCache but not in the one that comes with Hibernate-EntityManager. What version of jboss-common-core does JbossCache 2.0.0 cr1 comes with? Is there any effort going on to somehow align the different Jboss projects? Is it possible at all to use Hibernata-entitymanager 3.3.1 ga (the current one) with JbossCache, considering these conflicting dependencies? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048243#4048243 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Readme for required libs missing from archive?
I've created a JIRA for this - JBCACHE-1072. Will be in 2.0.0.CR2. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048244#4048244 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Un expected behavior observed with Token details
I could reproduce this with your suggestions of throwing an exception in an ActionHandler. But only if I signal this from a custom application, not from within the default jBPM 3.2 web app. So I suspect this is a configuration issue. I'll try to dig deeper and let you know when I find something... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048245#4048245 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Unable to stop conversation propagation for s:link acti
When you use action= with no view attribute, s:link resubmits to the original view id, just like h:commanLink or h:commandButton. Since you have begin-conversation/ defined for that view id, a new conversation begins. If you want to submit to a different view id, you must use view= View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048249#4048249 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: error changing theme when logged in as admin in 2.6cr2
Could you please detail, what problem you are facing, and how i can reproduce it ? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048251#4048251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll throwing
s:validate(All) can only work for JSF controls which have an attribute named value. (It is meant to be used with EditableValueHolders.) I'm not sure what ui2:addRemove is, but you seem to be missing a value attribute... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048252#4048252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll in custom tag/template
Hi, I think it is same issue I had. Seam validation does not work with facelets source tags: http://www.jboss.com/index.html?module=bbop=viewtopicp=4012572#4012572 But for the next version of Seam, it will have a new El implementation: JBoss El. Hopefully it will resolve our problems! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048253#4048253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Need some clarification about seam-gen-ed EntityHome cla
No true, it looks to me like Widget has many Feeds. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048254#4048254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Un expected behavior observed with Token details
Please disregard my previous comment - it has nothing to do with configuration. I oversaw that you were throwing an exception, but didn't mark the current transaction as to be rolled back. So instead of your workaround of re-setting the node on the context again, just add jbpmContext.setRollbackOnly() in the catch block. public void processWorkflowEvent(long pid, String eventName) throws ... | { | JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try | { | ... your own code | | // process signal | token.signal(eventName); | | } | catch(Exception e) | { | // mark this transaction as dirty | jbpmContext.setRollbackOnly(); | // do whatever you need to handle own exceptions | } | finally | { | jbpmContext.close(); | } | } No need for a JIRA entry IMO. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048255#4048255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Creating Mock for identity component
What you are doing should work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048256#4048256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: NetBeans and JBoss 4.2.0 problem?
Hi spirosmichalak How do you stop the JBoss srever from Netbeans ? I am an absolute newbie to both Netbeans and JBoss, so please dont mind if that was a dumb question. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048258#4048258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: jboss-archive-browsing vs jboss-common-core
This is jboss-common-core 1.0.4. We only need this for MarshalledValue and associated streams, so you should be able to use the version that comes with Hibernate. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048259#4048259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?
It should be very easy to write a seam page action that checks the domain, and calls themeSelector.setTheme(). Map it to the view id *. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048260#4048260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Startup not working
Since it is a session scope component, it starts when the session starts, not when the application starts. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048261#4048261 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam - Embedded Ejb - Logger
@Logger works for session beans that are Seam components. If its not a seam component you can use: private static final LogProvider log = Logging.getLogProvider(.); View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048262#4048262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - [JSF] Problems with Tomahawk extensions (jboss-5.0.0.Beta2)
Hi all, I have an EAR with a WAR on jboss-5.0.0.Beta2. In my WAR I use JSF (RI 1.2 as delivered with JBoss) and Tomahawk 1.1.5 add-ons. When I try to use t:dataTable with sort-function, I get a NumberFormatException. I debugged the code and I saw | (String) vb.getValue(getFacesContext()) | threw the exception, because the last token of my expression #{xyz.sortColumn} (sortColumn) was interpreted as an Integer. Has anyone an idea, if or how tomahawk-1.1.5 works with RI 1.2? Thanks, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048266#4048266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and maven2 running tests
You need to specify the JNDI name pattern for E-EJB3 in components.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048268#4048268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] Seam calling from servlet filter..
I am very new to jboss Seam and hence a simple query. I want to call up a seam component from inside a servlet filter as below: AuthorizerActionLocal authLocal = (AuthorizerActionLocal)Seam.componentForName(packageCreationAction) .getInstance( AuthorizerActionImpl.class); UserVO userVO = authLocal.login(userName); I get an error saying: java.lang.IllegalStateException: No application context active at org.jboss.seam.Component.forName(Component.java:1603) What is going wrong? Is it possible to call a seam component from inside a servlet filter as above? If not then is there any other way Regards, Rishi ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?
Ok sounds like the kind of thing I was thinking of! Excellent. So basicly, it will get called on every request due to the view id * in web.xml (should it be web.xml?) Many thanks Tim View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048264#4048264 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048264 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Readme for required libs missing from archive?
You can see it in CVS here: http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jboss/JBossCache/lib/README.txt?revision=1.1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048257#4048257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exploded Deployment woes on Windows
Yes, this is a problem at the JVM level on windows. Usually, it resolves itself by restarting the AS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048269#4048269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Support for calling components from value bindings?
Yes, it should work. But note that Seam 1.3 is not even alpha yet. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048270#4048270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 3.0
Actually we are probably going to split the functionnalities for 3.0 between 2.8 and 3.0 OR 3.0 and 3.2, it depends how we decide it. The goal is to not have a long bloated release cycle. The agnosticity stuff will be done in priority. We'll post on the blog about it once we know more about it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048280#4048280 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:fileUpload trows error???
ignore it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048281#4048281 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: what time the portal 2.6 final can be download
By end of June you'll have a final release. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048282#4048282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Un expected behavior observed with Token details
Would be nice to add a jira issue nevertheless. Just not for the original problem, but for adding this to the docs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048279#4048279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:validateAll in custom tag/template
This is a well-known limitation of facelets tag files. EL expressions are evaluated before they get passed to the tag. So there is no way we can fix it without a change to facelets. Nag Jacob. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048278#4048278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Following Seam Pay example - Error
koriel wrote : when goes to to cancel the handle.getTimer().cancel() I get | 11:29:40,533 ERROR [TimerImpl] Error invoking ejbTimeout: | | javax.ejb.EJBException: java.lang.NullPointerException | any ideas? Surely there's some caused by in the stacktrace to help you investigate? Does this only occur during redeployment on the fly? Like: what if you gracefully shut down the application server without redeploying anything? Or does it happen wen starting after redeployment? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048277#4048277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?
In pages.xml, of course! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048271#4048271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Pageflow question
no View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048272#4048272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataSource injection in entity
Please HELP!!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048276#4048276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Themes based on domain?
LOL - sorry now that was a silly mistake!!! Cheers Tim PS: i'll do the code and post it back up when its ready :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048286#4048286 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048286 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Un expected behavior observed with Token details
Ronald, Given what this turned out to be caused by, what are you thinking should be doc'd? Maybe the getNode() return? Like so: anonymous wrote : @return the last node entered, or the start node for the root token of an unsignaled new process instance. Guaranteed non-null. [I don't know for a fact that this is true, though... I'm just recording my own fantasy of how it works/should-work!] -Ed Staub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048287#4048287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ClassCastException: org.jboss.seam.jsf.SeamApplication11
Yes, they should not do that typecast, that is a bug in their JSF impl. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048290#4048290 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityManager null
It is not hardcoded, it is a default, which may be configured in components.xml! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048293#4048293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: I can't build seam
1.1.5?? Why don't you use the current version, 1.2.1.GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048295#4048295 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: A question about webservices
JBossWS 1.2 supports annotations for creating web services. See docs at http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048296#4048296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Length in char(1) property
anonymous wrote : The application created by seam-gen is not ready to use. | Right, it is a starting point, not a readymade production application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048298#4048298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: PropertyNotFoundException - Target Unreachable
It is much, much better to start with a Seam example, or seam-gen, than try to convert a generic JSF project across. A Seam app has waaay more moving parts (EJB, JTA, JPA, Seam itself, etc) that all need to coexist. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048299#4048299 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Support for calling components from value bindings?
Ok, thanks. I'll heed your note and wait for a release. Cheers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048301#4048301 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048301 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Newbei question: Page navigation
Declare the parameter as a seam page parameter. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048302#4048302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: German article about Seam published
Thanks! Once we get the new website set up, we will have to have a page linking articles about Seam. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048304#4048304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Howto handle LazyInitializationException
That is one way, but a better way is to use a Seam-managed PC. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048305#4048305 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048305 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: problem with character-encoding-filter in components.xml
You need to declare the web namespace in the document root element. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048306#4048306 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Slow integration testing suite based on SeamTest - impro
No, no especially good reason View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048307#4048307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Scope Precedence
Null would be injected. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048308#4048308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: service=EJB3 + is already registered
Finally I discoverd what was wrong: the jndi.properties file for the standalone client application was included in the bean JAR file. When I removed that file from the JAR, the problem was solved. However, JBOSS 4.0.5. ignored the presence of that file in the JAR. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048310#4048310 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Feature-Request: @CreateProcessAndStartTask
Hi, I had now twice the need for a new feature, thus I would like to utter a feature request. I am not sure if this is the right place, but it is worth a try. From looking at the examples, the Seam-way to work with processes is to 1. Create a process (@CreateProcess) 2. Show a list with the tasks 3. Start working with a task by selecting one in the list (@StartTask) This is really convenient. But what I need is one step to - create a process and - start working an the first task in a long running conversation with associated business process context. In short, something such as @CreateProcessAndStartTask. What I did in the current project to achieve the same effect, is this: | @Begin | public String initialize() { | businessProcess.createProcess(PROCESS_NAME); | final Long processId = businessProcess.getProcessId(); | final ProcessInstance processInstance = jbpmContext.getProcessInstance(processId); | | final Collection taskInstances = processInstance.getTaskMgmtInstance().getTaskInstances(); | final TaskInstance task = (TaskInstance) taskInstances.iterator().next(); | | businessProcess.setTaskId(task.getId()); | businessProcess.startTask(); | | return createNewOffer; | } | The new annotation needs at least two properties: - name of the process - name of the task Does this request makes sense? -- Torsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048314#4048314 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048314 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - org.jboss.serial.exception.SerializationException in JBoss4
Hi, Im am running a JBoss4.0.5 cluster with two nodes. After some time of inactivity I keep having the following exception 2007-05-24 15:58:12,810 ERROR [STDERR] java.lang.RuntimeException: java.lang.RuntimeException: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.T2CConnection - oracle.jdbc.driver.T2CConnection 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5526) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.TreeCache.evict(TreeCache.java:3716) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionPolicy.evict(BaseEvictionPolicy.java:34) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionAlgorithm.evictCacheNode(BaseEvictionAlgorithm.java:210) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionAlgorithm.emptyRecycleQueue(BaseEvictionAlgorithm.java:461) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.eviction.BaseEvictionAlgorithm.process(BaseEvictionAlgorithm.java:97) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.eviction.EvictionTimerTask.run(EvictionTimerTask.java:80) 2007-05-24 15:58:12,811 ERROR [STDERR] at java.util.TimerThread.mainLoop(Timer.java:512) 2007-05-24 15:58:12,811 ERROR [STDERR] at java.util.TimerThread.run(Timer.java:462) 2007-05-24 15:58:12,811 ERROR [STDERR] Caused by: java.lang.RuntimeException: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.T2CConnection - oracle.jdbc.driver.T2CConnection 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.prePassivate(LifecycleInterceptorHandler.java:169) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.invokePrePassivate(StatefulContainer.java:382) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.prePassivate(StatefulBeanContext.java:178) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.ejb3.cache.tree.StatefulTreeCache$ClusteredStatefulCacheListener.nodePassivate(StatefulTreeCache.java:288) 2007-05-24 15:58:12,811 ERROR [STDERR] at org.jboss.cache.TreeCache.notifyNodePassivate(TreeCache.java:5739) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.cache.interceptors.PassivationInterceptor.invoke(PassivationInterceptor.java:62) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:345) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:156) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:179) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5520) 2007-05-24 15:58:12,812 ERROR [STDERR] ... 8 more 2007-05-24 15:58:12,812 ERROR [STDERR] Caused by: java.lang.RuntimeException: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.T2CConnection - oracle.jdbc.driver.T2CConnection 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.extractBeanAndInterceptors(StatefulBeanContext.java:367) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulBeanContext.getInterceptorInstances(StatefulBeanContext.java:333) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInvocationContextImpl.getLifecycleInvocationContext(LifecycleInvocationContextImpl.java:65) 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.ejb3.interceptor.LifecycleInterceptorHandler.prePassivate(LifecycleInterceptorHandler.java:160) 2007-05-24 15:58:12,812 ERROR [STDERR] ... 19 more 2007-05-24 15:58:12,812 ERROR [STDERR] Caused by: org.jboss.serial.exception.SerializationException: Could not create instance of oracle.jdbc.driver.T2CConnection - oracle.jdbc.driver.T2CConnection 2007-05-24 15:58:12,812 ERROR [STDERR] at org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342) 2007-05-24 15:58:12,813 ERROR [STDERR] at org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239) 2007-05-24 15:58:12,813 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412) 2007-05-24 15:58:12,813 ERROR [STDERR] at org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82) 2007-05-24 15:58:12,813 ERROR [STDERR] at
[jboss-user] [Installation, Configuration Deployment] - Re: ServerBindings not working
Thats´just a workaround for the problem. I am facing the same behavior! The JBoss Admin Handbook says that anonymous wrote : XSLTConfigDelegate is used to transform services whose port/interface configuration is specified by using a nested XML fragment. So i am wondering why it does not work as described! Please help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048316#4048316 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Apparently wrong driver Error
Anyway thanks for all your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4048317#4048317 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4048317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user