[jboss-user] [jBPM Users] - Re: jBPM 4.2 architecture questions
Thank everybody for answers kukeltje wrote : 3: yes but it does not rely on e.g. jboss clustering. jBPM uses a shared database Does it mean developer can configure 2 level cache implementation or even turn off it? And are there any internal JBPM caches that should be configured in cluster environment. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268684#4268684 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268684 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: Server-side authentication with Kerberos/ActiveDirectory
Found it! Just a gap in my understanding. After reading the Chapter 8 over and over again, I found the missing link. Thanks for letting me getting behind it :-) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268690#4268690 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268690 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Using different SSL Connectors
Hi all, I've configured two different SSL Connectors on the same JBoss instance, one of them without client authentication (port 443), and the other with client authentication (mutual certificate exchange, on port 4433). On the other hand, I have two different Web Applications (two .WAR files) installed on that JBoss instance. I've configured each web.xml file with the CONFIDENTIAL flag, that indicates that a SSL connector is required (on both applications). The problem is, how could I specify that one applications must work only on port 443 (without client authentication), and the other application must work only on port 4433 (with client authentication) ? Is running two different JBoss instances the only solution? Does anyone have experience with that? Thanks! Ernesto. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268692#4268692 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268692 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Variable missing in assignment handler
Yes all we pass is ids for the domain model objects, however to have to pre-define those in a process definition is restrictive and complicates code updates. However obviously I will have to live with it, I'm surpirsed not many people have requested a change. Thanks for the response! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268700#4268700 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268700 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - 4.0.5GA - JMS not working, clustered environment
Hi! We are having troubles with JMS in all instance of JBoss. We have 2 JBoss server in cluster with ApacheMod-JK load balancer. Those 2 nodes operates as operational and standby node (so not classical load balancing). The architecture is simple: Web node comunnicates through JMS with another servers behind firewall. Before putting nodes into cluster we were using default configuration and JMS worked correctly. Now the problem, I've moved our app into all instance (because of clustering) and JMS has stopped working with such exception: 2009-12-02 17:26:31,378 ERROR [STDERR] java.lang.IllegalArgumentException: object is not an instance of declaring class | 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.ha.framework.interfaces.HARMIClient.invoke(HARMIClient.java:258) | at $Proxy69.lookup(Unknown Source) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) I've done some digging and found that I cannot use QueueConnectionFactory as JNDI name when doing the lookup, but java:/JmsXA. When I tried, I've obtained this: 2009-12-02 17:15:27,897 ERROR [STDERR] javax.naming.NameNotFoundException: JmsXA not bound | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) | at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) | at org.jnp.server.NamingServer.getObject(NamingServer.java:543) | at org.jnp.server.NamingServer.lookup(NamingServer.java:296) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) | at javax.naming.InitialContext.lookup(InitialContext.java:351) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268709#4268709 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268709 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: 4.0.5GA - JMS not working, clustered environment
I thought it may be caused due to the hasingleton JMS implementation; I've deleted hasingleton implementation and placed default/deploy/jms into all/deploy/jms for I've found it's possible to do (here in the forums). It didn't help :) Any ideas? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268710#4268710 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat Integration] - Re: jbossweb-tomcat.sar upgrade to Tomcat 5.5.28
Does somebody know answer on this question? A link posted by Frederic links back to this post :-( View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268725#4268725 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering] - Re: RMI in cluster environment
I'm not sure what you're using RMI for exactly these days since EJBs and JNDI are accessed via JBoss Remoting these days, and have no idea what AS version you're using but there's some documentation already available wrt accessing this stuff via firewalls: http://www.jboss.org/community/wiki/EJBJMSandJNDIoverHTTPviaNATFirewallwithUnifiedInvoker View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268737#4268737 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268737 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Samples for calling BPEL process from Java
I'm looking for samples/examples for how to call BPEL process from Java. I want to have a webpage in JSP and exchange messages with a BPEL process. I've looked all over the documentation available on this site, and also elsewhere; but, couldn't find anything useful. I must have missed something. Please help. In case it helps, I'm using: JBossAS 4.2.3GA, JBPM-BPEL1.1.1, JDK 1.5, JWSDP2.0, MySQL5.1, Ant1.7.1. I'm new to this technology, and so far, I've been in successful in configuring MySQL to work with JBoss (very good documentation available here). I've been successful in creating some of my own processes (beginner level) and successfully deploy and test run them. Now, I've this scenario of calling a BPEL process from webpage. Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268740#4268740 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268740 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR
Since you are new to EJB3, the best place to start is, looking at the tutorials. Download AS 5.1.0 and try these tutorials http://www.jboss.org/file-access/default/members/jbossejb3/freezone/docs/tutorial/1.0.7/html/index.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268748#4268748 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268748 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [Management, JMX/JBoss] - Jmx port automatic binding
Hi, On Mon, Jul 13, 2009 at 09:12:36AM -0400, remnet wrote: i try to launch multiple jboss servers, each one with a jmx (rmi) different port. i found the JAVA_OPT setings to activate and bind the agent to one specific port (JAVA_OPTS -Dcom.sun.management.jmxremote.port=x) but i'd like to know if i can (and how to) use the binding services to proceed like any over default port with a constant port offset like many other services. i also need something like this, because i would like to run multiple jboss instances on the same host i would like no minimize my configuration efforts. I´m planning a setup multiple jboss jvms running at the same host - it would be convinient to use an automated port configuration scheme like describe in http://www.jboss.org/community/wiki/ConfigurePorts. Same thing for accounts, roles and ssl-certificates. Is there documentation available for this? Gruß Marc -- http://www.xing.com/profile/Marc_Schoechlin/ jabber: m...@256bit.org ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: does not contain port: null
i know this is quite an old topic but i'm having exactly the same problem did you get this to work? the wird thing is... at the development envirolment it works... but find what's wrong tks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268752#4268752 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268752 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Which version of el-api?
Hello, Can me say anybody which version of unified expression language (javax.el) is located in JBoss 5.0.1 AS? I found the file el-api.jar under common/lib, but cann't figure out the version. I need the 2.1.2-b04 version or higher. Another question - If we build a JSF web application, we need jsf-api and jsf-impl jar files. Are they not already in JBoss 5.0.1 AS classpath? Thanks. Best regards. Oleg. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268753#4268753 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268753 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Samples for calling BPEL process from Java
If anyone can tell me if this kind of samples are available and point to those, that would be great. If anyone from dev community confirm if this kind of samples exist or not, that would be great too. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268754#4268754 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268754 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: jboss Web-Console Memory
PeterJ wrote : | | What do you mean? I gave you a few suggestions for things you could try, and you indicated that none of those were possible. You mentioned a prior discussion but gave no link to that discussion. (No, I will not search for that discussion - it is your responsibility to provide clear information so that we can help you solve your problem.) So if you cannot do the things that would help you, what would you have me do? | | Sorry Peter i extreamly sorry for the trouble, and also i apologize for the late reply. PeterJ wrote : | | Either use a memory profiler (jmap, VisualVM, Eclipse MAT), or run one app at a time. Hmm, you have AS 3.2.5, which JDK? Most of the tools I am familiar with need JDK 5 or 6. And what OS? My jdk is 5 and os is linux. If i am using one of the profiler is it required to increase anthing in my server level View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268757#4268757 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268757 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Jboss Upgradation
The issue got solved. One tomcat process is running in that port. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268764#4268764 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268764 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: 2 persistence.xml files in EAR archive
The details are a bit long to post here. Chapter 6 of the EJB3 Persistence spec has all these details, so that would be a better place to check this. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268765#4268765 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268765 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: Logging an EJB jar deployed under JBoss
Sorry, i did not completely understand what you are trying to do and what issues you are running into. Please post the details with an example maybe. But looking at the details that you have posted, i guess a better place to ask this question in the AS User forum http://www.jboss.org/index.html?module=bbop=viewforumf=287 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268767#4268767 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268767 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployment related Issue
I didnt't made nay changes but it started working. Let me observe it in production env. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268769#4268769 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268769 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [Management, JMX/JBoss] - Jmx port automatic binding
Hi, On Thu, Dec 03, 2009 at 01:27:20PM +0100, Marc Schoechlin wrote: On Mon, Jul 13, 2009 at 09:12:36AM -0400, remnet wrote: i try to launch multiple jboss servers, each one with a jmx (rmi) different port. i found the JAVA_OPT setings to activate and bind the agent to one specific port (JAVA_OPTS -Dcom.sun.management.jmxremote.port=x) but i'd like to know if i can (and how to) use the binding services to proceed like any over default port with a constant port offset like many other services. i also need something like this, because i would like to run multiple jboss instances on the same host i would like no minimize my configuration efforts. I´m planning a setup multiple jboss jvms running at the same host - it would be convinient to use an automated port configuration scheme like describe in http://www.jboss.org/community/wiki/ConfigurePorts. Same thing for accounts, roles and ssl-certificates. I´m using JBOSS AS 5.1GA ;-) Best regards Marc Schöchlin -- jabber: m...@256bit.org ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Deployed application steals logging from JBoss. How to prote
I deployed war/ear application to JBoss 4.2. When I boot JBoss logging is OK on console and in file. When application starts, logging to console and server.log stops. All logs are now taken over by application. How I can protect JBoss against logs hijack by deployed applications on server side without touching applications code/log4j? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268773#4268773 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268773 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security] - Re: ClientLoginModule in a multi-threaded swing client
I found the same bug in JBoss 5.1.0GA (bundled with jbosssx-client.jar, version 2.0.3.SP1): Security context is lost in client (multi-threaded swing) application started via java web start, when I perform ejb3 call on different thread, from which I have performed login() on start of the application (login() was perfomed on thread created by java webstart for calling main() method, this thread has been destroyed after finish of main method). Although I have configured: org.jboss.security.ClientLoginModule required multi-threaded=false; Security context is still stored in thread-related storage, what is wrong. After 2 days of remote debugging internals jboss client security library I found problem in static variable SERVER of class org.jboss.security.SecurityContextAssociation, which has declaration: private static boolean SERVER = true; This value is not changed during the run of client application therefore security context is stored in thread local place. Simple workaround which works is to call method SecurityContextAssociation.setClient() before login() method. This bug occured in JBoss 5.1.0GA (jbosssx 2.0.3.SP1) there are already bugfixes which could possibly fix it in newer version of security library, e.g.: https://jira.jboss.org/jira/browse/SECURITY-415, I do not know, it is up on the JBoss people to resolve if it is still valid issue to solve. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268774#4268774 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268774 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Performance JBoss 4.2.3 compared to JBoss 4.0.2
Hello, i finally upgraded from JBoss 4.0.2 to JBoss 4.2.3. Unfortunately i noticed that the performance of my application decreased significantly. When i test my application on the same hardware, same VM, ... it can create about 850 database rows per second when using JBoss 4.0.2 and only about 400 per second when using JBoss 4.2.3. The application contains a servlet that takes requests (to create data) in the database and stores these requests (over a stateless session EJB) on a JBoss Messaging Queue. The requests will be read from that queue by a message driven bean which will create the data in the database. Under JBoss 4.0.2 the application creates about twice as much rows per second compared to JBoss 4.2.3. The application uses Hibernate, no EJB 3. The CPU usage and memory usage of the java (jboss) and mysqld processes is much higher for a similar load under JBoss 4.2.3. Does anybody have any idea why this is happening? I'm using Dell PowerEdge R610 servers with Fedora Core 11 (64 bit), Sun's JRE 1.6.0_16 and a MySQL Cluster database (5.1.37 - 7.0.8a). Under JBoss 4.0.2 i'm using JBoss Messaging 1.2.0 and under JBoss 4.2.3 i'm using JBoss Messaging 1.4.5. I would give JBoss 5.1 a try but i'm stuck with the problem described in this post: https://forum.hibernate.org/viewtopic.php?f=1t=999881view=next. With kind regards, Erwin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268777#4268777 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268777 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB] - Re: Memory Leak in JBoss EJB
This issue looks similar to https://jira.jboss.org/jira/browse/EJBTHREE-1442 fixed in JBoss5. The fix date is Sept/08 while 4.2.3 was released in July/08, so it won't contain that fix (assuming the bug was present in 4.2.x?). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268792#4268792 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Which version of el-api?
Sorry, I meant JBoss 5.1.0 GA AS. I found JSF jars under server\default\deploy\jbossweb.sar\jsf-libs Just not clear with the version of el-api. Is it 2.0.x or 2.1.x ? It's important to know because new syntax for method invocations in EL works with 2.1.x and doesn't work with 2.0.x. Thanks. Oleg. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268796#4268796 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268796 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - Re: exo Portal, JBoss Portlet Bridge, RichFaces, Seam: a bit
Thanks Thomas. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268798#4268798 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: jBPM 4.2 architecture questions
No jBPM caches, and 2nd level cache can be used e.g. in a clustered way if you want. By default second level cache is only used for processdefinitions afaik in a read-only way View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268799#4268799 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] LDAP Password protection for JBOSS
Hi, I would like to protect all my HTTP-webcontent (especially the administrative pages) available on my jboss 5.1 server by using basic-auth in combination with a ldap-server. Additionally it would be nice to protect also remote jmx access by ldap passwords. Where can I find detailed documentation about: - how this can be configured - how I can assign ldap-users to jboss roles - how I can map ldap-groups to jboss-roles If there is now detailed documentation, do you have configuration examples? Best regards Marc Schöchlin -- http://www.xing.com/profile/Marc_Schoechlin/ jabber: m...@256bit.org ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Variable missing in assignment handler
Hi, I have successfully copied the super-process variables into the sub-process using the variable element in the process definition. Chapter 18 Table 18.8 of the User Guide states variable - specifies how data should be copied from the super process to the sub process at the start and from the sub process to the super process upon completion of the sub process. In the process state (sub-process) below, I have em-ref and card-id copied from super-process to sub-process with no problems. However I also took it to mean that barcode-data would be copied from sub-process back to super-process on sub-process completion. This is not the behaviour I'm experiencing! Have I misunderstood the spec? | process-state name=Encode Barcode App | sub-process name=encodebarcodeapp/sub-process | variable name=em-ref access=read / | variable name=card-id access=read / | variable name=barcode-data access=read / | transition to=join1/transition | /process-state | Any help appreciated! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268816#4268816 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268816 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - Re: JBoss 4.2.2 JDK1.5 Webservice user-defined Exception han
I finally got this to work. I followed this excellent article on how to handle user-defined exceptions in webservices. http://io.typepad.com/eben_hewitt_on_java/2009/07/using-soap-faults-and-exceptions-in-java-jaxws-web-services.html View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268830#4268830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268830 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 lookup from Pojo and Injection
anonymous wrote : JNDI lookup for a STATELESS session bean i the same transaction will return the SAME instance as a previous call ?? No. Stateless beans are kept in a pool; each time you ask for one via JNDI you could get a different instance. If you need a single bean, then look it up once and pass it to the methods that need to interact with it. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268831#4268831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268831 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: EJB 3.0 lookup from Pojo and Injection
Hi, anonymous wrote : I need this information (about changed entity) to inform my Swing client which records was updated This could be achieved be a Topic Queue. The ID changed message is posted by the EJB, and all swing clients register to it. Hope this helps Wolfgang View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268835#4268835 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268835 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Which version of el-api?
Here is a line from the META-INF/MANIFEST.MF file in jsp-api.jar: Import-Package: javax.el;version=2.1,... Thus it would appear that this JAR contains EL 2.1 By the way, examining the manifest.mf jar is usually the best way to determine the version number of any components. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268836#4268836 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: jboss Web-Console Memory
anonymous wrote : My jdk is 5 and os is linux. Good. You can use the jmap utility to dump the heap. And install VisualVM - you can download it separately or get it as part of JDK 6 (yes, you can have both JDK 5 and 6 installed at the same time and still use JDK 5 for JBoss AS - just set JAVA_HOME correctly.) Use VisualVM to load the heap dump - it has pretty decent tools for examining the heap contents. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268838#4268838 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268838 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Deployed application steals logging from JBoss. How to p
You are going to have to first figure out how that app does logging, only then can you come up with a plan to prevent the log hijacking. What app is it? Where did you get it from? If you bought it, have you asked the people you bought it from about this issue? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268839#4268839 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268839 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: cant generate entities from seam
Is this issue being tracked in JIRA somewhere? Is it assigned to be fixed? I just ran into this issue with JBoss Tools 3.1 M4 and unfortunately I cannot remove the space from the project name without violating corporate standards. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268840#4268840 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268840 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Web Services Users] - web service called from a portlet
Hi i have writen a simple webservice with axis2 under eclipse that calculates a random number and have deployed it on jboss.I can also see the wsdl description of the web service in the browser. I have also written a normal portlet that has a text field and a tree. when a node in the tree is clicked the method nodeSelected in the treeBean is called which calls the webservice and saves the value in a variable that is used from the textfield.so the new value should be shown in the text field. but this doesn't happen The portlet is beeing deployed so i can create an instance of it and also shown in the portal but when i click on any node of the tree a lot of errors shows up. I tried it on tomcat(just the webservice and the webapplication not as portlet) and everything works fine, with no errors and the response of the webservice is beeing showed in the text field. I have jboss-portal-2.7.2 installed. the portlet works fine if i don't have webservices The errors i get when deploying are: | 17:22:26,968 INFO [TomcatDeployer] deploy, ctxPath=/ServiceMitarbeiterPlus_IceF | aces(Portlet)_WebService, warUrl=.../tmp/deploy/tmp9935ServiceMitarbeiterPlus_Ic | eFaces(Portlet)_WebService-exp.war/ | 17:22:39,187 INFO [STDOUT] [INFO] | ICEsoft Technologies, Inc. | ICEfaces 1.8.2 | Build number: 7 | Revision: 19321 | 17:22:40,359 INFO [STDOUT] [INFO] ViewRootStateManagerImpl constructed with Del | egate: com.sun.faces.application.statemanageri...@18f2af0 | 17:22:46,218 INFO [STDOUT] [INFO] Clustering has been disabled | 17:23:08,453 INFO [STDOUT] [INFO] Deploying module: addressing-1.5.1 - file:/C: | /Programme/JBoss Application Server/jboss-portal-2.7.2/server/default/./tmp/depl | oy/tmp9935ServiceMitarbeiterPlus_IceFaces(Portlet)_WebService-exp.war/WEB-INF/mo | dules/addressing-1.5.1.mar | 17:23:08,609 INFO [STDOUT] [INFO] Deploying module: metadataExchange-1.5.1 - fi | le:/C:/Programme/JBoss Application Server/jboss-portal-2.7.2/server/default/./tm | p/deploy/tmp9935ServiceMitarbeiterPlus_IceFaces(Portlet)_WebService-exp.war/WEB- | INF/modules/mex-1.5.1.mar | 17:23:08,640 INFO [STDOUT] [INFO] Deploying module: mtompolicy-1.5.1 - file:/C: | /Programme/JBoss Application Server/jboss-portal-2.7.2/server/default/./tmp/depl | oy/tmp9935ServiceMitarbeiterPlus_IceFaces(Portlet)_WebService-exp.war/WEB-INF/mo | dules/mtompolicy-1.5.1.mar | 17:23:08,687 INFO [STDOUT] [INFO] Deploying module: ping-1.5.1 - file:/C:/Progr | amme/JBoss Application Server/jboss-portal-2.7.2/server/default/./tmp/deploy/tmp | 9935ServiceMitarbeiterPlus_IceFaces(Portlet)_WebService-exp.war/WEB-INF/modules/ | ping-1.5.1.mar | 17:23:08,765 INFO [STDOUT] [INFO] Deploying module: script-1.5.1 - file:/C:/Pro | gramme/JBoss Application Server/jboss-portal-2.7.2/server/default/./tmp/deploy/t | mp9935ServiceMitarbeiterPlus_IceFaces(Portlet)_WebService-exp.war/WEB-INF/module | s/scripting-1.5.1.mar | 17:23:08,796 INFO [STDOUT] [INFO] Deploying module: soapmonitor-1.5.1 - file:/C | :/Programme/JBoss Application Server/jboss-portal-2.7.2/server/default/./tmp/dep | loy/tmp9935ServiceMitarbeiterPlus_IceFaces(Portlet)_WebService-exp.war/WEB-INF/m | odules/soapmonitor-1.5.1.mar | 17:23:08,937 INFO [STDOUT] [WARN] Exception extracting jars into temporary dire | ctory : java.io.FileNotFoundException: C:\Programme\JBoss Application Server\jbo | ss-portal-2.7.2\server\default\.\tmp\deploy\tmp9935ServiceMitarbeiterPlus_IceFac | es(Portlet)_WebService-exp.war\WEB-INF (Zugriff verweigert) : switching to alter | nate class loading mechanism | 17:23:08,953 INFO [STDOUT] [INFO] Deploying Exception Occured with java.io.File | NotFoundException: C:\Programme\JBoss Application Server\jboss-portal-2.7.2\serv | er\default\.\tmp\deploy\tmp9935ServiceMitarbeiterPlus_IceFaces(Portlet)_WebServi | ce-exp.war\WEB-INF (Zugriff verweigert) | java.lang.RuntimeException: java.io.FileNotFoundException: C:\Programme\JBoss Ap | plication Server\jboss-portal-2.7.2\server\default\.\tmp\deploy\tmp9935ServiceMi | tarbeiterPlus_IceFaces(Portlet)_WebService-exp.war\WEB-INF (Zugriff verweigert) | at org.apache.axis2.deployment.util.Utils.findLibJars(Utils.java:829) | at org.apache.axis2.deployment.util.Utils.createClassLoader(Utils.java:8 | 82) | at org.apache.axis2.jaxws.framework.JAXWSDeployer.deployServicesInWARCla | ssPath(JAXWSDeployer.java:100) | at org.apache.axis2.jaxws.framework.JAXWSDeployer.init(JAXWSDeployer.jav | a:80) | at org.apache.axis2.deployment.DeploymentEngine.initializeDeployers(Depl | oymentEngine.java:989) | at org.apache.axis2.deployment.DeploymentEngine.setConfigContext(Deploym | entEngine.java:981) | at org.apache.axis2.deployment.WarBasedAxisConfigurator.setConfigContext | (WarBasedAxisConfigurator.java:350) | at
[jboss-user] [jBPM Users] - Re: Variable missing in assignment handler
Hi All, I think the problem was that I had to mark the variables to be written back to the super-process as; variable name=barcode-data access=read,write / View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268844#4268844 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268844 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - JBPM User Task - Forms
Hi, Background -- I am using JBPM 4.2 and I am able to deploy, start simple processes i.e. from one task to another using decisions, java etc. I am not using JBPM provided Console, and have built a self made simple console to check the status of each process. Problem -- I am trying to run a process which will involve human task. So started with task form example provided with JBPM. The process is deployed successfully but when it starts, it does not invoke the '.ftl' file. How should i get this working ? The status shows start time but no end time My files (*.jpdl.xml and *.ftl) are in WEB-INF/classes/com/jbpm/test/process/ folder in my war. JPDL | ?xml version=1.0 encoding=UTF-8? | | process name=VacationRequest xmlns=http://jbpm.org/4.2/jpdl; | start form=com/jbpm/test/process/request_vacation.ftl g=16,56,48,48 name=start | transition to=verify_request/ | /start | task form=com/jbpm/test/process/verify_request.ftl g=96,54,178,52 name=verify_request | transition g=-34,9 name=reject to=vacation_rejected/ | transition g=-46,-26 name=accept to=vacation_accepted/ | /task | end g=306,16,48,48 name=vacation_accepted/ | end g=306,96,48,48 name=vacation_rejected/ | /process | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268849#4268849 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268849 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: EJB3.0 deployment failing in Jboss5.1.0GA
If you can share this application, then please attach it to https://jira.jboss.org/jira/browse/EJBTHREE-1969, so that we can investigate the cause of: Caused by: java.lang.IllegalStateException: Null beannMetaData | at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:315) | at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.initialise(BeanInterceptorMetaDataBridge.java:235) | at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.(BeanInterceptorMetaDataBridge.java:138) | at org.jboss.ejb3.interceptors.metadata.AdditiveBeanInterceptorMetaDataBridge.(AdditiveBeanInterceptorMetaDataBridge.java:48) | at org.jboss.ejb3.aop.BeanContainer.initialize(BeanContainer.java:194) | at org.jboss.ejb3.EJBContainer.(EJBContainer.java:249) | ... 45 more | Caused by: java.lang.NullPointerException | at org.jboss.ejb3.interceptors.metadata.BeanInterceptorMetaDataBridge.setupMetaDataLists(BeanInterceptorMetaDataBridge.java:268) | ... 50 more View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268852#4268852 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache Users] - Re: Can't acquire lock in 0 ms
I've opened a JIRA for this, mostly about the semantic with INVALIDATION_ASYNC: https://jira.jboss.org/jira/browse/JBCACHE-1559 With INVALIDATION_SYNC, I wasn't too clear. Neither transaction is going to succeed in putting the cache in a consistent state. That fact needs to propagate to the caller so it can decide what to do; hence the TimeoutException being thrown. This will happen whether the timeout is 0 ms or 1000 ms; setting the timeout to 0 ms is just to cause the inevitable to happen quickly. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268853#4268853 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jbpm 4.2] Finding a Process Instance
Hi Santanu Thanks for your respnse. When i use this statement in my code, i am getting the below exception. org.jbpm.api.JbpmException: no environment to get org.hibernate.Session at org.jbpm.pvm.internal.env.Environment.getFromCurrent(Environment.java:196) at org.jbpm.pvm.internal.env.Environment.getFromCurrent(Environment.java:189) at org.jbpm.pvm.internal.query.AbstractQuery.untypedList(AbstractQuery.java:63) at org.jbpm.pvm.internal.query.AbstractQuery.untypedUniqueResult(AbstractQuery.java:68) at org.jbpm.pvm.internal.query.ProcessInstanceQueryImpl.uniqueResult(ProcessInstanceQueryImpl.java:43) at com.kenexa.core.workflow.CoreWorkflowExecutionService.getCurrentActiveStepName(CoreWorkflowExecutionService.java:228) at com.kenexa.core.workflow.CoreWorkflowExecutionService.initiateWorkflow(CoreWorkflowExecutionService.java:71) at com.kenexa.perform.web.actions.goals.ManageGoalActionImpl.save(ManageGoalActionImpl.java:130) 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) Then changed the statment from ProcessInstanceQuery query = new ProcessInstanceQueryImpl(); to ProcessInstanceQueryImpl lProcessInstanceQuery = (ProcessInstanceQueryImpl) WorkflowUtil.getExecutionService().createProcessInstanceQuery(); I am not sure, is it the correct way of getting ProcessInstanceQuery? Also once the ProcessInstance is started, i want to get the current activity name from process instance. Is there any method avaialble in ProcessInstance? Please suggest me. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268859#4268859 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: cant generate entities from seam
Iron (space) Duck: If on linux or mac, try symlinking the actual folder to a renamed one w/o spaces, then delete the project from the workspace (but do not delete) and File Import existing project to the spaceless project. If on windows (or you don't like symlinks), remove the project from your workspace (but do not delete). Then edit the .project file to change the name to something w/o spaces. File Import existing project to the spaceless project. Can I see a copy of your corporate standards which states Eclipse Workspace Projects Must Have Spaces In Their Names ? Sounds like something that BOFHs the world over would love to have written. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268862#4268862 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: cant generate entities from seam
Oh, and FYI, I believe this is an Eclipse bug, not a JBoss Tools one. Maybe this will finally be fixed in Eclipse 4.0 (e4). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268863#4268863 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Problem to run jBPM under jBoss and searching for PVM docume
Hi all and nice to meet you! I'm new here but I think that I'll write many many posts! I started work of my master thesis based on jBPM so I hope to find support here :) ! To start I've two questions: 1) I installed manually jBPM version 4.2 on jBoss 5.1.0GA then I went to folder C:\jboss-5.1.0GA\bin\ and typed run -c jbpm. I received the follow error message: Calling C:\jboss-5.1.0.GA\bin\run.conf.bat | === | | JBoss Bootstrap Environment | | JBOSS_HOME: C:\jboss-5.1.0.GA | | JAVA: c:\program files (x86)\java\JDK1.6.0_17\bin\java | | JAVA_OPTS: -Dprogram.name=run.bat -Xms128M -Xmx512M -XX:MaxPermSize=256M -Dsun | .rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Dorg | .jboss.resolver.warning=true -server | | CLASSPATH: C:\jboss-5.1.0.GA\bin\run.jar | | === | | 20:58:52,953 INFO [ServerImpl] Starting JBoss (Microcontainer)... | 20:58:52,956 INFO [ServerImpl] Release ID: JBoss [The Oracle] 5.1.0.GA (build: | SVNTag=JBoss_5_1_0_GA date=200905221634) | 20:58:52,957 INFO [ServerImpl] Bootstrap URL: null | 20:58:52,959 INFO [ServerImpl] Home Dir: C:\jboss-5.1.0.GA | 20:58:52,960 INFO [ServerImpl] Home URL: file:/C:/jboss-5.1.0.GA/ | 20:58:52,961 INFO [ServerImpl] Library URL: file:/C:/jboss-5.1.0.GA/lib/ | 20:58:52,962 INFO [ServerImpl] Patch URL: null | 20:58:52,963 INFO [ServerImpl] Common Base URL: file:/C:/jboss-5.1.0.GA/common/ | | 20:58:52,964 INFO [ServerImpl] Common Library URL: file:/C:/jboss-5.1.0.GA/comm | on/lib/ | 20:58:52,965 INFO [ServerImpl] Server Name: jbpm | 20:58:53,019 INFO [ServerImpl] Server Base Dir: C:\jboss-5.1.0.GA\server | 20:58:53,020 INFO [ServerImpl] Server Base URL: file:/C:/jboss-5.1.0.GA/server/ | | 20:58:53,022 INFO [ServerImpl] Server Config URL: file:/C:/jboss-5.1.0.GA/serve | r/jbpm/conf/ | 20:58:53,023 INFO [ServerImpl] Server Home Dir: C:\jboss-5.1.0.GA\server\jbpm | 20:58:53,024 INFO [ServerImpl] Server Home URL: file:/C:/jboss-5.1.0.GA/server/ | jbpm/ | 20:58:53,026 INFO [ServerImpl] Server Data Dir: C:\jboss-5.1.0.GA\server\jbpm\d | ata | 20:58:53,027 INFO [ServerImpl] Server Library URL: file:/C:/jboss-5.1.0.GA/serv | er/jbpm/lib/ | 20:58:53,032 INFO [ServerImpl] Server Log Dir: C:\jboss-5.1.0.GA\server\jbpm\lo | g | 20:58:53,033 INFO [ServerImpl] Server Native Dir: C:\jboss-5.1.0.GA\server\jbpm | \tmp\native | 20:58:53,089 INFO [ServerImpl] Server Temp Dir: C:\jboss-5.1.0.GA\server\jbpm\t | mp | 20:58:53,091 INFO [ServerImpl] Server Temp Deploy Dir: C:\jboss-5.1.0.GA\server | \jbpm\tmp\deploy | 20:58:54,137 INFO [ServerImpl] Starting Microcontainer, bootstrapURL=file:/C:/j | boss-5.1.0.GA/server/jbpm/conf/bootstrap.xml | Failed to boot JBoss: | java.lang.RuntimeException: Error unmarshalling file:/C:/jboss-5.1.0.GA/server/j | bpm/conf/bootstrap.xml | at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:60 | ) | at org.jboss.bootstrap.microcontainer.ServerImpl.doStart(ServerImpl.java | :123) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java: | 450) | at org.jboss.Main.boot(Main.java:221) | at org.jboss.Main$1.run(Main.java:556) | at java.lang.Thread.run(Thread.java:619) | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: file:/ | C:/jboss-5.1.0.GA/server/jbpm/conf/bootstrap.xml | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars | er.java:177) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java | :119) | at org.jboss.bootstrap.xml.BootstrapParser.parse(BootstrapParser.java:53 | ) | ... 5 more | Caused by: java.io.FileNotFoundException: C:\jboss-5.1.0.GA\server\jbpm\conf\boo | tstrap.xml | at org.jboss.net.protocol.file.FileURLConnection.connect(FileURLConnecti | on.java:105) | at org.jboss.net.protocol.file.FileURLConnection.getInputStream(FileURLC | onnection.java:112) | at org.apache.xerces.impl.XMLEntityManager.setupCurrentEntity(Unknown So | urce) | at org.apache.xerces.impl.XMLVersionDetector.determineDocVersion(Unknown | Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Sour | ce) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBPars |
[jboss-user] [JBoss Tools Users] - Re: Web Resources folder is empty
Just FYI, you don't have to add, select, install, restart, add, select, install, restart, add, select, install, restart to get JBT installed. Add the three update sites (in steps 6, 8, 10), pick the stuff you want from JBT (step 10), and let p2 resolve all the dependencies. Then the process becomes much simpler: add, add, add, select, install, restart See also: http://jboss.org/tools/download/update.html#fromzip View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268871#4268871 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal Users] - warnings over and over in jboss 5.1
We come from tomcat where we could prevoiusly search logs for WARN to see if anything went bad for the day(our log files are about 1 Gig for 1 day of operation). BUT now we are in jboss and I keep seeing these logs over and over...(preventing us for searching on warn) | 2009-12-03 13:38:38,041 WARN [com.arjuna.ats.jts.logging.loggerI18N] (http-0.0.0.0-8080-7) [co | m.arjuna.ats.internal.jts.resources.errsavefail] ExtendedResourceRecord.doSave failed. Returnin | g default value: true | 2009-12-03 13:38:38,043 WARN [jacorb.poa.controller] (RequestController-1) rid: 3186 opname: s | aveRecord request rejected with exception: | 2009-12-03 13:38:38,050 WARN [jacorb.poa.controller] (RequestController-1) rid: 3188 opname: c | ommit cannot process request, because object doesn't exist | 2009-12-03 13:38:38,052 WARN [jacorb.poa.controller] (RequestController-1) rid: 3188 opname: c | ommit request rejected with exception: | Anyway to fix this? In tomcat, we had no warnings so we could easily search on WARN for any problems when launching a new version of our software. With jboss, it sucks because bad problems are lost in the noise with the amount of traffic we get. How do I get around these warnings? I am trying to avoid going back to tomcat. yes, we could configure logging but then we may miss true warnings from the jboss platform that we need to know about. thanks, Dean View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268877#4268877 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268877 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR
Hi Mr wolfgang, i'm just using u property code: Properties props = new Properties(); props.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); props.setProperty(Context.URL_PKG_PREFIXES, org.jboss.naming.client); props.setProperty(Context.PROVIDER_URL, jnp://localhost:1099); props.setProperty(j2ee.clientName, ClientNameFromJBossClientXML); InitialContext initialContext = new InitialContext(props); But i'm having an exception and this is it: 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 com.et.GestionDeStockClient.main(GestionDeStockClient.java:29) Thank you so much View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268878#4268878 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0 Users] - Re: NotBound ERRoR
Wolfgang Knauf wrote : Hi, | | Do you have a jndi.properties file? If not, you have to provide some properites to InitialContext: | Properties props = new Properties(); | | props.setProperty(Context.INITIAL_CONTEXT_FACTORY, org.jnp.interfaces.NamingContextFactory); | | props.setProperty(Context.URL_PKG_PREFIXES, org.jboss.naming.client); | | props.setProperty(Context.PROVIDER_URL, jnp://localhost:1099); | | props.setProperty(j2ee.clientName, ClientNameFromJBossClientXML); | | | | InitialContext initialContext = new InitialContext(props); | | What is the value of HotelTestBean.RemoteJNDIName? | It should be EARName/EJBName/remote if your app is bundled as EAR file, or EJBName/remote if you deploy only an EJB jar. | | Hope this helps | | Wolfgang Hi i ried to use this code without editing it but i still have this error: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 But after a reaserch i found that i have to install jars So Just adding the appserv-rt.jar in sun server lib folder to the classpath does the trick for providing the corba properties :tih is what i found is this a solution!! Thank u for help View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268879#4268879 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268879 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools Users] - Re: Web Resources folder is empty
Well, I don't do this operation every day, so it's not a problem. It just fells safer :) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268880#4268880 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268880 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - TTL on Message Producer Not Honored
Using JBoss 4.3 messageProducer.setTimeToLive(6); After sending the message and waiting 10 minutes I still see it in the queue. Is this a bug? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268881#4268881 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268881 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Reconnect after a lost connection
Is it possible to configure JBoss so that when a connection is dropped that it will automatically reconnect to the remote server? Or do I have to write code to do this? The scenario is that I have a persistent connection/session from Server A to Server B. Can I configure retries some place in Server A so that it will reconnect to Server B when it comes back up? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268882#4268882 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268882 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - [jbpm 4.2] My first simple application doesn't work :(
I'm trying to develop my first workflow with jbpm 4.2 and netbeans but it doesn't works. I created a new project called displayproject and imported as libraries the file jbpm.jar that is in the root jbpm's folder and all the files that are in the lib folder. The project contains only those two files: Display.java | package displayproject; | | import java.util.List; | import java.util.Map; | import java.util.Set; | import org.jbpm.api.Execution; | import org.jbpm.pvm.internal.model.Activity; | import org.jbpm.pvm.internal.model.ObservableElement; | import org.jbpm.pvm.internal.model.OpenProcessDefinition; | import org.jbpm.pvm.internal.model.Transition; | | public class Display implements Activity{ | String message; | | public Display(String message){ | this.message=message; | } | | public void execute(Execution execution){ | System.out.println(message); | } | } | Main.java | package displayproject; | | import org.jbpm.api.Execution; | import org.jbpm.api.ProcessDefinition; | | public class Main{ | | public static void main(String[] args) { | ProcessDefinition processDefinition = ProcessFactory.build().node(a) | .initial.behaviour(new Display(hello)).transition().to(b) | .node(b).behaviour(new Display(world)).done(); | Execution execution = processDefinition.startExecution(); | } | } | in Main.java netbeans tell me that it's unable to find the object ProcessFactory and the method startExecution() . What'is wrong? What libraries have I to import in a process project? In what folder of jbpm4.2 could I find them? Thanks View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268885#4268885 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - source for org.jboss.test.messaging.tools.container.LocalTes
I'm trying to debug a problem I'm having with running some junit tests that come with jboss messaging 1.4.5. I'm tracing the problem through org.jboss.test.messaging.tools.container.LocalTestServer, however there is no source for it in either the src distribution or in the zip file that comes with the binary distribution. Where can I find it? Thanks Mike View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268887#4268887 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268887 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: TTL on Message Producer Not Honored
Firstly, I can't tell what messaging system you're using (could be JBoss MQ or JBoss Messaging), but just because a message is still in a queue after TTL does not mean TTL is not honoured. The JMS spec just says that messages should not be delivered after TTL is exceeded. It does not require messages to be actively removed from queues before delivery. If you tried to consume that message, you'd find it would get expired at the point of delivery and you wouldn't receive it, thus honouring TTL. Some more advanced messaging systems, like HornetQ http://hornetq.org do have active expiry of messages in queue *before* delivery but JBoss Messaging / JBoss MQ do not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268891#4268891 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: source for org.jboss.test.messaging.tools.container.Loca
svn View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268892#4268892 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Reconnect after a lost connection
This depends what messaging system you are talking about. JBoss has 3: JBoss MQ, JBoss Messaging and HornetQ. HornetQ certainly has auto reconnect functionality IIRC JBoss Messaging and JBoss MQ do not. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268893#4268893 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268893 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Roadmap of JBPM after 3.2
Hello, We have been using JBPM-BPEL 1.1 on top of JBPM 3.2 for a while. We have been trying to get in touch with someone at JBoss to understand how we can move to JBPM 4 but so far no one has contacted us back . From my research on the web it seems both engines can co-exist but there is not upgrade path provided. I would like to get this confirmed from JBPM experts on this forum. Please let me know soon. Thank you, Meghana View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268894#4268894 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: source for org.jboss.test.messaging.tools.container.Loca
If it's not in the source than how come the test library builds and there is a class for it in the jar file? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268897#4268897 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: source for org.jboss.test.messaging.tools.container.Loca
Where is the repository for 1.4.5? I tried http://anonsvn.jboss.org/repos/messaging/ but don't see anything for 1.4.5 only 1.4. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268899#4268899 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Creating Queues Programaticly
It blows up on my when I try to run it: java.lang.Exception: Failed to start ServiceContainer at org.jboss.test.messaging.tools.container.ServiceContainer.start(ServiceContainer.java:490) at org.jboss.test.messaging.tools.container.LocalTestServer.start(LocalTestServer.java:125) at org.jboss.test.messaging.tools.ServerManagement.start(ServerManagement.java:218) at org.jboss.test.messaging.tools.ServerManagement.start(ServerManagement.java:201) at org.jboss.test.messaging.tools.ServerManagement.start(ServerManagement.java:196) at org.jboss.test.messaging.tools.ServerManagement.start(ServerManagement.java:183) at com.gdit.DestinationManagerTest.setUp(DestinationManagerTest.java:42) at junit.framework.TestCase.runBare(TestCase.java:132) at junit.framework.TestResult$1.protect(TestResult.java:110) at junit.framework.TestResult.runProtected(TestResult.java:128) at junit.framework.TestResult.run(TestResult.java:113) at junit.framework.TestCase.run(TestCase.java:124) at junit.framework.TestSuite.runTest(TestSuite.java:232) at junit.framework.TestSuite.run(TestSuite.java:227) at org.junit.internal.runners.JUnit38ClassRunner.run(JUnit38ClassRunner.java:83) at org.eclipse.jdt.internal.junit4.runner.JUnit4TestReference.run(JUnit4TestReference.java:45) at org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386) at org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196) Caused by: java.lang.Exception: Cannot file container's configuration file container.xml. Make sure it is in the classpath. at org.jboss.test.messaging.tools.container.ServiceContainer.readConfigurationFile(ServiceContainer.java:1012) at org.jboss.test.messaging.tools.container.ServiceContainer.start(ServiceContainer.java:381) ... 20 more View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268900#4268900 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Reconnect after a lost connection
I am using the JBoss Messaging that is bundled with the JBoss 4.3 release. Version 1.4 according to the release notes. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268901#4268901 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: source for org.jboss.test.messaging.tools.container.Loca
You didn't look very hard All the tags are here: http://anonsvn.jboss.org/repos/messaging/tags/ View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268902#4268902 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: TTL on Message Producer Not Honored
I am using JBoss Messaging 1.4. That is a good point about it never actually being delivered to the consumer. The reason for my concern is I am using a selector with my consumer, and I am thinking that a buildup of abandoned messages would slow down the selection/consumption of other messages. Do you think that should be a concern? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268903#4268903 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Problem to run jBPM under jBoss and searching for PVM do
1: Caused by: java.io.FileNotFoundException: C:\jboss-5.1.0.GA\server\jbpm\conf\bootstrap.xml Please try a clean JBoss AS server instance first before adding jBPM to it. Such an error has nothing to do with jBPM 2: What is detailed? Have you checked here: http://www.jboss.org/jbossjbpm/pvm/ And jBPM-JPDL itself is a great example of how to use the pvm View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268907#4268907 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Roadmap of JBPM after 3.2
Do you want to run BPEL or JPDL? jBPM4 has no BPEL. Use riftsaw for that. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268908#4268908 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Reconnect after a lost connection
With JBoss Messaging, you have to do yourself by registering a connection listener. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268910#4268910 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: JBPM User Task - Forms
using .ftl files is not something jBPM does but the console. So check the sourcecode of the console how it is done there View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268911#4268911 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268911 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Roadmap of JBPM after 3.2
Hello, Isn't Orchestra BPEL available as BPEL engine on core PVM? Isn't RiftSaw based apache ODE engine? For people using JBPM-BPEL extension, is there any roadmap to move to next level to get new BPEL features? Thank you, Meghana View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268912#4268912 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268912 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging Users] - Re: Creating Queues Programaticly
You need to set up the test environment to run the test. To save your time, i suggest you read the code and write a simple JMS client yourself. A better place to look at would be in JBM install dir/examples/common/src/org/jboss/example/jms/common/Util.java View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268914#4268914 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat Integration] - javax.servlet.ServletException: java.lang.AbstractMethodErro
hi, In my jboss (jboss 4.2.3 GA) when i takes my application page i am getting getiitng an http 500 error page. This is not for all pages. The pages which is called in an iframe is having the issue. | javax.servlet.ServletException: java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspAp | plicationContext(Ljavax/servlet/ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:273) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | root cause | | java.lang.AbstractMethodError: javax.servlet.jsp.JspFactory.getJspApplicationContext(Ljavax/servlet/ | ServletContext;)Ljavax/servlet/jsp/JspApplicationContext; | org.apache.jsp.ServerInfo_jsp._jspInit(ServerInfo_jsp.java:63) | org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:52) | org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:158) | org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:328) | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:336) | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:265) | javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:9 | Actually one mistake i pointed out is my ear contains a 3rd party jar and i removed it and put the same in default/lib directory. But still that iframe jsp's are making issues. Is it becasue it using jsp and servlet diff spec and tomcat 6. Everything is perfectly working when i uses 3.2.5 application. Already posted this issue http://www.jboss.org/index.html?module=bbop=viewtopict=162820 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268918#4268918 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268918 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jbpm 4.2] My first simple application doesn't work :(
You can't create process definitions programmatically this way anymore. Create a process definition and deploy it afterwards. You need to reference jbpm.jar and the main-folder and all the jars in the lib-subfolder. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268929#4268929 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: [jbpm 4.2] My first simple application doesn't work :(
in the main-folder View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268930#4268930 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268930 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [jBPM Users] - Re: Roadmap of JBPM after 3.2
Riftsaw is based up-on Apache ODE and there is no BPEL engine available on top of the PVM. Just as Ronald mentioned there is no BPEL in jBPM4 anymore. There is just jPDL and BPMN2 which is still in development. AFAIK jBPM3 BPEL is a BPEL 1.x implementation while Riftsaw is a BPEL 2.0 implementation. HTH View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=4268931#4268931 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4268931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user