[jboss-user] [JBoss jBPM] - Re: How di I embedd jBPM in my j2ee app?
Yes, I'm painfully aware of that... luckily we're just about to migrate to 10g now View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017468#4017468 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017468 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Exceptions in calls and callbacks
Maybe I can clarify a bit. The reason the remoting client declares that it throws Throwable is that remoting will pass along the Throwable object thrown from the server side hanlder. Since we don't know what type of exceptions the server side handler might throw, we have to declare the most generic base class there is, which is Throwable. So for example, suppose the user has an implementation of ServerInvocationHandler that looks like: |public class MyInvocationHandler implements ServerInvocationHandler |{ | ... | | public Object invoke(InvocationRequest invocation) throws Throwable | { | Object param = invocation.getParameter(); | if(foo.equals(param) | { | throw new AssertionError(); | } | else if(bar.equals(param) | { | throw new IllegalArgumentException(); | } | else | { | return Thank you; | } | } | | ... |} | | | | | | So if the remoting client passes the String foo to the invoke() method, an AssertionError will be thrown from the invoke() method call. If the remoting client passes the String bar to the invoke() method, an IllegalArgumentException will be thrown from the invoke() method call. Both will appear just as it was thrown from the handler on the server side to the client. Since there is no way for remoting to know what might possibly thrown by the server handler, we have to just declare we throw Throwable. | | | | Now it is possible that an exception may occur that has nothing to do with the server handler (i.e. a network error). So if the remoting client can not connect to the server for some reason, remoting will throw a org.jboss.remoting.CannotConnectException. If there was some other network exception such as a socket timeout, would get that exception thrown as well (i.e. java.net.SocketException). | | | | Hope that helps. | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017469#4017469 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017469 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Remove from list using EntityHome
How would you remove an entity using EntityHome when you're in a list of those entities (populated either using the query's resultList or dataModel property)? I can maybe see how you could do it from within a page that is centered around that one entity, but not from a list of many of those entities. How could I do this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017470#4017470 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Gen Problem
either your jdbc url is wrong or the driver location you entered during seam setup is not correct. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017471#4017471 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017471 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Deadlock question
Hello. I want to use JBPM as a Workflow-Engine for a Hospital to suport the doctors. When it is ready, there are circa 30.000 - 80.000 Workflow-instances running. My Question is, JBPM is singel Thread what happend, if i get a deadlock in an action? I already tested it an if I am rigth if i say, that the hole Engine is frozen? And if i don't know in which instance the deadlock is, is it possiple for me to find the wrong instance and stop it?. Thanks for the Answers. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017472#4017472 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017472 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting: Use mock-xml instead of server-call?!
This is extremely easy. Just override the Seam.Remoting.sendAjaxRequest() function to return whatever response you want to Seam.Remoting.requestCallback(). That's the great thing about Javascript, everything is public and you can selectively override pretty much anything you want. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017475#4017475 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Anyone get JAAS working with remote entities?
Ok, now I am finding out more: it seems like the security check doesn't happen until a secured method is invoked, and if the security check fails, it just throws an exception. This seems ridiculous, but that's what I'm finding in docs like this: http://www.awprofessional.com/articles/article.asp?p=394898seqNum=2rl=1 Could this possibly be correct? There's no method to just log in, but I have to invoke some method and look for an undocumented exception? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017476#4017476 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Generator
no that is not related. for some reason his ant gets confused about classes and can't load the cglib libraries - they should be there...hmmm maybe seamgen only have the libraries needed for javaassist style settings. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017477#4017477 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017477 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: hidden exception issue?
baz: I did that when I first encounter the problem and found start method was called just once. I also asigned some values to the properties of newUser inside tehe start method, like: newUser.setName(testing) ; and that didn't throw the referred exception. The exception was been thrown by having a reference to the newUser object, for instance: h:inputText value=#{newUser.name} required=true / I compared once and again the code with seamspace (you can see it is practicaly the same) but could find my mistake. Of course, seamspace works fine in my machine. Almost only difference is the entity User/Member class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017479#4017479 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: multiple datasource
I tried to implement your solution, but it is still not working. What I've done: - restored the original configuration for the DefaultDS (../jboss-4.0.5.GA/server/default/deploy/jms/hsqldb-jdbc2-service.xml, ../jboss-4.0.5.GA/server/default/deploy/hsqldb-ds.xml ) - deleted the mysql-jdbc2-service.xml from ../jboss-4.0.5.GA/server/default/deploy/jms/ - added a new file copied form the examples (../jboss-4.0.5.GA/server/default/deploy/mysql-ds.xml) datasources | local-tx-datasource | jndi-namesavingsExampleDS/jndi-name | connection-urljdbc:mysql://127.0.0.2:3306/tmp/connection-url | driver-classorg.gjt.mm.mysql.Driver/driver-class | user-namealessandro/user-name | password*/password | exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLExceptionSorter/exception-sorter-class-name | !-- should only be used on drivers after 3.22.1 with ping support | valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.MySQLValidConnectionChecker/valid-connection-checker-class-name | -- | !-- sql to call when connection is created | new-connection-sqlsome arbitrary sql/new-connection-sql | -- | !-- sql to call on an existing pooled connection when it is obtained from pool - MySQLValidConnectionChecker is preferred for newer drivers | check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql | -- | !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- | metadata |type-mappingmySQL/type-mapping | /metadata | /local-tx-datasource | /datasources | - edit three files related to the JDBC connection in my bean ejb-jar.xml | ?xml version=1.0 encoding=UTF-8? | ejb-jar version=2.1 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/ejb-jar_2_1.xsd; | display-nameSavingsAccountEJB/display-name | enterprise-beans | entity | display-nameSavingsAccountEB/display-name | ejb-nameSavingsAccountBean/ejb-name | homebank.SavingsAccountRemoteHome/home | remotebank.SavingsAccountRemote/remote | ejb-classbank.SavingsAccountBean/ejb-class | persistence-typeBean/persistence-type | prim-key-classjava.lang.String/prim-key-class | reentrantfalse/reentrant | resource-ref | descriptionjdbc:mysql://127.0.0.2:3306/tmp [alessandro on Default schema]/description | res-ref-namejdbc/savingsExampleDS/res-ref-name | res-typejavax.sql.DataSource/res-type | res-authContainer/res-auth | res-sharing-scopeShareable/res-sharing-scope | /resource-ref | /entity | /enterprise-beans | assembly-descriptor | container-transaction | method | ejb-nameSavingsAccountBean/ejb-name | method-name*/method-name | /method | trans-attributeRequired/trans-attribute | /container-transaction | /assembly-descriptor | /ejb-jar jboss.xml | ?xml version=1.0 encoding=UTF-8? | jboss | enterprise-beans | ejb | ejb-nameSavingsAccountBean/ejb-name | jndi-nameejb/SavingsAccountBean/jndi-name | resource-ref | res-ref-namejdbc/savingsExampleDS/res-ref-name | resource-namesavingsExampleDS/resource-name | /resource-ref | /ejb | /enterprise-beans | /jboss SavingsAccountBean.java private javax.sql.DataSource getSavingsAccountDB() throws javax.naming.NamingException { | javax.naming.Context c = new javax.naming.InitialContext(); | return (javax.sql.DataSource) c.lookup(java:comp/env/jdbc/savingsExampleDS); | } When I run the client I get this error from both Jboss and client anonymous wrote : | 09:15:38,165 ERROR [LogInterceptor] EJBException in method: public abstract bank.SavingsAccountRemote bank.SavingsAccountRemoteHome.create(java.lang.String,java.lang.String,java.lang.String,java.math.BigDecimal) throws javax.ejb.CreateException,java.rmi.RemoteException: | javax.ejb.EJBException: Unable to connect to database. jdbc not bound | at bank.SavingsAccountBean.makeConnection(SavingsAccountBean.java:218) | at bank.SavingsAccountBean.insertRow(SavingsAccountBean.java:280) | at bank.SavingsAccountBean.ejbCreate(SavingsAccountBean.java:149) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | and on the jboss init (which I'm not sure has something
[jboss-user] [JBoss Seam] - Re: Seam Gen Problem
To find out where is looking for the jar driver try using filemon by sysinternals (I hope I'm not offending any rule by talking about third party product, it's free though) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017482#4017482 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM GPD: transitions not drawn -- is GPD 3.1.0.alpha2 b
Koen, thanks for your prompt reply. [EMAIL PROTECTED] wrote : No the new GPD will not be backwards compatible with older process definitions. However, we will provide a conversion tool. | I think I did an extensive search on these details, but could not find it documented anywhere. If I missed something could someone then please indicate where to find such details? Likewise, some new questions pop op that might need to be mentioned in the release notes: - Isn't gpd.xml also used by jbpm-console.war to draw a red square around the current step, and if so: won't GPD 3.1.x break this in the current jBPM jPDL 3.2.Beta2? - Will the (alpha) conversion tool be available soon? [EMAIL PROTECTED] wrote : The new GPD is build with Eclipse 3.2.1. You can find the used drivers in the manifest file of the downloaded archive. Thanks, that's useful. In fact, that's one of the things that bothers me a bit while investigating problems in my JBoss/jBPM/BPEL setup: it's a bit hard to tell what versions of JARs are used. Like for the BPEL extension the build.properties perfectly describe what versions are used, and sometimes some versions.xml is packaged, but one cannot tell the version by looking at the filename. But well, that's just a minor detail. And maybe I should peak into the manifest more often. Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017485#4017485 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017485 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: permissions to users
Ronald, I'm sorry!!! I am using the default web app with a SQL db, and I am sure this tables are empty. But, if I run the default web app with Hypersonic, this tables are not empty why??? In this case: jbpm_id_user have datas jbpm_id_group have datas jbpm_id_membership have datas jbpm_id_permissions is empty Why when I change of db, the datas lose and this tables are empty??? Thank you!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017486#4017486 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: MockApplication in SeamTest not easily overridable
Seam uses facelets to work with JSF. There is no JSP at all. Facelets now controls creation and manipulation of JSF component tree. And as I understand you cannot control the JSF component tree the way that was suggested in the article, if you work with facelets. But do not worry. Facelets has a very nice template and dynamic capabilities. Just look at facelets docs you will love it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017495#4017495 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: TestNg problem with my seam application
SeamTest has a lot of special helper methods. Because it is mock environment. Try getInstance instead of Component.getInstance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017500#4017500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Weird TreeCache.printDetails()
Hi Genman,all, thank you for your reply. I'm a little bit surprised by your response because I do not use any cacheLoader... here is my configuration: ?xml version=1.0 encoding=UTF-8? | server | | classpath codebase=./lib archives=jboss-cache.jar, jgroups.jar/ | | mbean code=org.jboss.cache.TreeCache | name=jboss.cache:service=TreeCache | | dependsjboss:service=Naming/depends | dependsjboss:service=TransactionManager/depends | | attribute name=TransactionManagerLookupClassorg.jboss.cache.GenericTransactionManagerLookup/attribute | | attribute name=NodeLockingSchemePESSIMISTIC/attribute | attribute name=IsolationLevelREAD_COMMITTED/attribute | attribute name=CacheModeREPL_ASYNC/attribute | | attribute name=UseReplQueuefalse/attribute | attribute name=ReplQueueInterval1000/attribute | attribute name=ReplQueueMaxElements5/attribute | | attribute name=ClusterNameTreeCache-RA-Cluster/attribute | attribute name=ClusterConfig | config | UDP mcast_addr=228.1.2.3 mcast_port=48866 | ip_ttl=64 ip_mcast=true | mcast_send_buf_size=15 mcast_recv_buf_size=8 | ucast_send_buf_size=15 ucast_recv_buf_size=8 | loopback=false/ | PING timeout=2000 num_initial_members=3 | up_thread=false down_thread=false/ | MERGE2 min_interval=1 max_interval=2/ | FD_SOCK/ | VERIFY_SUSPECT timeout=1500 | up_thread=false down_thread=false/ | pbcast.NAKACK gc_lag=50 retransmit_timeout=600,1200,2400,4800 | max_xmit_size=8192 up_thread=false down_thread=false/ | UNICAST timeout=600,1200,2400 down_thread=false/ | pbcast.STABLE desired_avg_gossip=2 | up_thread=false down_thread=false/ | pbcast.GMS join_timeout=5000 join_retry_timeout=2000 | shun=true print_local_addr=true/ | FC max_credits=200 down_thread=false up_thread=false | min_threshold=0.20/ | FRAG frag_size=8192 down_thread=false up_thread=true/ | pbcast.STATE_TRANSFER up_thread=true down_thread=true/ | /config | /attribute | | attribute name=FetchInMemoryStatetrue/attribute | | attribute name=InitialStateRetrievalTimeout2/attribute | | attribute name=SyncReplTimeout2/attribute | | attribute name=LockAcquisitionTimeout15000/attribute | | attribute name=EvictionPolicyClassorg.jboss.cache.eviction.LRUPolicy/attribute | | attribute name=EvictionPolicyConfig | config | attribute name=wakeUpIntervalSeconds30/attribute!-- 30 SECONDS -- | !-- Cache wide default -- | region name=/_default_ | attribute name=maxNodes1/attribute | attribute name=timeToLiveSeconds1800/attribute!-- 30 MINUTES -- | attribute name=maxAgeSeconds1800/attribute!-- 30 MINUTES -- | /region | region name=/USER/ | attribute name=maxNodes1000/attribute | attribute name=timeToLiveSeconds900/attribute!-- 15 MINUTES -- | attribute name=maxAgeSeconds900/attribute!-- 15 MINUTES -- | /region | /config | /attribute | | attribute name=UseRegionBasedMarshallingtrue/attribute | | /mbean | | /server | What you say can explain some behaviour I observed but it open many more questions: 1) is it a default that I can disable? 2) where is it saving cached objects on disk? Many thanks for your patience... I really love to understand how things works. Bye Piero View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017502#4017502 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Two instances behind a ALTEON
Hi, this is my configuration : jdk 5.0 Jboss 4.0.4 solaris 10 Alteon redirect all ports With a remote client, i want to access to an EJB. I use rmi server configuration to launch one instance of jboss (Djava.rmi.server.hostname=ALTEON_IP) I have no problem, but when i use rmi server to launch two instances of jboss on differents machines, i obtain this error javax.naming.CommunicationException [Root exception is java.rmi.NoSuchObjectException: no such object in table] | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(Unknown Source) | at hug.test.ds.ClientDS.ClientDSJndi(ClientDS.java:44) | at hug.test.ds.ClientDS.main(ClientDS.java:23) | Caused by: java.rmi.NoSuchObjectException: no such object in table | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(Unknown Source) | at sun.rmi.transport.StreamRemoteCall.executeCall(Unknown Source) | at sun.rmi.server.UnicastRef.invoke(Unknown Source) | at org.jnp.server.NamingServer_Stub.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) When i see via jmx-console my JNDI list, my EJB is deployed in Global namespaces. do you have an idea to resolve this problem. thks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017501#4017501 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Inject Seam Component In Entity Bean
Hi, I can inject a seam component in Entity with: EncryptionController anEncryptionController = (EncryptionController) Component.getInstance(encryptionController, true); But is it possible to inject it with In annotation or some other annotation ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017503#4017503 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM GPD: transitions not drawn -- is GPD 3.1.0.alpha2 b
An additional issue for which I feel mentioning in the GPD release notes might be very helpful (some posts such as http://www.jboss.com/index.html?module=bbop=viewtopicp=4006107#4006107 did not yet make it 100% clear to me, but some hands-on will probably show me today): - Is jbpm-console.war expected to keep supporting auto-magically generated forms, or will task forms be mandatory? I know this is not 100% a GPD issue, and of course jbpm-console could be considered to be a starting point for a custom implementation, but I'm confused since GPD gives one the choice to setup variables in the Form Controller screen, and an option Generate Form on Advanced Properties... ...and an additional note, for which I guess it's work in progress, but just to be sure: - In GPD 3.1.0.alpha2 using New, Project, JBoss jBPM, Process Project, Generate simple process definition, action handler and JUnit test still yields an old version of gpd.xml Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017504#4017504 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017504 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Please help - rollback with managed trasnactions
If you look at the last two lines of hte log, after rollback, a select is done on jbpm token and update is done. Does this indicate that when rollback occurs, the jbpm_token is set to the parent node of the current node? [2/16/07 12:33:39:949 IST] | 6f97230a SystemOut O Hibernate: select children0_.PARENT_ as PARENT13_1_, children0_.ID_ as ID1_1_, children0_.NAME_ as NAME3_1_, children0_.ID_ as ID1_17_0_, children0_.VERSION_ as VERSION2_17_0_, children0_.NAME_ as NAME3_17_0_, children0_.START_ as START4_17_0_, children0_.END_ as END5_17_0_, children0_.NODEENTER_ as NODEENTER6_17_0_, children0_.NEXTLOGINDEX_ as NEXTLOGI7_17_0_, children0_.ISABLETOREACTIVATEPARENT_ as ISABLETO8_17_0_, children0_.ISTERMINATIONIMPLICIT_ as ISTERMIN9_17_0_, children0_.ISSUSPENDED_ as ISSUSPE10_17_0_, children0_.NODE_ as NODE11_17_0_, children0_.PROCESSINSTANCE_ as PROCESS12_17_0_, children0_.PARENT_ as PARENT13_17_0_, children0_.SUBPROCESSINSTANCE_ as SUBPROC14_17_0_ from JBPM_TOKEN children0_ where children0_.PARENT_=? | | | [2/16/07 12:33:39:965 IST] | 6f97230a SystemOut O Hibernate: update JBPM_TOKEN set VERSION_=?, NAME_=?, START_=?, END_=?, NODEENTER_=?, NEXTLOGINDEX_=?, ISABLETOREACTIVATEPARENT_=?, ISTERMINATIONIMPLICIT_=?, ISSUSPENDED_=?, NODE_=?, PROCESSINSTANCE_=?, PARENT_=?, SUBPROCESSINSTANCE_=? where ID_=? and VERSION_=? | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017505#4017505 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Inject Seam Component In Entity Bean
Ok, thanks. just curious why ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017509#4017509 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017509 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Management portlet improvements
No, of course not, requests are paged, by default it fetchs 10 users at a time. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017512#4017512 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Workflow in Portal
Hi, I am trying to convert the jbpm webapp into portlets. There is no success yet. I am thinking maybe I have to write the portlets from scratch, instead of adjusting the existing webapp. The major problems are: 1. JSF seems to be not working well within portal, maybe due to different scopes and contexts. 2. JBPM has its own identity component, while in a portal environment we want of cause leverage the user-mgmt of portal. But the WF engine is writen for its own identity components. To solve this, i am thinking of using some trigers in the database to keep the jbpm tables updated whenever the user info changed in portal. I see you have made some efforts there, it will be appreciated if you could share some expierence on this topic. tks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017515#4017515 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Fork Issues
I've done the test and the result is there isnt any concurrent processing. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017517#4017517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Using beans from other spring module
I solved this by using Delegate class from web application to access Spring module beans. I defined business services for the web application, I tried to make the web application as slim as possible. Made a delegate class which extends the business interface. And for that class I get the business class from the Application Context. | public class BusinessSearchDelegateImpl implements BusinessSearch { | private ApplicationContext springModuleContext; | private final String BEAN = BusinessSearchService; | | public void setSpringModuleContext(ApplicationContext springModuleContext) { | this.springModuleContext = springModuleContext; | } | | private BusinessSearch getSearchService() | throws TechnicalException { | | if (springModuleContext.containsBean(BEAN)) { | | BusinessSearch service = (GenericSearchService) springModuleContext | .getBean(BEAN); | return service; | } else { | LOG.error(Component with name( + BEAN + ) not found. ); | throw new TechnicalException(Component with name( + BEAN | + ) not found. ); | } | } | | public Customer findCustomer(String id) throws TechnicalException { | return getSearchService().findCustomer(id); | } | | } This class is configured in web application context as following: !-- Business Service beans -- | bean id=BusinessContext | class=org.springframework.jndi.JndiObjectFactoryBean | property name=cache | valuetrue/value | /property | property name=jndiName | valued_business-enabler/value | /property | /bean | | bean id=BusinessSearchDelegate | class=com.som.pac.web.BusinessSearchDelegateImpl | property name=springModuleContext | ref bean=BusinessContext / | /property | /bean And then that BusinessSearchDelegate is given to those controllers which needs the business services. I made it his way, and best thing was that I could add this delegate class to our utility jar, which is a jar module in ear file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017520#4017520 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Inject Seam Component In Entity Bean
It makes it harder to use a bad architecture/design ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017521#4017521 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017521 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: customize UserPortlet
well, i customized some parts about the user creation but it seams to not be possible to customize the profile user data. I can customize the jsp but i can't customize the storing of data, i mean to add the storing of new personal data, because they are managed int the PortletUser classand i think it is not possible to override. What i would like to do is something like a class extending UserPortlet and implementing method storeProfile(...) { super.storeProfile(...); ... [my code] ... } and configure portal to call this one instead of UserPortlet class. Any suggestions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017523#4017523 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017523 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Using a JoinTable, getting unique constraint violtions
This is not a one-to-many relationship but a (unidirectional) many-to-many. (One product belongs to many invoices, many invoices belong to one one product). Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017526#4017526 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017526 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Conversation versus Session Context
This is because you have a component binding into a conversation scoped component. The conversation context is only available AFTER the restore view phase, but control bindings like this are executed in the restore view phase. To work around this have a event scoped component that hold your ui component bindings and inject it into your conversation component. | @Name( componentBindings ) | @Scope( ScopeType.EVENT ) | public class ComponentBindings | { |private HtmlPanelGrid selectedItemPreview; | |// getters and setters | } | and then | @In | private ComponentBindings componentBindings; | in your conversation component. HTH. Mike. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017528#4017528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Running the booking example on JBoss with the JSF 1.2 RI
Hi its not a compilation issue, the project builds fine. I think I'm going to have to give up and use the Sun Application Server 9 for development. A couple of other questions, in the instuctions above, step 3, it asks you to replace myfaces-api.jar with jsf-api.jar, but myfaces-api.jar is not in the web.xml, myfaces-impl.jar is. Did you replace this with jsf-impl.jar? Also, I'm using some of the components from JSCreator (the project is actually being built using the Visual Web Pack for Netbeans) and after re-trying this procedure from scratch I now get this error: WARNING: JSF1004: Cannot instantiate component of type com.sun.webui.jsf.faces.ValueBindingFilterCriteria 10:20:39,390 ERROR [[/Regal]] com.sun.webui.jsf.faces.ValueBindingFilterCriteria javax.faces.FacesException: java.lang.ClassCastException: com.sun.webui.jsf.faces.ValueBindingFilterCriteria Which suggests that I can't use the JS Creator components... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017529#4017529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remove from list using EntityHome
Use page parameters: s:link action=#{entityHome.remove} |f:param name=entityId value=#{entity.id} / | /s:link page view-id=/blah.xhtml |param name=entityId value=#{entityHome.id} / | /page View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017531#4017531 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017531 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: org.jboss.portal.portlet.impl.jsr168.PortletContextImpl
Check the questions on the forums, you will see that many if not most of them get answers. I feel personally offended that you say we don't care, since i put lot of energy into it. Even more since i already answered a similar question to you in this thread http://www.jboss.com/index.html?module=bbop=viewtopicp=383 You ended up saying: You're probably kidding when you're saying that I should propose a patch. To that i answered: Since when open source is only about taking ? You also got an answer here: http://www.jboss.com/index.html?module=bbop=viewtopicp=3991717 You were thankful that day. It's unfortunate that you are not even trying the professional paid support before leaving OpenSource (you never really entered the OpenSource anyway). But that's your money and i'm glad to learn that you will have no problem with tomahawk components in Weblogic... You should read about issues of some Tomahawk components in a portlet environment before you set your expectations too high. As a rule we don't recommend tomahawk to our customers and i told you this before. In that old world of non-opensource, you may miss MyFaces and Beehive among other things that you use. Anyway, for your question you say: anonymous wrote : | n JBoss Portal 2.4.0 I'm trying to use the org.apache.portals.bridges.jsf.FacesPortlet portlet bridge, hoping to get MyFaces sandbox running, since they dont run with MyGenericPortlet, raising ClassCastExceptions. | I translate into, it's not working. But now I get an Unsupported type exception on org.jboss.portal.portlet.impl.jsr168.PortletContextImpl. Does anybody know why ? I translate into, it's not working, but *now* differently. I tried to read in my crystal ball but it was blurry, i couldn't find what you changed between the 2 Basically, if you are not even willing to spend time explaining your problem, why would i try answering you ? anonymous wrote : | Or did anybody manage to get running Tomahawk sandbox controls like inputSuggestAjax or PPRPanelGroup ? | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017533#4017533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM GPD 3.1.0.alpha2: outline view
Is it expected behavior that the Outline View no longer has any right-click menu items? I noticed that in process-definition the value for attribute xmlns is empty, but setting it to xmlns=urn:jbpm.org:jpdl-3.1 does not help either. Some details, if only for the sake of Google: Using GPD 3.1.0.alpha2 in Eclipse 3.2.1 it took me a long time to find a way to show or edit any properties. Like double-clicking a node does not give me anything. Right-click menu's in the editor or in the Outline View do not show options such as Add task. However, the Properties tab (Window, Show View, Other, General, Properties -- if not visible) shows all one need... Of course: Release notes wrote : | Use of the Tabbed Properties view: This view can now be used to edit the properties of the supported JPDL elements. | ...but does this imply that the outline view no longer operates like in previous releases? - Unzipped Eclipse 3.2.1 M20060921-0945 - Unzipped jbpm-jpdl-designer-3.1.0.alpha2.zip - New, Project, JBoss jBPM, Process Project - New, Other, JBoss jBPM, Process Definition - The GPD shows (though the Swimlanes tab is not present) - Add some node - Right click any node in the Outline view: no GPD menus Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017536#4017536 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017536 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
I've had no problems implementing the latest authentication/authorisation security features thanks to the contributors to this thread :) I now need to roll my own implementation of org.jboss.seam.security.Identity to include a third log-in form attribute called 'organisation'. This identifies the user as a member of a particular organisation, fulfilling one or more roles. I need to use this approach as the user could also be a member of one or more organisations with a totally different set of roles/permissions for each. I have extended the Identity class to implement the additional attribute, however I am stuck when it comes to annotating MyIdentity class in such a way that Seam 'knows' this is the identity type to use. I have injected MyIdentity into the Authenticator implementation but get the following exception which indicates Seam is still looking at its' own version: javax.faces.el.PropertyNotFoundException: /login.xhtml @45,84 value=#{identity.organisation}: Bean: org.jboss.seam.security.Identity, property: organisation Can anyone point me in the right direction please? Thanks Andrew View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017539#4017539 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017539 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - hibernate 3.2.2 + Jalapeno SP1 treecache.xml best practice
Hi there, As I went through the forum/doc/jira/code in order to get some info about the treecache.xml best practice, here's my questioning. 1-the hibernate-recommended treecache xml (merci Manik!) head revision declares the MBean as a org.jboss.cache.CacheImpl instance. are there any (I suppose so) diffs between the good old org.jboss.cache.TreeCache and the CacheImpl? 2- regarding the eviction policy -which I'd like to benefit from for my application- I've been able to toggle it specifying both evictionPolicyClass and evictionPolicyConfig attributes, but I cannot see them set up in the recommended treecache xml sample. Is that to avoid using the eviction policy feature? thx people for your answers and your work 7uc0 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017543#4017543 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017543 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
I use this: @Name(org.jboss.seam.security.identity) | public class Identity extends org.jboss.seam.security.Identity { | | ... | |public static Identity instance() { | if ( !Contexts.isSessionContextActive() ) { | throw new IllegalStateException(No active session context); | } | | Identity instance = (Identity) Component.getInstance(Identity.class, ScopeType.SESSION, true); | | if (instance == null) { | throw new IllegalStateException(No Identity could be created); | } | return instance; |} | } (Running from CVS from earlier this week) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017544#4017544 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Altering the transaction timeout
Yes, in your session bean, you need to annotate your long running method as follows: @org.jboss.annotation.ejb.TransactionTimeout(3000) public void doSomethingThatTakesAges() { ... } James View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017545#4017545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM GPD 3.1.0.alpha2: outline view
avbentem wrote : However, the Properties tab (Window, Show View, Other, General, Properties -- if not visible) shows all one need... ...however: it does not yet support generating the task form, or entering controller details, right? Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017546#4017546 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: hibernate 3.2.2 + Jalapeno SP1 treecache.xml best prac
Since I wanted to increase my post number, I deliberatly made a mistake in the subject title. Please understand Cayenne instead of Jalapeno ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017547#4017547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - slow queries using lobs in entities
I have a problem querying an entity with a lob property, thats my entity's definition : | @Entity | public class File{ | @Id @GeneratedValue(strategy=GenerationType.AUTO) | longcode; | @ManyToOne | Person person = null; | Datetimestamp = Calendar.getInstance().getTime(); | String fileName= ; | @OneToOne | Usercreator = null; | @OneToOne | UserlastUpdater = null; | String description = ; | @Lob @Basic(fetch = FetchType.LAZY) | Blobcontents= null; | | ...geters/setters | } | and that's the way a query the objects : ListFile results =entityManager.createQuery( from File f).getResultList(); entityManager is injected from the seam's context. I'm using mysql with mysql inno dialect, the query is very very slow and very memory consuming cause hibernate includes the lob field into the sql. What am i not doing in the right way? thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017550#4017550 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - loading classes by unregistered classloader
I really don't know where to post this message, so post it here. I have an ear containing sar archive. Ear uses own classloader repository defined in META-INF/jboss-app.xml. Sar contains MBean exporting service via RMI, all dependant classes are in the server lib directory. If I put ear into deploy directory and start Jboss (v 4.0.4, the same applies to 4.0.5) everything works fine. But if I redeploy ear, Jboss gives me NullPointerException (actually ClassNotFoundException) loading one of my classes. Detailed stack trace | java.lang.NullPointerException | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:620) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:464) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319) | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:242) | at sun.rmi.server.LoaderHandler.loadClass(LoaderHandler.java:154) | at java.rmi.server.RMIClassLoader$2.loadClass(RMIClassLoader.java:620) | at org.jboss.system.JBossRMIClassLoader.loadClass(JBossRMIClassLoader.java:91) | at java.rmi.server.RMIClassLoader.loadClass(RMIClassLoader.java:247) | at sun.rmi.server.MarshalInputStream.resolveClass(MarshalInputStream.java:197) | at java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.java:1544) | at java.io.ObjectInputStream.readClassDesc(ObjectInputStream.java:1466) | at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1699) | at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1305) | at java.io.ObjectInputStream.readObject(ObjectInputStream.java:348) | at sun.rmi.registry.RegistryImpl_Skel.dispatch(Unknown Source) | at sun.rmi.server.UnicastServerRef.oldDispatch(UnicastServerRef.java:375) | at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:240) | at sun.rmi.transport.Transport$1.run(Transport.java:153) | at java.security.AccessController.doPrivileged(Native Method) | at sun.rmi.transport.Transport.serviceCall(Transport.java:149) | at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466) | at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707) | at java.lang.Thread.run(Thread.java:595) | at sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247) | at sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223) | at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:343) | at sun.rmi.registry.RegistryImpl_Stub.rebind(Unknown Source) | at org.springframework.remoting.rmi.RmiServiceExporter.prepare(RmiServiceExporter.java:256) | (Yes, it's spring RMI exporter) After class loading log investigation I've found | [2961838,RepositoryClassLoader,ScannerThread] Unregistering [EMAIL PROTECTED] url=file:/opt/jboss-4.0.4.GA/server/default/tmp/deploy/tmp34664arch.ear ,addedOrder=33} | [2961838,UnifiedLoaderRepository3,ScannerThread] UnifiedLoaderRepository removed(true) [EMAIL PROTECTED] url=file:/opt/jboss-4.0.4.GA/server/default/tmp/deploy/tmp34664arch.ear ,addedOrder=33} | | .. | | [3014174,RepositoryClassLoader,RMI TCP Connection(1)-10.0.5.7] loadClass [EMAIL PROTECTED] url=null ,addedOrder=33} name=org.springframework.remoting.rmi.RmiInvocationWrapper_Stub, loadClassDepth=0 | [3014174,RepositoryClassLoader,RMI TCP Connection(1)-10.0.5.7] loadClassImpl, name=org.springframework.remoting.rmi.RmiInvocationWrapper_Stub, resolve=false [3014174,RepositoryClassLoader,RMI TCP Connection(1)-10.0.5.7] findClass, name=org.springframework.remoting.rmi.RmiInvocationWrapper_Stub | [3014175,RepositoryClassLoader,RMI TCP Connection(1)-10.0.5.7] loadClass [EMAIL PROTECTED] url=null ,addedOrder=33} name=org.springframework.remoting.rmi.RmiInvocationWrapper_Stub not found | In first section - class loader destroyed, in second used again to load classes (between these two steps there is not classloading recreation) My guess - usage of unregistered classloader. Is it true? And how can I fix it? Thank you! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017554#4017554 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017554 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Where is the additional JBoss code for the Java EE Tutorial?
Hello, I am currently reading the Getting Startet tutorial and would like to install Duke's Bank. I downloaded the Java EE Tutorial and it's examples. In the JBoss tutorial is written, that I have to download JBoss specific code to run the examples from http://www.jboss.org/docs/index. But I can't see it. May someone can give a hint, where I can find it? Best regards, Oliver View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017556#4017556 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - JMX RMI Remote Client Notification Problem
Hi, I have to write an Eclipse RCP based Client for our JEE Application. I'm using JBoss 4.0.5.GA with JDK 5 and I have a problem with JMX notifications. I can successfully connect to the MBeanServer with: MBeanServerConnection server = (MBeanServerConnection) ctx.lookup(jmx/invoker/RMIAdaptor); and the server.isRegistered(new ObjectName(MY_OBJECT_NAME)); will be successfully executed. But if I want to register one of my Rich-Client classes as a NotificationListener I become an error: Caused by: java.lang.NoClassDefFoundError: my/package/MyNotificationListener Sure, JBoss do not know all of my Rich-Client classes, because I don't copy all of my classes into the $JBOSS_HOME/server/default/lib folder for example! The addNotificationListener(...) call is only successfull, if I use a class which is only do a simple System.out and don't know any of my other classes. What can I do? I have searched in WIKI, FAQJBossJMX, in this Board, google,... nothing! All examples (e.g. http://wiki.jboss.org/wiki/Wiki.jsp?page=HowDoIAddANotificationListenerToARemoteMBeanServer) only do a System.out in the public void handleNotification(Notification notification, Object handback) and do not call another listener. :-/ Thanks for any suggestions... Georg View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017557#4017557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jbossws always try to use port 8080
I did a search for 8080 and there are at least 20 files contain 8080. Is there any standard way to change the port number to 80? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017558#4017558 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving IllegalStateExceptions in client
Ben - I have run your example using 1.0.1.SP4, Windows XP, MySQL, InnoDB and with your paging settings, and I see no exceptions on the client side or in the server side logs: | run: | [java] Attempting to send 2 messages to the testQueue queue... | [java] 1000 messages sent to server... | [java] 2000 messages sent to server... | [java] 3000 messages sent to server... | [java] 4000 messages sent to server... | [java] 5000 messages sent to server... | [java] 6000 messages sent to server... | [java] 7000 messages sent to server... | [java] 8000 messages sent to server... | [java] 9000 messages sent to server... | [java] 1 messages sent to server... | [java] 11000 messages sent to server... | [java] 12000 messages sent to server... | [java] 13000 messages sent to server... | [java] 14000 messages sent to server... | [java] 15000 messages sent to server... | [java] 16000 messages sent to server... | [java] 17000 messages sent to server... | [java] 18000 messages sent to server... | [java] 19000 messages sent to server... | [java] 2 messages sent to server... | [java] Finished sending 2 messages to the testQueue queue | [java] About to start 10 connections with 50 sessions per connection... | [java] Connections started. Will allow 12 milliseconds for listeners to | receive all messages... | | [java] # | [java] ###SUCCESS! ### | [java] # | | BUILD SUCCESSFUL | Total time: 2 minutes 18 seconds | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017559#4017559 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving IllegalStateExceptions in client
I think what you are seeing is a network problem between your client and server that is preventing the acknowledgement going through. Looking at the code SessionAspect::handlePostDeliver: | if (cancel) | { |sd.cancelDeliveries(acks); | } | else | { |sd.acknowledge(ack); | } | state.getToAck().clear(); | The unacked message state is not cleared if the acknowledge throws an exception, so this would explain why the next call to handlePostDeliver gives you an IllegalStateException. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017560#4017560 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017560 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
Your one should have application precedence (the default), the core one has the lower built in precedence. From the source | @Name(org.jboss.seam.security.identity) | @Scope(SESSION) | @Install(precedence = BUILT_IN, classDependencies=org.drools.WorkingMemory) | So if you define a component with the same name and leave the precedence as default it should prefer your component over the default one. If you're getting a clash like that you are probably either specifying @Install( BUILT_IN ) by accident or have the component duplicated somewhere. Cheers. Mike. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017561#4017561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exception getting value of property resultList of base o
This is key part of the above stack trace: Caused by: org.hibernate.hql.ast.QuerySyntaxException: User is not mapped [select user from User user] I would infer from this that something went wrong with your generate entities. Does the User object exist and is it mapped? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017563#4017563 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL Installation - NewBie
Bump... Newbie need help! Thanks, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017564#4017564 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017564 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP
If possible kindly verify the steps i have done for achiving Load Balencing( and FAILED.) Inside Apache2 1.Apache2.2\conf\httpd.conf (modified) 2.Apache2.2\modules\mod_jk.so (downloaded) 3.Apache2.2\conf\mod_jk.conf (created) 4.Apache2.2\conf\workers.properties (created) Inside JBoss of Both the nodes 5.JBOSS\..\node1\deploy\jbossweb-tomcat55.sar\server.xml (modified) 6.JBOSS\..\node1\deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml (modified) Inside sample application 7.TestApp.EAR\...\application.xml 8.TestApp.WAR\...\.web.xml Should i post the contents of the files i have added or modified inorder to find the error? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017567#4017567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Workflow in Portal
1: not realy... look at the jboss portal, lots of jsf in there 2: I would spent time to make the identity component a real service. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017570#4017570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Fork Issues
jbpm IS NOT a threading system...(discussed lots of times) if you want concurrent processing, use async actions that are processesed e.g. using jms That way the loop is real quick and processing 'concurrent' View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017571#4017571 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017571 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM GPD: transitions not drawn -- is GPD 3.1.0.alpha2 b
automagically: no, not for now. The moment variable types come in jdpl, it might be created again. That way you have the option to use designtime generated/customized forms or automagically runtime forms View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017572#4017572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Receiving IllegalStateExceptions in client
Also, the remoting client pool size by default is 50 concurrent connections, and these will timeout after a while (this is what you are seeing). If your mySQL instance is slow, then you may have a lot of invocations backing up (remember you have 500 sessions - this is a lot) waiting to get one of those 50 from the pool, since they're taking significant time to execute. You could try increasing the remoting client pool size to a value higher than 50. In remoting-service.xml for the socket connector add an attribute and try a higher value. | attribute name=clientMaxPoolSize100/attribute | I will also update the code so it clears up better after a failure so as not to give you the knock on IllegalStateException. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017573#4017573 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017573 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Protected methods on Seam components
[Sorry about the rant below - I would claim its an attempt to drag back on topic, but as I can't answer the question I guess it isn't ;)] fhh wrote : It means that they are only accessible from subclasses or from any class of that package. Anyway, that is not a security feature. It is used to seperate visible api from implementation details. If you are the sole developer, why bother? What? Are you saying that we aren't allowed to use protected methods if we work on small projects?! I would still use encapsulation even when I was working alone - for a start it helps describe the code (and how you should call methods, secondly its kinda a fundamental part of OO. Anyway, Mike quite clearly stated he was implementing this code so that it would make the implementors (aka other developers) life easier - I would infer he *is* writing an API (albeit for internal use). anonymous wrote : anonymous wrote : | | A final method can't be subclassed so cglib doesn't add a method proxy for them | | | | Yes, but you annotated referenceSession. You did not show getters and setters for that property but I assume they are not final. | No. Mike is making the point that cglib subclasses the component, and through this allows Seam to biject. If a method is final then it can't be altered (hmm, not sure if this is true when using reflection or not) and so bijection cannot occur. (Please note that I'm not saying this is what happens at all, just interpreting what Mike said ;) - I have no real idea about how this side of things works). anonymous wrote : | And I still don't get what you are trying to do. From what object are you calling your protected method? I really doubt he is trying to call a protected method from somewhere BUT is trying to call a public method (e.g. from JSF) which in turn calls a protected method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017574#4017574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How does JBPM support
are a and b splits?, can e be created twice (once from D, once from B? Please give more info View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017575#4017575 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Deadlock question
correct, jbpm is single threaded. For complex actionswe advise to use the async functionality, so the processing is done outside the engine and a callback is used to trigger it again. Thatway the chances on deadlocks are a lot less. Never the less, it might be worth looking into writing a text/chapter for this in the docs. Or even looking into reducing the risk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017577#4017577 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017577 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How di I embedd jBPM in my j2ee app?
we migrated from 8.1.7 to 9i Rac two years ago... RAC is a hell we think of dropping that when migrating to 10g within one year View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017579#4017579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: permissions to users
you have to fill them manually, only in the case hsqldb is used, the deployment task fill it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017580#4017580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
You have security:identity / in your components.xml right? As Seam's Identity is not marked @Install(value=false) by putting that line in components.xml you end up creating an Identity component (which has APPLICATION precedence (as per the defaults)). So, what you in fact need to do, in components.xml, is to configure *your* Identity component rather than Seam's. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017581#4017581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: permissions to users
The jbom_id_permissions have not associations with other tables why?? how do I associate the permissions with the users?? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017583#4017583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: permissions to users
afaik, permissions are not used (yet) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017585#4017585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - file permision prob
when i sun jboss from terminal it runs fine but from eclipse it gives error like 17:48:25,244 INFO [Server] Starting JBoss (MX MicroKernel)... 17:48:25,245 INFO [Server] Release ID: JBoss [Zion] 4.0.4.GA (build: CVSTag=JBoss_4_0_4_GA date=200702151948) 17:48:25,246 INFO [Server] Home Dir: /opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA 17:48:25,246 INFO [Server] Home URL: file:/opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/ 17:48:25,247 INFO [Server] Patch URL: null 17:48:25,247 INFO [Server] Server Name: default 17:48:25,248 INFO [Server] Server Home Dir: /opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/server/default 17:48:25,248 INFO [Server] Server Home URL: file:/opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/server/default/ 17:48:25,248 INFO [Server] Server Log Dir: /opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/server/default/log 17:48:25,248 INFO [Server] Server Temp Dir: /opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/server/default/tmp 17:48:25,249 INFO [Server] Root Deployment Filename: jboss-service.xml 17:48:26,009 INFO [ServerInfo] Java version: 1.5.0_06,Sun Microsystems Inc. 17:48:26,009 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_06-b05,Sun Microsystems Inc. 17:48:26,009 INFO [ServerInfo] OS-System: Linux 2.6.15-28-386,i386 17:48:26,700 INFO [Server] Core system initialized 17:48:26,721 ERROR [MainDeployer] Could not make local copy for file:/opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/server/default/conf/jboss-service.xml java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.checkAndCreate(File.java:1345) at java.io.File.createTempFile(File.java:1434) at org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1167) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:840) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown Source) at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) at org.jboss.Main.boot(Main.java:200) at org.jboss.Main$1.run(Main.java:464) at java.lang.Thread.run(Thread.java:595) 17:48:26,772 ERROR [MainDeployer] Could not initialise deployment: file:/opt/jboss-4.0.4.GA-src/build/output/jboss-4.0.4.GA/server/default/conf/jboss-service.xml org.jboss.deployment.DeploymentException: Failed to find META-INF/jboss-service.xml for archive jboss-service.xml at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616) at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181) at org.jboss.deployment.MainDeployer.init(MainDeployer.java:861) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:798) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:755) 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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy5.deploy(Unknown
[jboss-user] [JBoss Seam] - Re: Seam Security
Pete, I had overlooked the extra attributes on the security:identity / tag that provide for a bespoke Identity so thank you for making me revisit this - I will amend my configuration. Mike, thanks for your pointers. I actually got my Identity working by changing the precedence as per your suggestion. Thank you both for your guidance (and patience). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017589#4017589 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Protected methods on Seam components
Writing an internal API. Yes. When a method is final cglib does not proxy it so the Seam interceptors can't hook in for that method call (other non-final methods work fine)? Yes. In my case JSF action method calls a public API method for which there is a base helper implementation containing protected abstract methods. The abstract methods are implemented by subclasses which may be Seam components. My problem is for some reason cglib does not like the protected methods in the subclass, you get the above exception when one is invoked through the proxy. I don't really see why as cglib is just creating a proxy subclass and should be able to wrap a proxy round a protected method and call down to it after the Seam interception is done. Making the method final (no Seam interception) fixes it and making the methods signatures in the subclass public also fixes it. This isn't a big deal for me right now, I can make them public easily enough; I was just having a hard time understanding why it was happening. I'll move over to the cglib site and ask there, just wondering if anyone else here had come across it. Cheers. Mike. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017590#4017590 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017590 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: permissions to users
oh, oh, oh I think the permissions is very important then, why and for what the jbpm_id_permissions table exist?? Thank you for all View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017591#4017591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam/Hibernate meetup in San Francisco, Friday, March 2
Cool! Would love to see the Seam Hibernate team in action! I'm in SF on March 2nd, but my flight arrives only at 7 pm. Any chance to catch the meetup? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017593#4017593 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: just can't get jbossWS working!!
Make sure you follow the installation instructions from the user guide _and_ the INSTALL.txt that ships with the download. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017594#4017594 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering begginner..please HELP
THANK YOU BOSS. I SUCCEEDED IN MY ATTEMPT .. EVEN THE SESSION DETAILS GOT TRANSFERRED BETWEEN SERVERS THANKS A LOT.. THANK YOU THANK YOU THANK YOU View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017595#4017595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Navigation outcome from bean
Hi @all, when I browsed through the forum I stumbled about a thread, telling how to user navigation outcomes out of a bean and not a view. Unfortunately I cannot find this thread anymore. Can someone give me a hint or a code-example for this? Thanks for your help and sorry for the inconvenience Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017597#4017597 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017597 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - JbossMQ file persistence for jboss-4.0.5
Hi All, Currently we are using jboss-3.2.5 for production and used file persistence for JbossMQ. Now we are planing to upgrade to jboss-4.0.5, but facing some difficulties for file persistence. I checked jbossmq.jar under lib directory, i could see that its not having class files related to file persistence. Is it possible to configure the same on new jboss without harming other functionalities?, because I added extra jar to lib containing classes related to file persistence and made it to work, but no idea what could be impact on other functionalities. Please advise on this, and also if you have different solutions for this, please reply me. Thanking you in advance, Regards Athul Shetty View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017598#4017598 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
I've tried two variants 1.) put the seam-mail.jar and dependencies in the .war as you have done in the example. 2.) put the same set of jars in the .ear I'm convinced that the issue I'm running into is related to class loading. Reviewing the .ear created by your seam-email example, I'm guessing you have myfaces in the tomcat jsf-libs dir on your test environment - in my case, the myfaces jars are in the .ear due to some class loading issues we had earlier in the project around DataModel and friends. That's the remaining difference between our two .ear projects. I can try putting the myfaces jars back in tomcat and out of the ear - dang this class loading stuff is a PITA! ;-) I was really looking forward to using the Seam email stuff in this project - we have a lot of dynamic email to generate. If I could make one request to the Seam project now, it would be to review the whole JSF, Myfaces, Facelets, EAR layout, WAR layout, etc... and come up with explicit instructions for how to package a project based on desired functionality. Things like - should Myfaces be in tomcat, or in your .ear? etc... right now the answers to these things involves a lot of trial and error and forum digging (not necessarily a bad thing). Anyways, thanks for the help with this. Brad Smith View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017599#4017599 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017599 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - A way to get all the persistence units names with EJB 3.0 ?
Hello, Is there a way to get all the persistence units names installed in JBoss 4.0.5 ? So, I have put this in my persistence.xml for all persistence units to add JNDI references to the persistence units : But in a session bean, how can i get all the persistence units names without knowing them ? Thanks, Olv View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017600#4017600 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017600 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: slow queries using lobs in entities
I'm not sure, but I don't know if using BLOB (I suppose is a SQL type class) as bean property is the right way. Maybe you can try changing it by: | @Lob @Basic(fetch = FetchType.LAZY) | byte[] contents= null; | or | @Lob @Basic(fetch = FetchType.LAZY) | InputStrem contents= null; | HTH. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017601#4017601 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017601 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Problem Starting JBoss Server in Eclipse Using JBoss Eclipse
Specs: Eclipse 3.2 JBoss AS 4.0.5 JBoss Eclipse IDE 2.0 Beta2 Fedora Core 4 Linux Platform hi! I am new at using Eclipse and JBoss. I recently installed Eclipse IDE and JBoss AS. Then I installed JBoss Eclipse IDE into Eclipse. Things were going smoothly as i configured a new server for JBoss in Eclipse through JBoss Eclipse IDE until i tried to start the newly configured JBoss server through JBoss IDE. It is weird because at the Eclipse console it says there that JBoss Server was successfully started. 20:11:23,736 INFO [Server] Starting JBoss (MX MicroKernel)... 20:11:23,742 INFO [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: CVSTag=Branch_4_0 date=200610162339) 20:11:23,743 INFO [Server] Home Dir: /opt/jboss-4.0.5.GA 20:11:23,743 INFO [Server] Home URL: file:/opt/jboss-4.0.5.GA/ 20:11:23,744 INFO [Server] Patch URL: null 20:11:23,744 INFO [Server] Server Name: default 20:11:23,744 INFO [Server] Server Home Dir: /opt/jboss-4.0.5.GA/server/default 20:11:23,744 INFO [Server] Server Home URL: file:/opt/jboss-4.0.5.GA/server/default/ 20:11:23,744 INFO [Server] Server Log Dir: /opt/jboss-4.0.5.GA/server/default/log 20:11:23,744 INFO [Server] Server Temp Dir: /opt/jboss-4.0.5.GA/server/default/tmp 20:11:23,745 INFO [Server] Root Deployment Filename: jboss-service.xml 20:11:24,530 INFO [ServerInfo] Java version: 1.5.0_10,Sun Microsystems Inc. 20:11:24,531 INFO [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.5.0_10-b03,Sun Microsystems Inc. 20:11:24,538 INFO [ServerInfo] OS-System: Linux 2.6.17-1.2142_FC4,i386 20:11:25,012 INFO [Server] Core system initialized 20:11:29,457 INFO [WebService] Using RMI server codebase: http://localhost:8083/ 20:11:29,563 INFO [Log4jService$URLWatchTimerTask] Configuring from URL: resource:log4j.xml 20:11:38,911 INFO [ServiceEndpointManager] WebServices: jbossws-1.0.3.SP1 (date=200609291417) 20:11:39,950 INFO [SnmpAgentService] SNMP agent going active 20:11:40,563 INFO [InterceptorChainFactory] interceptor chain is: class org.jboss.cache.interceptors.CallInterceptor class org.jboss.cache.interceptors.PessimisticLockInterceptor class org.jboss.cache.interceptors.UnlockInterceptor class org.jboss.cache.interceptors.ReplicationInterceptor class org.jboss.cache.interceptors.TxInterceptor class org.jboss.cache.interceptors.CacheMgmtInterceptor 20:11:41,147 INFO [STDOUT] --- GMS: address is orange:33186 --- 20:11:43,230 INFO [TreeCache] viewAccepted(): [orange:33186|0] [orange:33186] 20:11:43,249 INFO [TreeCache] TreeCache local address is orange:33186 20:11:43,253 INFO [TreeCache] State could not be retrieved (we are the first member in group) 20:11:43,255 INFO [TreeCache] parseConfig(): PojoCacheConfig is empty 20:11:43,864 INFO [DefaultPartition] Initializing 20:11:44,132 INFO [STDOUT] --- GMS: address is orange:33188 (additional data: 14 bytes) --- 20:11:46,196 INFO [DefaultPartition] Number of cluster members: 1 20:11:46,196 INFO [DefaultPartition] Other members: 0 20:11:46,197 INFO [DefaultPartition] Fetching state (will wait for 3 milliseconds): 20:11:46,198 INFO [DefaultPartition] New cluster view for partition DefaultPartition (id: 0, delta: 0) : [127.0.0.1:1099] 20:11:46,222 INFO [DefaultPartition] State could not be retrieved (we are the first member in group) 20:11:46,448 INFO [DefaultPartition] I am (127.0.0.1:1099) received membershipChanged event: 20:11:46,448 INFO [DefaultPartition] Dead members: 0 ([]) 20:11:46,448 INFO [DefaultPartition] New Members : 0 ([]) 20:11:46,448 INFO [DefaultPartition] All Members : 1 ([127.0.0.1:1099]) 20:11:46,515 INFO [HANamingService] Started ha-jndi bootstrap jnpPort=1100, backlog=50, bindAddress=localhost/127.0.0.1 20:11:46,531 INFO [DetachedHANamingService$AutomaticDiscovery] Listening on localhost/127.0.0.1:1102, group=230.0.0.4, HA-JNDI address=127.0.0.1:1100 20:11:47,824 INFO [CorbaNamingService] Naming: [IOR:002B49444C3A6F6D672E6F72672F436F734E616D696E672F4E616D696E67436F6E746578744578743A312E3200E1020A3132372E302E302E31000DC800114A426F73732F4E616D696E672F726F6F740500084A414301001C00010001000105010001000101090001050100010021005C00010024001C007E0001000A3132372E302E302E31000DC9004000100401000806066781020101010024001F00040003000100220024001F00040003] 20:11:48,023 INFO [CorbaTransactionService] TransactionFactory:
[jboss-user] [JBoss Seam] - Re: Navigation outcome from bean
http://docs.jboss.com/seam/1.1.6.GA/reference/en/html/events.html See the section on navigation. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017604#4017604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: Proxy ClassCastException after successful EJB lookup
Hi cupdike and Peter, I think I have the same problem with classloaders. I am using a standalone tomcat V5.5 and try to lookup a remote EJB in a JBoss4.0.5 (on a different machine) using this code in my servlet: String urlName = jnp://localhost:1099; Properties p = new Properties(); p.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); p.put(Context.PROVIDER_URL, urlName); p.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces); InitialContext ic = new InitialContext(p); Object ref = ic.lookup(SDOCI/remote/SDOCIBusinessService); SDOCIBusinessService busiService = (SDOCIBusinessService )PortableRemoteObject.narrow(ref, SDOCIBusinessService.class); I get the following exception: java.lang.ClassCastException at com.sun.corba.se.impl.javax.rmi.PortableRemoteObject.narrow(PortableRemoteObject.java:229) Caused by: java.lang.ClassCastException: javax.naming.Reference Yes I have deployed my remote EJB in an ear on JBoss and also included the interface of my remote bean in a jar in WEB-INF/lib since my webapp must know the interface I am trying to narrow. Anyway I get this exception. Does anyone of you have an idea? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017606#4017606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB dependency injection
Hello, sory for the delayed replay but i am still interested in how to do this dependency injection. I am using jboss 4.0.5 and also Myfaces last version i think 1.1.4. Is this dependency injection specifict to JSF 1.2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017609#4017609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017609 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Please help - rollback with managed trasnactions
Sorry, you're way beyond me! I've been lucky enough not to need to deal with Websphere J2EE yet. Folks who have dealt with it don't usually say nice thinks about it. Anyone else??? -Ed Staub View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017612#4017612 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigation outcome from bean
Thank you very much for that. I totally overlooked that part. But it´s still neccessary to have a view-id that is a real xhtml-page. There´s no way to use the outcome of a bean-action for multiple pages, is there? So that I could use the outcome of an action for multiple pages? Thomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017617#4017617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - JbpmBpelDS not bound
Hi everyone, I installed JBOSS AS 4.0.4 GA succefull configured with hypersonic using jems-installer-1.2.0.BETA2.jar. After this i tried install JBPMBPEL. I dowloaded jbpm-bpel-1.1.Beta3.zip and unrar it. I configured build.properties in config folder. I run command 'ant build.sar' and ant 'deploy.sar'. When JBOSS AS start (the sar file was deployed in default profile) the following error appear: 2007-02-16 14:58:20,890 FATAL [org.hibernate.connection.DatasourceConnectionProvider] Could not find datasource: java:/JbpmBpelDS javax.naming.NameNotFoundException: JbpmBpelDS not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:296) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:347) at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:385) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91) at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94) at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98) at org.jbpm.persistence.db.DbPersistenceService.getJobSession(DbPersistenceService.java:281) at org.jbpm.JbpmContext.getJobSession(JbpmContext.java:526) at org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:109) at org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56) Does some configuration file is wrong configured? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017624#4017624 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017624 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigation outcome from bean
I'm not quite understanding the question. The view-id in pages.xml does not have to be a real page, it can just be to bind an action that is executed when that view is requested but then the action can return an outcome which the page navigation uses to render a different page. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017625#4017625 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017625 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: just can't get jbossWS working!!
I did follow the instruction. my enviroment: Jboss JEMS 1.2 CR1 (AS 4.0.5.GA, EJB3 1.0.0.CR9-jboss4.0.5, Portal 2.4.0.GA, JBossWS 1.0.3.SP1 Installer) I downloaded jbossws 1.0.4 and I did: 1.) Copy lib/jbossws-client.jar to $JBOSS_HOME/client/ 2.) Unzip lib/jbossws.sar to $JBOSS_HOME/server/default/deploy/ 3.) replace the jboss-xml-binding.jar in the $JBOSS_HOME/client and $JBOSS_HOME/lib. (got it from http://repository.jboss.com/jboss/jbossxb/1.0.0.CR7) Once I've done everything, I can't even start jboss anymore because clearly jboss depend on the old version of jboss-xml-binding.jar. I've tried many times and I'm sure I did everything right. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017626#4017626 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017626 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigation outcome from bean
sorry - I really did not explain it really clearly. The idea is the following: I have two different xhtml-pages with an command button on each page referencing to the same ActionBean and calling the same methods, but the result of that action always points to the same result-page. So is it possible to define that whenever this bean is called - doesn´t matter from what page - it should redirect to a defined outcome with only one definition in the pages.xml or navigation.xml? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017632#4017632 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Cant start Jboss 4.0.3 with Jboss-IDE 2.00 beta
I've kept solving this problem for some hours and It's solved finally. Just uncheck all secure items in the last installation form. Enjoy! PS. Is this a bug? I've add the user's name and the user's password parameters either in Start Args or in Twiddle Args... But there is still the same problem remained. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017633#4017633 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017633 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - java.util.Properties$LineReader.readLine(Properties.java:365
Hi, I am using JBOSS AS405 and JDK1.5.0_06. The piece of code works fine when put into a main program and run as a Java application through eclipse IDE. The same code is a part of an enterprise project which has no errors and builds fine. However when i publish the project to the app server, and provide parameters through JMX console, it throws following exception: *** 10:56:59,616 ERROR [STDERR] java.lang.NullPointerException 10:56:59,616 ERROR [STDERR] at java.util.Properties$LineReader.readLine(Properties.java:365) 10:56:59,616 ERROR [STDERR] at java.util.Properties.load(Properties.java:293) *** Kindly let me know if you have encountered this error before. Your help is highly appreciated. Thanks and regards, Bipin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017634#4017634 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017634 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB QL contsructor expression
Hi, I have just tried creating a query with a constructor expression in it. The first parameter is a float, no problem with the deployment. Now when I try and replace this with a SUM expression I get a QuerySyntaxException during deployment. Any ideas on this one? Should it work? TIA /Dominic View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017636#4017636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB dependency injection
Yes, it is part of the JSF 1.2 spec. And actually, it is an optional feature. The only time it is required is for a JEE 5 compliant application server. It won't work with JSF 1.1. The feature will be available in JBoss 4.2 and JBoss 5.0. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017641#4017641 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017641 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigation outcome from bean
Try.. | page view-id=/* | | navigation from-action=#{myBean.commonAction} | rule | redirect view-id=/results.xhtml/ | rule/ | /navigation-case | | /navigation-rule | Haven't tried this myself but I think this should work. Basically this says for any page if the myBean.commonAction was the action method fired (and it returned a not-null result) by the button click then change the view to the /results.xhtml view. The wildcarding is suffix matching so you can make it more specific if you wish. Let me know if this works pls, be useful for future reference. HTH. Mike. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017640#4017640 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017640 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
I agree its classloading related. As I said, I can take a look, but i'm not convinced I would have any more luck than you! So, this is how I lay it out: 1) Use the default JBoss (4.0.5.GA) install (so myfaces in jsf-libs) 2) Put everything I can, especially the jars that provide UI (so jsf-facelets, trinidad, seam-ui, seam-mail, seam-pdf - specifically anything with a faces-config.xml in it I suppose) in the war/WEB-INF/lib 3) Put all the rest in the ear and reference from application.xml (so now I have drools, jbpm, el, jboss-seam.jar and then internal shared stuff there) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017642#4017642 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017642 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
Also, specifically, I would make sure you have facelets and myfaces-impl not in the ear root but either in jsf-libs or WEB-INF/lib View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017643#4017643 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017643 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Navigation outcome from bean
Some corrections for the last sample source code: | page view-id=/* | | navigation from-action=#{myBean.commonAction} | redirect view-id=/results.xhtml/ | /navigation | | /page | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017645#4017645 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Retrieve retrieve Entity Class mapping from jboss
I created a statless Sessionbean as followed: | @Stateless | public class BaseSession implements BaseSessionRemote, BaseSessionLocal | { | | @Resource SessionContext context; | @PersistenceContext(unitName=myName) private EntityManager entityManager; | | public MapString,EntityPersister getAllClassMetadata() | { | MapString,EntityPersister metadata = null; | try | { | HibernateEntityManager hibernateEntityManager = (HibernateEntityManager)entityManager.getDelegate(); | metadata = hibernateEntityManager.getSession().getSessionFactory().getAllClassMetadata(); | } | catch(ClassCastException e) | { | LoggerImpl.getInstance().log(Logger.iLOGG_ERROR, this, e); | metadata = new HashMapString,EntityPersister(); | } | return metadata; | } | } | | and then iterate over all maped entities: | Map m = myPortalSession.getEntityManager().getAllClassMetadata(); | SetMap.Entry s = m.entrySet(); | for (Map.Entry e : s) | { | System.out.println(e.getKey() + --- + e.getValue()); | } | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017649#4017649 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Tools Beta 9 JPA Persistence Unit
Thanks Max, I put a request for something like this in JIRA. :) What would be cool, is being able to keep the persistence.xml exactly the way it is with a Data Source JNDI name, but in the console you can create a DataSource and give it a name that matches the JNDI name you gave in the persistence.xml and the console will use it. That would be cool. Matter of fact I should paste what I just wrote into the JIRA request I made, I don't think the way I wrote the request made sense. :) Mark View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017651#4017651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Page Title
The following works (+ i18 support): jsp:directive.page import=org.jboss.portal.theme.page.PageResult/ | jsp:directive.page import=org.jboss.portal.theme.LayoutConstants/ | %@ taglib prefix=fmt uri=/WEB-INF/fmt.tld% | % | PageResult pageResult = (PageResult)request.getAttribute(LayoutConstants.ATTR_PAGE); | String pageNameKey = PAGENAME_ + pageResult.getPageName(); | % | fmt:bundle basename=conf.bundles.Resource | titlefmt:message key=%=pageNameKey% //title | /fmt:bundle View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017653#4017653 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017653 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Management portlet improvements
Ok. So Ill fork the tree component and hack at it. Add 3 weeks to the task. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017654#4017654 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jpdl-3.2.Beta2: how to access variable from task form in jPD
For a demo I'm trying to extend the websale example with a simple condition, but am getting to feel stupid as I cannot find a way to access the value of 'quantity'... The variable has been defined in the forms, such as form.create.xhtml, just as provided in the sample code: h:inputText | value=#{var['quantity']} | converter=javax.faces.Integer | converterMessage=The quantity must be numeric. | validatorMessage=The quantity must be at least 1. | f:validateLongRange minimum=1/ | /h:inputText In procesdefinition.xml I'm trying: decision name=Large quantity? | transition name=No to=ship item | /transition | transition name=Yes to=Make appointment | condition expression=#{contextInstance.variables['quantity'] gt 10} | /condition | /transition | /decision Of course I tried many other ways, including #{var['quantity'] gt 10}, CDATA, and even comparing string values. No matter what, I keep getting: org.jbpm.graph.node.Decision | decision didn't select transition, taking default Transition(No) When also adding this specific variable to a controller then the value as entered in the task form (jbpm-console) is not preserved (not shown in the next forms), so that does not seem to be the correct way to do things either: start-state name=Create new web sale order | task swimlane=buyer | controller | variable name=quantity mapped-name=quantity/variable | /controller | /task | transition to=Evaluate web order / | /start-state I know I can delegate the decision to a Java class, but if I understand correctly than the above should really not be too hard to achieve at all, right...? Thanks for any hints! Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017656#4017656 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017656 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: JMS on AIX 5.3 and J2EE Tutorial
The following: java.lang.NoClassDefFoundError makes me thing the root cause involves the classpath / classloader. Examine you start up script, start by setting the CLASSPATH to ONLY what JBoss needs, (don't just add to what ever CLASSPATH may exist on your system) If you still have trouble capture and post the following: stdout, boot.log and server.log View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017663#4017663 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: tomahawk extension filter and seam fileUpload
Thanks Gavin. I've attached a minimal example project to reproduce the problem in JIRA: http://jira.jboss.org/jira/browse/JBSEAM-859 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017665#4017665 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017665 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Using Seam components remotely...
I was recently tasked with separating the service layer of my seam application with the presentation layer. My first thought was to use the ability of EJB's to have a remote interface, and implement my own Variable Resolver which would allow me to look up Seam components from the Java Naming Directory and return them to the presentation layer. This, however, results in the following exception... | Caused by: java.lang.IllegalStateException: Attempted to invoke a Seam component outside the context of a web application | at org.jboss.seam.contexts.Lifecycle.getServletContext(Lifecycle.java:404) | at org.jboss.seam.contexts.Lifecycle.beginApplication(Lifecycle.java:89) | at org.jboss.seam.Seam.componentForName(Seam.java:211) | at org.jboss.seam.intercept.SessionBeanInterceptor.postConstruct(SessionBeanInterceptor.java:101) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | ... | Is what I'm attempting to do even possible? Is there another route that more experienced Seam developers would take? Any input would be greatly appreciated. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4017664#4017664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4017664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user