[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deployment using plan files
No. I just mean that i don't want those files inside my war or jar. When I deploy the application on JBoss, I want to include them. Thanks for your reply. Leela. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153920#4153920 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153920 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: QuerySyntaxException Class is not mapped JBOSS 4.2.2GA E
As i suspected, the logs show no indication that the "Account" entity is being mapped. For example, when i deploy my sample application with entities, i see this on the console: 8:18:47,998 INFO [JmxKernelAbstraction] jboss.jca:name=EJB3PersistenceDS,service=DataSourceBinding | 8:18:47,998 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=EJB3Persistence.ear,jar=myapp_ejb3.jar,unitName=EJB3Persistence | 8:18:48,060 INFO [Version] Hibernate EntityManager 3.2.1.GA | 8:18:48,107 INFO [Version] Hibernate Annotations 3.2.1.GA | 8:18:48,123 INFO [Environment] Hibernate 3.2.4.sp1 | 8:18:48,138 INFO [Environment] hibernate.properties not found | 8:18:48,138 INFO [Environment] Bytecode provider name : javassist | 8:18:48,138 INFO [Environment] using JDK 1.4 java.sql.Timestamp handling | . | | 8:18:48,857 INFO [AnnotationBinder] Binding entity from annotated class: org.myapp.entity.User | 8:18:48,935 INFO [EntityBinder] Bind entity org.myapp.entity.User on table User | 8:18:49,467 INFO [AnnotationBinder] Binding entity from annotated class: org.myapp.entity.Account | 8:18:49,467 INFO [EntityBinder] Bind entity org.myapp.entity.Account on table Account | 8:18:49,482 INFO [AnnotationBinder] Binding entity from annotated class: org.myapp.entity.TestIdClass | 8:18:49,513 INFO [EntityBinder] Bind entity org.myapp.entity.TestIdClass on table EJB3Test | 8:18:49,529 INFO [AnnotationBinder] Binding entity from annotated class: org.myapp.entity.DeleteMe | 8:18:49,529 INFO [EntityBinder] Bind entity org.myapp.entity.DeleteMe on table DELETEME | 8:18:49,560 INFO [CollectionBinder] Mapping collection: org.myapp.entity.User.accounts -> Account | 8:18:50,185 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider | 8:18:50,201 INFO [InjectedDataSourceConnectionProvider] Using provided datasource | 8:18:50,654 INFO [SettingsFactory] RDBMS: MySQL, version: 5.0.20-community It looks like a packaging problem. anonymous wrote : The Account.class is part of the DAO and is in datamodel.jar while the other classes are in another services.jar file. I have packaged the persistence.xml in the META-INF of both jar. | Usually, the persistence.xml file should be present in only the jar which contains the entity classes. Try removing the persistence.xml file from the services.jar file (which i assume does not have any entities). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153936#4153936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: hibernate.properties not found
"henry_h" wrote : Hi | When I start the server it breaks. I see that there is an entry: | hibernate.properties not found | | 23:58:24,011 INFO [Environment] hibernate.properties not found | Its just an INFO message and you can ignore that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153937#4153937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: comment/uncomment in .xhtml
"[EMAIL PROTECTED]" wrote : | the is something you can disable afaik. | yes, but on the expense of other usefull completions, afar. i once found where to disable but forgot gaian, because the drawback prevailed. there's imho an eclipse bug regarding this -- don't know how far your xhtml-editor uses the eclipse stuff underneath. "[EMAIL PROTECTED]" wrote : | there is no tag http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153933#4153933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Additional field in SELECT of native query changes resul
I've figured out that I probably need to define a SQLResultSetMapping. If that's the case, my question is whether I can have such a mapping for a query that returns multiple instances of the same entity (like the accounts in the original post). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153934#4153934 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153934 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: different version of Hibernate in .ear file on JBoss
"ziolmar" wrote : Hi, | | I have a problem with different version of Hibernate which I put to lib directory in .ear file. I have JBoss 4.2.2 and I need to use Hibernate 3.2.6.GA. First it was ClassCastException which appears when jboss was deploing .jar with EJB classes | Please post the entire exception stacktrace. Have you enabled classloader scoping for your EAR file? "ziolmar" wrote : | but i figure out that apart from Hibernate libraries and it dependancies I must include also jboss-j2ee.jar and jbosssx.jar. These need not be included in your application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153932#4153932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Sun JSF Reference Implementation (RI) Portlet
Hi All I have a porlet as described above. Everything seem to work fine expect that a standard data table will not display any rows. I have test my code in a normal jsf and it works fine. I am running Java 6 and portal 6.5 and used netbeans 6.1 to create the portlet. Any ideas, suggestions or help will be highly appreciated. Regards Stefan. PS. I have tried 6.4 as well with the same result. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153948#4153948 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153948 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: How I store objects in the cache. Trivial-not trivial?
"beep_beep" wrote : 1. Why I've chosen to create separate node for collection of A? | 2. Why not separate node for each A in collection? | 3. Why not separate node for each A and separate node for each A primitive attribute(int x)? | 4. When I need cache B(that under A), what is my considerations: should I create separate node for each B, or one node for collection of Bs? | | 5.Is there some guide line to HOW we store complex structures in the cache? | 6. If object A changed and I have eviction enabled in cluster, is it explicitly invalidates also Bs, that under that A? If B changed, does it cause invalidation of A? In what case it may happen? | 1. I don't know; why have you? :-) 2. Could be done. If this is what you want. 3. This is what POJO Cache does. 4. Up to you, depending on your access patterns of B. 5. Not yet. But it is a good idea to start one on the wiki. 6. No, only a specific node is invalidated. If you are looking for invalidation of related objects, look at POJO Cache which will maintain object relationships. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153952#4153952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: I can encounter NullPointer in that place, is it OK?
Right now node.put() will throw a NodeNotValidException if the node has been evicted or invalidated. We are discussing how best to deal with this transparently - see the following mail list thread: http://lists.jboss.org/pipermail/jbosscache-dev/2008-May/002262.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153954#4153954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBossWS 2.0.1 SP2 source code download link
Pls help me to get the link to download the source code zip for the jbossws 2.0.1 SP2 release. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153960#4153960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: QuerySyntaxException Class is not mapped JBOSS 4.2.2GA E
Got it! You pointed the right thing! Thank you very much... A lot of the problems I've tried to solve these last days where caused by all that persistence thing. Now I think I've got it all clear. Therefore I packaged my DAO AND my class query in a datamodel.jar file with the persistence.xml in the META-INF. All my other classes are packaged in a services.jar file and it's all good! This sort of thing may be very obvious to some people but it wasn't at all to me so thanks again! I offer you my eternal gratitude! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153961#4153961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: State transfer errors
You say this is still a problem with higher timeout values? I'm guessing you have edited the sources to set this to the same value as LockAcquisitionTimeout ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153949#4153949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache integration with Spring Caching module
I'm guessing you have followed instructions on https://springmodules.dev.java.net/docs/reference/0.8/html/cache.html ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153955#4153955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: State transfer errors
Indeed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153963#4153963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 2.0.0.GA released
I found the link https://labs.jboss.com/tools/download/index.html showing connection interrupted.. I would be very happy if you find me proper documentation for configuring jboss plugin to run in debug mode on my eclipse which already have tomcat configured. Thank you in advance. Praveena. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153964#4153964 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: State transfer errors
And what probs do you see when you use sync commit and rollback? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153969#4153969 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153969 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Eclipse + JBoss Debug Mode issue
"jaikiran" wrote : | In that case, i am not sure how the server is started in debug mode. Probably the IDE picks up some other configuration file for starting JBoss? | I'm using Eclipse w/ JBoss Tools, but I'm not sure about how Eclipse starts the debug mode. Any pointers where I can check? "jaikiran" wrote : | So, as mentioned in one of my earlier replies, you can attach the debugger to the server "after" the application has been deployed. This way you don't run into this issue (which you mention happens "during" application deployment). How can this be done? Does this have anything to do with remote debugging? Still, I'm trying to figure out the reason why this happens, but can't seem to get anything clear. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153970#4153970 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153970 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - deliver customized graphical editor
Can the install of the editor be premodified so the tasks/states/actions are already bound to classes and meaningfully labeled? the idea is to 'predeliver' classes so that end-users only have to click together the diagram :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153975#4153975 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153975 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Nullpointer at MBeanServer server = MBeanServerLocator.locat
I am trying to port a JEE application from JBoss 3.2.7 to JBoss 4.2.2.GA The application works on 3.2.7. On JBoss 4.2.2 I get a NullPointerException at the line MBeanServer server = MBeanServerLocator.locateJBoss(); which I don't understand, because I have used this mechanism repeatedly in my own projects on JBoss 4.2. The only difference I can think of is that the project I am trying to port is packaged in an ear archive. Does anybody have any ideas? Thanks, Hans View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153979#4153979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in Process Definition Deployment.
anonymous wrote : My java application code, the complete error message, and config files are above, in my other comments. what is still missing is the structure of your application. For your convenience, here's a bare minimal application that could run the application code you posted: /home/mputz/jboss/work/jbpm-jpdl-suite-3.2.2/server/server/jbpm/deploy/jbpm-test.war/ | |-- WEB-INF | | |-- classes | | | `-- hibernate.cfg.xml | | |-- lib | | | |-- jbpm-identity.jar | | | `-- jbpm-jpdl.jar | | `-- web.xml | `-- index.jsp | where * 'hibernate.cfg.xml' is just the same as the one deployed in /jbpm-jpdl-suite-3.2.2/server/server/jbpm/deploy/jbpm-console.war/WEB-INF/classes/hibernate.cfg.xml, * web.xml has only empty web-app tags and * index.jsp contains your code. Hope this helps a bit finding the culprit in your environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153982#4153982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Quickstart with existing JBoss
The bundled version is JBossAS + Portal with the Portal configured to use Hypersonic. If you have JBossAS already, here is what to do to add the Portal and Hypersonic support (assuming Portal 2.6.5): 1) Download and unzip the Portal binary 2) Copy jboss-portal-2.6.5.GA/jboss-portal.sar to jboss_home/server/xxx/deploy (where xxx is the config name, such as "default") 3) Copy the jboss-portal-2.6.5.GA/setup/portal-hsqldb-ds.xml to jboss_home/server/xxx/deploy. You JBossAS setup know is configured just like the bundle. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153984#4153984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: code completion not working
I think this is related to: http://jira.jboss.org/jira/browse/JBSEAM-2996 Does anyone knows a quick fix? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153986#4153986 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153986 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Can the client connect to a Jboss server through socket
Yes. No JBossAS configuration changes are necessary - you are essentially writing your own service. You should package your service in a sar file, and provide a *-service.xml file. You are going to have to handle the protocol between the client and your service, JBossAS will not help you in this regard mainly because you are not using any of the existing Java EE services that JBossAS provides. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153993#4153993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: How to deploy an EAr in JBOSS from the command line
There is no deployer.jar for 4.0.x or 4.2.x (and I don't recall one in 3.2.x). Other than copying a file to the deploy directory, you could invoke the deploy method on the MainDeployer mbean. The only caveat is that the deployment is temporary - when you restart the server you will have to redeploy the application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153994#4153994 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Switching DefaultDS in JBoss 5
At this time the XXX-persistence-service.xml files are not provided with JBossAS - you have to get them from the JBoss Messaging download. (I hope that this oversight is corrected in the CR1 release or definitely by GA. Hint. Hint.) 5.0.beta4 uses JBoss Messaging 1.4.1.Beta1. Download that exact version of JBoss Messaging binary, and the XXX-persistence-service.xml files are located in exemples/config. (Note that is you download the wrong version, it will not work!) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153999#4153999 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache integration with Spring Caching module
Yes, I have. I am interested in using Spring Cache module backed by JBoss Cache to implement distributed cache for application lookup values. In our POC we found that the JBoss Cache was properly replicating lookup values cached by Spring across the cluster nodes, however Spring wasn't recognizing these distributed cache updates. This is probably due to the fact that Spring uses it's own hashing mechanism for cache access, and each server node in the cluster was generating its own set of keys. It seems as though Spring Cache module wasn't meant for cache replication. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154001#4154001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Installation Question
You need to install JBoss Web Services into JBoss Application Server, which is what you appear to be missing. I recommend JBoss AS 4.2.2 at this time (not the 5.0 beta). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154003#4154003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JBoss Cache integration with Spring Caching module
Possibly. I have started a discussion on the spring cache module mail list to spark off some discussion around this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154005#4154005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Error in Process Definition Deployment.
Mputz The structure of my application is correct, thank you. I tried to use the hibernate.cfg.xml that you said (jbpm-console.war) and tried to intance my process like the java code I posted above, but I receivied the error "Could not find datasource" But when I start the process from the jBPM Console, it works fine. The differences from the hibernate.cfg.xml file that I was using from the hibernate.cfg.cml file that I tried now (the file that you said) are the following lines: hibernate.cfg.xml that I was using - Receive the error: "couldn't find process definition NameofMyProcess'" | | org.hsqldb.jdbcDriver | jdbc:hsqldb:mem:jbpm | sa | | | | org.hibernate.cache.HashtableCacheProvider | | Hibernate.cfg.xml file that I tried now (jbpm-console.war) - Receive the error "Could not find datasource": | | | org.hibernate.cache.HashtableCacheProvider | | | java:/JbpmDS | | I just posted the differents lines between the two files, the other lines are the same for both files. Any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154006#4154006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Enabling JSR77 Mbeans within JBOSS
Hi, I've just downloaded JBoss-5.0.0.Beta3 and have been able to launch JBoss succesfully, and I am able to see JBOSS MBeans within HTML browser. Now I woudl like to be able to see JBoss JSR77 MBeans for monitoring. I've seen that there is a jboss-jsr77-client.jar file within the client directory. What should I do to get JSR77 MBeans through JBOSS. Is there some specific configuration to do ? Regards, Oliver View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154008#4154008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Quickstart with existing JBoss
Thanks! I'll try that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154012#4154012 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB 3.0 Entity problem - Error: Incomplete Deployment li
I too have been victim to this 'case insensitivity'. Only took me a day to finally find this thread. Spent a lot of time using Google, but it never delivered this. What was maddening for me was I had one jar that worked, because I used Eclipse-export-jar and put the persistence.xml in that, and had another version using Ant and had the case wrong. To make it worse, I used Winzip to view the jars and it shows lower case folders by default. Lesson for me...search the forum! Thanks, Herman Post View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154014#4154014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] Seam EntityBeans get data
I don't believe its a good practice 2008/5/27 Μέμμου Αρίστη <[EMAIL PROTECTED]>: > can i use EntityManager in an Entity Bean to get data from a datatable in a > getter method? > ___ > jboss-user mailing list > jboss-user@lists.jboss.org > https://lists.jboss.org/mailman/listinfo/jboss-user > > -- José Moreira Vila Nova de Gaia Portugal ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: 2.6.5 bin files not marked as executable
Double-clicking, as directed in Quickstart doesn't do sh run.sh View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154015#4154015 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Quickstart green-on-black???!!!
My screen wouldn't be very useful as it was covered with error messages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154016#4154016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - org.jboss.deployment.DeploymentException: Error in jbosscmp-
I created an Entity with XDoclet binding with JBoss in Eclipse. The file "jbosscmp-jdbc.xml" is automatically created and looks as follow: | | http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_4_0.dtd";> | | | | java:/OracleDS | Oracle10g | false |false | false | foreign-key | | | | | | | | Book | java:/OracleDS | Oracle10g | false | false | TEST.BOOK | | | id | false | ID | | VARCHAR | VARCHAR2 | | | | name | false | NAME | | VARCHAR | VARCHAR2 | | | | author | false | AUTHOR | | VARCHAR | VARCHAR2 | | | | public_date | false | PUBLIC_DATE | | DATE | DATE | | | | description | false | DESCRIPTION | | VARCHAR | VARCHAR2 | | | | | | | | | | | The "oracle-ds.xml" is under /server/default/deploy as looks as follow: | | | | OracleDS | jdbc:oracle:thin:@localhost:1521:XE | oracle.jdbc.driver.OracleDriver | test | test | org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter | | | Oracle10g | | | | But as I deploy the EAR to JBoss, I got exception as follow: | 2008-05-28 12:31:13,312 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:service=EjbModule,module=TestJBossXDocletEJB2.jar | org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping Oracle10g not found | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:516) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:327) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:89) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:736) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:424) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:368) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:172) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:414) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | 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.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:417) | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source) | 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.server.Invocation.invoke(Invocation.java:86) | 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 $Proxy31.start(Unknown Source) | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:662) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) |
[jboss-user] [EJB 3.0] - Re: muliple invokers in jboss.xml (JBOSS 4.0.5)...a nd Jboss
Hi, I've tried to reproduce this issue with a JBoss 4.2.2 native configuration and still have the problem. I have just noticed that only the first part of the JNDI name is bound for the first invoker (ejb3_u) with the complete second JNDI invoker. With Jboss 4.0.5, only the complete second JNDI invoker was bound. | +- TopicConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- jmx (class: org.jnp.interfaces.NamingContext) | | +- invoker (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor (proxy: $Proxy47 implements interface org.jboss.jmx.adaptor.rmi.RMIAdaptor,interface org.jboss.jmx.adaptor.rmi.RMIAdaptorExt) | | +- rmi (class: org.jnp.interfaces.NamingContext) | | | +- RMIAdaptor[link -> jmx/invoker/RMIAdaptor] (class: javax.naming.LinkRef) | +- JAXR (class: org.apache.ws.scout.registry.ConnectionFactoryImpl) | +- HTTPXAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- ConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- ejb3_u (class: org.jnp.interfaces.NamingContext) | +- UserTransactionSessionFactory (proxy: $Proxy14 implements interface org.jboss.tm.usertx.interfaces.UserTransactionSessionFactory) | +- HTTPConnectionFactory (class: org.jboss.mq.SpyConnectionFactory) | +- XAConnectionFactory (class: org.jboss.mq.SpyXAConnectionFactory) | +- TransactionSynchronizationRegistry (class: com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionSynchronizationRegistryImple) | +- UserTransaction (class: org.jboss.tm.usertx.client.ClientUserTransaction) | +- UILXAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- UIL2XAConnectionFactory[link -> XAConnectionFactory] (class: javax.naming.LinkRef) | +- queue (class: org.jnp.interfaces.NamingContext) | | +- A (class: org.jboss.mq.SpyQueue) | | +- testQueue (class: org.jboss.mq.SpyQueue) | | +- ex (class: org.jboss.mq.SpyQueue) | | +- DLQ (class: org.jboss.mq.SpyQueue) | | +- D (class: org.jboss.mq.SpyQueue) | | +- C (class: org.jboss.mq.SpyQueue) | | +- B (class: org.jboss.mq.SpyQueue) | +- topic (class: org.jnp.interfaces.NamingContext) | | +- testDurableTopic (class: org.jboss.mq.SpyTopic) | | +- testTopic (class: org.jboss.mq.SpyTopic) | | +- securedTopic (class: org.jboss.mq.SpyTopic) | +- console (class: org.jnp.interfaces.NamingContext) | | +- PluginManager (proxy: $Proxy48 implements interface org.jboss.console.manager.PluginManagerMBean) | +- ejb3_c (class: org.jnp.interfaces.NamingContext) | | +- FTimeService (proxy: $Proxy102 implements interface fr.vif.test.ejb3.ejb.test.TimeService3,interface org.jboss.ejb3.JBossProxy) | +- UIL2ConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | +- HiLoKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.hilo.HiLoKeyGeneratorFactory) | +- UILConnectionFactory[link -> ConnectionFactory] (class: javax.naming.LinkRef) | +- QueueConnectionFactory (class: org.jboss.naming.LinkRefPair) | +- UUIDKeyGeneratorFactory (class: org.jboss.ejb.plugins.keygenerator.uuid.UUIDKeyGeneratorFactory) | +- ATestEJB3 (class: org.jnp.interfaces.NamingContext) | | +- FTimeService (class: org.jnp.interfaces.NamingContext) | | | +- local (proxy: $Proxy102 implements interface fr.vif.test.ejb3.ejb.test.TimeService3,interface org.jboss.ejb3.JBossProxy) | Any help would be appreciate. Thank's in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154024#4154024 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Creating a socket inside a J2EE bean
Hi, I'm accessing an application from a J2EE stateless bean through a socket and everything is going fine, but some colleagues told me that doing it is a bad practice. Is bad practice to create a new socket inside a J2EE stateless bean? If so, why and what alternatives do I have? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154026#4154026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Installer versions, which one is for me???
There four EAP 4.3 downloads are: 1) Application Platform 4.3.0.GA zip - binary zip file (this is what you want) 2) Application Platform 4.3.0.GA zip - the source zip file (unless you want to compile the app server from scratch, or like looking at code, ignore this) 3) Application Platform 4.3.0.GA installer - similar to the binary zip, but packaged as an installer 4) Application Platform 4.3.0.GA docs - the documentation (you want this) Personally, I prefer using the binary zip over the installer. As far as I can tell, the installer produces the same set of files that you get if you unzip the binary zip, and then does a few extra things: it adds an entry to the Start menu (Windows and KDE); and it makes some tweaks on the configuration files (mainly security related). Now if the installer actually would set up the app server to run as a service the installer would be worthwhile, but you still have to do that yourself. The other two entries you listed are the 4.2 version of EAP (CP01 and CP02 are essentially service pack 1 and 2, with each providing additional fixes). The primary difference between EAP 4.3 and 4.2 is that 4.3 contains JBoss Messaging instead of the older JBossMQ found in 4.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153995#4153995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: hibernate.properties not found
thanks, I went over to JBoss 5.0 Beta and I have no this error! Know i have another problem. I see in the JMX console that my EJBs are deployed and are activated , nevertheless I become this error when i am trying to run the client: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) at javax.naming.InitialContext.lookup(Unknown Source) at client.kap09.BankClient.main(BankClient.java:17) my client code snippet for the JNDI and naming look like follows : Context ctx = new InitialContext(); Object ref = ctx.lookup("BankBean/remote"); BankRemote bvr = (BankRemote) PortableRemoteObject .narrow(ref, BankVerwaltungRemote.class); BufferedReader din = new BufferedReader(new InputStreamReader( System.in)); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154031#4154031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: hibernate.properties not found
Do you have a jndi.propetties file? Is it in the classpath? It should contain: java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory java.naming.provider.url=jnp://localhost:1099 java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154032#4154032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Installation Question
Many thanks for your help Peter. I will try out with JBoss AS 4.2.2 as you suggest. Thanks, Matt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154004#4154004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: More portal 2.6.5 startup issues
These are warnings and information messages, not errors. They can be ignored. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154034#4154034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Quickstart green-on-black???!!!
Why so much hostility? If you don't like the way things are, you are welcome to submit improvements as Thomas suggested. If not, well, let's just say that being rude on the forums is not going to help your cause... :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154036#4154036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: hibernate.properties not found
Thanks peter, i forgot it! It works. Bye View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154038#4154038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - How to expose JMX MBeans To Remote Clients ?
Hi all, New to JMX...need some configuration guidance :) I'm trying to add a new JMX service - the will invoke an already existing service on my application...but I can't find a good example for exposing JMX MBeans to remote clients... I found this page http://wiki.jboss.org/wiki/en/JMXMBeanRemoteProxy?action=e&windowstate=normal&mode=view (fairly old...) but I'm not sure how to "create a proxy for the MBean and bind it under MyServiceInvokeTarget? JNDI name" Where can I find a good example for exposing app interface to JBoss JMX ? Thanks, Hadas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154039#4154039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss 4.0.5 SP1
Hi again, Can at least someone tell me where I can go to ask this question? We need access to 4.0.5 SP1 that has a few security fixes, but I can not find it on the download page. Do we have to get it from the source? Any help would be appreciated. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154035#4154035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Installer versions, which one is for me???
Thanks for your help Peter. Cheers! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154043#4154043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Extend security
JBOss POrtal version - 2.6.4 We are integrating with a third party tool within our portal environment and need to extend the JBoss security/admin framework by creating a user in third party tool when a user is given a role that has access to a portal page. Could anyone give some suggestions on how this could be done? Any suggestions/pointers appreciated. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154044#4154044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Redeployment of a web application
- JBoss 4.2.2.GA Hello, everybody! How do I redeploy a web application in JBoss without restarting the server? Thank you. Marcos View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154049#4154049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: jboss 4.0.5 SP1
Just a guess, but you might have to download it from Subversion (probably http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_4_0_5_GA_CP12/, that seems to be the latest patched version of 4.0.5) and build it yourself. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154051#4154051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - CMS Query - sub-directory isolation
I'm wondering if the portal CMS supports directory-specific queries. The CMS search function relies on the ...jcr.command.SearchCommand class. I took a look at the querystring it creates and see the following when I search for "jboss": //*[jcr:contains(., 'jboss')] When searching against the default portal content, this search returns more than a dozen matches, a few of which are located in the /default/images directory. I modified the code a bit to determine the search function's ability to constrain the results to a specified directory, like so: /default/images/*[jcr:contains(., 'jboss')] and //default/images/*[jcr:contains(., 'jboss')] Both of these searches return zero matches. I don't have a lot of experience with XQuery/XPath, but I believe either of these queries should return several matches (e.g., back.gif, check.gif, etc.). Would someone please verify that directory-specific queries work (or don't work) in portal CMS? I don't see any unit tests demonstrating/proving this functionality. I'm concerned about the CMS' scalability if searches are always being performed from the root. I'd like to be able to structure the CMS so that searches can be constrained to a branch of the tree. JBoss Portal Version - v2.6.4 (download) JBoss AS Version - v4.2.2 Database Vendor and Version - SQLServer 2005 JDBC Connector and Version - JTDS v1.2.2 OS Platform - Windows XP Pro SP2 Post any modified configuration files for the portal... In order to test this, I had to extend some of the CMS-related classes and place them in the server\default\deploy\jboss-portal.sar\portal-cms.sar\lib directory. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154053#4154053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Redeployment of a web application
Two possibilities. If you deployed as a war file, the simply copy the updated war file to the deploy directory (overwriting the existing war file). The hot deployer will notice the update and redeploy. If you deployed as an exploded war directory, copy over the updated files. JSP changes are picked up immediately. For other changes, "touch" the web-inf/web.xml file. That will cause the app to be redeployed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154054#4154054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Seam - mapped-name required for timerService of TimerSer
I would be nice to have a solution :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154058#4154058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Could not instantiate TransactionManagerLookup
I have the jbpm-enterprise.ear deployed in Weblogic 9.2.3. The jndi to the data source is also setup. I wrote a message driven bean to invoke jbpm with the following onMessage() method: public void onMessage(Message msg) { | try { | InitialContext ctx = new InitialContext(); | | RemoteCommandServiceHome commandServiceHome = | (RemoteCommandServiceHome) ctx.lookup("ejb/CommandServiceBean"); | RemoteCommandService commandService = commandServiceHome.create(); | commandService.execute(new NewProcessInstanceCommand("MyProcessDef")); | } | catch (NamingException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | catch (RemoteException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | catch (CreateException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | catch (Exception e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | } However, I got the "Could not instantiate TransactionManagerLookup" error when the message is received: org.jbpm.JbpmException: couldn't execute [EMAIL PROTECTED] at org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java:92) at org.jbpm.ejb.impl.CommandServiceBean_jdfmx8_EOImpl.execute(CommandServiceBean_jdfmx8_EOImpl.java:60) at org.jbpm.ejb.impl.CommandServiceBean_jdfmx8_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252) at org.jbpm.ejb.impl.CommandServiceBean_jdfmx8_EOImpl_923_WLStub.execute(Unknown Source) at com.pbsg.mst.wf.WFStarterMDB.onMessage(WFStarterMDB.java:48) at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429) at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MDListener.java:335) at weblogic.ejb.container.internal.MDListener.onMessage(MDListener.java:291) at com.ibm.mq.jms.MQMessageConsumer.receiveAsyncQ(MQMessageConsumer.java:2431) at com.ibm.mq.jms.MQMessageConsumer.receiveAsync(MQMessageConsumer.java:3816) at com.ibm.mq.jms.SessionAsyncHelper.run(SessionAsyncHelper.java:420) at java.lang.Thread.run(Thread.java:595) org.hibernate.HibernateException: Could not instantiate TransactionManagerLookup at org.hibernate.transaction.TransactionManagerLookupFactory.getTransactionManagerLookup(TransactionManagerLookupFactory.java:47) at org.hibernate.cfg.SettingsFactory.createTransactionManagerLookup(SettingsFactory.java:418) at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:140) at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009) at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292) at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91) at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95) at org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:99) at org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:341) at org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571) at org.jbpm.JbpmContext.newProcessInstance(JbpmContext.java:408) at org.jbpm.command.NewProcessInstanceCommand.execute(NewProcessInstanceCommand.java:74) at org.jbpm.ejb.impl.CommandServiceBean.execute(CommandServiceBean.java:90) at org.jbpm.ejb.impl.CommandServiceBean_jdfmx8_EOImpl.execute(CommandServiceBean_jdfmx8_EOImpl.java:60) at org.jbpm.ejb.impl.CommandServiceBean_jdfmx8_EOImpl_WLSkel.invoke(Unknown Source) at weblogic.rmi.internal.ServerRequest.sendReceive(ServerRequest.java:174) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:335) at weblogic.rmi.cluster.ClusterableRemoteRef.invoke(ClusterableRemoteRef.java:252) at org.jbpm.ejb.impl.CommandServiceBean_jdfmx8_EOImpl_923_WLStub.execute(Unknown Source) at com.pbsg.mst.wf.WFStarterMDB.onMessage(WFStarterMDB.java:48) at weblogic.ejb.container.internal.MDListener.execute(MDListener.java:429) at weblogic.ejb.container.internal.MDListener.transactionalOnMessage(MD
[jboss-user] [Security & JAAS/JBoss] - Integrating CAS with JBoss Security
Hi, I am looking into integrating our current application that uses JBoss Container Managed Security (with Out of the Box and Custom Login Modules) with CAS (Central Authentication Service). We also have a Custom Tomcat Valve/Authenticator implemented but I would assume that it makes no difference from a CAS standpoint. Essentially, when the user tries to access one of the secure pages, they should be re-directed to the CAS login page as opposed to our current login pages. Once they are authenticated against our OOTB or Custom JBoss Login Modules, the user should be re-directed back to the page requested originally. If you can provide some pointers on how this could be done, or what the starting point is, it would be appreciated. Thanks very much! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154065#4154065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: need suggestion in EJB based application design
any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154066#4154066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Way to identify graceful startup/shutdown in cluster gro
Hmm, this would take some work. If you were asking about the server that's leaving you could listen for a JMX notification from the jboss.system:type=Server mbean of type "org.jboss.system.server.stopped". That notification is sent out at the beginning of a clean shutdown. JGroups itself, when it issues a new view doesn't include information about what caused the change. When a node is suspected (i.e. is being excluded from the group due to suspected failure) it issues a notification before it issues a new view. But the intervening layers in JBoss don't expose any hooks for user code to get that "suspect" notification. The org.jboss.ha.jmx.HAServiceMBeanSupport utility class has the ability to send JMX notifications around the cluster. Perhaps you could write a service that subclasses HAServiceMBeanSupport and listens for the local "org.jboss.system.server.stopped" notification from jboss.system:type=Server. It would then rebroadcast it around the cluster, including the node id of the node. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154077#4154077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Switching DefaultDS in JBoss 5
Would it be appropriate to open a JIRA to make sure these example files are included in JBoss 5? Obviously JBoss 5 will at some point freeze the version of JBoss messaging included and could include the appropriate files at that time. Without these example files it would be very difficult from what I understand to easily setup a different database for use in JBoss messaging from what you download with JBoss AS. Thanks, Stuart View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154076#4154076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Switching DefaultDS in JBoss 5
This is done at JBoss5 for next release already. If you build it from SVN you would probably see it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154081#4154081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Integrate JPA with JBPM-JPDL3.2.2
Hi, I am trying to integrate JBPM-jpdl3.2.2 version with Spring and JPA transaction in my application. I was successfull in spring integration but not with JPA transaction. Is there any documentation that is available that can help me in doing this integration. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154082#4154082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Integrate JPA with JBPM-JPDL3.2.2
Hi.. i´m also intrested in this kind of integration, can you share to us your designs and your goals? I think this could be a great improvement in the next versions... Also i was thinking a lot in do a plug-in like to pvm for this integration with spring for configurations and JPA for persistence... If someone know a right forum to discuss this kind of things.. please let me know.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154083#4154083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Anonymous beans
In my deployment, I want to be able to programmatically build a BeanMetaData, which represents a bean that should be injected into the property of another bean. However I hit a problem that I probably won't be able to explain properly, but here goes: First of all, the container is giving an error if the nested bean doesn't have a name. I don't see why it needs a name though, since it's only referenced by the outer bean? Second, the nested bean doesn't appear on the deployment, so even if the nested bean has a name, the deployment still fails with a "CONTEXTS MISSING DEPENDENCIES" message. Basically I'm trying to programmatically replicate this kind of structure: | | | | | | Am I making any sense? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154090#4154090 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154090 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Taskinstance last updated
Is there any way to find out when a taskinstance was last updated i.e. any change of state or value? I can't see any such timestamps or am I missing something? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154091#4154091 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154091 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] Re: could not publish to the server
See Thread at: http://www.techienuggets.com/Detail?tx=31250 Posted on behalf of a User Do you resolve the problem "could not publish to the server"? I have the same problem Jairo [EMAIL PROTECTED] In Response To: Hello, I m using Jboss4.2 with eclipse jee 3.3.2 version, when I try to run my web application I get this error: could not publish to the server java.lang.NullPointerException I searched a lot about this issue in the net, but I didnt find any information to how resolve my problem. Note that i can access my jboss http:/localhost:8080/ when i start it, but i dont know what wrong. thanks in advance. ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss 4.2.2 Session Replication & Failover
Hey everyone - I'm wondering how JBoss 4.2.2 accomplishes session replication when configured in a cluster. Some app servers replicate 1:1 (e.g. each user session is replicated on only one other cluster node) while others replicate the user session on every cluster node. We've encountered lots of performance issues with our application on app servers that replicate on all nodes, and I'm looking to help a customer avoid any issues when they deploy to JBoss. Can anyone tell me whether JBoss replicates 1:1 or on all nodes? Or is it more subtle? I perused the Wiki and did several searches, but nothing stood out at me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154113#4154113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154113 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Connect or not CannotConnectException that is the questi
It looks like you're using a rather old version of Remoting. If so, you should probably upgrade. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154114#4154114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Dynamic AOP and User-Defined Class Loader
Thanks a lot for your input! I have created a Jira issue to fix this: http://jira.jboss.com/jira/browse/JBAOP-582 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154121#4154121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: How does this work?
Pablo, The XML Report feature is indeed not working. I have created a Jira issue to fix this bug: http://jira.jboss.com/jira/browse/JBAOP-583 Thanks for your input! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154123#4154123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154123 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Way to identify graceful startup/shutdown in cluster gro
Thanks Brian Stansberry. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154124#4154124 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154124 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Catching Nodes Events
I know there is a TreeCacheListener. I implemented it and created my own listener. Now, Is it possible to send an event when a value is been added to a specific node? How can i catch such an event? I need it as an event, is it possible to catch such ? How ? Can you give me an example? Thanks in advance to you all, Dor View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154127#4154127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154127 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Nullpointer at MBeanServer server = MBeanServerLocator.l
Post the entire exception stacktrace. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154128#4154128 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154128 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Cannot access Jboss AS 4.2.2 GA on port 80 from another mach
I have a problem with running Jboss AS on port 80. I have read, that I must run it under root user, because another users cant user ports lower that 1234. So I have no problem with run jboss with port 80 and I can access my deployed application on localhost. But I cant access on jboss server if i try to connect from another computer. Tha strange thing is, that if I run apache web server on the same machine, under port 80, I can access it on localhost and also from another computer. So I think it can´t be problem with some firewall. Just to be sure I shutdown firewalls on both machines. I have windows XP and under it I run vmware workstation where I have openSuse 10.3 installed. I can ping linux machine from windows and windows machine from linux. As I saed I can access apache web server from windows if apache runs under linux on port 80. But I cant access jboss server from windows if it runs on linux under port 80. I think that it is some problem with jboss configuration. When I change configuration from port 8080 to port 80, I changed files jboss-4.2.2.GA\server\default\deploy\http-invoker.sar\META-INF\jboss-service.xml (I changed all 8080 to 80) and jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\server.xml (I changed only connector part) Thanks for some tips View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154132#4154132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154132 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot access Jboss AS 4.2.2 GA on port 80 from another
I have a problem with running Jboss AS on port 80. I have read, that I must run it under root user, because another users cant user ports lower that 1234. So I have no problem with run jboss with port 80 and I can access my deployed application on localhost. But I cant access on jboss server if i try to connect from another computer. Tha strange thing is, that if I run apache web server on the same machine, under port 80, I can access it on localhost and also from another computer. So I think it canôt be problem with some firewall. Just to be sure I shutdown firewalls on both machines. I have windows XP and under it I run vmware workstation where I have openSuse 10.3 installed. I can ping linux machine from windows and windows machine from linux. As I saed I can access apache web server from windows if apache runs under linux on port 80. But I cant access jboss server from windows if it runs on linux under port 80. I think that it is some problem with jboss configuration. When I change configuration from port 8080 to port 80, I changed files jboss-4.2.2.GA\server\default\deploy\http-invoker.sar\META-INF\jboss-service.xml (I changed all 8080 to 80) and jboss-4.2.2.GA\server\default\deploy\jboss-web.deployer\server.xml (I changed only connector part) Thanks for some tips View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154134#4154134 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Switching DefaultDS in JBoss 5
I tried to browse around to find the files without setting up how to build but couldn't see them right off the bat. That is why I asked before going the JIRA route. Thanks, Stuart View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154135#4154135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Cannot access Jboss AS 4.2.2 GA on port 80 from another
Use the -b option to start JBoss. See this http://wiki.jboss.org/wiki/JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4154136#4154136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4154136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Quickstart green-on-black???!!!
Please contribute, if you are following the quickstart guide, it should be fairly easy to take a screenshot of your screen and send in a patch. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153841#4153841 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153841 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: 2.6.5 bin files not marked as executable
Come on "sh run.sh" View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153842#4153842 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153842 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Problem checking out from CVS repository
Hi I am doing the following: File->Import->CVS->Projects from CVS using exeisting repository location :pserver:[EMAIL PROTECTED]:/cvsroot/jbpm Use an existing module jbpm.3 Finish Then it tries to receive server response and after some time gives the error: *** cvs co -P -A "/jbpm.3" failed due to an internal error (took 31:00.734) Error: I/O has been interrupted. Error: The most likely cause of the interrupt is either an intermittent network failure or a communications timeout. Error: The CVS communications timeout can be adjusted in the Team/CVS preferences. Error: Another possible cause is the improper configuration of the "ext" connection method. Error: The "ext" connection method can be configured on the Team/CVS/EXT Connection Method preference page *** Can anyone help me in this?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153844#4153844 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM Java implementation; what does the ExecutionContext
Thank you for your quick reply, Ed. Even though "at least token-specific" doesn't rule out "at most ProcessInstance-specific", I tend to concur with you on this one. What you are saying makes sense, especially when one analyses the fields of ExecutionContext: Token, Event, Action, Node, Transition, etc. Also, one of the two constructors only takes a Token as a parameter. That being said, I think I can now manage to ask a more concrete question: In one of the tutorials, the one with the task assignment, the task node is defined like this: [...] | | | | | | [...] Then, the token starts moving through the workflow, arrives at our task node t. Then, a TaskInstance object is created and... _then something magic happens_ ... and the actor we specified in the implementation of NappyAssignmentHandler appears to be a field of our TaskInstance (actorId), even though the only thing we did in NappyAssignmentHandler was this: public void assign(Assignable assignable, ExecutionContext executionContext){ | assignable.setActorId("papa"); | } I don't see any direct assignment of "papa" to TaskInstance.actorId happening anywhere. Nor do I see any indirect, multi-stage version of this assignment. And anyway, how the hell did the executionContext or the assignable Parameters get their values? Was this done by the XML Parser? Is the ExecutionContext relevant for the values of TaskInstance fields? Or am I on the completely wrong path here? I'd really appreciate it if someone would explain to me how these "magic tricks" are performed. Thanks for reading! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153846#4153846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - jboss server issue while jboss messaging is running
java.lang.IllegalStateException: Could not find sufficient references after trying 20 times at org.jboss.messaging.core.plugin.JDBCPersistenceManager.getReferenceInfos(JDBCPersistenceManager.java(Compiled Code)) at org.jboss.messaging.core.ChannelSupport.load(ChannelSupport.java(Compiled Code)) at org.jboss.messaging.core.ChannelSupport.removeFirstInMemory(ChannelSupport.java(Compiled Code)) at org.jboss.messaging.core.ChannelSupport.deliverInternal(ChannelSupport.java(Compiled Code)) at org.jboss.messaging.core.ChannelSupport$DeliveryRunnable.run(ChannelSupport.java:1708) at EDU.oswego.cs.dl.util.concurrent.QueuedExecutor$RunLoop.run(QueuedExecutor.java(Compiled Code)) at java.lang.Thread.run(Thread.java:570) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153856#4153856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: EJB timers, server restarts and AOP
I tried it again on a minimal EJB and fresh installation of JBoss 4.2.2, and the same behaviour shows. I report here the files I used, and the installation steps: - Install JBoss 4.2.2 - Enable load time weaving - Put the .ear file in the default/deploy directory - Add pluggable-instrumentor.jar to /bin directory - Add pluggable-instrumentor.jar to classpath and as java option (-javaagent...) - Start JBoss - Run MiniEjbTest.jar, specifying a low delay - Observe in the JBoss output the messages from the interceptor - Run MiniEjbTest.jar, specifying a high delay - Shutdown and restart JBoss - Wait for the timer to fire, observing no message from the interceptor You can find the .EAR and the client .JAR at this URL: http://www.megaupload.com/?d=VBXFXVIK Ask me if you need the source or the netbeans 5.1.1 projects. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153858#4153858 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153858 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - JMS Transport Protocol
Hi Some simple questions: A) Has anyone ever tried implementing/using JMS as the underlying transport protocol for JBoss Remoting? B) Is there somewhere a guide on how to write a new transport protocol? Thanks & Regards Alex Chatziparaskewas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153862#4153862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Eclipse + JBoss Debug Mode issue
Hi, I am trying to run Jboss in Debug mode on eclipse to find the bugs. I am looking for good documentation steps to install Jboss IDE. (I am on Linux m/c), on my eclipse which already has tomcat configured in it. Hope I have posted at the right location for my requirement. Please let me know the available docs for updating jbosside plugin on eclipse sdk. http://docs.jboss.com/jbosside/install/build/en/pdf/JBossIDE-Install.pdf . This document did not give me complete details of configuration. Thanks in advance for your help in providing required documentaion. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153863#4153863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Not using SSL on localhost, using SSL externally
Why would the JBoss application I have seem to be connecting as an external host rather than internally over localhost? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153906#4153906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to specify process definition version
not at the moment. There is a jira issue for this. Please vote for it if you think it is important to you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153908#4153908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Installation Question
Hi, I am having some problems with the latest version of the Native implementation of JBoss Web Services. The installation scripts and the various tools, such as wsconsume, all seem to rely on jar files that are not included in the installation. The scripts refer to a client directory that is supposed to be located in the root of the JBoss home directory. Is there an additional download required? Have I missed something in the install process? Thanks in advance, Matt. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153910#4153910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Namespace issue for SEIs extending common interface
I was able to workaround this problem by adding a ReqestWrapper and ResponseWrapper annotations for the methods in WSVersionIF. I used the message skeletons generated by the wsprovide tool and used these classes in the wrapper annotations. My understanding is: For every SEI, jbossws generates operation message class skeletons in the ".jaxws" package and automatically adds annotations with the targetNamespace pointing to the SEI's targetNamespace. This approach fails when the common interface is used or inherited by multiple SEIs. In my case, when jbossws loads the first webservice, it tries to generate the operation message class skeletons for the common interface methods in the common interface package suffixed with ".jaxws" ( eg., com.ws.common.jaxws) and fixes the targetNamespace as mentioned in the first SEI. For subsequent webservices, it just checks whether such a message class(of common interface) already exists and tries to reuse the same message class and hence the targetNamespace of the first webservice is used for the common operations across other webservices. So I tried manually creating a operation message class for the common interface and explicitly mentioned that thro the RequestWrapper and ResponseWrapper annotations and found things are working as required. Pls let me know whether this is a right solution and also pls confirm whether it voilates any wsdl/jaxws specs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153911#4153911 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Access to task instance
anonymous wrote : by this you mean that this issue is related to webconsole only. Yes anonymous wrote : should the developers who integrate the jpdl package has to do this on their own in their application if they are not using webconsole. Yes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153912#4153912 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: NullPointerException from JBossXSEntityResolver
Now I patched "JBossXSEntityResolver" - it seems to work ;) @@ -164,6 +164,7 @@ private XMLInputSource getXMLInputSource(InputSource inputSource, XMLResourceIdentifier resId) { + if (inputSource == null) return null; String encoding = inputSource.getEncoding(); InputStream byteStream = inputSource.getByteStream(); return new XMLInputSource(resId.getPublicId(), resId.getExpandedSystemId(), resId.getBaseSystemId(), byteStream, encoding); View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153883#4153883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Porting application from JBoss 3.2.7 to 4.2.2
Hallo I am trying to port an application which was developed against and is running on JBoss 3.2.7 to JBoss 4.2.2.GA. The first problem I have encountered, is that the container-configuration "Standard BMP EntityBean with cache invalidation" is missing in 4.2.2.GA 1.) Is there a reseaon why this configuration is not present in standardjboss.xml of 4.2.2? 2.) Can I simply copy the configuration from the old standardjboss.xml into the 4.2.2 version? Are there any issues, problems which I have to consider? Thanks, Hans View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153879#4153879 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Additional field in SELECT of native query changes result.
Hello, I am using JBOSS 4.2 with a MySql database. I am running a native query through the entity manager (the query is messy but I will post if anybody wants to see all of it). Running the query through the MySQL query browser produces the expected results. However, when running it with the entity manager, adding a field into the select clause changes the result. For example, SELECT loan.id, account1.balance // rest of nasty query loan.id account1.balance ... 177 456.229 (correct result) ... Select loan.id, account2.balance, account1.balance loan.id account2.balance account1.balance ... 177 123.44 123.44 (correct result for account 2, but not for account 1) ... The queries don't differ in anything except the select statement, and it seems that the wrong values are somehow being overwritten. Has anybody seen something like this before or can you offer some suggestions? Thanks for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153914#4153914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Splitter vs. fork
Thank you for reply. I have not tested that but it seems to be what I want from source code. Thank you very much Pavel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153902#4153902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: How to specify the war unzipping directory ?
You should configure Apache + Jboss with mod_jk You should deploy web-app under folder deploy of jboss. Can you put alla fine under web-app. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153882#4153882 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: EJB timers, server restarts and AOP
Thanks, I don't think we'll be able to look at this right away, but will definitely try to take a look over the next few weeks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153880#4153880 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Switching DefaultDS in JBoss 5
I have been trying to find out how to perform various tasks that I'm familiar with in JBoss 4.x in JBoss 5. One thing I have not been able to figure out is how to switch the datasource used for messaging to another database besides Hypersonic. I understand the steps described here: http://wiki.jboss.org/wiki/ConfigMessagingDB but that is not the issue. I don't know where to find the relevant XXX-persistence-service.xml files for whatever database we need. I can see the hsqldb-persistence-service.xml file in the deploy/messaging folder but no equivalent to replace this with. In the past these persistence files were in the docs/examples/jms folder but there is nothing equivalent to these files in JBoss 5. I didn't want to open a JIRA before asking because perhaps I'm just missing something. Thanks, Stuart Smith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153866#4153866 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153866 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Configuring JbossIDE plugin
Hi, I am trying to cluster my Jboss deployed a war file written using ECHO2 and Hibernate. There are some issues to be solved in the source of ECHO2. For that I need to run the war in Jboss in Debug mode. My m/c is running on LINUX. Please let me know where I can find proper documentation for configuring JbossIDE plugin in my current eclipse which already has Tomcat. I did nt find complete documentation in http://docs.jboss.com/jbosside/install/build/en/pdf/JBossIDE-Install.pdf Thank you in advance. Praveena. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153865#4153865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Returning an object in webservice method
It is possible to return an object in a webservice method? | public Object getObject(); | I use a stateless session bean as a webservice endpoint. All my tries ended in the following exception: class ... nor any of its super class is known to this context. Thanks a lot for help! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4153901#4153901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4153901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - different version of Hibernate in .ear file on JBoss
Hi, I have a problem with different version of Hibernate which I put to lib directory in .ear file. I have JBoss 4.2.2 and I need to use Hibernate 3.2.6.GA. First it was ClassCastException which appears when jboss was deploing .jar with EJB classes, but i figure out that apart from Hibernate libraries and it dependancies I must include also jboss-j2ee.jar and jbosssx.jar. Now I have a NullPointerException. | Problem creating service jboss.j2ee:service=EJB3,module=my-ejb.jar | java.lang.NullPointerException | at org.jboss.ejb3.security.JaccHelper.initialiseJacc(JaccHelper.java:73) | at org.jboss.ejb3.Ejb3JmxDeployment.createPolicyConfiguration(Ejb3JmxDeployment.java:53) | at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:325) | at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77) | at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) | at sun.reflect.GeneratedMethodAccessor13.invoke(Unknown Source) | 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.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) | at $Proxy0.create(Unknown Source) | at org.jboss.system.ServiceController.create(ServiceController.java:330) | at org.jboss.system.ServiceController.create(ServiceController.java:273) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | 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.server.Invocation.invoke(Invocation.java:86) | 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 $Proxy33.create(Unknown Source) | at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:492) | 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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) | at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.create(DeployerInterceptor.java:76) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91) | 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 $Proxy34.create(Unknown Source) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:959) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss