[jboss-user] [JBoss Tools (users)] - Re: Hibernate Configurations
By built i mean if the project has actually built so the persistence.xml shows up in your classpath as META-INF/persistence.xml. If it is not there then we don't see the persistence.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113125#4113125 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113125 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: Seam Workflow and JBoss Tools
The seam pageflow is generic and does not restrain you. AFAIK pageflow can be in the app whereever you want it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113126#4113126 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113126 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - debug.seam not able to load conversation context page
Seam 2.0.0GA in JBoss 4.2.2GA It was working but suddenly, I cannot view the conversation debug page via the debug.seam?cid=xxx URL. In browser, the /debug.seam still works. But when I click on the link select conversation context for a specific conversation, I got an error saying the debug.seam is not available. The link to the conversation context specific page is something like: /debug.seam?cid=xxx where xxx is the conversation id. In the console, the following exception is dumped out: | 03:54:28,168 WARN [lifecycle] phase(RENDER_RESPONSE 6,[EMAIL PROTECTED]) threw exception: | javax.el.ELException: /file:/C:/java/platform/jboss-current/server/default/deploy/app.ear/lib/jboss-seam-debug.jar!/META | -INF/debug.xhtml: null /file:/C:/java/platform/jboss-current/server/default/deploy/app.ear/lib/jboss-seam-debug.jar!/MET | A-INF/debug.xhtml: null | com.sun.facelets.compiler.TextInstruction.write(TextInstruction.java:50) | com.sun.facelets.compiler.UIInstructions.encodeBegin(UIInstructions.java:39) | com.sun.facelets.compiler.UILeaf.encodeAll(UILeaf.java:149) | com.sun.facelets.component.RepeatRenderer.encodeChildren(RepeatRenderer.java:50) | com.sun.facelets.component.UIRepeat.process(UIRepeat.java:357) | com.sun.facelets.component.UIRepeat.encodeChildren(UIRepeat.java:617) | com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:244) | com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | com.sun.facelets.tag.jsf.ComponentSupport.encodeRecursive(ComponentSupport.java:249) | org.jboss.seam.debug.jsf.SeamDebugPhaseListener.beforePhase(SeamDebugPhaseListener.java:51) | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222) | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83) | org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141) | org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281) | org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.java:68) | org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69) | org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102) | org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583) | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446) | java.lang.Thread.run(Thread.java:619) | Does anyone know what is wrong? Thanks, View the original post :
[jboss-user] [JBoss Seam] - Re: SelectOneMenu problem
i am having a similar problem. I think 2.0.1 has a fix for it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113134#4113134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with SelectOneMenu
I am having a similar issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113135#4113135 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: SelectOneMenu problem
I am wondering is this issue due to using jsf ri 1.2 compared to previously using myfaces? because our applications worked fine in 1.2 and now in 2.0 they are broke on SelectOneMenu :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113136#4113136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Could not find datasource: java:/JbpmDS
Hello!!! I've configuring jbpm to works with mySQL following the steps http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpMysqlAsDefaultDS The configuration was right, but I think the problem is in hibernate.cfg. I changed this file to works with my BD: | !-- hibernate dialect -- | property name=hibernate.dialectorg.hibernate.dialect.MySQLInnoDBDialect/property | | property name=hibernate.connection.datasourcejava:/JbpmDS/property | | property name=hibernate.cache.provider_classorg.hibernate.cache.HashtableCacheProvider/property | property name=hibernate.show_sqltrue/property | property name=hibernate.format_sqltrue/property | property name=hibernate.use_sql_commentstrue/property | But this doesn't work because it's thrown this exception: | 11:34:48,093 [main] INFO NamingHelper : JNDI InitialContext properties:{} | 11:34:48,140 [main] FATAL DatasourceConnectionProvider : Could not find datasource: java:/JbpmDS | javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.lookup(Unknown Source) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:56) | at org.hibernate.cfg.SettingsFactory.createConnectionProvider(SettingsFactory.java:410) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:62) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292) | at org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91) | at org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:95) | at org.jbpm.JbpmContext.getSessionFactory(JbpmContext.java:486) | at org.jbpm.context.exe.matcher.HibernateLongIdMatcher.matches(HibernateLongIdMatcher.java:47) | at org.jbpm.context.exe.JbpmType.matches(JbpmType.java:53) | at org.jbpm.context.exe.VariableInstance.createVariableInstance(VariableInstance.java:86) | at org.jbpm.context.exe.VariableInstance.create(VariableInstance.java:65) | at org.jbpm.context.exe.VariableContainer.setVariableLocally(VariableContainer.java:173) | at org.jbpm.context.exe.VariableContainer.setVariable(VariableContainer.java:45) | at org.jbpm.context.exe.ContextInstance.setVariable(ContextInstance.java:212) | at org.jbpm.context.exe.ContextInstance.setVariable(ContextInstance.java:202) | at com.Ejemplo1.action.ExActionHandler.execute(ExActionHandler.java:17) | at org.jbpm.graph.def.Action.execute(Action.java:122) | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:264) | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:220) | at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:190) | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:174) | at org.jbpm.graph.def.Transition.take(Transition.java:138) | at org.jbpm.graph.def.Node.leave(Node.java:394) | at org.jbpm.graph.node.StartState.leave(StartState.java:70) | at org.jbpm.graph.exe.Token.signal(Token.java:195) | at org.jbpm.graph.exe.Token.signal(Token.java:140) | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:271) | at com.Ejemplo1.Test2.testEjemplo1Process(Test2.java:96) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at junit.framework.TestCase.runTest(TestCase.java:154) | at junit.framework.TestCase.runBare(TestCase.java:127) | at junit.framework.TestResult$1.protect(TestResult.java:106) | at junit.framework.TestResult.runProtected(TestResult.java:124) | at junit.framework.TestResult.run(TestResult.java:109) | at junit.framework.TestCase.run(TestCase.java:118) | at junit.framework.TestSuite.runTest(TestSuite.java:208) | at junit.framework.TestSuite.run(TestSuite.java:203) | at
[jboss-user] [JBoss jBPM] - Re: Cant delete tasks from jbpm-console
I don't think you'll get a response this way. At least mention which - version of jBPM you are using and othe possible relevant environment things. - what steps you took to reproduce - does it happen with the websale example to? - ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113139#4113139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate + Groovy
OK we found the issue. In the first case (pure Groovy), the annotations are placed on the fields (always the case for Groovy) and metaClass is indeed a transient field thus ignored. In the second case I suspect your java class has it's annotations on getters. So JPA expect to find annotations on getters and process getters of the Groovy class. Hence it picks getMetaClass, and incidentally does not read your annotations in Groovy (field instead of property). The solution is to use field annotations for your superclass in Java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113140#4113140 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113140 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Configuring Apache as proxy for multiple JBoss instances
hi, I have an apache web server running on a system with two IP Addresses (A B). The same server has 2 jboss instances with AJP connectors running on ports 15009 16009. apache would need to act as a proxy to these app servers. My requirement is to invoke JBoss AS Instance 1 if apache is accessed through IP Address A JBoss AS Instance 2 if apache is accessed through IP Address B. Is this technically feasible?. If yes, please suggest the configuration to be done. TIA, Murali View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113142#4113142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with SelectOneMenu
I fixed my issues by implementing public boolean equals(Object obj) and public int hashCode() in the entity bean View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113143#4113143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: where's the documentation about conversation control(ann
Hi,can any one help? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113146#4113146 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113146 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Hibernate + Groovy
Yeah, that is for sure the case, sounds good! thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113147#4113147 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113147 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam and Maven
Dear all, I've managed to figure out to use Maven with Seam. The hack is mostly regarding the library dependencies inside pom.xml, other than that it is just a matter of placing the view, the configs and the Java source inside the appropriate folder. I've written it here: http://joshuajava.wordpress.com/2007/12/15/seam-and-maven/ Also some reason why I preferred Maven over ant with Seam. Cheers, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113148#4113148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: error in build cvs source code
does this file exists? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113150#4113150 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam developer availability
*bump* View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113151#4113151 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Resource not found exceptions with seam using mod_jk
Jason, the usual reason for fronting with Apache is to support load balancing/failover and to provide an extra layer of security. The seam performance testing with DELL used this approach. See http://www.dell.com/downloads/global/power/jbossworld_2006_june_jaffe.pdf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113152#4113152 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113152 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process Definition XML Validation Problems
your schemalocation is wrong. There is a urn:jbpm.org:jpdl-3.1 in there which should be 3.2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113153#4113153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Could not find datasource: java:/JbpmDS
look at the last 'caused by' and also look in the jndi tree to see if the ds is realy there and under which name View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113154#4113154 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Why use JBoss Messaging?
Hi, I'm doing a project on jBPM and JBoss Messaging. Right now I'm just trying to get an understanding of why you would use JBoss Messaging. Unfortunately the 1.4 User's Guide does not go into the basics. I understand that you can send async messages to queues and topics, I don't quite understand exactly what these are but this is not the questions I want to ask, its more basic then that... My question is... Why would you use JBoss Messaging? What real examples would it be useful for? Are they used to invoke other processes? Any examples? Your help would be greatly appreciated! :) Chris Cox View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113158#4113158 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113158 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Strange problem with JSP compilation
We're moving an existing project from Orion 2.0 to JBoss 4.0.5. On Orion, we've created lots of JSP code using JSTL and Struts taglibs, looking like this: html:option value=%=departmentId%%=departmentName%/html:option where departmentId is an int. This code was compiling and running in Orion just fine, however, when trying to access this page in JBoss, I get the following error: An error occurred at line: 1,745 in the jsp file: /insurance/jsp/selectTenderType.jsp | Generated servlet error: | The method setValue(String) in the type OptionTag is not applicable for the arguments (int) | Any pointers about where I should look? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113162#4113162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - The need to cluster a Stateless session bean
Hi all, If the SLSB is only accessed within the ear file or other ear file (all of the ear files are deployed in the same server), do I need to mark the session bean as Clusterable? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113166#4113166 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113166 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:fileUpload and Trinidad
There's another thread discussing this, but there hasn't been any activity on it. It looks like using s:fileUpload and Trinidad isn't possible at this time. Is this correct? Are there any work arounds? I'd prefer not to remove Trinidad from my project. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113171#4113171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: DL - JBoss4.2.0 startup deployment problem
If you start the app server without your ear deployed, does it start without errors? I want to separate possible app server configuration information problems from problems caused by your app. When your app is deployed, it looks like the run statement is changed (hence the extra JAVA_OPTS settings). Is there any other thing that the deployment of your app changes, other putting the ear file in the deploy directory? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113172#4113172 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113172 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Unwaring web app - leaves some files in the war
I am assuming that you also deleted the work and tmp directories, and restarted the server, when you exploded the war? Looks like I will have to try this myself to see what is going on. Won't get to that until Monday, I'll post my results. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113173#4113173 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBoss Datasource pooling - only option?
ppantazis wrote : Is Datasource pooling considered a standard/default option in JBoss? I am using JBoss 4.0.5 and I am concerned how to keep track of end users threads into the database. If I need to kill a particular users connection will that mean taking down everybody in the pool? is there a way to do individual connections rather than pooling? | | Thanks kindly (PS Backend datasource is DB2). I am not sure what exactly you are asking . If you are getting the connection from the Datasource then you are getting the pooled connection which are provided by JCA framework. You can configure the min-pool-size/max-pool-size to 1 in the -ds.xml file , this will keep a single connection in a pool , so logical there is no pool of connection . Before doing this please make sure that you understand how Datasource/JCA stuff works and why is it needed . For knowing more details about it look here http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossJCA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113174#4113174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss shuts down itself
The two lessons from the posts that jaikiran cited are: 1) There is no code within JBossAS itself that causes it to shut itself down automatically. 2) Shutdowns can occur based on a JMX call to shutdown, or on a system signal. Perhaps your Solaris system has some kind of timer, where after a server has no input for a specific period of time (2 hours), Solaris sends that server a SIGINT. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113175#4113175 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Here is a Richfaces Ajax Datascroler and Seam Example
Hi, thanks you for the code.. lazy loading with Richfaces datatable is really helpul for me. But I am not using DAO's to access my Entities. I am using the normal EntityManager.createQuery(..) method. I would have to make 2 queries one for getCount and one for getList (and a third for getId), correct? Regards, Alexander View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113176#4113176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using CMS with alternate Admin user still broken in 2.6.
It's already in Jira It's already fixed It's already released (2.6.3) ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113177#4113177 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: MSSQL XA datasource throws RollbackException on cluster
No you don't need to create SQL function , the org.jboss.mq.pm.jdbc2.PersistenceManager takes care of creation of the tables . Table creation is controlled by defining the sqlproperties , have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQStateJDBC I don't understand why the setting of CREATE_TABLES_ON_STARTUP= false is still creating the SQL tables , you seem to be doing something wrong . You should enable trace logging for org.jboss.mq to troubleshoot this issue . Go to the Jboss Messaging user forum , this issues is not JCA related . Let me point out the code which reads the CREATE_TABLES_ON_STARTUP property | public void startService() throws Exception |{ | . | createTables = sqlProperties.getProperty(CREATE_TABLES_ON_STARTUP, true).equalsIgnoreCase(true); | .. | } | | | | if (createTables) | { | c = this.getConnection(); | | boolean createdMessageTable = false; | try | { |stmt = c.prepareStatement(CREATE_MESSAGE_TABLE); |stmt.executeUpdate(); |createdMessageTable = true; http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/messaging/src/main/org/jboss/mq/pm/jdbc2/PersistenceManager.java http://anonsvn.jboss.org/repos/jbossas/branches/Branch_4_0/messaging/src/main/org/jboss/mq/pm/jdbc2/MSSQLPersistenceManager.java View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113178#4113178 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Why I got java.lang.NoClassDefFoundError when using somethin
I use seam2.0GA along with richfaces3.1.2GA. If I didn't use UITree in my code, everything is alright. However, if I used something like UITree or TreeState, I got java.lang.NoClassDefFoundError org/richfaces/**/UITree or TreeState In the source code, I can import these lib correctly. The point is :If I didn't use UITree in my code, everything is alright. However, if I used something like UITree or TreeState, I got the error. Has anyone met such problem before?How to solve it? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113180#4113180 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ERROR: #{messages} is not Serializable
I am creating a custom validator that uses component injection for the first time, this one just check that there are no links in the entry. Here is the validator: | @Name(noLinkValidator) | //@BypassInterceptors | @Validator | public class NoLinkValidator implements javax.faces.validator.Validator, Serializable { | @In(messages) | private MapString, String messages; | | | public void validate(FacesContext facesContext, | UIComponent uiComponent, | Object o) throws ValidatorException { | if (!(o instanceof String)) throw new IllegalArgumentException(Value is expected is a String); | String value = (String) o; | Reader reader = new StringReader(value); | BufferedReader bufferedReader = new BufferedReader(reader); | String line; | boolean fails = false; | try { | while ((line = bufferedReader.readLine()) != null) { | if (line.contains(a href)) fails = true; | if (line.contains([url)) fails = true; | } | | } catch (IOException e) { | //String summary = messages.get(value_cannot_be_read); | //throw new ValidatorException(new FacesMessage(summary), e); | } | | System.out.println(messages); //resolves to null | | if (fails) { | //String summary = resourceBundle.getResourceBundle().getString(value_contains_links); | //String detail = resourceBundle.getResourceBundle().getString(value_contains_link_detail); | throw new ValidatorException | (new FacesMessage(FacesMessage.SEVERITY_ERROR, value_contains_links, value_contains_link_detail)); | } | } | } | Here is the result | java.io.NotSerializableException: org.jboss.seam.international.Messages$1 | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1156) | at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) | at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) | at java.io.ObjectOutputStream.defaultWriteFields(ObjectOutputStream.java:1509) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1474) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) | at java.io.ObjectOutputStream.writeObject(ObjectOutputStream.java:326) | at java.util.ArrayList.writeObject(ArrayList.java:570) | at sun.reflect.GeneratedMethodAccessor1986.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at java.io.ObjectStreamClass.invokeWriteObject(ObjectStreamClass.java:945) | at java.io.ObjectOutputStream.writeSerialData(ObjectOutputStream.java:1461) | at java.io.ObjectOutputStream.writeOrdinaryObject(ObjectOutputStream.java:1392) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1150) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at java.io.ObjectOutputStream.writeObject0(ObjectOutputStream.java:1146) | at java.io.ObjectOutputStream.writeArray(ObjectOutputStream.java:1338) | at
[jboss-user] [JBoss Seam] - content assist for seam tag library in eclipse
Hi, How does one get this to work. I have extracted the s.tld file from the jboss-seam-ui.jar and placed it in the WEB-INF directory however whenever I am in a .xhtml page content assist doesn't recognise the s:CTRL-SPACE. How do you get this to work? Troy View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113184#4113184 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Running JBoss with Java 6 (JDK 6)
http://www.jboss.com/wiki/Edit.jsp?page=ClassNotFoundJava.lang.StringInJDK6 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113185#4113185 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: EJB with infinite loop does not timeout
Hi eia, I am having similar problem with SLSB calls that takes too much time and memory resources that renders the entire server useless. Other than good programming and testing (alas!), any way to deal with such problem, in production system? Did you find solution to your problem? If so, can you share please? O/w, any workarounds? Thx, GoDeeper View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113186#4113186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - jbossws in applet with jdk 1.5, signed jars, SecurityExcepti
Hi All! Is it possible to create webservice client in applet with wsconsume? I tried it, but I keep getting error, I signed all the jars as well as the applet: java.lang.ExceptionInInitializerError | at org.jboss.ws.core.jaxws.DynamicWrapperGenerator.init(DynamicWrapperGenerator.java:67) | at org.jboss.ws.core.jaxws.DynamicWrapperGenerator.init(DynamicWrapperGenerator.java:62) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.initWrapperGenerator(JAXWSMetaDataBuilder.java:902) | at org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilder.resetMetaDataBuilder(JAXWSMetaDataBuilder.java:908) | at org.jboss.ws.metadata.builder.jaxws.JAXWSClientMetaDataBuilder.rebuildEndpointMetaData(JAXWSClientMetaDataBuilder.java:273) | at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:262) | at org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:193) | at javax.xml.ws.Service.getPort(Service.java:116) | at applettest.ws.TestServiceService.getTestServicePort(TestServiceService.java:50) | at applettest.WSTest.init(WSTest.java:21) | at sun.applet.AppletPanel.run(Unknown Source) | at java.lang.Thread.run(Unknown Source) | Caused by: java.security.AccessControlException: access denied (java.lang.RuntimePermission accessDeclaredMembers) | at java.security.AccessControlContext.checkPermission(Unknown Source) | at java.security.AccessController.checkPermission(Unknown Source) | at java.lang.SecurityManager.checkPermission(Unknown Source) | at java.lang.SecurityManager.checkMemberAccess(Unknown Source) | at java.lang.Class.checkMemberAccess(Unknown Source) | at java.lang.Class.getDeclaredMethod(Unknown Source) | at javassist.ClassPool$1.run(ClassPool.java:78) | at java.security.AccessController.doPrivileged(Native Method) | at javassist.ClassPool.clinit(ClassPool.java:75) | ... 12 more | It comes from the javassist, doesn't it? My webservice is a simple Hello World Service: @WebService | public class TestService { | | @WebMethod | public String hello(String name) { | return Hello +name+!; | } | | | } | The applet simply displays the return value in a label. It works fine as a normal application, but not in applet enviroment. The included jars in the applet (the s beginning means that it is signed): | applet code=applettest.WSTest.class archive=jar/sapplettest.jar, jar/sjboss-jaxws.jar,jar/sjaxb-api.jar, jar/sjaxb-impl.jar, jar/sjaxb-xjc.jar, jar/sjboss-common-client.jar, jar/sjbossws-spi.jar, jar/sjboss-xml-binding.jar, jar/sxercesImpl.jar, jar/sjbossws-client.jar, jar/sjbossws-common.jar, jar/sjboss-jaxrpc, jar/sactivation.jar, jar/sjboss-saaj.jar jar/smail.jar, jar/swsdl4j.jar, jar/sconcurrent.jar, jar/spolicy.jar, jar/scommons-logging.jar, jar/slog4j.jar, jar/sjavassist.jar, jar/sstax-api.jar, jar/sgetopt.jar width=200 height=200 On the client and server side I have jdk1.5.0_5 Jboss 4.2.2Ga Is it actually possible to create jbossws client for applet? (And how about the jdk 1.6) Any Idea? Thnx George View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113189#4113189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: My WS doesn't send any attachment... why?
Thank you Alessio for your response. Considering that my web service client is a PHP page, I suppose I cannot use MTOM. I'll try with SWA-REF. I read that article before, actually, but I hoped there could be something more direct to access the response message and attach anything that way. It seems, instead, that I have to work with @XmlAttachmentRef annotation over a complex return type. Thanks againg for your precious help - I focus the situation better now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113190#4113190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Advanced Documentation] - Re: need help with scheduler
I looked in the source. There is no such restriction (as far as I can tell). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113191#4113191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: transaction:ejb-transaction/ breaks icefaces file uplo
Any ideas on this issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113194#4113194 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - How to deploy EJB in JBoss?
Can someone please tell me how to deploy EJB in JBoss?As i dont have time to go through the doc,can some you guys reply me quick as possible. Im using JBoss 4.0 and im totally new to it..do i have to create a SAR files? Pls guys reply me as quick as possible. Thankyou. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113197#4113197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - EAR project looses dependencies
WTP 2.0.1 has a bug https://bugs.eclipse.org/bugs/show_bug.cgi?id=205004 so that an EAR project looses its dependencies on e.g. EJB modules. Always resetting the dependencies is a little bit annoying. I'd like to upgrade WTP to the latest maintenance build. Are there any experiences in using a WTP 2.0.2 maintenance build instead of 2.0.1 ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4113198#4113198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4113198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user