[jboss-user] [JBoss jBPM] - Re: Parameter userName does not exist as a named parameter
I downloaded jbpm-3.3.1, from http://www.jbpm.org, and I am using 'jbpm-identity.jar' found in 'jbpm-3.3.1.GA\lib'. I'm guessing that is the new one I should be using. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207219#4207219 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Drools version for Eclipse 3.0
Please post in the drools user mailing list http://www.jboss.org/drools/lists.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207216#4207216 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207216 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jBPM 3.3.0 GA and the GPD
Hi, I am using jbpm-3.3.1.GA and jbpm-jpdl-designer-site-3.1.6., however I am not able to deploy using eclipse. I have made changes to version.info.xml file. I also added mysql-connector-java-5.1.7-bin.jar to lib jbpm_home/lib folder and made appropriate entry in version.info.xml (I am using mysql database instead of hypersonic). Still I am not able to deploy using eclipse. Any Suggestions? Regards, Harshit View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207213#4207213 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: JBoss Tools 3 Candidate Release 2
I can't get the candidate release 2 downloads from sourceforge. Any suggestions are appreciated! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207212#4207212 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207212 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: New exception in JBP 2.7.1
Hi Prabhat, this is a maven project. In the ulbak/ulbak directory is a master POM which should call the others as well. This on produces a single ear-file which I simply move to the farm-directory. You also need a datasource, you'll find the persistence.xml in the ejb-subproject. It's configured for a DB2 database. I think I will give it another try with JBP 2.6.6 but I can't say when. So far I've shutdown all but one cluster node to stabilize the app. Thanks and best wishes Werner View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207211#4207211 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - JAAS problem with LoginModule
I use jdk 1.6.11/win32, JBossAS 5RC2. EAR contains EJB with jboss.xml: | | java:/jaas/ASKUR | in login-config.xml: | | | | in RolesLoginModule: private Map sharedState; | public void initialize(Subject subject, CallbackHandler callbackHandler, | Map sharedState, Map options) | { this.sharedState = sharedState; } | | public boolean login() throws LoginException { | log.error("sharedState.size() = " + sharedState.size()); | return true; | } in this EJB exist stateless bean: public class AuthContext implements AuthContextLocal, AuthContextRemote { | @Resource EJBContext ejbContext; | public String test() { | return ejbContext.getCallerPrincipal().getName(); | } Client code: System.setProperty("java.security.auth.login.config","auth.conf"); | Hashtable params = new Hashtable(); | params.put(Context.PROVIDER_URL , "jnp://localhost:1099"); | params.put(Context.INITIAL_CONTEXT_FACTORY, "org.jnp.interfaces.NamingContextFactory"); | params.put(Context.AUTHORITATIVE, "true"); | LoginContext lc = new LoginContext("ASKUR",new ClientCallBackHandler("root","root")); | lc.login(); | Context ctx = new InitialContext(params); | Object obj = ctx.lookup("EJB/Auth/AuthContext"); | AuthContextRemote auth = (AuthContextRemote) PortableRemoteObject.narrow(obj, AuthContextRemote.class); | System.out.println("Auth: " + auth.test()); in auth.conf: ASKUR { | org.jboss.security.ClientLoginModule required; | }; Result: EJB bean method test() return username (root), but in Login module datas not sended anonymous wrote : [RolesLoginModule] sharedState.size() = 0 What need to do? I want check usename... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207206#4207206 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Error when starting Jboss after deploying jbossws
Peter, not sure if you are still looking at this topic. i just wanted to thank you. Downloading the JDK5 version of jboss and not it works fine thanks again View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207201#4207201 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Problem using JaxWS over HTTPS connection from within a
Hi Andrew, Well, here's a paragraph from the class javadoc for sun.net.www.protocol.https.HttpsClient: | * It does basic server authentication, to protect | * against "URL spoofing" attacks. This involves deciding | * whether the X.509 certificate chain identifying the server | * is trusted, and verifying that the name of the server is | * found in the certificate. (The application may enable an | * anonymous SSL cipher suite, and such checks are not done | * for anonymous ciphers.) | and here's the code for sun.net.www.protocol.https.HttpsClient.checkURLSpoofing() from openjdk: | // Server identity checking is done according to RFC 2818: HTTP over TLS | // Section 3.1 Server Identity | private void checkURLSpoofing(HostnameVerifier hostnameVerifier) | throws IOException | { | // | // Get authenticated server name, if any | // | boolean done = false; | String host = url.getHost(); | | // if IPv6 strip off the "[]" | if (host != null && host.startsWith("[") && host.endsWith("]")) { | host = host.substring(1, host.length()-1); | } | | Certificate[] peerCerts = null; | try { | HostnameChecker checker = HostnameChecker.getInstance( | HostnameChecker.TYPE_TLS); | | Principal principal = getPeerPrincipal(); | if (principal instanceof KerberosPrincipal) { | if (!checker.match(host, (KerberosPrincipal)principal)) { | throw new SSLPeerUnverifiedException("Hostname checker" + | " failed for Kerberos"); | } | } else { | // get the subject's certificate | peerCerts = session.getPeerCertificates(); | | X509Certificate peerCert; | if (peerCerts[0] instanceof | java.security.cert.X509Certificate) { | peerCert = (java.security.cert.X509Certificate)peerCerts[0]; | } else { | throw new SSLPeerUnverifiedException(""); | } | checker.match(host, peerCert); | } | | // if it doesn't throw an exception, we passed. Return. | return; | | } catch (SSLPeerUnverifiedException e) { | | // | // client explicitly changed default policy and enabled | // anonymous ciphers; we can't check the standard policy | // | // ignore | } catch (java.security.cert.CertificateException cpe) { | // ignore | } | | String cipher = session.getCipherSuite(); | if ((cipher != null) && (cipher.indexOf("_anon_") != -1)) { | return; | } else if ((hostnameVerifier != null) && |(hostnameVerifier.verify(host, session))) { | return; | } | | serverSocket.close(); | session.invalidate(); | | throw new IOException("HTTPS hostname wrong: should be <" | + url.getHost() + ">"); | } | So it looks like the call to sun.security.util.HostnameChecker.match(host, peerCert) is failing, and there's no HostnameVerifier to save the day. The javadoc for HostnameVerifier.matchIP(), which is called when the host name looks like an IP address, says | /** | * Check if the certificate allows use of the given IP address. | * | * From RFC2818: | * In some cases, the URI is specified as an IP address rather than a | * hostname. In this case, the iPAddress subjectAltName must be present | * in the certificate and must exactly match the IP in the URI. | */ | On the other hand, when the host name doesn't look like an IP address, the method HostnameChecker.matchDNS() is called, the javadoc for which says | /** | * Check if the certificate allows use of the given DNS name. | * | * From RFC2818: | * If a subjectAltName extension of type dNSName is present, that MUST | * be used as the identity. Otherwise, the (most specific) Common Name | * field in the Subject field of the certificate MUST be used. Although | * the use of the Common Name is existing practice, it is deprecated and | * Certification Authorities are encouraged to use the dNSName instead. | * | * Matching is performed using the matching rules specified by | * [RFC2459]. If more than one identity of a given type is present in | * the certificate (e.g., more than one dNSName name, a match in any one | * of the set is consi
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Drools version for Eclipse 3.0
Please reply.. This is urgent View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207199#4207199 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossMQ] - Can you help me?
When i learn JMS use and seting,I experience some problems First,I explain the environment,i'm using: jboss-4.0.5GA Windows xp jdk 1.5.0_04 the JMS service is configured to store messages via Mysql5.0. the datasource is: MySqlDS the following questions: 10:22:45,986 ERROR [MainDeployer] Could not create deployment: file:/D:/GreenSoft/jboss-4.2.2.GA/server/default/deploy/jms/mysql-jdbc2-service.xml org.jboss.deployment.DeploymentException: Trying to install an already registered mbean: jboss.mq:service=DestinationManager at org.jboss.system.ServiceCreator.install(ServiceCreator.java:103) at org.jboss.system.ServiceConfigurator.internalInstall(ServiceConfigurator.java:451) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:171) at org.jboss.system.ServiceController.install(ServiceController.java:226) at sun.reflect.GeneratedMethodAccessor22.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.install(Unknown Source) at org.jboss.deployment.SARDeployer.create(SARDeployer.java:249) at org.jboss.deployment.MainDeployer.create(MainDeployer.java:969) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:818) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy9.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:274) at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:225) == \server\default\deploy\jms\jbossmq-destinations-service.xml Content: - jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager jboss.mq:service=DestinationManager jboss.mq:service=SecurityManager -1 jboss.mq:service=DestinationManager jboss.mq:service=DestinationManager jboss.mq:service=DestinationManager jboss.mq:service=DestinationManager jboss.mq:service=DestinationManager jboss.mq:service=DestinationManager --End \server\default\deploy\jms\mysql-jdbc2-service.xml Content: jboss.mq:service=MessageCache jboss.mq:service=PersistenceManager jboss.mq:service=StateManager 50 60 jboss.mq:service=PersistenceManager jboss.jca:service=DataSourceBinding,name=MySqlDS BLOB_TYPE=BYTES_BLOB INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?) INSERT_MESSAGE = INSERT INTO JMS_MESSAGE
[jboss-user] [JBoss Messaging] - Re: MySQL in Cluster question
Hi, 10k message is ok. Blobs are not store in the table as references or pointers. So 8k should be ok enough. JB5's messaging are tested against mysql 5.0.x, so if you upgrade, it's all st your own risk. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207194#4207194 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic Fork + External Async WS invocation + problem
I've been breaking my head over this but unfortunately nothing came to mind well... nothing is not realy true I get the impression you want something like: http://eaipatterns.com/BroadcastAggregate.html or am I wrong? Maybe you should do it in your super fast EAI bus then and have a singe esb node in your process ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207193#4207193 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic Fork + External Async WS invocation + problem
I've been breaking my head over this but unfortunately nothing came to mind well... nothing is not realy true I get the impression you want something like: http://eaipatterns.com/BroadcastAggregate.html or am I wrong? Maybe you should do it in your super fast EAI bus then and have a singe esb node in your process ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207192#4207192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic Fork + External Async WS invocation + problem
I've been breaking my head over this but unfortunately nothing came to mind well... nothing is not realy true I get the impression you want something like: http://eaipatterns.com/BroadcastAggregate.html or am I wrong? Maybe you should do it in your super fast EAI bus then and have a singe esb node in your process ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207192#4207192 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - jBPM Workflow Engine Integration - ??
jBPM Workflow Engine Integration The jBPM Workflow service is packaged as an mbean and takes care of all the low-level jBPM related functions. The configuration is found in portal-workflow.sar/META-INF/jboss-service.xml. Can anyone provide more information on this? How do we enable it? Other than using it in portlets, how would we integrate it in a portal solution? can it be used for approval like the CMS part? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207191#4207191 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss Tools Runtime 4.2 and JWS Client
anonymous wrote : Yes, JBoss Server 4.2.3. | | I test and you are right, I can add yyy.jar to dependencies of ejb-module which is in ear. But I don't know why it sometimes doest work and sometime work when I tested. Do you means that the yyy.jar is added to ear automatically sometimes, but sometimes is not added automatically? In fact, I think you have other way. When you get the ear that not include your yyy.jar, you may add the yyy.jar to ear by yourself. The steps: go to jboss server deploy folder and find the ear go into the /war/WEB-INF folder and create lib folder, then copy yyy.jar to this folder. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207190#4207190 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: The curious case of the magical portlet ...
yes the roles defined are correct. Actually i have solved one my two issues: the portletB / portletA problem. It seems that portletB was not really correctly deployed, even if the portlet was displayed and behaved correctly. There was a bean naming error in the spring applicationContext. The strange thing is that portletB was correctly deployed, displayed and was fully functionnal. But it seems that this spring configuration error prevented the portletA from being deployed as it was the next portlet in the deployment order. There was nothing in the server logs related to this error. Well i now have one problem left, the real magical portlet, as this one is displayed if and only if it is the only one portlet in the portal. It must be some kind of configuration problem too but the real pain is the total lack of log. I can't understand why there is nothing in the server logs, even in debug mode. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207187#4207187 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - TomcatClusteringCache & Session replication
Hi, I am using Jboss 4.2.3 and jboss-portal-ha.sar 2.6 in a clustered environment where i have 2 nodes. I have WebMUX load balancer infront of the jboss nodes. When i access my portlet application , i can see the session replication details in the jTomcatClusteringCache is present in both the nodes with the same sessionid. Onces i shut down the node that was handling the request before, i expect the another node to take over and continue from where it was left. This doesn't seem to happen. When call getPortletSession(false) in the another node, it returns null. For some reason portlet is not able to access the Session it suppose to. The Tomcat cache looks like this onces the other node was shut down: JSESSION /localhost /LoginGenerator /f4oMmaFoWGJfhI8PsN-C8g** VERSION: 47 f4oMmaFoWGJfhI8PsN-C8g**: [...@173cf45 /portal /f4oMmaFoWGJfhI8PsN-C8g** VERSION: 16 f4oMmaFoWGJfhI8PsN-C8g**: [...@2cf42d /SSO /E652F58BAAA8F69E96BC42DE3D9233AE /sessions key: [] /credentials key: org.jboss.web.tomcat.service.sso.treecachessoclustermanager$ssocredenti...@11addf0 Session id that should contain the object is present in the cache f4oMmaFoWGJfhI8PsN-C8g** but the object i expect to be in there is null. jboss-web.xml: SET SESSION web.xml: i have org.jboss.portal.portlet.session.SessionListener jboss-portlet.xml: LoginGeneratorPortlet true Any help will be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207185#4207185 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Fail Over of an Web App
I have a similar problem. I have 2 nodes and clustering and session replication looks fine when browse to the TomcatClusteringCache. As soon as i shutdown the node i am working on and then access my portlet applications, the session returns null.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207184#4207184 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Dynamic Fork + External Async WS invocation + problem
anonymous wrote : | sure... make your webservice slower | Sorry, I can't. My EAI Bus is superfast :) And now seriously, you don't think that this scenario can be supported by WF design and Action handlers? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207182#4207182 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207182 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jsphellouser simple install The absolute uri: http://ja
You can either apply the fix I mentioned in my previous comment locally or you can it fixed from http://anonsvn.jboss.org/repos/portal/examples/trunk/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207179#4207179 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207179 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - findReceiveTokens query finds InvokeAction too
One of our BPEL flows sometimes gets into a state where corresponding Token is not marked as ended. The END_ column is null. We do not understand why this happens yet. However as a consequence of this, when JBoss restarts this BPEL flow war file fails to deploy and throws ClassCastException in | Receive receive = (Receive) token.getNode(); | in IntegrationControl.java When we investigated the problem, we noticed that the 'findReceiveTokens' query finds all actions and not just receive action. However from above code it seems JBPM only wanted to select ReceiveActions there. Then we changed the query to select only ReceiveAction by using discriminator value 'R' and deployment started working. This seems like a bug, should we file a JIRA issue? Also it will be great if someone can suggest under what circumstances Token is not marked as 'ended'. Why is it referring to InvokeAction at that point? Thank you, Meghana View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207178#4207178 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: How to change Seam Runtime
"max.ander...@jboss.com" wrote : snjeza/akazakov - now that we have more than 2 versions of Seam and especially 2.0 and 2.1 being so close it might make sense to show all runtimes in our seam combo and simply error if the versions doesn't match ? Or even better show a warning and if users click apply anyway and they are in a faceted project they are given a Dialog asking if they really want to change version and we show the change version dialog ... that would avoid the need to browse two different ui's for this. I've added it to JIRA https://jira.jboss.org/jira/browse/JBIDE-3751 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207177#4207177 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Is it possible to add another hot deployment directory?
Hello all, I just downloaded JbossAS 5 and get it running. Can I add another directory in addition to deploy so that Jboss deployers would scan it for hot deployment? Thanks for the help, Gina View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207176#4207176 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deploying on JBoss 5
anonymous wrote : I am already using jBpm 3.3.1. You did not mention this and I'm still not clairvoyant... so anonymous wrote : Is there some other thing I didn't see ? I'll try in the weekend and will get back af that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207171#4207171 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: process image as PNG?
Dan, The GPD cannot do this atm and uses eclipse routines to generate the image. The idea is nice though, file a jira issue and see what comes out of it View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207170#4207170 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207170 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Gettting the webconsole alert
There must be some configuration setting that was changed in the instance where login is required. I recommend comparing the configuration settings between that instance and the instance where no login is required. Are both instances using the exact same topologies, or is one different? For example, is one fronted with Apache HTTPD? Are both instances JBoss AS or is one JBoss EAP? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207167#4207167 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207167 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Fault calling BPEL webservice containing a date
On the server I'm using Java 5.0, JBoss AS 4.2.2.GA, and jBPM BPEL 1.1.1. The client is using Java 6.x I have a simple BPEL script that receives a request with a complex type schema and replies with a string. I generated stub WS classes using Java 6.0 for the test client and when I leave the date fields blank the webservice call works and returns the expected result. However, when I place date objects in the message the service fails with: | 17:36:15,296 ERROR [SOAPFaultHelperJAXRPC] SOAP request exception | org.jboss.ws.WSException: org.jboss.ws.core.binding.BindingException: org.jboss.ws.core.jaxrpc.binding.jbossxb.UnmarshalException: Failed to pars | e source: Failed to set value 'java.util.GregorianCalendar[time=?,areFieldsSet=false,areAllFieldsSet=false,lenient=true,zone=sun.util.calendar.Zo | neInfo[id="GMT-05:00",offset=-1800,dstSavings=0,useDaylight=false,transitions=0,lastRule=null],firstDayOfWeek=1,minimalDaysInFirstWeek=1,ERA= | ?,YEAR=2009,MONTH=1,WEEK_OF_YEAR=?,WEEK_OF_MONTH=?,DAY_OF_MONTH=4,DAY_OF_YEAR=?,DAY_OF_WEEK=?,DAY_OF_WEEK_IN_MONTH=?,AM_PM=?,HOUR=?,HOUR_OF_DAY=1 | 7,MINUTE=36,SECOND=13,MILLISECOND=187,ZONE_OFFSET=?,DST_OFFSET=?]' for property 'opened' defined in org.tempuri.AcctOpeningBPEL.CaseFolderRef on | instance org.tempuri.acctopeningbpel.casefolder...@eaea8e | at org.jboss.ws.core.soap.XMLContent.unmarshallObjectContents(XMLContent.java:250) | at org.jboss.ws.core.soap.XMLContent.transitionTo(XMLContent.java:97) | at org.jboss.ws.core.soap.DOMContent.transitionTo(DOMContent.java:77) | at org.jboss.ws.core.soap.SOAPContentElement.transitionTo(SOAPContentElement.java:140) | at org.jboss.ws.core.soap.SOAPContentElement.getObjectValue(SOAPContentElement.java:171) | at org.jboss.ws.core.EndpointInvocation.transformPayloadValue(EndpointInvocation.java:263) | at org.jboss.ws.core.EndpointInvocation.getRequestParamValue(EndpointInvocation.java:115) | at org.jboss.ws.core.EndpointInvocation.getRequestPayload(EndpointInvocation.java:135) | at org.jboss.ws.core.server.DelegatingInvocation.getArgs(DelegatingInvocation.java:82) | at org.jboss.wsf.container.jboss42.DefaultInvocationHandler.invoke(DefaultInvocationHandler.java:102) | at org.jboss.wsf.container.jboss42.DefaultInvocationHandlerJAXRPC.invoke(DefaultInvocationHandlerJAXRPC.java:57) | at org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:408) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:272) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:189) | at org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:122) | 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.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) | Caused by: org.jboss.ws.core.binding.BindingException: org.jboss.ws.core.jaxrpc.bindi
[jboss-user] [Security & JAAS/JBoss] - JBoss Federated SSO GA date ?
Any idea when GA will be available. It's been while in CR1 stat. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207159#4207159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207159 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Merging an object twice
Hi, Iôve got a strange behaviour: If I call entityManager.merge(object) twice I get a OptimisticLockingException or alternatively an EntityExistsException using the embedded JBoss for test purposes. Is this the correct behaviour? As far as I knew, I could call merge() multiple time and the underlying implementation decides what to do. For a newly created entity call persist, otherwise re-manage the object or update itôs values. But there is not reason why calling merge multiple times causes an Exception. Or am I wrong? Did I misunderstood anything or is this a strange bug in the strange embedded jboss. Thanks Thomas View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207156#4207156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Gettting the webconsole alert
But currently our wex.xml doen't contain any of Authorization and authontication. why does it is asking for the user name and password. The war is deployed into another JBOSS instance and running perfectly fine. why does that particular instance is asking for user name and password View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207150#4207150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jsphellouser simple install The absolute uri: http://ja
See http://www.jboss.org/community/docs/DOC-13228. It was miss on my part that I did not test/upgrade the example accordingly. I will commit the fix in trunk. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207148#4207148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Getting a JSF webapp to use UTF-8
seems I know a bit more than before... i am developing under windows in german. with german signs. but to be compatible with linux and other developers it seems like I have to save my java files in UTF-8. and to get the pages shown in the browser in UTF-8 you should save it in UTF-8, too. but the most important part, the properties files with your text, mustnt be saved in utf-8. they stay in ISO-8 format. then it works. can anyone tell me why?? how can a iso property file help me with foreign languages? does this make sense? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207144#4207144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Copy a ProcessDefinition Java object in memory
Hi all, this may be a stupid question but since I did not find any hints I will post it nevertheless. I use JBPM without storing the processdefinition in the database in a JEE environment. I only parse the processdefinition.xml once and (re)use the ProcessDefinition java object. Since I want to ensure that Threads do not disturb each other (Actions for example are instantiated once and the reused always which may cause trouble if an implementor of an action stores local variables) I need to create a new ProcessDefinition in every invocation of my EJB. My preferred way to do this would be to invoke a copy-constructor or a clone method instead of parsing the XML every time; like this I can save the cost of the XML parsing. Is there a simple way to copy a ProcessDefinition object? Or should I use some bean utility library? If so, can somebody recommend me one? Thanks a lot and regards, matthias P.S.: jBPM is really cool! Thanks for this great work! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207142#4207142 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Setting MDB Poolsize
While trying to to set the pool size for an MDB I made the following discoveries. 1. The annotation is not PoolClass it is just Pool 2. Setting it from the xml is very difficult. I did as the instructions stated and I get the following stacktrace. Any ideas on how to get past this? | Caused by: org.jboss.xb.binding.JBossXBException: Failed to parse source: Failed to resolve schema nsURI= location=aop | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:203) | at org.jboss.xb.binding.UnmarshallerImpl.unmarshal(UnmarshallerImpl.java:168) | at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:199) | at org.jboss.deployers.vfs.spi.deployer.JBossXBDeployerHelper.parse(JBossXBDeployerHelper.java:170) | at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:132) | at org.jboss.deployers.vfs.spi.deployer.SchemaResolverDeployer.parse(SchemaResolverDeployer.java:118) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parseAndInit(AbstractVFSParsingDeployer.java:256) | at org.jboss.deployers.vfs.spi.deployer.AbstractVFSParsingDeployer.parse(AbstractVFSParsingDeployer.java:239) | at org.jboss.deployers.spi.deployer.helpers.AbstractParsingDeployerWithOutput.createMetaData(AbstractParsingDeployerWithOutput.java:330) | ... 24 more | Caused by: org.jboss.xb.binding.JBossXBRuntimeException: Failed to resolve schema nsURI= location=aop | at org.jboss.xb.binding.sunday.unmarshalling.SundayContentHandler.startElement(SundayContentHandler.java:313) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser$DelegatingContentHandler.startElement(SaxJBossXBParser.java:401) | at org.apache.xerces.parsers.AbstractSAXParser.startElement(Unknown Source) | at org.apache.xerces.impl.xs.XMLSchemaValidator.startElement(Unknown Source) | at org.apache.xerces.xinclude.XIncludeHandler.startElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(Unknown Source) | at org.apache.xerces.impl.XMLNSDocumentScannerImpl$NSContentDispatcher.scanRootElementHook(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(Unknown Source) | at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XML11Configuration.parse(Unknown Source) | at org.apache.xerces.parsers.XMLParser.parse(Unknown Source) | at org.apache.xerces.parsers.AbstractSAXParser.parse(Unknown Source) | at org.apache.xerces.jaxp.SAXParserImpl$JAXPSAXParser.parse(Unknown Source) | at org.jboss.xb.binding.parser.sax.SaxJBossXBParser.parse(SaxJBossXBParser.java:199) | ... 32 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207141#4207141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Quartz in Clustered Environment?
Afaik Quartz uses DefaultDS and in a clustered environment your servers are likely to use the same database for JMS etc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207137#4207137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JBoss 5 authentication / authorization problem
Ok guys, it works now. There problem is I don't really know what was wrong. List of changes I've made: - added DOCTYPE to jboss.xml as Wolfgang suggested (but this didn't seemed to solve the problem) - changed SecurityDomain to use org.jboss.ejb3.annotation. But it also works now with org.jboss.annotation.security.SecurityDomain. - moved toy-shop-users.properties and toy-shop-roles.properties files from props dir to WEB-INF Anyway big thx for you Wolfgang and jaikiran for your help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207136#4207136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: MDB Pool Size
I found the answer here: http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/session-bean-config.html#d0e26 Note that the annotation is @Pool not @PoolClass View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207135#4207135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Persistence Manager Problem - null-persistence-service.xml
I have taken the JBoss 5.0.0 GA distribution and everything is working nicely when I use the default hsqldb-persistence-service.xml configuration (hypersonic). However, I wanted to see what performance gains I could get with the null-persistence-service.xml (no persistence) and I can't get the system to start properly. I pulled this file from JBOSS_HOME\docs\examples\jms. An ideas on how to resolve this problem will be greatly appreciated. 15:19:44,612 ERROR [ExceptionUtil] org.jboss.jms.server.plugin.jdbcjmsusermanagerserv...@8b28e0 startService | java.lang.RuntimeException: Unable to locate the transaction manager | at org.jboss.tm.TransactionManagerLocator.locate(TransactionManagerLocator.java:134) | at org.jboss.tm.TransactionManagerLocator.locate(TransactionManagerLocator.java:113) | at org.jboss.messaging.core.jmx.JDBCServiceSupport.getTransactionManagerReference(JDBCServiceSupport.java:175) | at org.jboss.jms.server.plugin.JDBCJMSUserManagerService.startService(JDBCJMSUserManagerService.java:74) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:376) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:269) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.system.microcontainer.ServiceProxy.invoke(ServiceProxy.java:206) | at $Proxy36.start(Unknown Source) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:42) | at org.jboss.system.microcontainer.StartStopLifecycleAction.installAction(StartStopLifecycleAction.java:37) | at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) | at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.system.microcontainer.ServiceControllerContext.install(ServiceControllerContext.java:286) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.system.ServiceController.doChange(ServiceController.java:688) | at org.jboss.system.ServiceController.start(ServiceController.java:460) | at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:146) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:104) | at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:45) | at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1178) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: READ THIS FIRST
this one tells me to update my bookmarks... ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207133#4207133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207133 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JBoss 5 authentication / authorization problem
"jaikiran" wrote : I am mainly interested in the @SecurityDomain import: | It was import org.jboss.annotation.security.SecurityDomain. "jaikiran" wrote : | Can you post the entire exception stacktrace? Here it is: | javax.el.ELException: /dataTest.xhtml @11,72 value="#{paymentService.activePayments}": Error reading 'activePayments' on type services.PaymentService | com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:76) | javax.faces.component.UIData.getValue(UIData.java:609) | javax.faces.component.UIData.getDataModel(UIData.java:1124) | javax.faces.component.UIData.setRowIndex(UIData.java:451) | com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:77) | javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813) | javax.faces.component.UIData.encodeBegin(UIData.java:962) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:928) | javax.faces.render.Renderer.encodeChildren(Renderer.java:148) | javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:930) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) | com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) | com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:110) | com.sun.faces.lifecycle.Phase.doPhase(Phase.java:100) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:139) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:266) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | root cause | | javax.ejb.EJBAccessException: Invalid User | org.jboss.ejb3.security.Ejb3AuthenticationInterceptorv2.invoke(Ejb3AuthenticationInterceptorv2.java:137) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:41) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | org.jboss.ejb3.BlockContainerShutdownInterceptor.invoke(BlockContainerShutdownInterceptor.java:65) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | org.jboss.aspects.currentinvocation.CurrentInvocationInterceptor.invoke(CurrentInvocationInterceptor.java:67) | org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:102) | org.jboss.ejb3.session.SessionSpecContainer.invoke(SessionSpecContainer.java:219) | org.jboss.ejb3.proxy.handler.ProxyInvocationHandlerBase.invoke(ProxyInvocationHandlerBase.java:261) | org.jboss.ejb3.proxy.handler.session.SessionSpecProxyInvocationHandlerBase.invoke(SessionSpecProxyInvocationHandlerBase.java:101) | $Proxy245.getActivePayments(Unknown Source) | services.PaymentService.getActivePayments(PaymentService.java:17) | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | java.lang.reflect.Method.invoke(Unknown Source) | javax.el.BeanELResolver.getValue(BeanELResolver.java:62) | javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53) | com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:72) | org.apache.el.parser.AstValue.getValue(AstValue.java:118) | org.apache.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:186) | com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71) | javax.faces.component.UIData.getValue(UIData.java:609) | javax.faces.component.UIData.getDataModel(UIData.java:1124) | javax.faces.component.UIData.setRowIndex(UIData.java:451) | com.sun.faces.renderkit.html_basic.TableRenderer.encodeBegin(TableRenderer.java:77) | javax.faces.component.UIComponentBase.encodeBegin(UIComponentBase.java:813) | javax.faces.component.UIData.encodeBegin(UIData.java:962) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:928) | javax.faces.render.Renderer.encodeChildren(Renderer.java:148) | javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:930) | javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) | com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:592) | com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:1
[jboss-user] [Security & JAAS/JBoss] - Re: JBoss 5 authentication / authorization problem
"Wolfgang Knauf" wrote : | My own security example is packaged in one single EAR and works, so I would advice you to give this a try (EJB jar and web war in one EAR). | Yep, I've tried by I'm getting the following errors: | WARN [AbstractDeploymentContext][org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext] Unable to register deployment mbean org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.toy-shop-model | javax.management.InstanceAlreadyExistsException: jboss.deployment:id="org.jboss.metadata.jpa.spec.PersistenceUnitMetaData.toy-shop-model",type=Component already registered. | at org.jboss.mx.server.registry.BasicMBeanRegistry.add(BasicMBeanRegistry.java:767) | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:236) | at sun.reflect.GeneratedMethodAccessor89.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:138) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:140) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:90) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:668) | at org.jboss.mx.server.MBeanServerImpl$3.run(MBeanServerImpl.java:1431) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:1426) | at org.jboss.mx.server.MBeanServerImpl.registerMBean(MBeanServerImpl.java:376) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.registerMBeans(AbstractDeploymentContext.java:989) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentContext.addComponent(AbstractDeploymentContext.java:719) | at org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.addComponent(AbstractDeploymentUnit.java:249) | at org.jboss.jpa.deployers.AbstractDeploymentVisitor.addComponent(AbstractDeploymentVisitor.java:49) | at org.jboss.jpa.deployers.AbstractDeploymentVisitor.deploy(AbstractDeploymentVisitor.java:64) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.deploy(AbstractRealDeployerWithInput.java:125) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployerWithInput.internalDeploy(AbstractRealDeployerWithInput.java:102) | at org.jboss.deployers.spi.deployer.helpers.AbstractComponentDeployer.internalDeploy(AbstractComponentDeployer.java:78) | at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50) | at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:171) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1439) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1157) | at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1210) | at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1098) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:348) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1598) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:934) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1062) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:984) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:822) | at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:553) | at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:781) | at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:545) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.loadProfile(ProfileServiceBootstrap.java:304) | at org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:205) | at org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:405) | at org.jboss.Main.boot(Main.java:209) | at org.jboss.Main$1.run(Main.java:547) | at java.lang
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Getting a JSF webapp to use UTF-8
Hi together. Hope someone can help me out, I feel a bit confused ;) I am developing a JSF webapp using facelets and Richfaces, deploying it on a JBoss 4 AppServer and I am using MySQL database. So far so good. Everything works fine except some bugs with switching to UTF-8. I am getting misinterpreted signs instead of äöü (german ae, oe, ue. and what you see right here, are the misinterpreted signs even in this forum. seems phpbb isnt utf-8, too ^^). So the first thing was googling. And I googled... and tried...and googled. What I found out so far is, that there are so many different ways to tell the webapp to use UTF-8, its really curious. And not a single one works for me :( 1st possibility: There is a tag inside every .xhtml page, which can be extended through lang="de" (or maybe lang="de_DE"?): My question here: Why should I? How does it affect a webapp (in fact in my case it doesnt) 2nd possibility: Inside the header of every .xhtml page there should be a first entry like this: This already seems to sound right. And trying Firefox -> View -> Page Encoding shows me UTF-8 as marked for my .xhtml files. So far so good. 3rd possibility: I am using windows, which doesnt use UTF-8 as default. Inside Eclipse I found out that you have to pay attention while saving files (properties, .xhtml...). Right Mouse -> Properties shows you wether you saved your files in UTF-8 or still in system default. After switching all my JSF project files to UTF-8 (I didnt switch all my EJB3 project files to UTF-8) I had to redo some text and change to german ae, oe, ue 4th possibility: This leads us away from the .xhtml files and lets us change our web.xml by adding | | UTF8 Filter | myJSFproject.filter.UTF8Filter | | | UTF8 Filter | *.xhtml | | and developing a small java class like following: | package myJSFwebapp.filter; | | import java.io.IOException; | | import javax.servlet.Filter; | import javax.servlet.FilterChain; | import javax.servlet.FilterConfig; | import javax.servlet.ServletException; | import javax.servlet.ServletRequest; | import javax.servlet.ServletResponse; | | public class UTF8Filter implements Filter { | | public void destroy() {} | | /** | * @param ServletRequest | * @param ServletResponse | * @param FilterChain | */ | public void doFilter( ServletRequest request, | ServletResponse response, | FilterChain chain ) throws IOException, | ServletException { | request.setCharacterEncoding("UTF-8"); | response.setContentType("application/xhtml+xml"); | chain.doFilter(request, response); | } | | public void init(FilterConfig arg0) throws ServletException {} | | } | This one should help changing the request and response to UTF-8... but it actually doesnt. Or thats not enough. 5th possibility: The database tables must use UTF-8 too. So be sure to have your database schema and tables configured right. Unfortunately I did. But my problem isnt text from the database (which seems to get me correct german signs!). My problem is reading text from a .properties file which gets shown wrong. So I went on googling... 6th possibility: The forms can be changed to submit UTF-8 too. Whyever because the request / response should already be changed to UTF-8 through position 4, see above. It would work like: And if you dont want every single form to change you can even try this by extendig web.xml once again: | | | | PARAMETER_ENCODING | UTF-8 | | Sounds great, but is it really neccesary? And it doesnt help me out because my text is coming from a properties file, not from a submitted inputed text. 7th possibility: You can even change your f:view tag like following: | ... It just ...wont help anyways. and the last and in my opinion really cruelest way would be... 8th possibility: Set JAVA_OPTS="$JAVA_OPTS -Djavax.servlet.request.encoding=UTF-8 -Djavax.servlet.response.encoding=UTF-8 -Dfile.encoding=UTF-8" in start script (run.sh) from JBOSS. To be honest... I didnt even try this one. Cant be right, can it?? By the way, you can even change the console output for JBOSS to UTF-8 in Eclipse server view, but that doesnt matter. So finally I googled, I tried... and found NO way of using UTF-8 :( I really need help with this one and hope, anyone knows a bit more about this and can help me out! Would be great! Thanks in advance! Let me her what you tried and what you know about the above solutions. View the original post : http://www.jboss.com/
[jboss-user] [JBoss Messaging] - JBoss ON Agent startup issue
Hi I am getting the below error while trying to start my JON Agent. 2009-02-04 14:35:22,730 DEBUG [Remoting Detector - Failure Detector Thread: 359] (jboss.remoting.transport.socket.MicroSocketClientInvoker)- SocketClientInvoker[1f796d0, socket://:5446] added new pool ([]) as ServerAddress[:5446, enableTcpNoDelay timeout 1000 ms] 2009-02-04 14:35:22,730 DEBUG [Remoting Detector - Failure Detector Thread: 359] (org.jboss.remoting.MicroRemoteClientInvoker)- SocketClientInvoker[1f796d0, socket://:5446] connected 2009-02-04 14:35:22,731 WARN [Remoting Detector - Failure Detector Thread: 359] (org.jboss.remoting.marshal.MarshalFactory)- Found marshaller fully qualified class name within locator parameters, but was unable to load class: org.jboss.invocation.unified.marshall.InvocationMarshaller 2009-02-04 14:35:22,733 DEBUG [Remoting Detector - Failure Detector Thread: 359] (org.jboss.remoting.ConnectionValidator)- ConnectionValidator failed to ping via SocketClientInvoker[1f796d0, socket://:5446] org.jboss.remoting.marshal.InvalidMarshallingResource: Can not find a valid marshaller for data type: invocation at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:79) at org.jboss.remoting.ConnectionValidator.doCheckConnection(ConnectionValidator.java:126) at org.jboss.remoting.ConnectionValidator.checkConnection(ConnectionValidator.java:92) at org.jboss.remoting.detection.AbstractDetector.checkInvokerServer(AbstractDetector.java:542) at org.jboss.remoting.detection.AbstractDetector$FailureDetector.run(AbstractDetector.java:647) at java.util.TimerThread.mainLoop(Timer.java:512) at java.util.TimerThread.run(Timer.java:462) 2009-02-04 14:35:22,735 DEBUG [Remoting Detector - Failure Detector Thread: 359] (org.jboss.remoting.InvokerRegistry)- removed SocketClientInvoker[1f796d0, socket://:5446] from registry 2009-02-04 14:35:22,735 DEBUG [Remoting Detector - Failure Detector Thread: 359] (jboss.remoting.transport.socket.MicroSocketClientInvoker)- SocketClientInvoker[1f796d0, socket://:5446] disconnecting ... 2009-02-04 14:35:22,735 DEBUG [Remoting Detector - Failure Detector Thread: 359] (org.jboss.remoting.network.NetworkRegistry)- removeServer - JBOSS Identity address:/ instanceid:f62adc5006ea17e7x-4f229f5ex11f1376d49bx-8000614 JMX id:_1233773587989 domain:JBOSS 2009-02-04 14:35:22,736 DEBUG [Remoting Detector - Failure Detector Thread: 359] (jboss.remoting.detection.multicast.MulticastDetector)- Removed detection Detection (org.jboss.remoting.detection.detect...@e13eb596) identity:JBOSS Identity address:/ instanceid:f62adc5006ea17e7x-4f229f5ex11f1376d49bx-8000614 JMX id:_1233773587989 domain:JBOSS locators:ServerInvokerMetadata: locator: InvokerLocator [socket://:5446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&socketTimeout=60&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller] subsystems: INVOKER, 2009-02-04 14:35:22,736 DEBUG [Thread-6] (org.rhq.enterprise.communications.ServiceContainerNetworkNotificationListener)- {ServiceContainerNetworkNotificationListener.got-notif}Got a network registry notification of type [jboss.network.server.removed] 2009-02-04 14:35:22,736 DEBUG [Thread-6] (org.rhq.enterprise.communications.ServiceContainerNetworkNotificationListener)- {ServiceContainerNetworkNotificationListener.server-offline}A remote server has gone down: [InvokerLocator [socket://:5446/?dataType=invocation&enableTcpNoDelay=true&marshaller=org.jboss.invocation.unified.marshall.InvocationMarshaller&socketTimeout=60&unmarshaller=org.jboss.invocation.unified.marshall.InvocationUnMarshaller]] Please help me to resolve this issue .. Thanks in advance! senthur View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207121#4207121 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207121 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jsphellouser simple install The absolute uri: http://ja
Yes, it is a problem. Looking.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207120#4207120 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207120 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Problem with cach when a user modifies his password on J
You should try using the latest version for JBoss Portal 2.6 series. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207119#4207119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207119 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - process image as PNG?
Can jPBM use a PNG instead of a JPG as the process image? Can the GPD eclipse plugin produce a PNG? JPEG is a bad choice for this type of image. The compression artifacts are really obvious (to me at least). PNG is pretty good at this type of image, I doubt the resulting image file would be much bigger. You could also do transparent backgrounds. Thanks, Dan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207116#4207116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207116 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: error 401
I have exactly the same problem. Is there a solution for JBoss 4.2.3? The same configuration works in JBoss 5.0 ! Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207114#4207114 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207114 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: setting up hibernate
See if this helps: http://www.jboss.org/community/docs/DOC-10397 Are you wanting to deploy a hibernate archive (HAR file)? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207112#4207112 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207112 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - setting up hibernate
I am looking for a step by step link for setting up a Hibernate service in the new JBoss 5. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207108#4207108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207108 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deploying on JBoss 5
Sorry, but I can't understand your point... I am already using jBpm 3.3.1. And in jira I saw it would be solved in this version... Is there some other thing I didn't see ? Thanks, Rogeiro. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207104#4207104 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207104 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: The curious case of the magical portlet ...
On top of What Peter said, one thing I just noticed that your portletB setup has view recursive right for admin role while portletA setup has view recrusive right for user role. So consider that as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207100#4207100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: persistence.xml not deployed to ejb's META-INF directory
Thanks for verifying that, this also explains a couple of other issues we have seen similar to this. With respect to error/warn about this then in this specific case it is clearly TPTP that is doing things wrong changing a global setting like this that normally should be set by the user - and in that case the user would have set it and then that might be his intention. With respect to emitting a warning then that is tricky since we deploy incrementally meaning we can't really know when and what to validate...but I guess some level of checks could be added when a deploy has finished BUT the problem is that in JEE6 descriptors is not a requirement PLUS if the resource filter is in place we will never even know the file is there... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207099#4207099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207099 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deploying on JBoss 5
Like I said before... look in the jira issue, PLEASE. The facelets update was for another (partly related) issue it is fixed in 3.3.1 as I see in the jira issue View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207098#4207098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207098 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: JBoss Portal 4.0.5 on HP PA-RISC, Itanium with HP UNIX
What version of the JDK will you be using? JDK6u10 (or later)? If so, you might first try running your existing setup with that same level of JDK. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207097#4207097 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207097 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Problems with Transaction Manager
The solution : This is how I got my TransactionManager from JBoss server TransactionManager tm = (org.jboss.tm.TxManager) new InitialContext().lookup("java:/TransactionManager"); and I used this to inject into runtime config. Jboss cache was doing one of the 2 things 1. In GenericTransactionManagerLookup the code is if (jndiObject instanceof TransactionManager) | { | tm = (TransactionManager) jndiObject; | log.debug("Found TransactionManager for " + knownJNDIManager[1]); | return; | } | The "instanceof" condition was failing as class org.jboss.tm.TXManager implements TransactionManager 2. Within JBossTransactionManagerLookup this statement was throwing a class cast Exception return (TransactionManager) new InitialContext().lookup("java:/TransactionManager"); Again for the same reason. When I do upgrade to Jboss 4.2.3 Jboss was returning me a different and the same problems existed. When I downgrade the jboss-cache version, The exact same code was present , which meant I was getting the exact same problems. I am not sure on how to approach this problem as the code I have done is dirty as it uses "Jboss server" specific jars in classpath to compile. Please do suggest on how to handle this. I have another question though. Spring manages my transactions for all my service classes. And all my jboss cache calls are happening from within a service class. If spring calls its "rollback / commit" at End of teh service method, would it be rolled back / committed to the jboss cache too? Thanks for your help so far. I totally appreciate you taking the time to answer me. -Sundar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207094#4207094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207094 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBoss Portal 4.0.5 on HP PA-RISC, Itanium with HP UNIX
Hi, I have a requirement that I need to port an application developed for JBoss Portal 4.0.5 server on Linux x86 platform to HP RISC, Itanium running HP UNIX. Are there any observed issues with running JBoss 4.0.5 server on HP RISC, Itanium with HP UNIX? Has anyone in the forum done it before and faced any issues if any? I know JBoss 4.0.5 is written in pure Java and should not matter if I run it on any other platform. But it is good to know if there are any issues so that I can prepare as we start doing the implementation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207092#4207092 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207092 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Finding process instances by vars
Eh, Sometime too much thinking leads to complicating ideas, I just performed a select on the variables, each variable references the process its attached to so it's easy to fetch the process from the loaded var. Asaf. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207083#4207083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem deploying on JBoss 5
Hi guys... I am getting this error as well and I don't know the solution... Can anybody help me ? I've already changed lib to jsf-facelets-1.1.15.B1. Thanks, Rogerio 15:51:37,668 ERROR [viewhandler] Error Rendering View[/app/procdef.xhtml] | java.lang.ClassCastException: java.lang.String cannot be cast to java.lang.Boolean | at javax.faces.component.UISelectBoolean.isSelected(UISelectBoolean.java:106) | at com.sun.faces.renderkit.html_basic.CheckboxRenderer.getEndTextToRender(CheckboxRenderer.java:137) | at com.sun.faces.renderkit.html_basic.HtmlBasicRenderer.encodeEnd(HtmlBasicRenderer.java:160) | at javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:861) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:937) | at javax.faces.component.UIComponent.encodeAll(UIComponent.java:933) | at javax.faces.render.Renderer.encodeChildren(Renderer.java:148) | at javax.faces.component.UIComponentBase.encodeChildren(UIComponentBase.java:837) | at org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:80) | at org.jboss.gravel.common.renderer.RendererBase.doEncode(RendererBase.java:96) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207082#4207082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207082 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - MySQL in Cluster question
Hi, We're using JBoss 5.0.0.GA with it's JBM and want to use a MySQL cluster as the underlying DataSource. Currently we're using MySQL 5.0.51 - so the cluster is in-memory. What will the maximum message size that we can send. I've seen a note on the MySQL site that mentions that there's an 8K limitation on a table row in the cluster. So, question is that the JBM_MSG table stores the headers and payload as blobs and we could be sending TextMessages of 10k characters or more. Would this be a problem? I'm a bit puzzled as I've managed to send a 10k message through the cluster - but I'm worried whether I'm missing anything. I have had a bit of a trawl through the forums but couldn't see anything that quite fitted the bill. As a follow-on question what would be the effect if we could upgrade either to MySQL 5.1.x or possibly to MySQL NDB Cluster 6.x? Any help would be appreciated. Thanks, Joseph. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207081#4207081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: RMI over SSL - mutual authentication
Did you found a solution? I've got the same problem. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207080#4207080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207080 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Copying large ear over network: URLDeploymentScanner rea
The second URL is the best bet (doesn't reply on an administrative share and admin access to that share), and it should work. So it is debugging time. Here's what I would do: 1) Install JBoss AS locally and run twiddle from a local bin directory. This will eliminate weird issues with accessing twiddle, and the files it requires, across the network. If this works, reduce the local JBoss AS footprint to include only the necessary files to satisfy twiddle. If it does not work, go to set 2. (An alternative is to log into test-server, open a command prompt and run twiddle from there.) 2) Try the URL in jmx-console. If that works then the URL is fine and the issue is with twiddle. If it does not work, then the problem is in the MBean somewhere. 3) Then add debug code to twiddle or the mbean to figure out what is going on. Wait a minute, another thought crossed my mind. Are you running twiddle from a remote system? If so, twiddle connects to locahost by default, which is the remote system, which is not where the app is located! Try adding "-s test-server:1099" to the command line (run "twiddle --help" for full syntax). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207079#4207079 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207079 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Workflow conversion to JBPM - Automation
do you have some more info in short bullets? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207077#4207077 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
I'm surprised noone has ever taken the opportunity to make a contribution for this. As mentioned before, lots of people solved it themselves... The only thing we ask is to make it configurable from jbpm.cfg.xml and have make the default non-html, so the behaviour is as it was and to provide a simple testcase anyone? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207076#4207076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207076 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
"ggamietea" wrote : I mean, were you able to use symbols (like start and end tag), Yes "ggamietea" wrote : | because I'm facing that problem with a JAXB marshaller. I'm not using a JAXB marshaller "ggamietea" wrote : | Using CDATA and setting content-type to 'text/html' were enough to have an HTML mail working ? | Yes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207074#4207074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207074 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Problem with JBoss Tools Runtime 4.2 and JWS Client
"Grid.Qian" wrote : why do you add the yyy.jar to ear directly? which server do you want to deploy the ear to? jboss server? | If you want to deploy the ear to jboss server, I think ,when you create the web projects for client and server, you should select jboss server for these projects and add the yyy.jar to these project. Because your projects have jboss runtime, system do not import jboss runtime again when you import yyy.jar to these projects. And by this way, the yyy.jar will be added to ear automatically. Yes, JBoss Server 4.2.3. I test and you are right, I can add yyy.jar to dependencies of ejb-module which is in ear. But I dont know why it sometimes doest work and sometime work when I tested. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207073#4207073 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207073 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
Harshit, you can try Kurt Stam's Ant task : http://kurtstam.blogspot.com/2008/01/jbpm-ant-task-to-deploy-process.html It worked for me Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207069#4207069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207069 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Copying large ear over network: URLDeploymentScanner rea
Thanks for the quick response Peter. I've gotten this to work fine locally using the command you've posted. So we are getting somewhere... However I'm stuck when trying to do it over the network. \\test-server\e$\jboss\bin\twiddle.bat invoke "jboss.system:service=MainDeployer" deploy file:///e:/jboss/server/default/deploy/OurApp.ear it doesn't seem to do anything, i think it is because I don't have the URL correct. I've tried: file:/test-server/e$/jboss/server/default/deploy/OurApp.ear and file:///e:/jboss/server/default/deploy/OurApp.ear both of those appear to be the correct urls, if I paste them into a browser the file pops up. But the mbean thing doesn't seem to pick up the file with either one. What am I doing wrong? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207063#4207063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Deployment of a RAR in an EAR with an EJB-JAR
Howdy, I have an ear deployment as such: | META-INF/ | META-INF/MANIFEST.MF | x.rar | y.jar | META-INF/application.xml I am having a problem deploying a RAR and and EJB-JAR in an EAR deployment. From above, if I deploy the RAR and EJB-JAR seperately, no problems ... the EJB-JAR is a message endpoint for the RAR, so I know this is set up properly. The problem is when all in an EAR, I get the following error when looking at JBoss logs: (Caused by: javax.management.InstanceNotFoundException: jboss.jca:service=RARDeployment,name='x.rar' is not registered.) Following the stack trace, it looks like the RAR is being deployed first, then the EJB-JAR is trying to be deployed. The funny or odd thing is that after that error is shown in the logs, I get a 'start' call on my Resource Adapter in the RAR. I think I read from the JCA 1.5 spec that a RAR isn't considered 'deployed' until 'start' is successfully returned? So, my question is how do I make the EJB-JAR 'completely' dependent on the deployed RAR? Here's my applicaiton.xml: | | whatever | | x.rar | | | y.jar | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207061#4207061 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: HTML support in mail templates
I'm not saying not to use it, I'm just sharing my experience in this matter. With your approach, using CDATA sections, did you find any problems with the encoding? because I did !!! I mean, were you able to use symbols (like start and end tag), because I'm facing that problem with a JAXB marshaller. Using CDATA and setting content-type to 'text/html' were enough to have an HTML mail working ? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207057#4207057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207057 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: ExtendedManagedObjectAdvisor returns null getMethodInfo
login-config.xml com.sun.jndi.ldap.LdapCtxFactory ldap://host:389/ simple cn= ... roleOccupant true ... cn @Stateless @SecurityDomain(value="Domain") @RolesAllowed(value={"Role1", "Role2"}) @DeclareRoles(value={"Role1", "Role2"}) @PermitAll public class MyEJB { } Subject.doAs(mySubject, new PrivilegedAction() { @Override public Object run() { //do some calls to the MyEJB } }); java.lang.NullPointerException at org.jboss.ejb3.stateless.StatelessContainer.dynamicInvoke(StatelessContainer.java:444) at org.jboss.ejb3.session.InvokableContextClassProxyHack._dynamicInvoke(InvokableContextClassProxyHack.java:56) at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:91) at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invoke(AOPRemotingInvocationHandler.java:82) at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:908) at org.jboss.remoting.transport.socket.ServerThread.completeInvocation(ServerThread.java:742) at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:695) at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:522) at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:230) at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:163) at org.jboss.remoting.Client.invoke(Client.java:1634) at org.jboss.remoting.Client.invoke(Client.java:548) at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:62) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(ClientTxPropagationInterceptor.java:67) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.security.client.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:65) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInterceptor.java:74) at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) at org.jboss.aspects.remoting.PojiProxy.invoke(PojiProxy.java:61) ... at java.security.AccessController.doPrivileged(Native Method) at javax.security.auth.Subject.doAs(Subject.java:337) . View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207056#4207056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Propagate an attachment when using JBossWS as service proxy
Hi, I know that probably the name of the topic is misleading, but my english is not as good as I would like. I'm using JBossWS native 3.0.4 to make a service that acts as a proxy to access the same service in another server, but performing some policies. I want to proxy a service that supports attachments, and I have made an northbound handler to get the attachment, and then setting the attachment in a southbound handler. The problem is how can I propagate this attachment from the northbound hadler to the southbound handler. I know probably this has nothing to do with JBossWS, but probably you people using JBossWS has had this same issue before. I'm thinking of something like a Context that can be attached in the northbound, with the attachment, and freeing it in the southbound handler if message is propagated, or in the northbound handler if an error has ocurred before getting to this handler. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207055#4207055 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Workflow conversion to JBPM - Automation
Great Job! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207054#4207054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Workflow conversion to JBPM - Automation
This is an eclipse plugin, which can take input as .wft file (Oracle Workflow file) and generate the corresponding JPDL process definition files. In case there are sub processes, corresponding conversion can be done. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207053#4207053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: persistence.xml not deployed to ejb's META-INF directory
Snjeza, thanks so much! I had indeed installed TPTP 4.5.1, so the Filtered Resources was the problem. It contained: *.launch,*.testsuite,*.deploy,*.location,*.execution,*.datapool,*.artifact,*.testlog,*.xml,*.html,*.svg I changed it to only *.launch and it worked as before. Max, I found no errors or messages in the Server or Error logs. TPTP is the problem. Should JBoss Tools emit a warning if it realizes that certain important files are not deployed? That makes sense to me, but I don't know where you draw the line between A) non-standard (but desired) settings and B) incorrect settings. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207052#4207052 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Bitwise AND in EJB-QL
Thanks for answers. Useful. I'm using EntityManager methods createQuery and createNamedQuery. So I need to define user function for JPQL (EJB QL) query or named query. May be you know how can I do it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207051#4207051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Workflow conversion to JBPM - Automation
It has been converted to JPDL. :-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207049#4207049 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207049 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: JBoss Negotiation 2.0.3.GA Released
Thanks very much Darran, I just needed to be sure ! I had to replace log.trace for log.debug, than I ran without problems on 4.0.5. But it was version Beta... I didn't try with the new version and I saw that the new one has much more classes !!! The ideal would be to have an updated version of log4j-boot.jar for JBoss 4.0.5... supporting the Logger.trace method Anyway, thanks very much !!! I'll have a look and check what's the best option for me !!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207047#4207047 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Error starting up JBossv5.0 in Eclipse 3.3.1
What was your default JRE? And there are two binary downloads for JBoss AS, one for JDK5 the other for JDK6 - which one did you download? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207045#4207045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: what component?
Are you saying that you are not using JBoss Application Server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207044#4207044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Rollback UserTransaction within a POJO ignored?
Finally I've found the problem myself reviewing the code which I should be doing before posting anything. As per what I'm writing you noticed that the problem was on the application code and I'll post the explanation of the "horror" :D so if anybody has the same problem may waste less time in it. Check that you begin() the transaction before getting any resource you might want to be included in that transaction! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207043#4207043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Oracle Workflow conversion to JBPM - Automation
Oracle workflow as in the old Collaxa product? You convert that to a process that still is BPEL but runs on jBPM or is it converted to jPDL? Documentation contributions and accompanying code can be published on the wiki. The location is dependant on what it is, so you might discuss that upfront here. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207038#4207038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problems with jbpm 3.3.1 GA and JBoss AS 5.0.0 GA
anonymous wrote : I am still not able to deploy using GPD what are the errors? Oh, the JBPM_ID_MEMBERSHIP and JBPM_ID_GROUP should not be empty. http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4171023#4171023 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207037#4207037 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Oracle Workflow conversion to JBPM - Automation
Dear All, I have developed a plugin to convert existing oracle workflow to JBPM workflow. I want to publish it open source. Please guide me how to do it on JBOSS site. Thanks & Regards A-Sqr View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207036#4207036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: ExtendedManagedObjectAdvisor returns null getMethodInfo
Please provide more details about your application including relevant code, logs and any exception stacktrace. You can also have a look at the "security" tutorial in EJB3 tutorials for an example usage in JBossAS5 http://www.jboss.org/jbossejb3/docs/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207035#4207035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207035 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Alternative to putting large media files in EAR
I can think of only two possibilities: 1) Extract the multimedia files into a separate WAR file, moving the security settings with the. 2) Front the app server with Apache HTTPD, and let it handle those files, including securing them. The bad thing is that in both case the URLs (specifically the context) for the multimedia files will change, and that could require changes in your application. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207033#4207033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Information about JBoss cache vs database
Hi, I'm using JBoss-4.2.2.GA and JBoss-messaging-1.4.0.SP3. I have created a new queue: 'TestQueue'. Sending messages through this queue can be stopped and started by user. User will be sending a large amount of messages trough the TestQueue. I have configured JBoss Messaging to store messages to Oracle database. Trick is: when sending messages is on, there is no need to store messages to database, because they just go through the queue and are consumed by the message listener (they shouldn't be stored in database because of performance issues). When sending messages is off, all new messages should be stored in the database. When sending messages service is stopping, messages that were temporarily in the memory should be stored into the database. Is there any configurable JBoss trick like JBoss cache or something ? Can you tell me if this is possible or direct me to some tutorial, link or book that could help me about this issue. Thank you in forward, Amar. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207032#4207032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207032 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: help ,error while use timer
we have not found an answer either since there is no testcase to demonstrate... Some issues regarding this are solved in the latest versions, but since there are no versions mentioned in these reports it is even more difficult to reproduce so either: -help us with providing more info and a testcase with everything embedded (see jbpm testcases for examples including the scheduler) - wait patiently untill it is (magically) resolved - buy commercial support and get it fixed Ronald View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207030#4207030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - ExtendedManagedObjectAdvisor returns null getMethodInfo
Added in wrong place before. See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=149825 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207029#4207029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: @EJB does not work in JSF backing bean constructor
"perfectionist" wrote : | | The problem was the injected reference to the stateless session bean was being called one time from inside the constructor for the backing bean. | | I haven't used JSF, but i think you should be using the injected reference after @PostConstruct and not in the constructor of the managed bean. public class MyBackingBean ... | { | | @EJB | private MyEJB ejb; | | public MyBackingBean() | { |... // don't use the bean here, its not yet injected | } | | @PostConstruct | public void myPostConstruct() | { | // use the bean here, since this is called after | // resources have been injected | ejb.doSomething(); | } | ... | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207028#4207028 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss WebServer 2.11GA memory setting help
Operating system tools are useless for determining JVM memory usage. The numbers that you printed include (most of the) heap, permgen, the binary code needed to run the JVM, the stacks and other misc non-Java stuff. If you want to know what is really going on use a tool such a jconsole of virtualvm. Those tools connect to a running JVM and can report heap and permgen usage. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207027#4207027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: closed JbpmContext in different order then they were cre
the contexts are threadlocals Timers (the jobexecutor) has it's own context, as do the async jobs... so that has nothing to do with it afaik I've never had problems running jBPM with multiple parallel requests. The only situation where I got this error was when I closed and opened the context in the wrong order so EBKAC View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207026#4207026 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207026 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems
sorry for posting twice, i thought the first post got lost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207022#4207022 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207022 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Questions for general use of JBoss 5.0?
JBoss Web Server is basically Tomcat with a different name. So there will be differences in configuration between it and JBoss AS. With AS 5.0.0.GA, there is a new 'web' configuration (look in the 'server' directory). This configuration should give you the basic capabilities you are looking for. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207021#4207021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Far cache problem (3.0.2) tx problems
still getting same exception, same line on VersionAwareMarshaller (334) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207020#4207020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Jboss Collapse During Shutdown
"nimrodt" wrote : | 1. Why Jboss is collapsing after initiating shutdown command < ./shutdown.sh -s jnp://localhost: > | Jboss just stuck during the boot process. | I'm sorry, i did not get a clear picture of what is happening. Are you saying when you run the shutdown script, the script just hangs? Or are you saying that when JBoss is starting/booting, it just hangs? Can you please post the relevant console logs? And what command do you use to start the server? While posting logs or xml content or code, please remember to wrap it in a code block by using the Code button in the message editor window. Please use the Preview button to ensure that your post is correctly formatted. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207017#4207017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: The curious case of the magical portlet ...
Login as admin and go to the Admin portal, the Admin tab. a) On the Portlet Definitions tab, do both portlets show up? b) On the Portlet Instances tab, do both portlet instances show up? c) On the Portal Objects tab, dig down to the portal page and see if both portal objects show up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207016#4207016 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: Problems with Transaction Manager
Just a thought: the TransactionManagerLookup interface is meant to be a plug-in point. You've been looking at the impls, so you can see that they aren't doing anything particularly complex. So if need be you can write your own impl that works in your environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207014#4207014 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - @EJB does not work in JSF backing bean constructor
I have a situation where I use @EJB annotation in a JSF backing bean and sometimes it is null and other time it is not. I am converting an application from jboss-eap-4.3 to jboss-5.0.0.GA. In 4.3 I used JNDI lookup. The problem was the injected reference to the stateless session bean was being called one time from inside the constructor for the backing bean. That is when it would be NULL. All other references worked fine. Is that correct behavior? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207013#4207013 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Production server freezes every two to three days
I'm with the same problem. Did you find a solution?? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4207010#4207010 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4207010 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user