[jboss-user] [EJB 3.0] - Re: EJB with SSL does not work with JBoss AS 4.2.2
i have same problem:( View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148058#4148058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148058 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBoss Bug: Missing pictures in JBossWS User Guide
When I open the web page: http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#Bottom-Up_.28Using_wsprovide.29 and scroll down approx a third of the full page then a couple of pictures are missing (only placeholder is shown). E.g. under the topic "Asynchronous Invocations" I guess the picture sources are somehow removed. Could someone verify this and provide the missing images? Thank you Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148057#4148057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: special types of Nodes
yes, the question was how do i : 1. advance to the node under the fork ? by pi.signal() ? 2. why don't i get the task under the fork as unfinished task ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148056#4148056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: login using email
the simpliest way i can think now is using your own registration portlet where you ask for an email and put it in the userName property of the Identity API, as well as creating your own login.jsp page, where you replace the login label with the word email. (report to the portal reference guide, where youn can find the modules used for account creation in the identity API chapter (HibernateUserModule.createUser or something like that...) hope this help, -- Lucas Montes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148055#4148055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - workaround Re: Huge queue
I am having the same issue. After I went through the source code, i found the problem. it tries to select all messages for a queue and then evaluate the memory mark, which definitely fail with millions of messages. the work around I have so far is to change the select sql in jdbc2.xml to only select first 100 message. for example for sql server is: select top 100 messageid, messageblob from jms_messages where destination=? i checked the jboss messaging, from the features it has, it seems handle this better, but have not got time to really try it. the version of my production jboss is 4.05, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148052#4148052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: login using email
good, and when using a DB implementation? is there any way? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148051#4148051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: using commons logging with Log4jService
indeed 'erez' with error level View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148050#4148050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB with SSL does not work with JBoss AS 4.2.2
I have the same problem that I have posted in another thread: http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148046 Aparently, the JBoss unit tests work (which I haven't verified personally), but I can't seem to get it to work in my environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148049#4148049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Contents of JBOSS_DIST/jboss-as/server
"behrangsa" wrote : | | However, there are only all, default, and minimal directories are there. Is this an error in the document or the contents of the JBoss AS 4.2.2 archive? | | Looks like an error in the documentation. The JBoss distribution comes with "all", "default" and "minimal". View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148048#4148048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: New application brewing, need some advice
I was doing some more poking around at jBPM, and installed the eclipse editor plugin. So cool... Im such an easy sell when things have a nice gui. The framework seems pretty lightweight too. Is is common practice to embed jBPM into your application, or use it as a separate resource? I think for this project it makes sense to embed it. I recently went to local JUG meeting where we had a JBoss guy (Burr Sutter) give us the shpeal for JBossESB... looks like they use jBPM for the management of the ESB nodes as well. It's cool when a component like this is useful across different contexts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148047#4148047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB3 & SSL not working in JBoss 5 Beta3?
I gave up on this with Beta 3, but I just came back to it on Beta 4 and I'm still getting the same error. Does anybody have any insight as to what the problem may be? BTW: Those SVN links you posted are no longer working, can somebody point me to the new location of the EJB3 SSL tests / resource files? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148046#4148046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Contributing a New Document to JBPM Community
I mean, you just posted a link to the doc here, but that is probably referenced from a normal wiki page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148045#4148045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Contributing a New Document to JBPM Community
It surely is a decent introduction to jBPM, much appreciated. I cannot seem to find the wiki page it is on, can you post that as well? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148044#4148044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Buddy Replication: Memory usage with Tomcat Session Repl
BTW - I assume there is no reason (and one should not) configure an eviction policy into the tc5-cluster.sar/jboss-service.xml. This understanding is based on your comment anonymous wrote : the effect of a logout, if you call session.invalidate() the session is removed cluster-wide. (If you just wait for the session to timeout, each node in the cluster independently does that.) | Is this understanding correct? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148040#4148040 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: removing the identity component
in a few weeks I'll post a document that describes how to do things like this. So keep posted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148039#4148039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Buddy Replication: Memory usage with Tomcat Session Repl
Brian - thanks for your input.. Re memory: I researched further and think this is the reason.. We have 3 app servers. The start sequence is a1, a2, a3. When a2 starts a1 (already started) and a2 form a buddy pair (they appear to both backup each other). Then when a3 starts it looks like a2 also becomes the buddy to backup a3. So a3 backups up two nodes and a3 ends up backing no nodes. I think that is why the memory patterns vary between the nodes (with a2 exhibiting the fastest depletion of memory) RE session.invalidate(): I am still seeing unbounded growth of the number of replicated sessions and eventually we get out of memory. This is JBOSS AS 4.0.5. Any further input on this one would be most valuable since its now a show stopper for us at this point.. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148038#4148038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: New application brewing, need some advice
sounds fairly straight forward. I see no immediate obstacles or caveats View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148037#4148037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Formatting mail node text
1: Hmm... CDATA, I should have known... sorry... 2: html mail has been discussed in the form, you currently have to write your own implementation of the mail node (or adapt the existing one) so it uses MIME. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148036#4148036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: checking user input
it's a pure jsf thing but I'll answer anyway... you just have to return an empty string as the value of your backingbean action method View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148035#4148035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: special types of Nodes
anonymous wrote : ...our implementation how can we know what that is? jBPM has fork nodes out of the box View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148034#4148034 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148034 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - The default profile
In the Getting Started Guide for JBoss 4.2.2 it is stated that: anonymous wrote : | default | is a base J2EE 1.4 server profile containing a default set of services. It has the most frequently used services required to deploy a J2EE application. It does not include the JAXR service, the IIOP service, or any of the clustering services. | But I think it should be stated that EJB3 and JSF 1.2 are also ready for use in this configuration. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148033#4148033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to display JBPM state information in JSF
Sorry, but I have no clue what you mean. And please use [ c o d e ] rags when posting xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148032#4148032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Contents of JBOSS_DIST/jboss-as/server
In the Getting Started Guide for JBoss 4.2.2, at page 1, it is stated that: anonymous wrote : | Within the JBOSS_DIST/jboss-as/server directory, you will find four subdirectories: minimal, default, production and all - one for each server configuration. Each of these configurations provide a different set of services. The default configuration is the one used if you donÂt specify another one when starting up the server. | However, there are only all, default, and minimal directories are there. Is this an error in the document or the contents of the JBoss AS 4.2.2 archive? Regards, Behrang View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148030#4148030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - A4J and UserModule in a portlet
I am trying to use A4J in a portlet. The functionality is to display the user details when the user clicks on the user row in the search results. I am using the identity modules to retrieve the user list (by role). This works fine. However when I use A4J to retrieve the user details in a managed bean action the UserModule.getUserById() gives the exception org.hibernate.HibernateException: Unable to locate current JTA transaction at org.hibernate.context.JTASessionContext.currentSession(JTASessionContext.java:61) at org.hibernate.impl.SessionFactoryImpl.getCurrentSession(SessionFactoryImpl.java:544) at org.jboss.portal.identity.db.HibernateUserModuleImpl.getCurrentSession(HibernateUserModuleImpl.java:298) at org.jboss.portal.identity.db.HibernateUserModuleImpl.findUserById(HibernateUserModuleImpl.java:136) at com.apple.ist.channelportal.admin.managedbeans.ManageUsersBean.retrive(ManageUsersBean.java:50) I have set the tran-attribute = required in jboss-portlet.xml Please help !! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148026#4148026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem while implementing portal identity API with a jn
i've done the same thing accessing my ejb with jmx and the same exception happened. i'm must make a mistake deploying my ear in portal... here's the code i used instead og the jndi lookup (i've made a local interface for my ejb with the @Local annotation) : | | MBeanServer mbeanServer = MBeanServerLocator.locateJBoss(); | userModule = (IdentityUserModuleLocalInterface) MBeanProxy.get(IdentityUserModuleLocalInterface.class, new ObjectName(""), mbeanServer); | | Regards, -- Lucas Montes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148020#4148020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples
Hi salaboy21, can you give me some basic steps how to download and compile SSO from trunk? I do not have such experience. But I want to test LDAP interoperatability Thank you for you effort! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148014#4148014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Trying to Connect JBoss SSO to Oracle Federation Server
Thanks for the response Sohil. Yes you've described it pretty well. We're a service provider, we just want the students to be able to log into their institution and then be able to get into our web application. If we don't have the ability to perform that trust handshake, does that mean we won't be able to connect those servers right now? So far they are not connecting and I'm wondering if that's the reason. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148017#4148017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples
I wrote this steps in my personal blog...(but unfortunately are in spanish) But i think you can figure out how to install JBoss SSO with some basic (language neutral) step like: 1) Check out the sources with an svn Client (apt-get install subversion (or svn)) svn co http://anonsvn.jboss.org/repos/jboss-sso/dev/trunk/ 2) edit the file ocal.properties vi local.properties change: deploy.dir=default jboss.home=/home// 3) then complile in /components/build/ Run: ant installSSO and in: ../jboss_federation_server/ ant deploy-exploded This are the basics... then look in my blog the next steps of configuration.. ask me in my blog if you don't understand something.. [url] http://salaboy.wordpress.com/2008/03/31/jboss-sso-tune-in-development-draft/ [/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148016#4148016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Change DB, Error in login
Excuse me the [STDERR] messaje its no errors, and the error in login it solved , update the application policy in login-config.xml . Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4148013#4148013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4148013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples
Yeap.. i have fix this bug... you must download and compile SSO from the trunk.. i can help you to do this... and test it with any DS.. Let me know if you are using the trunk version (you must do an update)... Then you must find a new class named HashAlgorithmRemoverLDAPIdentityProvider.java.. this class is the solution of this problem.. Let me know if something goes wrong... I recommend you to only try local sign on with this class.. Because another fix is needed to cross domain sign on.. (i already wrote this but no do the commit yet...) Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147995#4147995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - HELP, please! -- [QuerySplitter] no persistent classes found
I am new to Seam and trying to use it by manipulating the example using my own Oracle 10g. I got this problem with "no persistent class found for query class". You would be highly appreciated for any suggestion! Here are my related files: persistence.xml: | http://java.sun.com/xml/ns/persistence"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";> | | org.hibernate.ejb.HibernatePersistence | java:/securityDatasource | false | | | | | | | | components.xml: | | http://jboss.com/products/seam/components"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:persistence="http://jboss.com/products/seam/persistence"; | xmlns:drools="http://jboss.com/products/seam/drools"; | xmlns:bpm="http://jboss.com/products/seam/bpm"; | xmlns:security="http://jboss.com/products/seam/security"; | xmlns:mail="http://jboss.com/products/seam/mail"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation= | "http://jboss.com/products/seam/core http://jboss.com/products/seam/core-2.0.xsd | http://jboss.com/products/seam/persistence http://jboss.com/products/seam/persistence-2.0.xsd | http://jboss.com/products/seam/drools http://jboss.com/products/seam/drools-2.0.xsd | http://jboss.com/products/seam/bpm http://jboss.com/products/seam/bpm-2.0.xsd | http://jboss.com/products/seam/security http://jboss.com/products/seam/security-2.0.xsd | http://jboss.com/products/seam/mail http://jboss.com/products/seam/mail-2.0.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-2.0.xsd";> | | | | | | | | | | | | | | | | Java code: | @Name("authenticator") | public class Authenticator implements Serializable { | @Out(required=false, scope=SESSION) | private Users user; | | @In(value="#{entityManager}") | EntityManager em; | | public boolean authenticate() { | try { | Query query= em.createQuery("from com.fortna.wcs.security.entity.Users u where u.loginname = :username and u.passwd = :password"); | query.setParameter("username", Identity.instance().getUsername()); | query.setParameter("password", Identity.instance().getPassword()); | user = (Users) query.getSingleResult(); | if (user == null) { | return false; | } | | if (user.getUserroles() != null) { | for (Userroles role : user.getUserroles()) | Identity.instance().addRole(role.getRole().getRolename()); | } | return true; | } catch (NoResultException ex) { | ex.printStackTrace(); | return false; | } catch (Exception ex) { | ex.printStackTrace(); | return false; | } | } | And the console info: | 2008-04-29 16:13:04,059 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.core.interpolator | 2008-04-29 16:13:04,059 DEBUG [org.jboss.seam.persistence.HibernatePersistenceProvider] Hibernate Search is available :-) | 2008-04-29 16:13:04,059 DEBUG [org.jboss.seam.Component] initializing new instance of: org.jboss.seam.persistence.persistenceProvider | 2008-04-29 16:13:04,059 DEBUG [org.jboss.seam.Component] done initializing: org.jboss.seam.persistence.persistenceProvider | 2008-04-29 16:13:04,060 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED] | 37, [EMAIL PROTECTED] url=null ,addedOrder=0} | 2008-04-29 16:13:04,061 DEBUG [org.jboss.seam.contexts.Contexts] found in conversation context: org.jboss.seam.persistence.persistenceContexts | 2008-04-29 16:13:04,062 DEBUG [org.jboss.mx.loading.RepositoryClassLoader] setRepository, [EMAIL PROTECTED] | 37, [EMAIL PROTECTED] url=null ,addedOrder=0} | 2008-04-29 16:13:04,062 DEBUG [org.jboss.seam.persistence.ManagedPersistenceContext] created seam managed persistence context for persistence unit: java:/sec | urityEntityManagerFactory | 2008-04-29 16:13:04,062 DEBUG [org.jboss.seam.util.Naming] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.NamingContextFactor | y, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 2008-04-29 16:13:04,063 DEBUG [org.hibernate.ejb.AbstractEntityManagerImpl] Looking for a JTA transaction to join | 2008-04-
[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples
Hi salaboy21, is there any progress with this issue? Should I log the bug in jira? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147984#4147984 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to display JBPM state information in JSF
I am a newbie to jbpm and have been reading through the jBPM docs. My application uses seam and I am trying to create a processdefinition file like this I have created a stateless session bean in my application which actually implements the JBPM specific code .I wanted to capture the process execution i.e each state transition and display it on a Jsf page by clicking an http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147982#4147982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Is there away to not open new TCP connection for each call?
Hey, I have java client that communicate with Ejb3 stateless session bean (deployed on jboss4.2). The communication is Ejb3 over Https. I dont have a lot of clients (up to 10 at the same time). when the client startup it create initial context an lookup for the facade. all the operation is against this facade. i noticed that in each call new TCP connection is created, is there a way to avoid it and leave the connection opened all the time? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147979#4147979 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147979 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How is JBPM connected with JBoss Messaging?
Many thanks, Chris! Last question to clarify: Inside the processA, you can define a node whicn contains an action with an actionhandler that would send a message. I understand this. HOWEVER, in order to invoke processB, you need to use a MDB to pick up the message. What is MDB? Is it something you have to define outside of processB? Can you define something like a listener inside processB which will wait for the message and kick processB to start? Basically what I want is a very clean GUI design of JBPM process defintion without any outside coding. Is it possible? Hope I don't confuse you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147978#4147978 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: org.jboss.jms.message.JBossMessage produced null jmsMess
Hello, I reject this issue, propably it was caused by old version of jboss-messaging-client.jar or not dropping old tables. I have not encountered the exceptions since I fixed the jars and dropped all tables Sorry for the post, my fault Pavel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147972#4147972 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: SynchronizingLDAPExtLoginModule
I haven't built the entity module from scratch. What I usually do when I need to change something is to modify only the one file and compile only it, placing the identity jar file (and any other jars it needs) in my classpath. The compiler is then happy because it sees the related entity files. I then replace the class file in the entity jar with the newly compiled one. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147968#4147968 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Trying to Connect JBoss SSO to Oracle Federation Server
breynolds- Can you briefly describe your setup. Here is what I am assuming you are trying to do, so correct me if I am wrong 1/ You have a JBoss Federation setup in your school domain using the JBoss Federation Server 2/ You have a university ("a partner") in a different domain whose Federation is running the Oracle Federation Server 3/ And you want your SSO tokens propagated/processes/validated between the two Federations? If my assumption about this setup is correct, what you are looking for is the username and password that the OIF server will use to perform a "Trust Handshake" between the two servers to check if it can trust the SSO token it is receiving. However, if you are using the CR1 release, the "Trust Handshake" of JBoss Federation Server is non-customizable making it not able to interoperate with non-JBoss Federation Servers. This feature is still under development. I understand that interoperation between Federation Servers is an important feature and we have the base architecture to support it, but we still have to develop the feature to make it happen. In fact we have a open JIRA to support Microsoft Federation Server as well once this feature is developed. http://jira.jboss.com/jira/browse/JBSSO-9 Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147963#4147963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: login using email
If you configure the portal to use ldap for login, it is possible to use the user's email address for login, provided, of course, that the ldap information includes the user's email address (I know that MS Active Directory stores the email address). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147961#4147961 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: using commons logging with Log4jService
Your logger name is "erez". Only loggers that are named erez, or are children of erez, will be logged to that log file. What is the name of the logger you are using in the JSP? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147960#4147960 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Unable to login to jbpm-console
JBoss 4.2.2.GA, Jpdl-3.2.2 I changed the dialect to Sybase and deployed jbpm-console. I am able to deploy processes through the workbench but I cannot login to the jbpm-console. I commented out the identity stuff in the hibernate config and I changed the jaas security domain in jboss-web.xml to my own (one that I use for another application. When I attempt to login I get a 403 error. type Status report | | message Access to the requested resource has been denied | | description Access to the specified resource (Access to the requested resource has been denied) has been forbidden. Now if I try to login with a bad username I get a bad username message. When I login with a valid username (valid in my domain) I get the access violation. Does anyone know where page access is configured? I looken in access.properties and even added my role to it but it did not make any difference. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147928#4147928 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147928 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: regarding @PrePersist and ID assignment
well, because my DAO classes may be called from any client and each developer may call them from there codes so I don't want to compel them to calculate the id each time they are using my service classes or force them to set some fields that are not necessary from their point of view. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147957#4147957 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - EJB3 over HTTPS
Hey, I have a java client and jboss4.2 as an application server. I work against stateless bean as a facade. My server is behind firewall and i have only two port that opened http , https. in some cases i want to work with http and in other cases i want to work in https (its depend on the customer decision). I followed the following tutorial in order to have EJB3 over HTTPS - http://www.jboss.org/jbossejb3/docs/tutorial/http_https/http_https.html They said there to add on the bean: @RemoteBinding(clientBindUrl="https://localhost:8443/servlet-invoker/SSLServerInvokerServlet";) My questions are: 1. What if i what if i want the ability to call to this bean over RMI or Http is this possible. i guess its not and i donât want to have bean for each protocol. 2. When i run the server i bind it to a specific address. on the bean i need to write the URL , can i avoid from set my host ? I donât know the customer IP? (I think write 0.0.0.0 there will need to work and I will check this)? 3. For advanced - why i need to deploy a servlet in order to support in ejb3 over https? Thank you View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147951#4147951 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How is JBPM connected with JBoss Messaging?
Hi Zaiwen, I have actually done what you are looking to do. As the previous post states you would create a actionhandler that would send a message to a queue or topic. Then use a MDB to pick up the message and kick start the second process. If you look into the jBPM wiki it shows how to integrate jBPM with a JBoss Server, but obviously you would have already replace JBoss MQ with JBoss Messaging. Good luck! Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147950#4147950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Updatingd JDBC Datasources and container behaviour
If you need help here make sure that you explain this properly. You should be getting answer to your questions if you search Jboss wikis/JCA forums , if you are too lazy to do that then don't expect help . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147942#4147942 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147942 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: MBean for inbound-resourceadapter
"michele.curioni" wrote : Vicky, | to do that the MBean would need to have a reference to the Resource Adapter, but how? | No , MBean should not have the reference of RA. The RA bootstrapping is done in the AS environment , so during the RA bootstraping you can get a reference of MBeanServer and then dynamically add the MBean which will control the stuff you want . Yes getting the MBeanServer in the RA's bootstrap(...) would make the RA tied to the Jboss but getting it generic should not be that difficult . Did you get it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147940#4147940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: MBean for inbound-resourceadapter
"michele.curioni" wrote : Vicky, | to do that the MBean would need to have a reference to the Resource Adapter, but how? | No , MBean should not have the reference of RA. The RA bootstrapping is done in the AS environment , so during the RA bootstraping you can get a reference of MBeanServer and then dynamically add the MBean which will control the stuff you want . Yes getting the MBeanServer in the RA's bootstrap(...) would make the RA tied to the Jboss but getting it generic should not be that difficult . Did you get it ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147937#4147937 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147937 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Change DB, Error in login
Hi, change the Hypersonic DB for de SQL server and configure the datasource jbpm-ds,hibernate.cfg.xml, standardjaws.xml, login-config.xml, run the script in database and add new user, use jtds-1.2.2 driver but I have errors in login. .The response always is "user or password is invalid". What should I do? thanks a lot. anonymous wrote : :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.variableInstances -> JBPM_VARIABLEINSTANCE | :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.TaskInstance.comments -> JBPM_COMMENT | :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.exe.SwimlaneInstance.pooledActors -> JBPM_POOLEDACTOR | :58:42,453 INFO [HbmBinder] Mapping collection: org.jbpm.logging.log.CompositeLog.children -> JBPM_LOG | :58:42,468 INFO [HbmBinder] Mapping collection: org.jbpm.graph.action.Script.variableAccesses -> JBPM_VARIABLEACCESS | :58:42,468 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.swimlanes -> JBPM_SWIMLANE | :58:42,468 INFO [HbmBinder] Mapping collection: org.jbpm.taskmgmt.def.TaskMgmtDefinition.tasks -> JBPM_TASK | :58:42,546 INFO [NamingHelper] JNDI InitialContext properties:{} | :58:42,546 INFO [DatasourceConnectionProvider] Using datasource: java:/JbpmSS | :58:42,734 INFO [SettingsFactory] RDBMS: Microsoft SQL Server, version: 09.00.1399 | :58:42,734 INFO [SettingsFactory] JDBC driver: jTDS Type 4 JDBC Driver for MS SQL Server and Sybase, version: 1.2.2 | :58:42,765 INFO [Dialect] Using dialect: org.hibernate.dialect.SQLServerDialect | :58:42,765 INFO [TransactionFactoryFactory] Using default transaction strategy (direct JDBC transactions) | :58:42,781 INFO [TransactionManagerLookupFactory] No TransactionManagerLookup configured (in JTA environment, use of read-write or transactional second- | vel cache is not recommended) | :58:42,781 INFO [SettingsFactory] Automatic flush during beforeCompletion(): disabled | :58:42,781 INFO [SettingsFactory] Automatic session close at end of transaction: disabled | :58:42,781 INFO [SettingsFactory] Scrollable result sets: enabled | :58:42,796 INFO [SettingsFactory] JDBC3 getGeneratedKeys(): enabled | :58:42,796 INFO [SettingsFactory] Connection release mode: auto | :58:42,796 INFO [SettingsFactory] Default batch fetch size: 1 | :58:42,796 INFO [SettingsFactory] Generate SQL with comments: disabled | :58:42,796 INFO [SettingsFactory] Order SQL updates by primary key: disabled | :58:42,796 INFO [SettingsFactory] Query translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory | :58:42,812 INFO [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory | :58:42,812 INFO [SettingsFactory] Query language substitutions: {} | :58:42,812 INFO [SettingsFactory] Second-level cache: enabled | :58:42,812 INFO [SettingsFactory] Query cache: disabled | :58:42,812 INFO [SettingsFactory] Cache provider: org.hibernate.cache.HashtableCacheProvider | :58:42,828 INFO [SettingsFactory] Optimize cache for minimal puts: disabled | :58:42,828 INFO [SettingsFactory] Structured second-level cache entries: disabled | :58:42,828 INFO [SettingsFactory] Statistics: disabled | :58:42,843 INFO [SettingsFactory] Deleted entity synthetic identifier rollback: disabled | :58:42,843 INFO [SettingsFactory] Default entity-mode: pojo | :58:42,890 INFO [SessionFactoryImpl] building session factory | :58:44,375 INFO [SessionFactoryObjectFactory] Not binding factory to JNDI, no JNDI name configured | :58:44,687 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])] | :58:44,687 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])] | :58:44,812 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])] | :58:44,828 WARN [FromElementType] Using non-qualified column reference [id -> ([ID_])] | :58:44,843 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])] | :58:44,859 WARN [FromElementType] Using non-qualified column reference [processInstance -> ([PROCESSINSTANCE_])] | :58:44,859 WARN [FromElementType] Using non-qualified column reference [isSuspended -> ([ISSUSPENDED_])] | :58:44,859 WARN [FromElementType] Using non-qualified column reference [token -> ([TOKEN_])] | | :59:06,625 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.faces.lifecycle.ELResolverInitPhaseListener populateFacesELResolverForJsp | FO: JSF1027: [null] The ELResolvers for JSF were not registered with the JSP container. | :59:06,843 ERROR [STDERR] 30-abr-2008 10:59:06 com.sun.facelets.compiler.TagLibraryConfig loadImplicit | FO: Added Library from: jar:file:/C:/JBMP/jbpm-jpdl-3.2.2/server/server/jbpm/tmp/deploy/tmp14292jbpm-console-exp.war/WEB-INF/lib/jsf-facelets.jar!/META-I | /jsf-ui.ta
[jboss-user] [Installation, Configuration & DEPLOYMENT] - configure tomcat to jboss
I have a tomcat server on one box and two jboss nodes(clustered) each on a different box, all in the same subnet. Can someone please explain me how I should configure tomcat to send request to the two jboss nodes? Also, any configuration for load balancing if possible. Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147924#4147924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - configuring tomcat to jboss
I have a tomcat server on one box and two jboss nodes(clustered) each on a different box, all in the same subnet. Can someone please explain me how I can configure tomcat to send request to the two jboss nodes. Also, configuring for load balancing if possible. Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147919#4147919 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147919 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - OpenSSO - how to login via login-link?
Hi all, I still have problems with OpenSSO. I'm running JBoss Portal 2.6.4 (clustered) on JBoss 4.2.2.GA (all config). I followed the instructions on http://blog.jboss-portal.org/2007/10/jboss-portal-with-opensso-and-opends.html and installed OpenSSO V1 Build 4 and OpenDS. I had to add following to the users stored in OpenDS: | dn: uid=user.0,ou=People,dc=opensso,dc=java,dc=net | changetype: modify | add: objectclass | objectclass: sunFMSAML2NameIdentifier | Now, I'm forwarded to the OpenSSO-Login-page as soon as I call http://myjbossserver.com:8080/portal without clicking on the login-link. I really would like to see the first portal-page without being logged in, and I don't know how to do that... My config changes are as follows: server/all/jboss-web.deployer/server.xml: | | server/all/portal-server.war/WEB-INF/context.xml: | http://myjbossserver.com:8080/opensso"; | logoutURL="http://myjbossserver.com:8080/opensso/UI/Logout"; | appendLoginGoto="true" | appendLogoutGoto="true" | authType="FORM" | /> | server/all/conf/AMConfig.properties: | com.iplanet.services.debug.level=message | com.iplanet.services.debug.directory=/tmp | com.iplanet.am.serverMode=false | com.iplanet.am.sdk.caching.enabled=false | com.sun.identity.idm.cache.enabled=false | com.sun.identity.sm.cache.enabled=true | com.sun.identity.sm.sms_object_class_name=com.sun.identity.sm.jaxrpc.SMSJAXRPCObject | com.iplanet.am.naming.url=http://myjbossserver.com:8080/opensso/namingservice | [EMAIL PROTECTED]@ | com.sun.identity.agents.app.username=amadmin | com.iplanet.am.service.password= | com.iplanet.am.service.secret=AQIC5wM2LY4SfcyImS3T1DzgtBnOSHf5p9Ab | am.encryption.pwd= | com.sun.identity.client.encryptionKey= | com.iplanet.security.encryptor=com.iplanet.services.util.JCEEncryption | com.sun.identity.idm.remote.notification.enabled=true | com.iplanet.am.sdk.remote.pollingTime=1 | com.sun.identity.sm.notification.enabled=true | com.sun.identity.sm.cacheTime=1 | com.iplanet.am.server.protocol=http | com.iplanet.am.server.host=myjbossserver.com | com.iplanet.am.server.port=8080 | com.iplanet.am.services.deploymentDescriptor=/opensso | [EMAIL PROTECTED]@ | [EMAIL PROTECTED]@ | [EMAIL PROTECTED]@ | [EMAIL PROTECTED]@ | [EMAIL PROTECTED]@ | com.iplanet.am.cookie.name=iPlanetDirectoryPro | com.iplanet.am.session.client.polling.enable=true | com.iplanet.am.session.client.polling.period=180 | [EMAIL PROTECTED]@ | [EMAIL PROTECTED]@ | [EMAIL PROTECTED]@/@PRODUCT_DIR@/config/.wtpass | com.iplanet.am.jssproxy.trustAllServerCerts=false | com.iplanet.am.jssproxy.checkSubjectAltName=false | com.iplanet.am.jssproxy.resolveIPAddress=false | com.iplanet.am.jssproxy.SSLTrustHostList=false | com.sun.identity.agents.server.log.file.name=amRemotePolicyLog | com.sun.identity.agents.logging.level=NONE | com.sun.identity.agents.notification.enabled=false | [EMAIL PROTECTED]@ | com.sun.identity.agents.polling.interval=3 | com.sun.identity.policy.client.cacheMode=subtree | com.sun.identity.policy.client.clockSkew=10 | com.sun.identity.monitoring=off | com.sun.identity.urlconnection.useCache=false | com.sun.identity.plugin.configuration.class=com.sun.identity.plugin.configuration.impl.ConfigurationInstanceImpl | com.sun.identity.plugin.datastore.class.default=com.sun.identity.plugin.datastore.impl.IdRepoDataStoreProvider | com.sun.identity.plugin.session.class=com.sun.identity.plugin.session.impl.FMSessionProvider | com.sun.identity.saml.xmlsig.signatureprovider.class=com.sun.identity.saml.xmlsig.AMSignatureProvider | com.sun.identity.saml.xmlsig.keyprovider.class=com.sun.identity.saml.xmlsig.JKSKeyProvider | com.sun.identity.saml.xmlsig.keystore=/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA_Genloop_Portal/server/all/deploy/fam-client-jdk15-exp.war/keystore.jks | com.sun.identity.saml.xmlsig.storepass=/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA_Genloop_Portal/server/all/deploy/fam-client-jdk15-exp.war/.storepass | com.sun.identity.saml.xmlsig.keypass=/Users/carsten/Documents/workspace3/Genloop.generator/lib/runtime/dist-lib/jboss-4.2.2.GA_Genloop_Portal/server/all/deploy/fam-client-jdk15-exp.war/.keypass | com.sun.identity.saml.xmlsig.certalias=test | com.sun.identity.saml.checkcert=on | com.sun.identity.saml.xmlsig.c14nMethod=http://www.w3.org/2001/10/xml-exc-c14n# | com.sun.identity.saml.xmlsig.xmlSigAlgorithm= | com.sun.identity.saml.xmlsig.transformAlg=http://www.w3.org/2001/10/xml-exc-c14n# | com.sun.identity.saml2.xmlenc.EncryptionProvider=com.sun.identity.saml2.xmlenc.FMEncProvider | com.sun.identity.saml2.xmlsig.SignatureProvider=com.sun.identity.saml2.xmlsig.FMSigProvider | com.sun.identity.saml2.crl.check=false | com.sun.identity.saml2.crl.check.ca=false | co
[jboss-user] [Messaging, JMS & JBossMQ] - Re: How to access JBOSS by providing IP address
Did u make any changes to the server.xml? If u set the localhost and ipaddress both pointing to jboss.bind.address u can access the site using both http://localhost and http://ipaddress And u will be able to access through the ipaddress from a remote host View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147910#4147910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Jboss login module - how to analysis exception
Hey, I have a java client that work against stateless facade , deployed in jboss4.2. i write a custom login module and in some cases i throw exception like this this - throw new LoginException("was failed due to expired password"); The problem that in the client i dont get the exception i throw. i get - EJBAccessException instead of the exception i throw. so in the client i dont know waht is the reason that authetication was failed. Any solution please? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147909#4147909 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147909 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Trying to Connect JBoss SSO to Oracle Federation Server
We're having a problem figuring out how to set up the POST authentication method in OIF for hooking up to JBoss. I can't find any configuration parameters in JBoss's SSO config files that allow me to set up the POST username and password, however OIF is asking for them in its configuration page. A university attempting to set up the Oracle Federation Server is trying to connect to our web site using SSO. We set up the JBoss Federation Server and test application in order to test basic SSO connectivity between OIF and Jboss SSO. JBoss uses SAML 1.1 I believe and so the university is in the OIF configuration page configuring our JBoss fed server as a SAML 1.1. entity. We gave the school our domain, federation server URL, and SSL certificate for setting up HTTPS between the federation servers. That seems like all we should need. However, the OIF server is asking for a username and password for use during the communication between the federation servers. In looking around on the web, it looks like that username and password are used for the POST method of token validation. I don't see anywhere in the JBoss configuration files where there's a place to set any username/password for use in token checking. Any help from the JBoss community would be helpful. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147906#4147906 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147906 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How is JBPM connected with JBoss Messaging?
Thanks a lot. You basically anwsered my question. I reviewed the bpm_orchestration3 sample included in jbossesb-server-4.2.1GA\samples\quickstarts. This sample is just one process that has 3 nodes, but its design is similar to what you described. What I really need to confirm is: Is it possible that without any other external actionhadler or MDB, only processA and processB, can they achieve this effect? I mean, can the nodes alone in the BPM process definition achieve the function of posting message or being invoked by message? Thanks again! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147904#4147904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Access CMS trought a Portlet
Your observation is correct and the behavior is expected. As far is deployment goes, you do not need to include the cms library with your application. Its already included with the core jboss-portal.sar file. For compile time you obviously need it Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147899#4147899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JAAS custom login module cannot get login Pricipal infor
I have read all of the Security FAQ, several times, to no avail. Also, Q3: "This also needs to be explained more..." I'd agree. And what does "propagating to the called component" even mean in the security context? It could fail for multiple reasons. It should be clarified. Q7: followup Q, what does "user has authenticated to the container" mean?! Q10: as mentioned, I'm setting the information into the InitialContext correctly, because I can use the org.jboss.security.auth.spi.UsersRolesLoginModule additionally: Q4: I've updated my log4j config file as mentioned and don't see any extra logging, is there something additional I need to configure? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147896#4147896 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147896 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: java.lang.VerifyError: Illegal constant pool index when
Yes, I am doing load time weaving. Currently I bypass the problem by turning off aop optimization as suggested by a similar posting. But I wonder if this is a good and reasonable solution. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147889#4147889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Unable to run multiple cluster nodes.
As I've already said, the NPE is in your code and you'll have to figure that out yourself. I've no idea what the latest server.log is supposed to be telling me. If you are looking for real-time support, I suggest you contact Red Hat and engage one or another of the services described at http://www.jboss.com/services/index . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147886#4147886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HTTP Status 403 - when using LDAP
After a lot of debugging, taking source from the JBoss repo and stepping through it, I noticed that the role 'User' was also added to role set of the users, via the standard non-LDAP IdentityLoginModule. Adding this as a group in SBS AD and adding it to the user allowed the portal to work. Also, adding Admin worked as you would expect. I suspect a lot of people have fallen into this trap considering the 403 errors I've seen in the forums. It might be worth updating the specs to ensure people add these roles to their user's role sets, not just 'Authenticated'. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147884#4147884 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147884 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS JAX-WS question using stateful
We support @Stateless and @Webservice annotations only. There's neither @Stateful nor @Addressing annotation support in our stack. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147883#4147883 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147883 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How is JBPM connected with JBoss Messaging?
Without more detail I can only suggest that you create an actionhandler that is invoked by processA, which posts a message to your destination. Also, create an MDB that listens on that destination. That MDB should create the ProcessB instance and signal it to start. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147871#4147871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Mbeans and operations
All If i have my mbean with the following setup extending ServiceMBeanSupport, and i have it working with regards to getting attributes from it. But i want to implement an operation on it. How do i do this. Say Something SaySomething String View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147875#4147875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS JAX-WS question using stateful
Hello JBossWS team, Even if it is a 1 year old post, I was wondering if something similar has been done for Stateful WS ? Would be very usefull added to an EJB3 Stateful component ... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147862#4147862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Jointable not used
Hi all, I am working with Jboss 5 beta 4, JPA und the HSQL Database. This is my JoinTable definition in class Subscription: @ManyToMany(targetEntity=com.sap.sii.pubsub.entity.Subscriber.class, fetch = FetchType.EAGER) | @JoinTable(name = "SII_PUBSUB_SUBSCRIPTION_SUBSCRIBER", | joinColumns = @JoinColumn(name = "SUBSCRIPTION_ID", referencedColumnName = "SUBSCRIPTION_ID"), | inverseJoinColumns = @JoinColumn(name = "SUBSCRIBER_ID", referencedColumnName = "SUBSCRIBER_ID")) | public ArrayList getSubscribers() { | return subscribers; | } The other side in class Subscriber:@ManyToMany(targetEntity=com.sap.sii.pubsub.entity.Subscription.class, fetch=FetchType.EAGER, mappedBy="subscribers") | public ArrayList getSubscriptions() { | return subscriptions; | } And there is the table SII_PUBSUB_SUBSCRIPTION_SUBSCRIBER with the columns SUBSCRIPTION_ID andSUBSCRIBER_ID. But when I persist the entity this table is empty but there is are the columnssubscriptions and subscribers with some data looking like object references:([EMAIL PROTECTED]) in the tables of subscription and subscriber. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147860#4147860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: regarding @PrePersist and ID assignment
"mnrz" wrote : | the thing is that I want to calculate the ID from a formula in which I use an algorithm. however, if I set any field other than ID it won't work as well I probably am not understanding the requirements of your application correctly. Can't you calculate the ID from the formula using your algorithm, before calling the persist method on entity manager? What i am trying to understand is why does the ID calculation or setting any other field be part of the callback method. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147855#4147855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: problem while implementing portal identity API with a jn
with the stack trace, it seems to come from portal interceptors... i don't have the time to watch portal source code in detail so if someone from the portal crew has any clue ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147852#4147852 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147852 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Issue with LdapExtLoginModule
I solved it! It needs admin user name in bindDN. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147850#4147850 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147850 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Migrating from jBoss4.0.5GA to 4.2.2GA
Hi. I've had similar problem. It occured while one of my SLSB extended another SLSB. After some code refactoring it works properly right now. Regards, Bart View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147847#4147847 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147847 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is Remote Interface not installed
"baumar" wrote : | In my - I confess not very clear understanding - the problem might be already in the packaging or deployment. I deployed a similar construction (the example 4.1 in Chapter 24 of Enterprise JavaBeans 3.0, 5th Edition By Richard Monson-Haefel). When I deploy the jar from the exercise, I can see the bean and the interface in the jmx console, whereas for the construction I made, the remote interface is just a java object, and my jar leads to a StatefulProxyFactory, which is not there in the TravelAgent. | | Markus, I think i know what's going on (the TravelAgentBean and the book you mentioned acted as a hint). I remember some months back there was a user who had reported the exact same problem. During that discussion, we had found out the issue to be the JDK (version) he was using. I guess you are using Java 6 (either on the client or on the JBoss server or maybe both). If yes, then stop using Java 6 and instead use Java 1.5 (and remember to remove all the references to Java 6 in Eclipse, JBoss and the client - i mean do a clean build after setting the JAVA_HOME to JDK 1.5). If this does not solve the issue and please post back with the details. "baumar" wrote : | Is this typical to face so many problems and difficulties with deploying the jar file with eclipse to JBoss? (Maybe there is a self-aid group?-) | Personally, with JBoss i do not use any IDEs for deploying (because deploying is just a matter of copying to the deploy folder) or building (i use Ant instead). Using an IDE for these activities adds an layer of unneccessary complications. "baumar" wrote : | I saw later version provide more support, like in 4.2.2, but on one side I was missing documentation and on the other hand, the 'comfort-function' even hided more, what happened. | I would definitely recommend that you move to the latest stable version (4.2.2 GA), if not immidiately then maybe some time later. The documentation is definitely available on the JBoss site. Let us know if you are not able to locate it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147846#4147846 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147846 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Does JBoss Cache and semaphores
Hi, is still exist any solution for this kind of case ? I'm also have same problem as I'm running a farm of Jboss onto 2 servers, sharing some datas into a jboss cache, and I want in some explicit case, to lock an arraylist for one thread (server 1 or server 2), other thread on same server or the other server cannot access to the ArrayList until the first thread has finished its process.. ??? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147837#4147837 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147837 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Tomcat Virtual Hosts/Hostname
Use the -b option to start JBoss. See this for more details http://wiki.jboss.org/wiki/JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147836#4147836 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147836 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Problem in creating Jboss Messaging .sar deploying
Hi, I am trying to implement jboss messaging listener service. Content of my .sar file is -- jar -tf message_listener_service.sar --- META-INF/ | META-INF/MANIFEST.MF | src/ | src/service/ | META-INF/jboss-service.xml | commons-io-1.2.jar | commons-logging-1.1.jar | javassist.jar | jboss-aop-jdk50.jar | jboss-common.jar | jboss-j2ee.jar | jboss-jmx.jar | jboss-messaging-client.jar | jboss-messaging.jar | jboss-remoting.jar | jboss-system.jar | jboss-xml-binding.jar | jbossall-client.jar | log4j.jar | src/service/Listener.class | trove.jar Content of -> META-INF/jboss-service.xml is -- | | | Listener code --- package src.service; | | /* | Use source code downloads, example commands, | and any other techniques at your own risk. | No warranty is provided. | */ | | import java.util.Properties; | | import javax.jms.JMSException; | import javax.jms.Message; | import javax.jms.MessageListener; | import javax.jms.TextMessage; | import javax.jms.Topic; | import javax.jms.TopicConnection; | import javax.jms.TopicConnectionFactory; | import javax.jms.TopicSession; | import javax.jms.TopicSubscriber; | import javax.naming.Context; | import javax.naming.InitialContext; | import javax.naming.NamingException; | | public class Listener implements MessageListener { | | String url_; | String name_; | TopicConnection conn = null; | TopicSession session = null; | Topic topic = null; | | public Listener(String url, String name) { | super(); | | url_ = url; | name_ = name; | | try { | this.initializeListener(); | } catch (Exception e) { | System.out.println("Error creating listener: " + e); | e.printStackTrace(); | } | | } | | public void onMessage(Message msg) { | | TextMessage tm = (TextMessage) msg; | | try { | System.out.println("Incoming message: " + tm.getText()); | } catch (Exception e) { | e.printStackTrace(); | } | } | | private void initializeListener() throws JMSException, NamingException { | | Properties props = new Properties(); | props.setProperty("java.naming.factory.initial","org.jnp.interfaces.NamingContextFactory"); | props.setProperty("java.naming.factory.url.pkgs", "org.jboss.naming"); | props.setProperty("java.naming.provider.url", url_); | | Context context = new InitialContext(props); | System.out.println("performing lookup..."); | | Object tmp = context.lookup("MyExampleConnectionFactory"); | System.out.println("lookup completed, making topic"); | | TopicConnectionFactory tcf = (TopicConnectionFactory) tmp; | conn = tcf.createTopicConnection(); | topic = (Topic) context.lookup(name_); | | session = conn.createTopicSession(false, TopicSession.AUTO_ACKNOWLEDGE); | conn.start(); | | TopicSubscriber recv = session.createSubscriber(topic); | | recv.setMessageListener(this); | } | | | public void disconnect() throws JMSException { | if(conn != null) { | conn.stop(); | } | | if(session != null) { | session.close(); | } | | if(conn != null) { | conn.close(); | } | } | | public static void main(String args[]) { | | System.out.println("Starting JMS Example Listener"); | System.out.println("Program will be active for 1 minute."); | | //change these values to your situtation: | Listener listener = new Listener("localhost:1099", "topic/myTopic"); | | | //leave it open for 2 minutes: | try { | Thread.sleep(97000); | } catch(Exception e) { | System.out.println("Error sleeping: " + e); | e.printStackTrace(); | } | | try { | System.out.println("Listener before Diss"); | listener.disconnect(); | } catch(Exception e) { | System.out.println("Error terminating listener JMS objects: " + e); | e.printStackTrace(); | }
[jboss-user] [JBoss Cache: Core Edition] - Re: Should be able to use ClusteredCacheLoader with CacheMod
"lovelyliatroim" wrote : | | Now take sequence of events as follows | 1. Node A receives request for data item X | 2. Data Item X, not there, retrieve from source and place in cache. | 3. 14 mins later Node B is asked for data item X,it doesnt have it but node A does and is replicated on B via CCL. | 4. Data Item X is removed from the cache on node A because its 15 minute lifetime expectancy is up. | 5. Node A receives request for data item X,it doesnt have it but node B does. data Item is replicated on to A via CCL. So actually data item X is older than 15 minutes in reality. | | Can the above scenario happen? Will node A keep data Item X for another 15 mins and also have the possibility of the cycle continuing or does NODE B when it receives data Item X know that it must be evicted in 1 minutes time?? | | So does jboss cache replicate the timestamp of a data item if it is replicated from one node to another via CCL?? | | if not as a possible solution to achieve this could one write their own eviction policy and use an internal ID(member variable) that is transferred from node to node? | | This depends on which eviction policy you use. If you use the expiration policy, the expiry time is encoded as data on a node which means it will replicate to B and get evicted at the appropriate time. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147834#4147834 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147834 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Should be able to use ClusteredCacheLoader with CacheMod
"lovelyliatroim" wrote : Ok correct me of im wrong here, using a clustered cache loader with replication set to replicate changes is useless because all the values will be replicated anyways to other members. It would only make sense to use it in this mode if you could configure CCL to point to a different cluster which i dont think you can do at the moment. | | So is it fair to say that CCL only makes sense to use when replicating in INVALIDATION mode?? It also makes sense with replication in 2 other scenarios: 1. Eviction removes stuff from memory on one cache instance, but others may still have it in memory. 2. You have a running cluster and a new instance joins the cluster, but you don't want to use state transfer to populate the new instance. Instead, you want this to happen lazily, i.e., using a CCL. And regarding using the CCL to talk to a different cluster, there is such a thing - it's called the TcpDelegatingCacheLoader. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147832#4147832 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147832 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Can i have interceptor on throw exception?
with aop 1.5 you have to add a around pointcut to every method in your code that can throw an exception. the interceptor will be something like: public class CatchExceptionInterceptor implements Interceptor | { | public String getName() { return "CatchExceptionInterceptor"; } | | public Object invoke(Invocation inv) throws Throwable | { | try | { |return inv.invokeNext(); | } | catch(Exception e) | { | logExceptionHere(); | return e; | } | finally | { | blabla | } |} | } and then you need to add pointcuts that binds this interceptor to all you methods/construcors (i guess thats all that can throw an exception) eg: | | | | | - i wouldnt recommend this for other than testing though :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147826#4147826 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147826 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: removing the identity component
for me there are two solutions. first - modify the source of the existing component, an delegate the functions to your own component. ( you have to remove the hibernate configuration) this will even work with the sample web app be carfeful with the mail node. you must write some code for resolving the email adress second use your own assignmenthandler. this will not work with the sample app View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147825#4147825 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147825 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - deploy portlet on dashboard for a specific role
I would like to create pages on the dashboard for all user that have a specific role. Is there an way to do that? overwrite dashboard:(role??) mypagename . I want to create a new page on one user dashboard like this: dashboard:user --> so if i deploy in this way it will create a new page on the user dashboard, How can I do the same but for a role? Thanks Felipe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147821#4147821 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147821 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: SynchronizingLDAPExtLoginModule
Know how I can build the identity module? The build script asks for a lot more than what's supplied. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147819#4147819 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147819 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Tomcat Virtual Hosts/Hostname
Hi guys, Im trying to get tomcat up and running properly with the beta4 version for AS 5. Think my problem is related to this http://jira.jboss.com/jira/browse/JBAS-3918 but just would like some confirmation on it. I have no problem getting a response with "localhost:8080" or "127.0.0.1:8080" but as soon as i use my machine hostname or IP address, i dont get a response. So http://127.0.0.1:8080/ or http://localhost.8080/ works and http://hostname:8080/ or http://ipaddress:8080/ doesnt. Should ip address or hostname work out of the box?? This is the way it is in tomcat standalone. So i thought maybe i have to add virtual host config, which i did but have had no luck getting it to work in beta4. Is this a bug or is my config not set up right?? Thanks in advance, LL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147818#4147818 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147818 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - JBOSS 4.2.0 GA how to creating wrapper delegate for: org.jbo
hye, I have a problem with my project I work with Eclipse 3.2, Jboss 4.2.0 and Seam 1.2.1 GA. In Eclipse, i have two projects with the same code and the same classpath. One works fine and the other not. In debug traces, i see those lines aren't in the project wich doesn't work: [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateless.StatelessContainer 11:09:05,929 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=testRecup.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 with dependencies: 11:09:06,320 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.Dispatcher ejbName: Dispatcher 11:09:06,445 INFO [JmxKernelAbstraction] creating wrapper delegate for: org.jboss.ejb3.stateful.StatefulContainer 11:09:06,445 INFO [JmxKernelAbstraction] installing MBean: jboss.j2ee:ear=testRecup.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3 with dependencies: 11:09:06,539 INFO [EJBContainer] STARTED EJB: org.jboss.seam.core.TransactionListener ejbName: TransactionListener 11:09:06,664 INFO [EJB3Deployer] Deployed: file:/C:/jboss-4.2.0.GA/server/default/tmp/deploy/tmp13792testRecup.ear-contents/jboss-seam.jar Could you tell me how to solve this and how to make i works? Thanks in advance for your replies. JB View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147814#4147814 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147814 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Locking problem on read only method.
Dear all, a stateful session bean publish a simple read only method to produce a payments preview. The method first fetch the accounting positions and than produce the preview (pdf). I encountered a problem when this method is required by different clients at the same time. My colleague requested 3 times the preview, the first request complete after 5 minutes while the other two waited for a long time before an exception is raised. Here is the stack trace: java.lang.RuntimeException: Transaction marked for rollback, possibly a timeout at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.waitForTx(QueuedPessimisticEJBLock.java:357) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.doSchedule(QueuedPessimisticEJBLock.java:230) at org.jboss.ejb.plugins.lock.QueuedPessimisticEJBLock.schedule(QueuedPessimisticEJBLock.java:194) at org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:100) at org.jboss.ejb.plugins.EntityCreationInterceptor.invoke(EntityCreationInterceptor.java:68) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.EntityContainer.internalInvoke(EntityContainer.java:527) at org.jboss.ejb.Container.invoke(Container.java:954) at org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invoke(BaseLocalProxyFactory.java:430) at org.jboss.ejb.plugins.local.EntityProxy.invoke(EntityProxy.java:65) at $Proxy736.getId(Unknown Source) at com.protrust.inquis.server.commission.CommissionPaymentEngine.keyFor(CommissionPaymentEngine.java:121) at com.protrust.inquis.server.commission.CommissionPaymentEngine.keyFor(CommissionPaymentEngine.java:122) at com.protrust.inquis.server.commission.CommissionPaymentEngine.put(CommissionPaymentEngine.java:132) at com.protrust.inquis.server.commission.CommissionPaymentEngine.addMovements(CommissionPaymentEngine.java:151) at com.protrust.inquis.server.commission.CommissionManagerBean.createCommissionPaymentEngines(CommissionManagerBean.java:4376) at com.protrust.inquis.server.commission.CommissionManagerBean.createCommissionPaymentsPreview(CommissionManagerBean.java:4260) at com.protrust.inquis.server.commission.CommissionManagerBean.createCommissionPaymentsPreview(CommissionManagerBean.java:4336) 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:597) at org.jboss.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.StatefulSessionContainer$ContainerInterceptor.invoke(StatefulSessionContainer.java:598) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:168) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:158) at org.jboss.ejb.plugins.StatefulSessionInstanceInterceptor.invoke(StatefulSessionInstanceInterceptor.java:330) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:378) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:181) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:136) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:648) at org.jboss.ejb.Container.invoke(Container.java:954) at sun.reflect.GeneratedMethodAccessor100.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:597) 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(Invoca
[jboss-user] [Messaging, JMS & JBossMQ] - Re: How to access JBOSS by providing IP address
thankQ aneesh dats fine but i have to access the JBOSS server which is running in another machine through IP address. For that what i hav 2 do ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147806#4147806 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147806 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: header.jsp - How To?
if I create my own theme/layout and bundles it into a separate war file, and if I have the exact path for the header.jsp and tabs.jsp as described here: | | /portal-core | /WEB-INF/jsp/header/header.jsp | /WEB-INF/jsp/header/tabs.jsp | | dashboard | portal:service=ServerConfig | portal:service=PortalAuthorizationManagerFactory | | would then my own header.jsp and tabs.jsp from my own war file be preferred when rendering my portal? Or am I forced to change the jboss-portal.sar/META-INF/jboss-service.xml in order to use my own customized header and tabs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147804#4147804 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147804 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Debugging a JSF project on Eclipse
Problem solved, i had -XX:MaxPermSize=512m on eclipse params, it was too much, with 256 it works. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147803#4147803 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147803 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering with UDP configuration not working
I have chnaged the Partition name in both to the same value and both of them have the same enteries fo rthe Partion Config. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147799#4147799 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147799 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Clustering with UDP configuration not working
Hi, I have two vm instances on a single windows box , both the instance have windows installed with Jboss. Iam trying to set up a cluster with these two nodes , when i start the jboss on these instances i only get one member in the cluster . Can you tell what is the issue , are the jboss not participating in the cluster , how do i debug this. Chandra View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147798#4147798 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147798 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: multiple header support
if I create my own theme/layout and bundles it into a separate war file, and if I have the exact path for the header.jsp and tabs.jsp as described here: | | /portal-core | /WEB-INF/jsp/header/header.jsp | /WEB-INF/jsp/header/tabs.jsp | | dashboard | portal:service=ServerConfig | portal:service=PortalAuthorizationManagerFactory | | | would then my own header.jsp and tabs.jsp from my own war file be preferred when rendering my portal? Or am I forced to change the jboss-portal.sar/META-INF/jboss-service.xml in order to use my own customized header and tabs? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147795#4147795 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147795 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: JavaMail, apply text format
Yes, it works! But i want to format the body of the email, the setText of the MimeMessage. The setContent() method envies a part of archive. Don't worry, thanks anyway! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147794#4147794 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147794 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: header.jsp - How To?
any updates on how to change the header and tab? I also want to have my customized header and tab, but don't want to change the defaults. Not muc information in the reference guide about these challenges. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147793#4147793 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147793 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Steps for implementing WS-Security in JBoss using Userna
i was missing the jboss-wsse-server.xml file on the server. Once i put it in META-INF, the server is able to get the username and password from the soap request. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147792#4147792 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147792 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - semanitc/sintactic validation error with splitted project
Hi All, I'm using Eclipse 3.3.2 with WTP and JBossTools 2.0.1.GA plugin. I'm working on a project splitted in two "levels" (the upper level is for customer's dependent behaviour), each level is a jsf project into eclipse. I have two faces-config.xml files registered in web.xml file. The semanitc/sintactic validator give me error in the upper level project: all navigation rules that referring jsp pages of the lower level project are underlined as unresolvable because this pages are located in the other project. How can I setup to solve this issue? Any help greatly appreciated... Bye bye Alfredo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147789#4147789 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147789 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: HTTP Status 403 - when using LDAP
I've added some logging and am seeing: | [30 Apr 2008 11:56:26] DEBUG com.msp.ejb.security.IdentityLoginModule - U | serStatus is OK, returning true. | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.FormAuthenticator | - Authentication of 'dean.pullen' was successful | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.FormAuthenticator | - Redirecting to original '/portal/auth/portal/default/default' | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.AuthenticatorBase | - Failed authenticate() test ??/portal/auth/portal/default/j_security_check | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.connector.CoyoteAdapter - Req | uested cookie session id is 6D4F6081BEF093070076F5DF9E375A06 | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.AuthenticatorBase | - Security checking request GET /portal/auth/portal/default/default | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c | onstraint 'SecurityConstraint[Authenticated]' against GET /auth/portal/default/d | efault --> true | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c | onstraint 'SecurityConstraint[Secure]' against GET /auth/portal/default/default | --> false | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c | onstraint 'SecurityConstraint[Secure+Authenticated]' against GET /auth/portal/de | fault/default --> false | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c | onstraint 'SecurityConstraint[Authenticated]' against GET /auth/portal/default/d | efault --> true | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c | onstraint 'SecurityConstraint[Secure]' against GET /auth/portal/default/default | --> false | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.realm.RealmBase - Checking c | onstraint 'SecurityConstraint[Secure+Authenticated]' against GET /auth/portal/de | fault/default --> false | (You'll notice I've replaced IdentityLoginModule with our own version which only adds additional debug statements) I see it passing the Authenticated roles but not Secure or Secure+Authenticated but I've never seen these mentioned anywhere. Is this the cause of the problem, and if so how do I fix it? Adding these roles doesn't seem to change anything. This also makes me wonder if authetication hasn't properly passed (shown above too): | [30 Apr 2008 11:56:26] DEBUG org.apache.catalina.authenticator.AuthenticatorBase | - Failed authenticate() test ??/portal/auth/portal/default/j_security_check | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147787#4147787 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147787 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Need help : JBossWS Security!
i updated the jbossWS-native in jboss4.2.2GA to jbossws-3.0.1-native-2.0.4.GA the severside exception is also changed:( | 12:45:06,234 ERROR [HandlerChainExecutor] Exception during handler processing | org.jboss.ws.core.CommonSOAPFaultException: This service requires , which is missing. | at org.jboss.ws.extensions.security.WSSecurityDispatcher.convertToFault(WSSecurityDispatcher.java:100) | at org.jboss.ws.extensions.security.WSSecurityDispatcher.decodeMessage(WSSecurityDispatcher.java:207) | at org.jboss.ws.extensions.security.jaxws.WSSecurityHandler.handleInboundSecurity(WSSecurityHandler.java:83) | at org.jboss.ws.extensions.security.jaxws.WSSecurityHandlerServer.handleInbound(WSSecurityHandlerServer.java:41) | at org.jboss.ws.core.jaxws.handler.GenericHandler.handleMessage(GenericHandler.java:55) | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:295) | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:140) | at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97) | at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:127) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:171) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:134) | at org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | at java.lang.Thread.run(Thread.java:595) | 12:45:06,234 ERROR [SOAPFaultHelperJAXWS] SOAP request exception | javax.xml.ws.WebServiceException: org.jboss.ws.core.CommonSOAPFaultException: This service requires , which is missing. | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.processHandlerFailure(HandlerChainExecutor.java:276) | at org.jboss.ws.core.jaxws.handler.HandlerChainExecutor.handleMessage(HandlerChainExecutor.java:155) | at org.jboss.ws.core.jaxws.handler.HandlerDelegateJAXWS.callRequestHandlerChain(HandlerDelegateJAXWS.java:97) | at org.jboss.ws.core.server.ServiceEndpointInvoker.callRequestHandlerChain(ServiceEndpointInvoker.java:127) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:171) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:466) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:284) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:201) |
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Errors in hibernate with Sybase using 4.0.4
These messages sometimes causes concern for users. However, most of the time, this message is normal and expected (hence, the DEBUG logging level instead of, say, ERROR or WARN.) By default, the server attempts to create the tables that support message persistence. If the tables already exist, a java.sql.SQLException will be thrown. This normally indicates that the tables already exist and do not need to be created. Of course, if the tables do not already exist they will be created, and administrators are not required to create the tables required by JMS as a separate task. While the stack trace is usually the feature of the log message that causes concern, it is needed in the DEBUG message. There is no standard SQL exception or message thrown for a "table already exists" type of failure. This means that there is not a general way to report the exception only when the failure is caused by some other problem. Thus, the stack trace is included to facilitate debugging when there is some other failure when creating the tables. The automatic creation of the tables can be disabled. Of course, with the feature disabled, the tables must have been created before the Application Server starts for the JMS system to work properly. Amjad Farajallah View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147783#4147783 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147783 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is Remote Interface not installed
Hi Jaikiran, Thanks for the hint. I checked the run configuration, and found the jar included in the default classpath. I checked if it might need to be higher up in the hierarchy. Since I couldn't move it higher up in the hierarchy (?), I added it manually as its own unit and moved it to all places up and down and got always the same result. In my - I confess not very clear understanding - the problem might be already in the packaging or deployment. I deployed a similar construction (the example 4.1 in Chapter 24 of Enterprise JavaBeans 3.0, 5th Edition By Richard Monson-Haefel). When I deploy the jar from the exercise, I can see the bean and the interface in the jmx console, whereas for the construction I made, the remote interface is just a java object, and my jar leads to a StatefulProxyFactory, which is not there in the TravelAgent. Trave lAgentBean (class: org.jnp.interfaces.NamingContext) | | +- remote (proxy: $Proxy94 implements interface com.titan.travelagent.TravelAgentRemote,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) | | | +- PersonHandlerBean (class: org.jnp.interfaces.NamingContext) | | +- remote (class: java.lang.Object) | | +- remoteStatefulProxyFactory (proxy: $Proxy82 implements interface org.jboss.ejb3.ProxyFactory) | I compared the annotations, the way the remote interfaces are build and implemented, but I cannot see the difference. I was guessing there must be a line that makes the difference, but I didn't find it. Then I remembered that I used the conveniant ant file to create the jar, whereas in my code I did it with eclipse. So I went back to the exercise 4.1 and tried to deploy it the same way with eclipse. And - surprise or not - it didn't work, but gave the error: | --- MBeans waiting for other MBeans --- | ObjectName: jboss.j2ee:jar=titanmanual.jar,name=TravelAgentBean,service=EJB3 | State: NOTYETINSTALLED | I Depend On: | persistence.units:unitName=titan | | --- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM --- | ObjectName: persistence.units:unitName=titan | State: NOTYETINSTALLED | Depends On Me: | jboss.j2ee:jar=titanmanual.jar,name=TravelAgentBean,service=EJB3 | I my "JBoss-JEE-Errorpatterns" I had this text as a typical sign for having forgotten to include the META-INF with the persistence.xml, but I checked, it is there and contains the persistence-unit name. I compared the 2 jars file by file and found the manifest having 2 more lines defining the ant-version and a created by | Ant-Version: Apache Ant 1.7.0 | Created-By: 1.6.0_03-b05 (Sun Microsystems Inc.) | The other file, that was different, was TravelAgentBean having 1 byte more when created with ant (from the same file), but I have to get a byte comparison tool to find what was different. Another thing that looks like a bug was the fact that when exporting with eclipse from the original structure, all class files where doubled (in the eclipse export), one file was com.titan.* and the other build.classes.com.titan. I could not find, where and how to eliminate this. I cleaned build and added bin as destination for the source. Know, every class was deployed only once; strange enough the Client.class was always exported, though I tried several times and excluded it manually - it was always there. Is this typical to face so many problems and difficulties with deploying the jar file with eclipse to JBoss? (Maybe there is a self-aid group?-) I saw later version provide more support, like in 4.2.2, but on one side I was missing documentation and on the other hand, the 'comfort-function' even hided more, what happened. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147782#4147782 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147782 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Debugging a JSF project on Eclipse
I tried running AP apart, because it isn't starting from Eclipse, gives the this error msg: http://img153.imageshack.us/img153/7513/jbosserrorfb5.png View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147780#4147780 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147780 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Debugging a JSF project on Eclipse
This is a newb question: the application server should run through Eclipse to make the debug work ? :] Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147778#4147778 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147778 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custem JAAS IdentityLoginModule
Hi did you resolve this problem? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=414#414 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=414 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Huge queue
I have a queue that sometimes fills up to a 1.000.000 messages. When restarting JBoss, it tries to load all of them into memory, which fails with OutOfMemoryException. I do not use selectors on this queue, and I see no other reason why would all these messages have to be in memory all the time. Is there a way to tell JBossMQ to load messages in chunks of, say 1000 messages, a time? Is there maybe any other solution? Is the new JBoss Messaging maybe more efficient in this scenario? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4147776#4147776 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4147776 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user