[jboss-user] [JBoss Cache: Core Edition] - JDBCCacheLoader Problem
Hi, I am using jboss cache with hibernate. While reading from cache sometime following exception is thrown. java.lang.IllegalStateException: Failed to load node for fqn /fare/DEL/NAG/09-11-08: Interrupted while requesting permit! Waited 0 ms; - nested throwable: (javax.resource.ResourceException: Interrupted while requesting permit! Waited 0 ms) at org.jboss.cache.loader.JDBCCacheLoader.loadNode(JDBCCacheLoader.java:1121) at org.jboss.cache.loader.JDBCCacheLoader.get(JDBCCacheLoader.java:263) at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadData(CacheLoaderInterceptor.java:443) at org.jboss.cache.interceptors.CacheLoaderInterceptor.loadNode(CacheLoaderInterceptor.java:353) at org.jboss.cache.interceptors.CacheLoaderInterceptor.invoke(CacheLoaderInterceptor.java:180) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.UnlockInterceptor.invoke(UnlockInterceptor.java:32) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterceptor.java:365) at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java:160) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInterceptor.java:138) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5863) at org.jboss.cache.TreeCache.get(TreeCache.java:3627) at org.jboss.cache.TreeCache.get(TreeCache.java:3608) at com.tg.cache.manager.FareCacheProviderImpl.getFromCache(FareCacheProviderImpl.java:170) at com.tg.ws.abacus.AbacusFareService.getResponseFromCache(AbacusFareService.java:765) at com.tg.ws.abacus.AbacusFareService.responseExistInCache(AbacusFareService.java:891) at com.tg.ws.abacus.AbacusFareService_1_5.getFaresFromCacheOrWSForRequest(AbacusFareService_1_5.java:222) at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:29) at com.tg.ws.abacus.FarePoolHandler.execute(FarePoolHandler.java:15) at com.tg.parallel.concurrent.JavaConcurrentPoolExecutor$CallableAdapter.call(JavaConcurrentPoolExecutor.java:93) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) at java.lang.Thread.run(Thread.java:619) Please let me know the work around for this. Regard, - Manoj View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163192#4163192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Null pointer exception in jBoss
Upon Logging in to jBoss I am getting this error .please advice. ERROR Cause: java.lang.NullPointerException StackTrace: java.lang.NullPointerException at org.jboss.portal.core.cms.ui.CMSPortlet.doView(CMSPortlet.java:234) at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:133) at org.jboss.portal.core.cms.ui.CMSPortlet.doDispatch(CMSPortlet.java:312) at javax.portlet.GenericPortlet.render(GenericPortlet.java:306) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.invokeRender(PortletContainerImpl.java:483) at org.jboss.portal.portlet.impl.jsr168.PortletContainerImpl.dispatch(PortletContainerImpl.java:405) at org.jboss.portal.portlet.container.PortletContainerInvoker$1.invoke(PortletContainerInvoker.java:86) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:131) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:86) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:112) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:102) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_N4547270787964792031.invokeNext(TransactionInterceptor$invokeNotSupported_N4547270787964792031.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionInterceptor.java:56) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.HeaderInterceptor.invoke(HeaderInterceptor.java:50) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ProducerCacheInterceptor.invoke(ProducerCacheInterceptor.java:58) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.core.aspects.portlet.AjaxInterceptor.invoke(AjaxInterceptor.java:51) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(ModesInterceptor.java:62) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.bridge.BridgeInterceptor.invoke(BridgeInterceptor.java:47) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invoke(WindowStatesInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.PortletSessionSynchronizationInterceptor.invoke(PortletSessionSynchronizationInterceptor.java:80) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ContextTrackerInterceptor.invoke(ContextTrackerInterceptor.java:46) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115) at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:104)
[jboss-user] [JBossWS] - X509 Certificate issuer comparison
Grant Sheppar says: anonymous wrote : Hi Alessio, | | I'm relatively new to JBoss so I'm not sure whether what I've found is a bug however it seems to be. In the org.jboss.ws.extensions.security.SecurityStore class there is a method getCertificateByIssuerSerial(String issuer, String serial) that attempts to find a X509Certificate based on the given issuer and serial. The method iterates over the stored certificates and compare the issuer and serial given with the issuer and serial from each certificate. The comparison of the issuer (based on the DN of the cert) is a simple string comparison which does not take into account the various formats that a DN can take (see RFC 2253). So if a client sends an issuer DN that is not identical to one stored in a cert then the match fails. | | The solution I think would be to take the component parts of the DN and do the comparison based on these individual parts, ignoring any separator characters or extra whitespace. | | Hope this makes sense and helps, | | Regards, | | Grant Sheppard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163199#4163199 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: X509 Certificate issuer comparison
http://jira.jboss.org/jira/browse/JBWS-2251 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163202#4163202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Strange error occured on EJB3 MDB on release 5 CR1
Hello, I have a simple object sender on queue queue/queue1. I get this : 08:33:48,441 INFO [EJBContainer] STARTED EJB: org.gemalto.test.MDB1Bean ejbName: MDB1Bean | 08:34:09,255 INFO [ServerSessionEndpoint] Received send for null reliable: true | 08:34:09,255 INFO [ServerSessionEndpoint] Done send | 08:34:09,271 ERROR [AbstractDLQHandler] Message id is null? delegator-JBossMessage[19916148723793921]:PERSISTENT, deliveryId=0 | 08:34:09,271 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegis | try should be used via the bean container | 08:34:09,286 WARN [InterceptorsFactory] EJBTHREE-1246: Do not use InterceptorsFactory with a ManagedObjectAdvisor, InterceptorRegis | try should be used via the bean container | 08:34:09,286 INFO [STDOUT] Filter = 20902000A | 08:34:09,302 INFO [STDOUT] [ MSISDN = 1000, ICCID = 1000, IMSI = 100, FirstSwitchOn = true, Capabilities = |OcpRendering~Class 1 ] | What means this error ? Regards, Olivier View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163203#4163203 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Strange error occured on EJB3 MDB on release 5 CR1
Please use the ejb forum for ejb questions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163204#4163204 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163204 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Pessimistic lock
I have the table from which I want to get unique values for some entities. | public class UniqueGenerator | { | @Id | @Column(...) | private String id; | | @Column(...) | private Long currentValue; | ... | } | Then in data access layer I have to write this code to retrieve next value: | ... | gen = entityManager.find(UniqueGenerator.class, MY_GENERATOR_ID); | entityManager.lock(gen, LockModeType.WRITE); | entityManager.refresh(gen); | | Long currVal = gen.getCurrentValue(); | ... | Hibernate translate it to these 3 queries: | 1. SELECT .. FROM UNIQUE_GENERATORS WHERE ... | 2. SELECT GENERATOR_ID FROM UNIQUE_GENERATORS WHERE ...FOR UPDATE | 3. SELECT .. FROM UNIQUE_GENERATORS WHERE ... | Is there any way to make Hibernate doing only one query: | SELECT ... FROM UNIQUE_GENERATORS WHERE ... FOR UPDATE | ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163207#4163207 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163207 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Queue MaxSize Not Obeyed When Using Transacted Sessions
http://jira.jboss.org/jira/browse/JBMESSAGING-1396 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163208#4163208 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Stateless session bean pooling in JBoss
Hello NG! Is anyone able to answer yhrn's question? I've got absolutely the same problems and ask me the same questions as yhrn does. How can I change the behaviour of SLSBs? Does it make sense that JBoss use the ThreadLocalPool? Doesn't this offend against the J2EE-Spec? Could anyone explain me this attributes from my MBean: StateString java.lang.String R Started MBean Attribute. CreateCount int R 7 MBean Attribute. State int R 3 MBean Attribute. InvokeStats org.jboss.ejb3.statistics.InvocationStatistics R MBean Attribute. CurrentSize int R -1 MBean Attribute. RemoveCount int R 0 MBean Attribute. MaxSize int R -1 MBean Attribute. AvailableCount int R -1 MBean Attribute The CurrentSize, AvailableCount and MaxSize are -1. Why that?? How can I change?? Thanks a lot for a answer which bring a little bit more light in my JBoss-darknes.. ;) Regards, Chris View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163209#4163209 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163209 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Web Application using JPDL BPEL
Hi All, Can we create web application (e.g.,Business travel Request) using JBPM BPEL? I need to create a web application which would be like, one user submits a request, then his manager has to either Approve/Reject the request. If Manager approves then it should go to next level approval,etc. If Manager rejects, it should go to the user who submits the request. In this each users in the workflow needs to login into the web application and do the tasks which is assigned to them. Please let me know how to create web applications using JPDL BPEL using its API. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163210#4163210 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163210 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 4.2.2.GA IdleRemover thread inserted into my thread grou
Vicky, thanks for the reply. I finally have a reproducible test case. I just spent two hours packaging it up and providing a read.me, but now it looks like I'm not allowed to upload a file here. I can get this to happen using either an hsql or an Oracle datasource. I'm using no-tx-datasource with an idle timeout specified. As I say in the read.me, this problem occurs if only one no-tx-datasource is deployed. I suppose I'll include the code for the EJB below. When this is executed, the do loop terminated with while (threadCt 0) never ends. If there is some way for me to upload a file, let me know. Thanks. | package guyr; | | import java.sql.*; | import javax.sql.*; | import javax.naming.*; | import javax.annotation.*; | import javax.ejb.*; | import org.apache.log4j.Logger; | | @Stateless(name = guyr/TGroup) | | public class TGroupBean implements TGroup |{ |private final Logger log = Logger.getLogger(getClass().getName()); |private final int MAX_THREADS = 1; | |// For HSQL | |// @Resource(mappedName=java:/hsqlDB) |// private javax.sql.DataSource ds; |// |// String aSql = select 'hsql' + |// from information_schema.system_tables + |// where table_name = 'SYSTEM_TABLES' ; | |// For Oracle | | @Resource(mappedName=java:/rumbaDB) | private javax.sql.DataSource ds; | | String aSql = select 'oracle' + | from dual ; | |private class TData extends Thread | { | // Doesn't work if resource is inside this thread class | | public TData(ThreadGroup tg, String aThreadName) | { | super(tg, aThreadName); | } // end constructor | | public void run() | { | log.info(Thread + this.getName() + started); | | Connection c = null; | Statement s = null; | ResultSet r = null; | | | try | { | c = ds.getConnection(); | // c.setAutoCommit(false); | // c = ((DataSource)(new InitialContext()).lookup(java:/DefaultDS)).getConnection(); | s = c.createStatement(); | r = s.executeQuery(aSql); | | if ((r != null) (r.next())) |{ |log.info(Thread + this.getName() + result: + r.getString(1)); |} // end if | | // c.commit(); | } // end try | catch (Exception e) | { | log.error(Thread + this.getName() + exception: , e); | // try | //{ | //c.rollback(); | //} // end try | // catch (Exception ne) | //{ | //log.error(Thread + this.getName() + exception: , ne); | //} // end catch | } // end catch | finally | { | if (r != null) |{ |try | { | r.close(); | } // end try |catch (Exception e) | { | log.error(Thread + this.getName() + exception: , e); | } // end catch |} // end if | | if (s != null) |{ |try | { | s.close(); | } // end try |catch (Exception e) | { | log.error(Thread + this.getName() + exception: , e); | } // end catch |} // end if | | if (c != null) |{ |try | { | // c.setAutoCommit(true); | c.close(); | } // end try |catch (Exception e) | { | log.error(Thread + this.getName() + exception: , e); | } // end catch |} // end if | } // end finally | } // end run | } // end class TData | |public void run() | { | log.info(TGroupBean.run() started); | | try | { | ThreadGroup tgTest = new ThreadGroup(TEST_THREADGROUP); | | for (int i = 0; i MAX_THREADS; i++) | { | TData td = new TData(tgTest, THREAD + i); | td.start(); | } // end for | | int threadCt = 0; | | do | { | Thread.sleep(2000); | | Thread[] activeThreads = new Thread[MAX_THREADS + 1];
[jboss-user] [JBoss Portal] - Header injection in clustered portlet
Hello, I've problems injecting a custom header in a clustered portal environment (JBossPortal 2.6.5-SP1). I have the following jboss-portlet.xml (which works in a non-clustered installation without the distributed tags): | ?xml version=1.0 encoding=UTF-8? | !DOCTYPE portlet-app PUBLIC '-//JBoss Portal//DTD JBoss Portlet 2.6//EN' 'http://www.jboss.org/portal/dtd/jboss-portlet_2_6.dtd' | portlet-app | portlet | portlet-nameZKI/portlet-name | header-content | link rel=stylesheet type=text/css href=/stylesheet/dzk.css media=screen/ | /header-content | !-- enable portlet session replication -- | session-config | distributedtrue/distributed | /session-config | /portlet | portlet | portlet-nameTheologie/portlet-name | header-content | link rel=stylesheet type=text/css href=/stylesheet/dzk.css media=screen/ | /header-content | !-- enable portlet session replication -- | session-config | distributedtrue/distributed | /session-config | /portlet | portlet | portlet-nameSyK/portlet-name | header-content | link rel=stylesheet type=text/css href=/stylesheet/dzk.css media=screen/ | /header-content | !-- enable portlet session replication -- | session-config | distributedtrue/distributed | /session-config | /portlet | /portlet-app | Am I something missing? I didn't find anything in the documentation... Best wishes Werner View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163220#4163220 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Setting Classpath dynamically
Hi all ! I have a web application which reads some configuration files (hibernate.cfg.xml ...etc). Until now I have simply placed this files into WEB-INF/classes so that they're visible by the Classpath of the Web Application. Now I have to move them on the root directory of the Web application. Is there a way to set the classpath to search for files in another location, dynamically ? That is I cannot change the env variable CLASSPATH or the startup script, I need to set up classpath by code or using a property in web.xml file. Thanks a lot Francesco View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163221#4163221 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163221 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Javassist user questions] - Re: Problem Instrumenting System classes
hi, I just ran into the same thing. But I have managed to solve it eventually.. The problem is, that hiddenValue is not a public field, so the MyApp.java should call getDeclaredField instead of getField. And the fact that javap doesn't see it, is because it reads the String.class from the rt.jar. If you call javap -bootclasspath path.to.new.string java.lang.String then you will see the 'hiddenValue' field View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163224#4163224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm-bpel. Deploy new process
How about Ant? It is not documented in the user guide but the bpel-build.xml file shows the available ant tasks. taskdef name=deployprocess | classname=org.jbpm.bpel.tools.ant.DeploymentTask | classpathref=jbpm.bpel.tools.path / | deployprocess processarchive=${output.dir}/${module.name}.zip / You can find this file in jbpm-bpel-1.1.GA/examples/common View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163227#4163227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Stateless session bean pooling in JBoss
anonymous wrote : How can I change the behaviour of SLSBs? See this http://www.jboss.org/jbossejb3/docs/reference/build/reference/en/html/session-bean-config.html#d0e26 And other related discussions: http://www.jboss.com/index.html?module=bbop=viewtopict=132763 http://www.jboss.com/index.html?module=bbop=viewtopict=110104 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163228#4163228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - 2.0.0 alpha status
As a recent adopter and frustrated user of ActiveMQ, I'm very interested in evaluating JBoss Messaging as a JMS solution. I've come across the amazing work you guys have done for your up-and-coming 2.0 release and it's looking really fantastic. Is 2.0.0 alpha usable for any sort of production environment? I understand that the software is currently in development and may have a number of unimplemented features. Is there a subset of JMS features that could be limited to that would allow me to use this alpha version safely? For instance, basic persistent queues and topics, temporary destinations and message expiry? The performance numbers are just too exciting to wait for the official release! :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163229#4163229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Springdeployer and HASingletonController
Hi, i would like to make some beans (created with the spring deployer) started/stopped by a HASingletonController. I see 2 solutions, starting a context HASingleton controlled or starting a single bean from a singleton controller. How would you approach this problem? Kind Regards Edmund View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163230#4163230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need steps to deploy BPEL in MySQL
The resource name passed to ProcessDefinition.parseXmlResource() must be absolute. So if your process definition is in package org.example.foo, the resource name you'd use is org/example/foo/processdefinition.xml. As for the NameNotFoundException, I can only think JMS is not deployed. Are you using a standard JBoss server? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163231#4163231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Springdeployer and HASingletonController
What about if your Spring bean at creation creates some wrapper mbean which depends on HASingletonController, installs it in MBeanServer, and that wrapper delegates all the work to original Spring bean. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163234#4163234 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163234 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Springdeployer and HASingletonController
that was what i meant with the second solution ;-) I will try that one. Thanks for the (really fast) response Edmund View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163237#4163237 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163237 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need steps to deploy BPEL in MySQL
Hi Alex, Thanks for the reply. I gave the absolute path for processdefinition.xml file. But still i am getting the same error. Then i placed the processdefinition.xml file in WEB-INF folder and used the below code. ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource(processdefinition.xml); Please correct me if i made mistake anywhere. Regarding NameNotFoundException, i am using the JBOSS server 4.2.2 which came along with jbpm-jpdl-3.2.3 suite. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163238#4163238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: 4.2.2.GA IdleRemover thread inserted into my thread grou
guy_rouillier wrote : | If there is some way for me to upload a file, let me know. Thanks. You can mail it to me at [EMAIL PROTECTED] , I will have a look at it . View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163239#4163239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Remote-Lookup over HTTP fails with mod_jk
Ok, still not working :-( Some more information i found out: It looks like the Apache Proxy cannot replace all references to the remote machine, as the client at first talks to the apache - but then tries to reach the real JBoss. But the JBoss is not accessible for the client. I'm thinking about a proxy JBoss instead of apache, which recieves all requests and forwards them to the real machine ... Timo View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163223#4163223 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to deploy a BPEL process using the APIs?
To deploy programmatically, use the following code: public void deployProcessDefinition(String fileName) { | ProcessDefinition processDefinition = readProcessDefinition( | new FileInputStream(fileName), fileName); | deployProcessDefinition(processDefinition); | // build and deploy web module, if the language is BPEL | if (processDefinition instanceof BpelProcessDefinition) | deployWebModule((BpelProcessDefinition) processDefinition, fileName); | } The file name is expected to reference a process archive. The support methods are presented below. private ProcessDefinition readProcessDefinition(InputStream fileSource, String fileName) | throws IOException { | try { | ProcessArchive processArchive = new ProcessArchive(new ZipInputStream(fileSource)); | log.debug(loaded process archive: + fileName); | | ProcessDefinition processDefinition = processArchive.parseProcessDefinition(); | log.debug(read process definition: + processDefinition.getName()); | | return processDefinition; | } | finally { | fileSource.close(); | } | } | | private void deployProcessDefinition(ProcessDefinition processDefinition) { | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try { | if (processDefinition instanceof BpelProcessDefinition) { | BpelGraphSession graphSession = BpelGraphSession.getContextInstance(jbpmContext); | graphSession.deployProcessDefinition((BpelProcessDefinition) processDefinition); | } | else | jbpmContext.deployProcessDefinition(processDefinition); | log.info(deployed process definition: + processDefinition.getName()); | } | catch (RuntimeException e) { | jbpmContext.setRollbackOnly(); | throw e; | } | finally { | jbpmContext.close(); | } | } | | private void deployWebModule(BpelProcessDefinition processDefinition, String fileName) { | File moduleFile = new File(deployDirectory, extractFilePrefix(fileName) + .war); | | WebModuleBuilder builder = new WebModuleBuilder(); | builder.setModuleFile(moduleFile); | builder.buildModule(processDefinition); | | if (builder.getProblemHandler().getProblemCount() 0) | throw new BpelException(could not build web module for: + processDefinition); | | log.info(deployed web module: + moduleFile.getName()); | } | | private static String extractFilePrefix(String fileName) { | int dotIndex = fileName.lastIndexOf('.'); | return dotIndex != -1 ? fileName.substring(0, dotIndex) : fileName; | } | } In method deployWebModule, the variable deployDirectory references the app server's deploy directory. Inside JBoss, this directory can be retrieved from the system properties as follows. String deployDirectory = System.getProperty(jboss.server.home.dir) + File.separatorChar + deploy; The above snippets were adapted from class DeploymentServlet; you can review its source in our online repository. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163241#4163241 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Cache: Core Edition] - Re: JDBCCacheLoader Problem
Why would you use a JDBC cache loader when using JBC as a 2nd level cache in Hibernate? Storing stuff in a DB twice over is pretty wasteful, IMO. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163246#4163246 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163246 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: exception occurred externalizing session
Yes, It is.. And I am getting this exception repeatedly for every application I am trying to cluster. Please view the big stack trace, I got with patience :) 15:42:29,170 ERROR [JBossCacheService] externalizeSession(): exception occurred externalizing session SessionBasedClusteredSession[id: 4TLQ8H87cFoHBGa7sEqAhQ**.node2 lastAccessedTime: 1215598349126 version: 58 lastOutdated: 0] java.io.NotSerializableException: java.io.CharArrayWriter at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1174) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344) at java.util.Hashtable.writeObject(Hashtable.java:842) at sun.reflect.GeneratedMethodAccessor142.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:623) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344) at java.util.HashMap.writeObject(HashMap.java:1019) at sun.reflect.GeneratedMethodAccessor137.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:623) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:344) at nextapp.echo2.app.event.EventListenerList.writeObject(EventListenerList.java:187) at sun.reflect.GeneratedMethodAccessor140.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:623) at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:963) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1479) at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1410) at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1168) at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1527) at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1492) at
[jboss-user] [Remoting] - java.net.SocketException: Can not obtain client socket conne
Hello, I am having JBoss 4.2.2 GA, PostgrsSQL 8.2 and Jboss Remoting version 2.2.2 SP1. I want to connect 64 clients to the JBoss Server but after creating 50 sessions / connections, it is giving the exception on the Client side. The exception is as follows: anonymous wrote : Exception in thread main org.jboss.remoting.CannotConnectException: Can not get connection to server. Problem establishing socket connection for InvokerLocator [socket://150.158.74.104:3873/] | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:532) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | 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.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | 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.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) | at $Proxy0.subscribeSystem(Unknown Source) | at com.barco.cms.perspectivemgtproxy.eventsupport.SystemEventSupport.subscribeSystem(SystemEventSupport.java:180) | at com.barco.cms.perspectivemgtproxy.PerspectiveMgt.subscribe(PerspectiveMgt.java:328) | at com.barco.cms.performanceclt.MethodExecuter.(MethodExecuter.java:54) | at com.barco.cms.performanceclt.Test.main(Test.java:37) | Caused by: java.net.SocketException: Can not obtain client socket connection from pool. Have waited 30012 milliseconds for available connection (50in use) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInvoker.java:862) | at org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientInvoker.java:525) | at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:122) | 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.aspects.security.SecurityClientInterceptor.invoke(SecurityClientInterceptor.java:53) | 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.ejb3.stateless.StatelessRemoteProxy.invoke(StatelessRemoteProxy.java:107) | at $Proxy0.subscribeSystem(Unknown Source) | at com.barco.cms.perspectivemgtproxy.eventsupport.SystemEventSupport.subscribeSystem(SystemEventSupport.java:180) | at com.barco.cms.perspectivemgtproxy.PerspectiveMgt.subscribe(PerspectiveMgt.java:328) | at com.barco.cms.performanceclt.MethodExecuter.(MethodExecuter.java:54) | at com.barco.cms.performanceclt.Test.main(Test.java:37) | at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(InvokeRemoteInterceptor.java:74) | ... 13 more I have gone thru various tutorials but not able to manage more than 50 connections. I have modified the jboss-service.xml also for max-pool-size and , but it is still stuck to 50 connections. Please reply asap. Any help will be appreciated. Thanks Regards, Kapil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163249#4163249 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi
OK. It does look like it might be an issue with Icefaces but I need to investigate some more. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163250#4163250 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error in JBoss05.0.0.CR1 index.html
I can't find the index.html file you are talking about. Where is it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163251#4163251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Jboss persistence architecture pluggable?
Hi, Not sure if this is the right place, but here goes: I was wondering if Jboss allows a different implementation of the DatabaseManager? Why? I want to explore and possibly implement a different way of dealing with transactions using a native XML-database using Jboss. So, instead of a datasource poiting towards a SQL database, I want the setup to be a datasource for an XML database and use the J2EE database transactions transparently. Perhaps this is possible already, but then I'd like to know what actions or configuration I need todo in order to achieve this. If no such thing exists I could implement it myself, but then again, I do not cover the scope of impact at this point. At the moment I tell myself it would be an implementation of a set of interfaces, but is that all or is there more? The basic reason is that I want to make use of the JBoss application server, so my application would be scalable and robust, instead of an architecture where I deal with database transactions from web-tier. I want to delegate this towards the transaction manager already in place inside Jboss. Feedback on this topic is highly appreciated, thanks in advance, Mike Ahlers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163252#4163252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error in JBoss05.0.0.CR1 index.html
Its under %JBOSS_HOME%\server\ serverName\deploy\ROOT.war View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163253#4163253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: exception occurred externalizing session
Answered in your other post at http://www.jboss.com/index.html?module=bbop=viewtopict=138664 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163254#4163254 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163254 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Log4j woes, please help
Hi, I've wrapped a complex WAR (using its own log4j.xml config) inside an EAR and deployed that in Jboss (4.2.2 Ga) and encounter the following: - Logging fails: ERROR: invalid console appender config detected, console stream is looping - The application IS deployed and runs as expected, just that I couldn't know other than simply testing the URL. In order to circumvent this I followed some guidelines, but I fear that they are either not complete, or totally wrong. With this, I need help. What I did so far is: - Remove the log4j.jar and commons-logging.jar from the WAR-lib, to avoid possible class loading conflicts. - Configured the run script (in Jboss/bin) to deal with JVM optional parameters: JAVA_OPTS=-Dorg.jboss.logging.Log4jService.catchSystemOut=false $JAVA_OPTS - Configured the application (jboss-web.xml) as follow: | class-loading java2ClassLoadingCompliance='false' | loader-repository | cis-web-1.0.0.war:loader=cis-web-1.0.0.war | loader-repository-configjava2ParentDelegation=false/loader-repository-config | /loader-repository | /class-loading | However, before the logging fails completely, I do read: 2008-07-09 10:55:28,747 WARN [org.jboss.deployment.DeploymentInfo] Only the root deployment can set the loader repository, ignoring config=LoaderRepositoryConfig(repositoryName: cis-web-1.0.0.war:loader=cis-web-1.0.0.war, repositoryClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegation=false) - I've editted the log4j.xml inside the WAR, so that the consoleAppender is not defined at all. Now, I've read that Jboss uses its own log4j.xml and basically all other appenders are rerouted to that, is that correct? Btw, wouldn't that comprimise performance as multiple apps are using the same root? Anyways, I am in the dark here of how it works exactly, and how to deal with the issue here at hand. Thanks in advance, Mike Ahlers View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163255#4163255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Log4j woes, please help
anonymous wrote : Jboss (4.2.2 Ga) See this http://www.jboss.com/index.html?module=bbop=viewtopicp=4125416#4125416 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163256#4163256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Need steps to deploy BPEL in MySQL
Resource files must be in the classpath. For a web module the classpath includes the WEB-INF/classes directory as well as jars in WEB-INF/lib. Hence placing processdefinition.xml in WEB-INF/classes should work. As for how to configure the product with mysql, please read the Getting Started chapter in the user guide. In particular do not to miss the link to the Configuration chapter in the Hibernate manual. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163260#4163260 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163260 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Getting session in JSF backing bean
hi guys, i want to create httpSession object in the my backing bean... HttpSession httpSession = (HttpSession)FacesContext.getCurrentInstance().getExternalContext().getSession(true); but the above line gives an error: ClassCastException: com.sun.faces.portlet.PortletSessionWrapper then i cast the above to PortletSession but still my problem is to get httpSession object but according to the previous posts, how can i get httpSession from portalContext... can you please send the exact syntax??? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163259#4163259 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163259 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Problem in building a new portal
Hi, I have been trying to build a Portlet on jBoss according to the demo in this link: http://www.jboss.org/jbossportal/movies/JBossPortal02.htm . But on typing http://localhost:8080/portal/myPortal, the portal is not opening--instead the default portal home page opens. Please tell me what is the solution to this problem. thanks Subhajit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163268#4163268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - need CAS JBOSS PORTAL 6.2 step by step Integration
I face some problems !! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163269#4163269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - ServletContextListener -DataSource File
Hi All, I m working on struts application.I can able to lookup the datasource file, when my server fully deployed everything. But i want to lookup the datasource file in ServletContextListener see i tryied to lookup..but its saying particular (datasource)ds.xml file is not bound. this is my problem. i need to lookup the DataSource file in ServletContextListener. In contextinitialized method i need to fetch some information from database. Hope i ll get a solution from here, Thanks --- Alex View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163270#4163270 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163270 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Use my own WSDL - Cannot publish WSDL
Using JBossAS 2.4.1.GA and jbossws-3.0.1-native-2.0.4.GA Trying to create a JAX-WS web service which uses my own hand written WSDL. WSDL includes .xsd type definitions using imports. Part of WSDL: ?xml version=1.0 encoding=UTF-8 standalone=no? | wsdl:definitions xmlns:soap=http://schemas.xmlsoap.org/wsdl/soap/; | xmlns:tns=http://www.city.fi/soa-poc/EmployeeServiceWSDL; | xmlns:elems=http://www.city.fi/soa-poc/EmployeeService; | xmlns:wsdl=http://schemas.xmlsoap.org/wsdl/; | xmlns:xsd=http://www.w3.org/2001/XMLSchema; | name=EmployeeService | targetNamespace=http://www.city.fi/soa-poc/EmployeeServiceWSDL; | wsdl:types | xsd:schema | targetNamespace=http://www.city.fi/soa-poc/EmployeeServiceWSDL; | xsd:import | namespace=http://www.city.fi/soa-poc/EmployeeService; | schemaLocation=schema/EmployeeService.xsd | /xsd:import | /xsd:schema | /wsdl:types Endpoint interface: | @WebService(name = EmployeeService | , targetNamespace = http://www.city.fi/soa-poc/EmployeeServiceWSDL; | ,wsdlLocation = file:/D:/svn/poc/muokattu2/trunk/xml/wsdl/EmployeeService.wsdl) | | public interface EmployeeService { Endpoint implementation: | @WebService(endpointInterface = com.foo.soapoc.webservice.employee.EmployeeService | , targetNamespace = http://www.city.fi/soa-poc/EmployeeServiceWSDL; | , portName = EmployeeServiceSOAP | ) | public class EmployeeServiceImpl implements EmployeeService { | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163271#4163271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Use my own WSDL - Cannot publish WSDL
The WSDL and the xsd definitions are in structure: schema/Employee2.xsd - common definitions schema/TypeDefinitions.xsd - common definitions wsdl/schema/EmployeeServer.xsd - definitions for employee service types wsdl/EmployeeService.wsdl - employee service WSDL I have tried to put these to, and referer to the place in end point interface's wsdlLocation: 1) local file system 2) META-INF/ 3) regular web application root Each time I get the error when jbossws tries to publish the WSDL: | 14:40:18,709 INFO [JmxKernelAbstraction] persistence.units:ear=soapoc-employeeservice-1.0.ear,jar=employee-ejbs-1.0.jar,unitName=soa_poc_user | 14:40:18,740 INFO [EJBContainer] STARTED EJB: com.foobar.soapoc.ejb.manager.impl.EmployeeManagerImpl ejbName: EmployeeManagerImpl | 14:40:18,771 INFO [EJBContainer] STARTED EJB: com.foobar.soapoc.ejb.facade.impl.EmployeeFacadeImpl ejbName: EmployeeFacade | 14:40:18,787 INFO [EJB3Deployer] Deployed: file:/D:/bz-soa-poc/sandbox/3/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/tmp/deploy/tmp33208soapoc-employees | ervice-1.0.ear-contents/employee-ejbs-1.0.jar | 14:40:18,803 INFO [TomcatDeployer] deploy, ctxPath=/employee-service, warUrl=.../tmp/deploy/tmp33208soapoc-employeeservice-1.0.ear-contents/employee-servi | ce-1.0-exp.war/ | 14:40:19,209 WARN [PolicyMetaDataBuilder] Cannot get service '{http://www.city.fi/soa-poc/EmployeeServiceWSDL}EmployeeServiceImplService' from the give | n wsdl definitions! Eventual policies attached to this service won't be considered. | 14:40:19,490 INFO [WSDLFilePublisher] WSDL published to: file:/D:/bz-soa-poc/sandbox/3/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/data/wsdl/soapoc-empl | oyeeservice-1.0.ear/employee-service-1.0.war/EmployeeService.wsdl | 14:40:19,490 ERROR [MainDeployer] Could not start deployment: file:/D:/bz-soa-poc/sandbox/3/jboss-4.2.1.GA/jboss-4.2.1.GA/server/default/tmp/deploy/tmp332 | 08soapoc-employeeservice-1.0.ear-contents/employee-service-1.0.war | org.jboss.ws.WSException: Cannot publish wsdl to: D:\bz-soa-poc\sandbox\3\jboss-4.2.1.GA\jboss-4.2.1.GA\server\default\data\wsdl\soapoc-employeeservice-1. | 0.ear\employee-service-1.0.war\EmployeeService.wsdl | at org.jboss.wsf.stack.jbws.WSDLFilePublisher.publishWsdlFiles(WSDLFilePublisher.java:143) | at org.jboss.wsf.stack.jbws.PublishContractDeploymentAspect.create(PublishContractDeploymentAspect.java:52) | at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:118) | at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97) | at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90) | at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188) | at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95) | 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 $Proxy45.start(Unknown Source) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) | at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.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.jmx.adaptor.control.Server.invokeOpByName(Server.java:258) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.invokeOpByName(HtmlAdaptorServlet.java:287) | at org.jboss.jmx.adaptor.html.HtmlAdaptorServlet.processRequest(HtmlAdaptorServlet.java:102) | at
[jboss-user] [JBoss Portal] - Re: Problem in building a new portal
http://localhost:8080/portal/portal/myPortal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163273#4163273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - MSSQL Persistent Manager issue
I am so confused on the sql trace when I open persistent mechanism for jms message with mssql server database. When one jms message is produced and consumed, the following sql statements has been captured. You can see, one jms message cause 25 times insert statement execution, and It already result in serious performance issue. Does anyone can help me explain what's the root cause and how to avoid it for better performance. | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874033217536, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874036756481, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874038394882, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874040360963, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874041344004, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874051829765, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874059694086, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874070835207, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874079682568, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874083614729, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT, SCHED_DELIVERY) VALUES (@P1, @P2, @P3, @P4, @P5, @P6, @P7, @P8)', N'@P1 bigint ,@P2 bigint ,@P3 bigint ,@P4 nvarchar(4000) ,@P5 bigint ,@P6 bigint ,@P7 int ,@P8 bigint ', 13, 0, NULL, N'C', 39832874097049610, NULL, 0, 0 | go | IF @@TRANCOUNT 0 ROLLBACK TRAN | go | exec sp_executesql N'INSERT INTO JBM_MSG_REF (CHANNEL_ID, MESSAGE_ID, TRANSACTION_ID, STATE, ORD, PAGE_ORD, DELIVERY_COUNT,
[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi
Great, keep me posted. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163274#4163274 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - JBoss problem
When I finish copy the ear file and the jar file into the jboss, then I run the JBoss... Suddenly the error occur | | 2008-07-09 19:41:15,281 INFO [STDOUT] {Thread-21} Listener.handleNotification(), notification: [EMAIL PROTECTED] | 2008-07-09 19:41:15,281 INFO [STDOUT] {Thread-21} Scheduler is started: true | 2008-07-09 19:41:15,281 DEBUG [com.b2b.emonitor.monitor.scheduler.MonitoringScheduler] {Thread-21} MonitoringScheduler.perform(Date Wed Jul 09 19:41:15 GMT+08:00 2008,long -1, value 1)-START | 2008-07-09 19:41:15,281 INFO [com.b2b.emonitor.util.dispatch.ControllerHomeFactorySingleton] {Thread-21} Getting JNDI emonitor/controller/MonitorController | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} javax.naming.NameNotFoundException: emonitor not bound | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.getBinding(NamingServer.java:495) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.getBinding(NamingServer.java:503) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.getObject(NamingServer.java:509) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.server.NamingServer.lookup(NamingServer.java:253) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:435) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:419) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.naming.InitialContext.lookup(InitialContext.java:347) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at com.b2b.emonitor.util.dispatch.ControllerHomeFactorySingleton.getMonitorControllerHome(Unknown Source) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at com.b2b.emonitor.monitor.scheduler.MonitoringScheduler.perform(Unknown Source) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at org.jboss.varia.scheduler.Scheduler$Listener.handleNotification(Scheduler.java:1061) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at com.sun.management.jmx.MBeanServerNotificationListener.handleNotification(MBeanServerNotificationListener.java:48) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.NotificationBroadcasterSupport.sendNotification(NotificationBroadcasterSupport.java:142) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.timer.Timer.sendNotification(Timer.java:1119) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.timer.Timer.notifyAlarmClock(Timer.java:1089) | 2008-07-09 19:41:15,281 INFO [STDERR] {Thread-21} at javax.management.timer.TimerAlarmClock.run(Timer.java:1165) | 2008-07-09 19:41:15,281 INFO [STDOUT] {Thread-21} Remaining Repititions: -1, wait for next call to stop: false | Do you experience this error? Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163276#4163276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBoss problem
fsloke wrote : | Do you experience this error? No . You *MUST* read this one http://www.catb.org/~esr/faqs/smart-questions.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163277#4163277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Tomcat5.5
is Tomcat 5.5 can be used to deploy EJB's View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163279#4163279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Referencing EJB 2.1 session from EJB 3 session
Hello huuskart! Have you found teh solution for this issue??? regards, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163280#4163280 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163280 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - DeploymentError
How to solve this? | 2008-07-09 19:32:13,281 ERROR [org.jboss.ejb.ContainerFactory] {JBossMain} DeploymentError | org.jboss.deployment.DeploymentException: Error in jboss.xml for Bean SMSController: configuration '' not found in standardjboss.xml or jboss.xml | at org.jboss.metadata.ApplicationMetaData.importJbossXml(ApplicationMetaData.java:468) | at org.jboss.metadata.XmlFileLoader.load(XmlFileLoader.java:186) | at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:423) | at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:370) | at org.jboss.ejb.ContainerFactory.deploy(ContainerFactory.java:307) | 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:324) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) | at org.jboss.deployment.J2eeDeployer.startModules(J2eeDeployer.java:487) | at org.jboss.deployment.J2eeDeployer.startApplication(J2eeDeployer.java:459) | at org.jboss.deployment.J2eeDeployer.deploy(J2eeDeployer.java:190) | 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:324) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) | at org.jboss.deployment.AutoDeployer.deploy(AutoDeployer.java:395) | at org.jboss.deployment.AutoDeployer.run(AutoDeployer.java:233) | at org.jboss.deployment.AutoDeployer.startService(AutoDeployer.java:371) | at org.jboss.util.ServiceMBeanSupport.start(ServiceMBeanSupport.java:103) | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) | at org.jboss.configuration.ConfigurationService$ServiceProxy.invoke(ConfigurationService.java:967) | at $Proxy0.start(Unknown Source) | at org.jboss.util.ServiceControl.start(ServiceControl.java:79) | 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:324) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1628) | at com.sun.management.jmx.MBeanServerImpl.invoke(MBeanServerImpl.java:1523) | at org.jboss.Main.init(Main.java:209) | at org.jboss.Main$1.run(Main.java:110) | at java.security.AccessController.doPrivileged(Native Method) | at org.jboss.Main.main(Main.java:106) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163282#4163282 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163282 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO configuring
First thing I'm interested in: is it possible to configure SSO for two application in one domain? For example for localhost/site1 and localhost/site2. in wiki I found configuring sample for crossdomain SSO, but that is not what I need :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163281#4163281 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163281 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Use my own WSDL - Cannot publish WSDL
jimpo991 wrote : | For some reason unknown to me, jbossws seems to think the type definitions should exist under WEB-INF OK...I should have read my own post :) Putting teh wsdls and schemas under WEB-INF seems to do the trick. Files are under WEB-INF/schema/Employee2.xsd WEB-INF/schema/TypeDefinitions.xsd WEB-INF/wsdl/schema/EmployeeServer.xsd WEB-INF/wsdl/EmployeeService.wsdl and all seems to work now View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163283#4163283 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [J2EE Design Patterns] - Re: Tomcat5.5
No, at least not out of the box. You can use Tomcat and EJB's but you then need JBoss Embedded. If you need EJB and can change server, check out to use JBoss Application Server which does impmement the whole Java EE stack ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163284#4163284 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServletContextListener -DataSource File
Which version of JBoss? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163287#4163287 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163287 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: ServletContextListener -DataSource File
Also post the console logs, when you start JBoss with the datasource and your application in the deploy folder. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163288#4163288 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Clustering was not resulted but there were no errors in the
Hi all, I am trying to cluster 2 jboss 4.2.2.GA instances and found this in the httpd server logs. And so, I could not cluster the instances properly. Please let me know where exactly I might have done the error? Here are my worker.props: # Define list of workers that will be used # for mapping requests worker.list=loadbalancer,status # Define Node1 # modify the host as your host IP or DNS name. worker.node1.port=8009 worker.node1.host=node 1 IP worker.node1.type=ajp13 worker.node1.lbfactor=1 worker.node1.cachesize=10 # Define Node2 # modify the host as your host IP or DNS name. worker.node2.port=8009 worker.node2.host= node2 IP worker.node2.type=ajp13 worker.node2.lbfactor=1 worker.node2.cachesize=10 # Load-balancing behaviour worker.loadbalancer.type=lb worker.loadbalancer.balance_workers=node1,node2 worker.loadbalancer.sticky_session=1 #worker.list=loadbalancer # Status worker for managing load balancer worker.status.type=status mod_jk.log [Wed Jul 09 18:07:55 2008][6536:3086218944] [warn] jk_map_validate_property::jk_map.c (410): The attribute 'worker.node2.cachesize' is deprecated - please check the documentation for the correct replacement. [Wed Jul 09 18:07:55 2008][6536:3086218944] [info] init_jk::mod_jk.c (2825): mod_jk/1.2.26 initialized [Wed Jul 09 18:08:43 2008]loadbalancer 10.20.220.15 0.219380 [Wed Jul 09 18:08:43 2008]loadbalancer 10.20.220.15 0.007828 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 1.342207 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.001502 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.007713 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.003544 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.211440 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.271388 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.006840 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.003456 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.045722 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.002020 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.005783 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.003119 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.008218 [Wed Jul 09 18:08:45 2008]loadbalancer 10.20.220.15 0.207553 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 20.861831 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.001884 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.002125 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.001386 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.001204 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.205826 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.001982 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.202113 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.001429 [Wed Jul 09 18:09:11 2008]loadbalancer 10.20.220.15 0.001731 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.247070 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.002010 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.206198 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.002637 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001397 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001048 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.000978 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001803 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001500 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001513 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001926 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001671 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001347 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001112 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001140 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001392 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001083 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001040 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001189 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001269 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001106 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001321 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.244772 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001142 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001420 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001505 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001425 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001409 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.000998 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.000905 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001720 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.002175 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001550 [Wed Jul 09 18:09:12 2008]loadbalancer 10.20.220.15 0.001531 [Wed Jul 09 18:09:12
[jboss-user] [JBossWS] - Re: Change endpoint url of public web service
Look for a file named jboss-beans.xml in jbossws.sar/jbossws.beans/META-INF/ and edit the properties of the bean WSServerConfig. It's all documented in that file. jbossws.sar you'll find in the deploy directory of your server configuration. Good luck! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163296#4163296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss4.0 - Ant Build Error
Microsoft Windows XP [Version 5.1.2600] (C) Copyright 1985-2001 Microsoft Corp. C:\Documents and Settings\Anupset ALLUSERSPROFILE=C:\Documents and Settings\All Users ANT_HOME=c:\Ant1.4 APPDATA=C:\Documents and Settings\Anup\Application Data classpath=.;c:\jdk5\lib;C:\Ant1.4\lib CLIENTNAME=Console CommonProgramFiles=C:\Program Files\Common Files COMPUTERNAME=ARPITA-PC ComSpec=C:\WINDOWS\system32\cmd.exe FP_NO_HOST_CHECK=NO HOMEDRIVE=C: HOMEPATH=\Documents and Settings\Anup JAVA_HOME=C:\JDK5 JBOSS_HOME=C:\JBoss4 LOGONSERVER=\\ARPITA-PC NUMBER_OF_PROCESSORS=2 OS=Windows_NT Path=C:\WINDOWS\system32;C:\WINDOWS;C:\WINDOWS\System32\Wbem;C:\Program Files\ID M Computer Solutions\UltraEdit-32;c:\jdk5\bin;C:\Ant1.4\bin PATHEXT=.COM;.EXE;.BAT;.CMD;.VBS;.VBE;.JS;.JSE;.WSF;.WSH PROCESSOR_ARCHITECTURE=x86 PROCESSOR_IDENTIFIER=x86 Family 6 Model 15 Stepping 13, GenuineIntel PROCESSOR_LEVEL=6 PROCESSOR_REVISION=0f0d ProgramFiles=C:\Program Files PROMPT=$P$G SESSIONNAME=Console SystemDrive=C: SystemRoot=C:\WINDOWS TEMP=C:\DOCUME~1\Anup\LOCALS~1\Temp TMP=C:\DOCUME~1\Anup\LOCALS~1\Temp USERDOMAIN=ARPITA-PC USERNAME=Anup USERPROFILE=C:\Documents and Settings\Anup windir=C:\WINDOWS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163299#4163299 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error in JBoss05.0.0.CR1 index.html
I see now thanks: http://jira.jboss.org/jira/browse/JBAS-5748 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163307#4163307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO configuring
yes. both cross domain and single domain are supported In a nutshell, you need a *single* federation server for each *domain*, and in the case of single domain you only need one federation server that shared by all the sites hosted in that domain Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163309#4163309 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - How to solve this EXCEPTION
16:52:06,656 ERROR [MainDeployer] Could not create deployment: file:/D:/jboss-4.2.1.GA/server/default/deploy/jboss-portal.sar/ org.jboss.deployment.DeploymentException: - nested throwable: (java.lang.reflect.UndeclaredThrowableException) at org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196) at org.jboss.system.ServiceController.install(ServiceController.java:226) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163312#4163312 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163312 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - EJB3 Remote Security propagation
Hi, I'm trying to setup security for my EJB3 applications. I have a first JBoss Server with EJB3 calling remote EJB3 on another server. How does it work for Security ? Is there a way of propagating the principal from one server to the others like we do for Transaction ? I'm trying to find out what are the options for that. Tks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163311#4163311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO configuring
what about localhost/site1 and localhost/site2 one SSO and localhost/site3 and localhost/site4 second SSO. Is that possible? Thanks for helping View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163313#4163313 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163313 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Log4j woes, please help
Thank you jaikiran, that did the trick! Mike View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163314#4163314 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163314 ___ 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 targeting Eclipse 3.4/Ganymede
When is JBoss Tools 3.0 scheduled for GA? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163320#4163320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - changing language(locale) of the portlet?
HI Guyz!! Is there any way to change the language of the portlet at the run-time or before? Is there a way where user can change the language of the portlet(which it supports)? I tried to achieve that by adding some like these tags supported-localefr/supported-locale in portlet.xml and giving the property file at \conf\bundles\Identity_fr location but couldnt able to configure portlet from admin or so. Someone please suggest a way to localize the portlet within or outside the portal. Thanks Amair View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163322#4163322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - injecting @EJB from HAJNDI
I found that If I used @EJB to inject EJB It will be injected from JNDI (port 1099) instead of HAJNDI (port 1100). Is that correct? How to be able to use @EJB while the EJB is injected from HAJNDI? Temporarily I am using interceptor to get the ejb references until somebody help me with the elegant @EJB. Thank you in advance for the help. Aldian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163321#4163321 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: JBoss SSO configuring
anonymous wrote : | what about localhost/site1 and localhost/site2 one SSO and localhost/site3 and localhost/site4 second SSO. | this wouldn't be supported by the browser itself since the SSO token which is issued as a domain cookie will end up stepping on each other's toes, between the members of two federations belonging to the same domain what will work is all localhost/site1, localhost/site2, localhost/site3, and localhost/site4 belong to the same federation [same domain federation] and one domain = localhost/site1, localhost/site2 second domain = localhost2/site3, localhost2/site4 [cross domain federation] Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163323#4163323 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Lastest JBoss Tools doesn't work on Vista.
In you system installed xulrunner 1.8.*? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163325#4163325 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Problem with same package structure and class name
Hi, I am new to JBoss. I am facing a strange problem in JBoss 4.0.2. I am creating two EJB Projects, say ProductEJB and CustomerEJB. ProductEJB has ProductBean and CustomerEJB has CustomerBean. Each EJB is having a class named Display with same package structure. The Class Display contains business logic for the respective EJB's. Whenever i make a call from either ProductEJB client or CustomerEJB client, the call goes to CustomerEJB only. It does not call ProductEJB even if the call is from ProductEJB Client. I think the reason is that the same package structure and same class name (Display) exists in both EJBs. Why is this happening? My requirement does not allow me to go with different Class name and Package Structure in both EJBs. Any solutions for this problem is really helpful. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163326#4163326 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - One JSP page appended to the top of another error
Hi Guys, I'm seeing a really strange error and have no idea what it is. There were a bunch of us behind a router that were testing out our app on a production JBoss server. The app is done using JSP and EJB. User A was on a forgot password page and User B was viewing another page and filling in some information. When User A clicked next to go to the next page in forgot password, there was an error. User A saw the page User B was on previously with their information already filled in on the page and at the bottom was the page that User A was expecting. That is, User B's page was appended to the start of the page User A was expecting to see. Both pages are JSPs and both users were using different machines. JBoss threw an IllegalStateException in the logs and the following error was displayed on screen: ERROR: ERROR X-Powered-By: Servlet 2.4; JBoss-4.2.2.GA (Build SVNTag=Jboss_4_2_2_GA date=200710221139/Tomcat 5.5 Content-Length: 1051 Keep-Alive: timeout=5, max=100 Connection: keep-Alive Content-Type: text/html;charset=ISO-8859-1 We are using response.sendRedirect() in our JSP code but always have the return statement after that. Any help or hints to debug the problem would be greatly appreciated! Thansk!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163327#4163327 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163327 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBoss problem
You are getting a NameNotFoundExcpetion, which means that the name you are looking up in JNDI is not correct. See http://wiki.jboss.org/wiki/DebugBindException for steps on debugging this error. Also, I assume that com.b2b.emonitor.util.dispatch.ControllerHome FactorySingleton is one of your classes. You really should compile your classes using the debug compiler option. With that option the line numbers will show up in the stack trace, letting you know which line in that classes source file you are doing the lookup. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163331#4163331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: DeploymentError
Based on the information you supplied, I would say that you should fix the configuration for SMSController. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163335#4163335 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163335 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to add top bar with jboss portal?
Hi, I am trying add top bar and image with jboss portal but i am not sure how to do that,Can any one help me. Cheers!!! Venu View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163337#4163337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - does this design make sense?
My app is set up as a stateless session bean calling jbpm. So within the enerprise bean I open the hibernate session, do my jbpm goodness and then save and close the hibernate session. I have a process definition with multiple tokens each signalling on different part of the process graph. The child tokens live for the life of the process i.e. there is no join. I was thinking that to stop classic concurrency problems like lost update problem I thought I might be able to use a special task for the purpose of locking i.e. use it as a lock. I could put something in the ejb, so before it performs the signal on one of the tokens (or whatever) , it has to acquire the lock (special task) for this process. Do you think this makes sense? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163338#4163338 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163338 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: NPE in ExtendedFormAuthenticator
leegreiner wrote : I ended up writing my own authenticator, one that guarded against the NPE. Could you share your version of the ExtendedFormAuthenticator? Thanks, Rafael View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163342#4163342 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Message getting Redelivered.. Whats the Catch
Hi, I am having a MDB listen to a broker of a SonicMQ Queue v6.1. JBOSS 4.2.1 EA. For certain adhoc cases the messages are not getting removed from the Queue after being processed by onMessage() method. The same message keeps processing repeatedly. Changing the log level to TRACE I could find the following important clue. The trace for one that dint repeat: | 07/08/08 10:34:07 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.onMessage - Commiting the JMS transaction | 07/08/08 10:34:07 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.onMessage - onMessage done | 07/08/08 10:34:07 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.run - recycling... | 07/08/08 10:34:07 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSessionPool.recycle - recycled server session: [EMAIL PROTECTED] | 07/08/08 10:34:07 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.run - finished run | The trace for one that did repeat: | 07/08/08 14:13:30 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.onMessage - [EMAIL PROTECTED] already ended | 07/08/08 14:13:30 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.onMessage - onMessage done | 07/08/08 14:13:30 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.run - recycling... | 07/08/08 14:13:31 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSessionPool.recycle - recycled server session: [EMAIL PROTECTED] | 07/08/08 14:13:31 JMS SessionPool Worker-0 TRACE - org.jboss.jms.asf.StdServerSession.run - finished run | 07/08/08 12:05:04 JMS SessionPool Worker-1 TRACE - org.jboss.jms.asf.StdServerSession.onMessage - onMessage running (pool, session, xaSession, useLocalTX): , , null, false | | Can someone help me find the root cause. This seems a challanging one to me. Thanks, Milo. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163343#4163343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How to start building a new portlet?
I am just geginner to jboss portal,can some one help me how to start build my home page with jboss portal, in the home i want to see my own log instead of jboss and want to see my own footer bar. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163344#4163344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBOSS configuration
I have successfully installed JBOSS AS 4.2.2 -- SUSELinux v10. The application deploys successfully; however, when I try to access the default page, over the network I get the IE default page not found error. My firewall is down. There is nothing blocking the viewing across the network. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163345#4163345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163345 ___ 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 targeting Eclipse 3.4/Ganymede
At the end of this year AFAIK. There will be: alpha, beta, CR1 and then GA. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163346#4163346 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163346 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: WSRP: images, css, and javascript from ICEfaces not comi
Chris, here's the SOAP from the JSPPortlet sample that I set as remotable and loaded it up in liferay and soap-ui (just seeing the soap reponse). The images here are also not being rewritten: 2008-07-09 10:20:38,622 TRACE [org.jboss.ws.core.MessageTrace] Outgoing Response Message | env:Envelope xmlns:env='http://schemas.xmlsoap.org/soap/envelope/' | env:Header/ | env:Body | ns1:getMarkupResponse xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance' |ns1:markupContext | ns1:useCachedMarkup xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'false/ns1:useCachedMarkup | ns1:mimeType xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'text/html/ns1:mimeType | ns1:markupString xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types' | | | | | | | | table border=0 cellspacing=2 cellpadding=2 |tr | td align=centera href=http://portal.demo.jboss.com; target=_blankimg | src=/portal-jsp-samples/images/dodemo.gif border=0 | alt=Try the latest release of JBoss Portal, live and online. //a | a href=http://labs.jboss.com/portal/jbossportal/download/index.html; target=_blankimg | src=/portal-jsp-samples/images/getcode.gif border=0 | alt=Download JBoss Portal and have it up and running in minutes. //a | a href=http://www.portletswap.com; target=_blankimg | src=/portal-jsp-samples/images/accessorize.gif border=0 | alt=Download portlets and layouts for your new JBoss Portal installation. //a/td |/tr |tr | td/td |/tr |tr | td class=portlet-section-alternate | font class=portlet-fontThis is a basic installation of bJBoss Portal 2.6.5-GA | /b. You may | log in at any time, using the iLogin/i link at the top-right of this page, with the following | credentials:/font | /td |/tr |tr | td class=portlet-section-alternate align=center | buser/user/b or badmin/admin/b | /td |/tr |tr | td align=center | If you are in need of guidance with regards to navigating, configuring, or operating the portal, please view | our a href=http://labs.jboss.com/portal/jbossportal/docs/index.html; target=_blankonline documentation/a. | /td |/tr | /table | /ns1:markupString | ns1:locale xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'de/ns1:locale | ns1:requiresUrlRewriting xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'true/ns1:requiresUrlRewriting | ns1:preferredTitle xmlns:ns1='urn:oasis:names:tc:wsrp:v1:types'Greetings !/ns1:preferredTitle |/ns1:markupContext | /ns1:getMarkupResponse | /env:Body | /env:Envelope | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163347#4163347 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - JBoss SEAM configuration
I have integrated SEAM into my JBoss AS environment. I followed all the steps from the official site on how to integrate SEAM with JBoss AS. My environment is SUSE Linux v10_64-bit/JBoss AS 4.2.2GA/JBoss SEAM v1.2.1 GA. On starting JBoss AS I see JBoss start successfully and the war file deployment failing for all of the SEAM components. I checked the JBoss logs for some indication of what might be wrong. There isn't anything there to point me in a specific direction. Here is some of what I see when I deploy JBoss AS: loyment failed state: FAILED watch: file:/opt/jboss-4.2.2.GA/server/default/deploy/jboss-seam-booking.ear altDD: null lastDeployed: 1215622345311 lastModified: 1215622344000 mbeans: persistence.units:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,unitName=bookingDatabase state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=AuthenticatorAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=BookingListAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=ChangePasswordAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelBookingAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=HotelSearchingAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam-booking.jar,name=RegisterAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-booking.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3 state: Started [EMAIL PROTECTED] { url=file:/opt/jboss-4.2.2.GA/server/default/deploy/jboss-seam-dvd.ear } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: URL file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp237jboss-seam-dvd.ear-contents/jboss-seam-dvd-exp.war/ deployment failed state: FAILED watch: file:/opt/jboss-4.2.2.GA/server/default/deploy/jboss-seam-dvd.ear altDD: null lastDeployed: 1215622348904 lastModified: 1215622348000 mbeans: persistence.units:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,unitName=dvdDatabase state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=AcceptAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=AuthenticatorAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=CheckoutAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=EditCustomerAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=SearchAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=ShipAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=ShoppingCartBean,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=ShowOrdersAction,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam-dvd.jar,name=StoreManagerBean,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam.jar,name=Dispatcher,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-dvd.ear,jar=jboss-seam.jar,name=TransactionListener,service=EJB3 state: Started [EMAIL PROTECTED] { url=file:/opt/jboss-4.2.2.GA/server/default/deploy/jboss-seam-issues.ear } deployer: [EMAIL PROTECTED] status: Deployment FAILED reason: URL file:/opt/jboss-4.2.2.GA/server/default/tmp/deploy/tmp238jboss-seam-issues.ear-contents/jboss-seam-issues-exp.war/ deployment failed state: FAILED watch: file:/opt/jboss-4.2.2.GA/server/default/deploy/jboss-seam-issues.ear altDD: null lastDeployed: 1215622351980 lastModified: 1215622351000 mbeans: persistence.units:ear=jboss-seam-issues.ear,jar=jboss-seam-issues.jar,unitName=entityManager state: Started jboss.j2ee:ear=jboss-seam-issues.ear,jar=jboss-seam-issues.jar,name=CommentEditorBean,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-issues.ear,jar=jboss-seam-issues.jar,name=IssueEditorBean,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-issues.ear,jar=jboss-seam-issues.jar,name=IssueFinderBean,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-issues.ear,jar=jboss-seam-issues.jar,name=IssueProjectSelectorBean,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-issues.ear,jar=jboss-seam-issues.jar,name=ProjectEditorBean,service=EJB3 state: Started jboss.j2ee:ear=jboss-seam-issues.ear,jar=jboss-seam-issues.jar,name=ProjectFinderBean,service=EJB3 state: Started
[jboss-user] [JBoss Messaging] - Re: JBM SP3 CP02 with MySQL persistence not working
I just did a test from scratch with EAP and I couldn't get any bugs. You're messing up with something basic here. What you're reporting is quite a common use case. If this was a bug we would have been informed right after the CP01 release with way many more requests. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163353#4163353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Variable
Hi. I'm new developer in JBPM. I have a question. I have a process-state and would like to send n parameters. How is that I can indicate the value of these parameters? process-state name=controlo_documentos | sub-process name=controlo_documentos/sub-process | variable access=read,write,required name=form/variable | variable access=read,write,required name=grupo_elaborantes/variable | variable access=read,write,required name=grupo_verificacao/variable | variable access=read,write,required name=grupo_aprovacao/variable | variable access=read,write,required name=grupo_publicacao/variable | variable access=read,write,required name=grupo_detentores/variable | | transition to=join1/transition | /process-state View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163356#4163356 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163356 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBOSS configuration
See if this helps: http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163358#4163358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Variable
you can't, at least not this way. Use an actionhandler on e.g. the processstart event which takes params and values and sets them in the processdefinition View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163359#4163359 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163359 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss SEAM configuration
What you posted is the deployment report that is printed at the end of the startup log. This report typically does not provide any information about why the deployments failed - only that they did fail. You need to look earlier in the console log (you might have to increase the output buffer for your command window to prevent the lines from scrolling off the buffer) and find the FIRST exception stack trace and post that. (Alternately, you could also find the stack trace in the server.log file.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163360#4163360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: does this design make sense?
a special task, one special variable, one you name it The issue that you have to act on this special task in one way or another (when does concurrency end? what if this lock stays by accident, what do you return to the other token). Sound like your trying to invent a mechanism that maybe should be in the engine... I mean, maybe it has to be possible to set on each variable which token might update it/is working with it) But you have to retrieve changed values in tasks then (or not use task scoped variables but only process scoped variables View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163361#4163361 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: does this design make sense?
maybe this discussion (the generic one on lost updates) should be held on the dev forum (again) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163363#4163363 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: NPE in ExtendedFormAuthenticator
This was our solution: | package edu.duke.dcri.web.tomcat.security; | | import java.io.IOException; | import org.apache.catalina.connector.Request; | import org.apache.catalina.connector.Response; | import org.apache.catalina.deploy.LoginConfig; | | public class ExtendedFormAuthenticator extends org.jboss.web.tomcat.security.ExtendedFormAuthenticator | { | | public ExtendedFormAuthenticator() | { | } | | public boolean authenticate(Request request, Response response, LoginConfig config) | throws IOException | { | boolean alreadyAuthenticated = false; | try | { | alreadyAuthenticated = super.authenticate(request, response, config); | } | catch(NullPointerException npe) { } | return alreadyAuthenticated; | } | } | When the NullPointerException is raised there is no session and the authenticator returns false, the desired effect. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163364#4163364 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163364 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss4.0 - Ant Build Error
I do not see anything odd in your environment variables. I looked at the source code for Property, where the NPE happened. I am afraid that the only way to resolve this is to modify both the Property and Execute classes in Ant to see what the problem is. The only other thing I can think of is to try a newer version of Ant. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163368#4163368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Getting started with JBoss4.0 - Ant Build Error
One more alternative - dig through the build.xml looking at what is uses the env property for and just provide those values as properties. Hopefully it only assigned env values to other properties and does not use env values directly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163370#4163370 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Workflow process visual rapresentation
Thank you dleerob, you did a very good job! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163369#4163369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: 2.0.0 alpha status
Hi mmastrac- Thanks for your interest in JBM 2.0 :) We're very excited about it - it's going to form a key part of JBoss flagship products and we're confident it will take the market by storm. JBM 2.0 alpha is fully functional, it may well work for you, however it is an alpha and we wouldn't recommend you use any alpha (or beta for that matter) in production. As a JBoss / Red Hat employee it would be unprofessional for me to say otherwise, and we'd say the same for any product. Hope that helps :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163372#4163372 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - How do I apply Tomcat security patches?
We just recieved a threat scan from an outside company which requires us to update Tomcat in order to continue processing credit card orders. Initially this seemed simple. Tomcat says we need either version 5.0.SVN or 5.5.26. Our vendor (Adobe Live Cycle) claims that we shouldn't touch Tomcat directly and requires JBoss 3.2.5 to work properly. Would you please provide simple steps and guidelines for how to patch Tomcat without breaking everything else? We need to act ASAP!! Installed Versions: JBoss 3.2.5 Tomcat 5.0.26 Java VM 1.4.2_12-b03 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163379#4163379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - deploying shared jars in jboss5
I originally posted this on the jboss5 forum at http://www.jboss.com/index.html?module=bbop=viewtopict=138718 They recommended that I post it here. So here is a recap of my problem anonymous wrote : | Here is how I have my project setup. | These are all maven 2 projects so dependency management is done automatically. | | I have a few projects that get compiled into jars which contains common functions. | e.g. common.jar (Utility methods) | | I have a web app which depends on common, spring and a few other libs. | | My .m2/settings.xml file has a jboss.home variable defined. | | my webapp's pom file is set to create a lean war basically I don't want to include any of the dependent libs into the web-inf/lib folder. | When I run mvn package on the webapp it copies all the dependencies | into the JBOSS_HOME/server/default/deploy/common-libs folder. | | This setup works fine in 4.2.2. | After getting 5.0 CR1, I changed the jboss.home variable in my settings.xml and jusr reran the maven scripts. | | I start up jboss and I get these errrors. | | | | 4:43:30,927 INFO [TomcatDeployment] deploy, ctxPath=/semwebapp, vfsUrl=semwebapp.war | | 4:43:30,960 WARN [TomcatInjectionContainer] could not find servlet class | |org.springframework.web.servlet.DispatcherServlet | | in classpath when processing annotations. | | 4:43:30,977 WARN [TomcatInjectionContainer] could not find servlet class | |org.directwebremoting.servlet.DwrServlet | | in classpath when processing annotations. | | 4:43:31,034 WARN [TomcatInjectionContainer] could not find servlet class | |org.springframework.web.servlet.DispatcherServlet | | in classpath when processing annotations. | | 4:43:31,050 WARN [TomcatInjectionContainer] could not find servlet class | |org.directwebremoting.servlet.DwrServlet | | in classpath when processing annotations. | | 4:43:31,086 INFO [[/semwebapp]] Marking servlet springDispatcher as unavailable | | 4:43:31,093 ERROR [[/semwebapp]] Servlet /semwebapp threw load() exception | | ava.lang.ClassNotFoundException: | |org.springframework.web.servlet.DispatcherServlet | | | |at java.net.URLClassLoader$1.run(URLClassLoader.java:200) | |at java.security.AccessController.doPrivileged(Native Method) | |at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | |at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | |at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | |at org.jboss.web.tomcat.service.TomcatInjectionContainer.newInstance(TomcatInjectionContainer | | .java:162) | |at org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1006) | |at org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:950) | |at org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4074) | |at org.apache.catalina.core.StandardContext.start(StandardContext.java:4384) | |at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeployInternal(TomcatDeploy | | ment.java:346) | |at org.jboss.web.tomcat.service.deployers.TomcatDeployment.performDeploy(TomcatDeployment.jav | | a:139) | |at org.jboss.web.deployers.AbstractWarDeployment.start(AbstractWarDeployment.java:431) | | | | | I would appreciate it if somebody could help me with this. The recommendation is to put the jars into the JBOSS_HOME/server/default/lib folder. I specifically didn't do this cos I wanted the libraries used my application to stay separated from the libraries that come standard with jboss. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163380#4163380 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Anybody know the schedule for 2.7.0?
I am working on a software release of our stuff under 2.6.3/2.6.4 Portal. I noticed several pretty important fixes going into 2.6.5.SP1 and that seems to work well. But I holding off adding this to our release until I see what is happening with the next release of the portal (2.7.0). Can anyone share the schedule of when 2.7.0 ALPHA will go to production so I can determine if it is worth the wait? Hints will be accepted...Thanks. Also if there are any hints about a JSF portlet Bridge update that would be useful.. Thanks again. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163381#4163381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - ejb3 mdbs not giving name not found errors in jboss5
I originally posted this at http://www.jboss.com/index.html?module=bbop=viewtopict=138718 I have a few mdbs that were created using the ejb3 spec. I specifically referred to the tutorial at http://trailblazer.demo.jboss.com/EJB3Trail/serviceobjects/mdb/index.html Essentially I have jar file in which I have packaged my mdb. The jar is being put under JBOSS_HOME/server/default/deploy/common-libs I haven't updated any configuration files. Jboss shows this when it starts up 14:40:44,565 INFO [STDOUT] == Creating interceptor metadata bridge | 14:40:44,846 INFO [JBossASKernel] Created KernelDeployment for: reporting.jar | 14:40:44,846 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=reporting.jar,jar=reporting.jar,name=SEMReportDataExtraction,service=EJB3 | 14:40:44,862 INFO [JBossASKernel] with dependencies: | 14:40:44,862 INFO [JBossASKernel] and demands: | 14:40:44,877 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 14:40:44,877 INFO [JBossASKernel] and supplies: | 14:40:44,877 INFO [JBossASKernel] Class:javax.jms.MessageListener | 14:40:44,893 INFO [JBossASKernel] jndi:queue/SEMReportData | 14:40:44,893 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=reporting.jar,jar=reporting.jar,name=SEMReportDataExtraction,service=EJB3) to KernelDeployment o | f: reporting.jar | 14:40:44,908 INFO [JBossASKernel] installing bean: jboss.j2ee:ear=reporting.jar,jar=reporting.jar,name=Tabular Report Generator Bean,service=EJB3 | 14:40:44,908 INFO [JBossASKernel] with dependencies: | 14:40:44,924 INFO [JBossASKernel] and demands: | 14:40:44,924 INFO [JBossASKernel] jboss.ejb:service=EJBTimerService | 14:40:44,940 INFO [JBossASKernel] and supplies: | 14:40:44,940 INFO [JBossASKernel] jndi:queue/TabularReportGenerator | 14:40:44,940 INFO [JBossASKernel] Class:javax.jms.MessageListener | 14:40:44,955 INFO [JBossASKernel] Added bean(jboss.j2ee:ear=reporting.jar,jar=reporting.jar,name=Tabular Report Generator Bean,service=EJB3) to KernelDeploy | ment of: reporting.jar | and then it gives a name not found exception 4:41:09,605 ERROR [JmsActivation] Unable to reconnect [EMAIL PROTECTED](ra=org.jboss.resource.adapter.jms.JmsR | [EMAIL PROTECTED] destination=queue/TabularReportGenerator isTopic=false tx=true durable=false reconnect=10 provider=java:/DefaultJMSProvider user=null | maxMessages=1 minSession=1 maxSession=15 keepAlive=6 useDLQ=true DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler DLQJndiName=queu | /DLQ DLQUser=null DLQMaxResent=5) | avax.naming.NameNotFoundException: TabularReportGenerator not bound |at org.jnp.server.NamingServer.getBinding(NamingServer.java:542) |at org.jnp.server.NamingServer.getBinding(NamingServer.java:550) |at org.jnp.server.NamingServer.getObject(NamingServer.java:556) |at org.jnp.server.NamingServer.lookup(NamingServer.java:296) |at org.jnp.server.NamingServer.lookup(NamingServer.java:270) |at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:669) |at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:629) |at javax.naming.InitialContext.lookup(InitialContext.java:392) |at org.jboss.util.naming.Util.lookup(Util.java:222) |at org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:441) |at org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:340) |at org.jboss.resource.adapter.jms.inflow.JmsActivation.handleFailure(JmsActivation.java:280) |at org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:696) |at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:204) |at org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260) |at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:885) |at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:907) |at java.lang.Thread.run(Thread.java:619) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163382#4163382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - org.jboss.resource.security.SecureIdentityLoginModule
Hi there. I am trying to get the Oracle datasource password encrytion to work. I am Jboss newbie, and recently attended a Jboss administration training, where the instructor went over the steps for how to do this. I can successfully generate the encrypted password, and have modified my login-config and oracle-ds.xml as per my notes from the class. Here is my security domain in login-config.xml looks like: !-- Security domains for testing new jca framework -- application-policy name=Encrypted login-module code=org.jboss.resource.security.SecureIdentityLoginModule flag=required module-option name=usernamewr/module-option module-option name=password7180326e7b1e444e/module-option module-option name=managedConnectionFactoryNamejboss.jca:name=WRDS,service=LocalTxCM/module-option /login-module /application-policy And here is what I have in my oracle-ds.xml: local-tx-datasource jndi-nameWRDS/jndi-name use-java-contextfalse/use-java-context connection-urljdbc:oracle:thin:@qa1wrdb1:1541:wrq1/connection-url driver-classoracle.jdbc.driver.OracleDriver/driver-class security-domainEncrypted/security-domain !-- user-namewr/user-name wr -- !-- Uses the pingDatabase method to check a connection is still valid before handing it out from the pool valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name -- !-- Checks the Oracle error codes and messages for fatal errors -- exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name !-- sql to call when connection is created new-connection-sqlselect systimestamp from dual/new-connection-sql -- !-- sql to call on an existing pooled connection when it is obtained from pool - the OracleValidConnectionChecker is prefered check-valid-connection-sqlselect systimestamp from dual/check-valid-connection-sql -- !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml -- type-mappingOracle9i/type-mapping !-- pooling parameters -- min-pool-size5/min-pool-size max-pool-size100/max-pool-size blocking-timeout-millis3/blocking-timeout-millis idle-timeout-minutes15/idle-timeout-minutes !-- performance related parameters transaction-isolationTRANSACTION_READ_COMMITED/transaction-isolation track-statementsfalse/track-statements -- prepared-statement-cache-size50/prepared-statement-cache-size /local-tx-datasource !-- END WRDS datasource -- This is the code I run to test if I can successfully make a database connection using this new security domain. *Java Code Starts here, This is a simple java code that I first compile a nd then execute / import java.util.*; import java.sql.Connection; import java.sql.ResultSet; import java.sql.SQLException; import java.sql.Statement; import javax.naming.InitialContext; import javax.naming.Context; import javax.naming.NamingException; import javax.sql.DataSource; public class DataSourceTest { public static void main(String[] args) throws Exception { testDataSource(); } private static void testDataSource() throws NamingException, SQLException { final String sql = select systimestamp from dual; Properties properties = new Properties(); properties.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory); properties.put(Context.PROVIDER_URL, jnp://localhost:1099); properties.put(Context.URL_PKG_PREFIXES, org.jboss.naming:org.jnp.interfaces ); Context ctx = new InitialContext(properties); DataSource ds = (DataSource) ctx.lookup(WRDS); Connection con = null; Statement stmt = null; ResultSet rs = null; try { con = ds.getConnection(); stmt = con.createStatement(); rs = stmt.executeQuery(sql); while(rs.next()) { System.out.println(Query ' + sql + ' returned + rs.getString(1)); } } finally { if(rs != null) rs.close(); if(stmt != null) stmt.close(); if(con != null) con.close(); } } } And here are the errors that get when I run this above code: [EMAIL PROTECTED] bin]$ java DataSourceTest Exception in thread main java.lang.SecurityException: Invalid authentication attempt, principal=null at org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:589) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:395) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
[jboss-user] [Messaging, JMS JBossMQ] - Re: ejb3 mdbs giving name not found errors in jboss5
typed out the subject wrong ;) You guys should really allow the submitted to edit or delete their own posts :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4163386#4163386 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4163386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user