[jboss-user] [JBoss Seam] - Re: Get request parameters from current page
@RequestParameter(required=false) should do the trick, right? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102419#4102419 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102419 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss debugging problem
Thanks for your helpful reply. The problem shows up also with JDK 1.6. Actually I switched from 1.6 to 1.5 to see it it would make any difference. I tried out your interesting *JRE*suggestion. Same soup: C:\e-workspace\jboss-4.2.1.GA\binrun === JBoss Bootstrap Environment JBOSS_HOME: C:\e-workspace\jboss-4.2.1.GA JAVA: C:\Sun\SDK-5\jdk\jre\bin\java JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,address=8787, server=y, suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djmx.invoke.getters=true CLASSPATH: C:\Sun\SDK-5\jdk\lib\tools.jar;C:\e-workspace\jboss-4.2.1.GA\bin\run.jar === ERROR: transport error 202: connect failed: Connection refused [transport.c,L41] ERROR: JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) [debugInit.c,L500] JDWP exit error JVMTI_ERROR_INTERNAL(113): No transports initializedFATAL ERROR in native method: JDWP No transports initialized, jvmtiError=JVMTI_ERROR_INTERNAL(113) I already tried disabling the firewall. That's not it. As for adding 127.0.0.1 localhost in /etc/hosts, I am on Windows Vista, although I might try copying everything over to Ubuntu and check it out there. However I suspect this is one aspect of a problem that I had on Ubuntu too, as well on Win2000 on another machine. Both my machines are relatively slow and I wonder whether the root issue may be a timeout related to that. Anyways, if I make any progress I will report it here. Further suggestions are welcome. t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102422#4102422 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102422 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Did any one use springmodules to integrate jbpm with spring?
when using spingmodules, i have got the object of JbpmTemplate, but ProcessInstance p =jbpmTemplate.findProcessInstance(1L); System.out.println(+p.getId()); it throws org.hibernate.LazyInitializationException, - ERROR [org.hibernate.LazyInitializationException] - could not initialize proxy - the owning Session was closed org.hibernate.LazyInitializationException: could not initialize proxy - the owning Session was closed at org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:60) at org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:111) at org.hibernate.proxy.pojo.cglib.CGLIBLazyInitializer.invoke(CGLIBLazyInitializer.java:150) at org.jbpm.graph.exe.ProcessInstance$$EnhancerByCGLIB$$5d7ec21a.toString() -- because in jbpmTemplate, it close the JbpmConxtex after the operation, and of course the session, but hibernate3 is lazy-initilization default :( how to solve this problem? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102418#4102418 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102418 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - error in setting database fields through message beans
Iam using netbeans with jboss. when i called message baens to set data in database it gives following errors. kindly have a look and suggest some solution DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to handle: org.jboss.mq.il.uil2.msgs.CloseMsg24007229[msgType: m_connectionClosing, msgID: 12, error: null] java.io.IOException: Client is not connected at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265) at org.jboss.mq.il.uil2.SocketManager.sendReply(SocketManager.java:239) at org.jboss.mq.il.uil2.ServerSocketManagerHandler.handleMsg(ServerSocketManagerHandler.java:128) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:396) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) at java.lang.Thread.run(Thread.java:595) 2007-11-07 12:53:19,244 ERROR [STDERR] java.lang.ClassCastException: ejb.Temp 2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.SocketManager] Failed to send error reply java.io.IOException: Client is not connected at org.jboss.mq.il.uil2.SocketManager.internalSendMessage(SocketManager.java:265) at org.jboss.mq.il.uil2.SocketManager.access$800(SocketManager.java:52) at org.jboss.mq.il.uil2.SocketManager$ReadTask.handleMsg(SocketManager.java:409) at org.jboss.mq.il.uil2.msgs.BaseMsg.run(BaseMsg.java:392) at EDU.oswego.cs.dl.util.concurrent.PooledExecutor$Worker.run(PooledExecutor.java:748) at java.lang.Thread.run(Thread.java:595) 2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.SocketManager] End WriteTask.run 2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.ServerSocketManagerHandler] Exiting on IOE java.net.SocketException: socket closed at java.net.SocketInputStream.socketRead0(Native Method) at java.net.SocketInputStream.read(SocketInputStream.java:129) at java.io.BufferedInputStream.fill(BufferedInputStream.java:218) at java.io.BufferedInputStream.read(BufferedInputStream.java:235) at org.jboss.util.stream.NotifyingBufferedInputStream.read(NotifyingBufferedInputStream.java:79) at java.io.ObjectInputStream$PeekInputStream.peek(ObjectInputStream.java:2196) at java.io.ObjectInputStream$BlockDataInputStream.readBlockHeader(ObjectInputStream.java:2376) at java.io.ObjectInputStream$BlockDataInputStream.refill(ObjectInputStream.java:2443) at java.io.ObjectInputStream$BlockDataInputStream.read(ObjectInputStream.java:2515) at java.io.ObjectInputStream$BlockDataInputStream.readByte(ObjectInputStream.java:2664) at java.io.ObjectInputStream.readByte(ObjectInputStream.java:875) at org.jboss.mq.il.uil2.SocketManager$ReadTask.run(SocketManager.java:317) at java.lang.Thread.run(Thread.java:595) 2007-11-07 12:53:19,244 ERROR [STDERR] at ejb.NewMessage.onMessage(NewMessage.java:54) 2007-11-07 12:53:19,244 DEBUG [org.jboss.mq.il.uil2.SocketManager] End ReadTask.run 2007-11-07 12:53:19,244 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor90.invoke(Unknown Source) 2007-11-07 12:53:19,244 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) 2007-11-07 12:53:19,244 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) 2007-11-07 12:53:19,244 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:201) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 2007-11-07 12:53:19,479 ERROR [STDERR] at org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
[jboss-user] [JBoss Seam] - Need your ideas regarding an error creating identities
We are running a Seam 1.2.1 GA app on WAS 6.1. Most everything has worked as expected until today users were not able to log on anymore. This error occurs when the user tries to log on. One thing to note, when I run the application my local server instance it works fine. This leads me to believe that there is an issue with the server, so my goal is to at least start looking in the right direction. Looking at the log files we found the following errors: org.jboss.seam.InstantiationException: Could not instantiate Seam component: org.jboss.seam.security.identity Caused by: javax.faces.el.EvaluationException: Cannot get value for expression '#{securityRules}' START Believe this is the websphere specific stuff Caused by: java.lang.IllegalStateException: Session Object Internals: id : q-OvJrT25EJG0Hq54-RgGMV hashCode : 613533358 create time : Tue Nov 06 09:12:18 CST 2007 last access : Tue Nov 06 09:12:18 CST 2007 max inactive interval : 3600 user name : anonymous valid session : false new session : true overflowed : false app name : default_hostrms non-serializable app specific session data : null serializable app specific session data : {} END Believe this is the websphere specific stuff Our security rules are specified within a file called security.drl and have thus far worked correctly. The compnents.xml specifies this file as: drools:rule-base name=securityRules drools:rule-files/security.drl/drools:rule-files /drools:rule-base This is a Seam POJO app. Any ideas? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102608#4102608 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102608 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Packaging Hibernate Mapping Files and persistence.xml
Hi Thanks for your help. I've got a solution for this problem. The culprit was here the file below, | mapping-filecom/pioneer/riskbudgeting/dao/accesscontrol/hbm/accesscontrol.hbm.xml/mapping-file | as described here http://docs.jboss.org/ejb3/app-server/reference/build/reference/en/html/hibernate.html any files with extension hbm.xml in the classpath will be added to the hibernate config. So while we changed the order of classes within accesscontrol.hbm.xml to check invidual classes weren't duplicates, all classes in there were being duplicated. Perhaps if the file is listed in the mapping-file of persistence.xml it shouldn't be then loaded again by JBoss. Cheers Nick. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102610#4102610 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102610 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: how to change font in Jboss seam debug page stack trace?
ok, thx I see it. I'm referring to the font in the stack trace (exception) portion of that debug screen. it's really a minor point... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102611#4102611 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102611 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Consistent copies of replicated cache?
Hi, How does jbosscache guarantees consistency of replicas? Example: If I have one cache C1 on host H1 and I execute: C1.put(/a/b, Key1, 1); C1.put(/a/b, Key1, 2); All the replicatec caches are going to see the two events in the same order or it could happen that some replicated caches will see the events in a different order and then I will have inconsistent replicated caches? Do I have to change the stack of protocols in to have such guarantee? for example using a total order of events? Thanks, Daniel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102621#4102621 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102621 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Deployment failure : INIT_WAITING_DEPLOYER
Hello, I'm trying to have the Spring deployer working (I'm a newbee with it) and I keep having deployment failures with a dummy hello-world-kind-of spring file (INIT_WAITING_DEPLOYER): I've got a working JBoss AS (4.2.1). In the $JBOSS_HOME/server/default/deploy directory, I've created the required Spring deployer structure : | jboss-spring-jdk5.deployer/ | jboss-spring-jdk5.jar | META-INF/ | jboss-service.xml | I copied all the Spring distribution jars in $JBOSS_HOME/server/default/deploy/jboss-spring-jdk5.deployer/ as well as in $JBOSS_HOME/server/default/lib/ . The jboss-service.xml file of the deployer is : | ?xml version=1.0 encoding=UTF-8? | | server | |!-- | The JBoss Spring Deployer |-- | server | mbean code=org.jboss.spring.deployment.SpringBeanFactoryDeployer name=jboss.spring:service=SpringBeanFactoryDeployer / | /server | | /server | I keep failing deploying a file named springapp.spring with the following content : | springapp.spring/ | com/rubis/springapp/biz/Hello.class | com/rubis/springapp/biz/HelloImpl.class | meta-inf/ | jboss-spring.xml | The jboss-spring.xml Spring configuration file is : | ?xml version=1.0 encoding=UTF-8? | beans xmlns=http://www.springframework.org/schema/beans; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-2.0.xsd; | | bean id=hello class=com.rubis.spring.biz.HelloImpl | property name=greetings | valueGood Morning!.../value | /property |/bean | | /beans | Any idea what's wrong with this ? Fred View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102606#4102606 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102606 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: One
I think the simplest action would be to create an @Factory component that will call Component.getInstance() for whichever managed persistence context you want. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102617#4102617 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: disinjection and components.xml
Yes. Values in components.xml are not bijected values. They are just component instance configuration values. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102616#4102616 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102616 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Single Subscription for Multiple Topics
Thanks Tim. Do you know what the current time frame is for JBM 2? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102595#4102595 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102595 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: Deployment failure : INIT_WAITING_DEPLOYER
Hello, I solved my problem. The jboss-service.xml file of the deployer was wrong. Works now. Sorry for the disturbance. Fred View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102613#4102613 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102613 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Urgent!! JBoss Messaging 1.4.0 CR1 - message redelivered aft
Hi, I'm using JBoss 4.2.1 GA with JBoss Messaging 1.4.0 CR1. We've got an MDB listening to a queue. I'm seeing that a message in the queue is delivered twice. I checked to see whether there are any exceptions which causes it to redeliver. There are no exceptions. It happens at random. Is it a JBoss Messaging bug? Or is there a timeout setting or something like that which causes the message redelivery? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102609#4102609 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102609 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timer Task never fired
I am steel in a dead end... I have my jbpm 3.2 , my jbpm.job.executor and my DbSchedulerServiceFactory defined on mya jbpm.cfg, my JobExecutorServlet defined on my web.xml and my timer on my task process but nothing seems to work ... Does somebody have any idea ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102433#4102433 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102433 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Get request parameters from current page
@RequestParameter doesn't have a 'required' attribute. Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102437#4102437 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102437 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Incomplete Deployment listing:...
Hi, Im encountering this kind of error but system works fine... could someone explain to me the meaning this error.. thanks in advance! 2007-11-07 18:09:28,311 INFO [org.jboss.web.WebService] Using RMI server codebase: http://naboo:8283/ 2007-11-07 18:09:28,501 INFO [org.jboss.naming.NamingService] Started jndi bootstrap jnpPort=1299, rmiPort=1298, backlog=50, bindAddress=/0.0.0.0, Client SocketFactory=null, Server [EMAIL PROTECTED] 2007-11-07 18:09:31,208 INFO [org.apache.catalina.startup.Embedded] Catalina naming disabled 2007-11-07 18:09:31,604 INFO [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8280 2007-11-07 18:09:32,003 INFO [org.apache.coyote.http11.Http11Protocol] Initializing Coyote HTTP/1.1 on http-0.0.0.0-8643 2007-11-07 18:09:32,003 INFO [org.apache.catalina.startup.Catalina] Initialization processed in 744 ms 2007-11-07 18:09:32,003 INFO [org.jboss.web.tomcat.tc5.StandardService] Starting service jboss.web 2007-11-07 18:09:32,007 INFO [org.apache.catalina.core.StandardEngine] Starting Servlet Engine: Apache Tomcat/5.0.28 2007-11-07 18:09:32,024 INFO [org.apache.catalina.core.StandardHost] XML validation disabled 2007-11-07 18:09:32,045 INFO [org.apache.catalina.startup.Catalina] Server startup in 42 ms 2007-11-07 18:09:32,145 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/invoker, warUrl=file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/http-invoker.sar/invoker.war/ 2007-11-07 18:09:32,669 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/ws4ee, warUrl=file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/tmp/deploy/tmp48532jboss-ws4ee.war/ 2007-11-07 18:09:32,762 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/, warUrl=file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/jbossweb-tomcat50.sar/ROOT.war/ 2007-11-07 18:09:32,883 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jbossmq-httpil, warUrl=file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/jms/jbossmq-httpil.sar/jbossmq-httpil.war/ 2007-11-07 18:09:33,997 INFO [org.jboss.mail.MailService] Mail Service bound to java:/Mail 2007-11-07 18:09:34,274 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/jboss-local-jdbc.rar 2007-11-07 18:09:34,430 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/jboss-xa-jdbc.rar 2007-11-07 18:09:34,527 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/jms/jms-ra.rar 2007-11-07 18:09:34,611 INFO [org.jboss.resource.deployment.RARDeployment] Required license terms exist view the META-INF/ra.xml: file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/mail-ra.rar 2007-11-07 18:09:34,812 INFO [org.jboss.resource.connectionmanager.ConnectionFactoryBindingService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=ConnectionFactoryBinding,name=JmsXA to JNDI name 'java:JmsXA' 2007-11-07 18:09:34,939 INFO [org.jboss.resource.adapter.jdbc.remote.WrapperDataSourceService] Bound connection factory for resource adapter for ConnectionManager 'jboss.jca:service=DataSourceBinding,name=globalEBR to JNDI name 'java:globalEBR' 2007-11-07 18:09:34,964 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/jmx-console, warUrl=file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/jmx-console.war/ 2007-11-07 18:09:35,075 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/web-console, warUrl=file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/management/web-console.war/ 2007-11-07 18:09:35,451 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/deploy/GlobalEBR.ear 2007-11-07 18:09:36,187 INFO [org.jboss.ejb.EjbModule] Deploying EBR 2007-11-07 18:09:36,312 INFO [org.jboss.ejb.EJBDeployer] Deployed: file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/tmp/deploy/tmp48584GlobalEBR.ear-contents/GlobalEBR-EJB.jar 2007-11-07 18:09:36,348 INFO [org.jboss.web.tomcat.tc5.TomcatDeployer] deploy, ctxPath=/GlobalEBR, warUrl=file:/u01/products/ebr/Global/jboss-4.0.1sp1/server/default/tmp/deploy/tmp48584GlobalEBR.ear-contents/GlobalEBR-Web.war/ 2007-11-07 18:09:36,700 INFO [org.displaytag.filter.ResponseOverrideFilter] Filter initialized. Response buffering is enabled 2007-11-07 18:09:36,926 INFO [org.jboss.web.tomcat.tc5.session.JBossCacheManager] init(): replicationGranularity_ is 0 and invaldateSessionPolicy is 2 2007-11-07 18:09:36,929 ERROR
[jboss-user] [JBoss Seam] - Re: EntityQuery hints map string value
http://jira.jboss.org/jira/browse/JBSEAM-1898 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102443#4102443 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Incremental Hot deploying and servlets
I understand that, but is there any possibility that in hot deploying servlet and hot deployed seam component play together(my servlet calls some seam components) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102458#4102458 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102458 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: BatchUpdateException when removing a entity with a ManyT
HI, to get this piece of work done, get to your User, remove the Role, merge the User and then finally delete the Role. Hope this helps. \sandor\ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102416#4102416 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102416 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - bind datatype javax.xml.datatype.XMLGregorianCalendar to jav
Hi All, When i generated schema classes from jaxb 2.1.5.It generated XMLGregorianCalendar data type for xml type xsd:date.Then i changed my schema adding inline annotations and binded the XMLGregorianCalendar to Calendar.Following is the code that i have added in my schema. xsd:annotationxsd:appinfo | jaxb:globalBindings | jaxb:javaType name=java.util.Calendar xmlType=xsd:date | parseMethod=javax.xml.bind.DatatypeConverter.parseDate | printMethod=javax.xml.bind.DatatypeConverter.printDate | / | /jaxb:globalBindings | /xsd:appinfo/xsd:annotation But When i generated the client stubs using wsconsume from the WSDL it is still generating XMLGregorianCalendar data type. So my question what should i do to bind the data type XMLGregorianCalendar to Calendar in client side stubs, but i should not change the WSDL. Please help me. Thanks Pavan View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102493#4102493 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102493 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - f:selectItems tag = exception when filled by getResultLis
Hello, If I fill a f:selectItems tag directly with getResultList(), I have this exception : | Argument Error: An option for component roadMapTypes was not an instance of javax.faces.model.SelectItem. Type found: java.util.ArrayList. | But when I put the results list in a new list with SelectItem objects before returning the results list, I have no exception... : | public Collection getRoadMapTypeList() | { | List returnValues = new ArrayList(); | String sql = SELECT glos.value + | FROM Glos glos + | WHERE glos.glos_resume != '0' + |AND glos.glos_type = #{glos_roadmapsal_type}; | List rmtList = super.getEntityManager().createQuery(sql).getResultList(); | for (Iterator itList = rmtList.iterator(); itList.hasNext();) | { | String value = (String) itList.next(); | returnValues.add(new SelectItem(value)); | } | return returnValues; | } | Is it a bug in Seam or in JSF ??? Thanks, Olv View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102528#4102528 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102528 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Does @Begin(join=true) works in SeamTest?
I'm trying to test a component that uses long running conversation. Is it possible at all? Because assertation in method marked by @Begin annotations for long running conversation fails, and actually it looks like long-running conversation was not started. | @Name(basket) | @Scope(ScopeType.CONVERSATION) | public class BasketComp { | | ... | | @Begin(join=true) | public void createBasket() { | assert Manager.instance().isLongRunningConversation(); | | ... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102520#4102520 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss 4.2.1 on Win NT4 = possible ?
Nobody has try it ? Thanks, Olv View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102529#4102529 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102529 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss as a Windows service
Have a look at http://wiki.jboss.org/wiki/Wiki.jsp?page=RunJBossAsAServiceOnWindows. The JavaService method mentioned there is no longer recommended. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102537#4102537 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Strange ClassCastException in OptimisticCreateIfNotExist
Well I must admin that it's very strange to me, too. I've seen the line of code that results in the exception, but don't see why my class is being returned at that point. I don't have a test case that can recreate this. Actually, I don't have the slightest idea on how to write a test case that can recreate replication between two members of a cluster. If you have such a test case, I could modify it and make it use my class. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102415#4102415 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102415 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - RichText support in PDF
I was wondering how it would be possible to generate a PDF using seam that supports RichText. An example to explain :- Data stored for my entity member in database strong text here /strong The resulting PDF should produce text here and not strong text here /strong Any ideas?? Hasan Mushtaq View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102457#4102457 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102457 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss as a Windows service
Hi Can any body Please Help me how to Configure Jboss as a Windows Service. Is There any good way to do this Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102445#4102445 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102445 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - wsconsume
On the other side was made web service with Borland Developer Studio 2006. WSDL file is: | ?xml version=1.0 encoding=UTF-8? | definitions name=Iws1CAccessservice targetNamespace=http://tempuri.org/; | xmlns = http://schemas.xmlsoap.org/wsdl/; | xmlns:xs = http://www.w3.org/2001/XMLSchema; | xmlns:tns = http://tempuri.org/; | xmlns:soap = http://schemas.xmlsoap.org/wsdl/soap/; | xmlns:soapenc = http://schemas.xmlsoap.org/soap/encoding/; | xmlns:mime= http://schemas.xmlsoap.org/wsdl/mime/; | xmlns:ns1 = urn:ws1CAccessUnit | types | xs:schema targetNamespace=urn:ws1CAccessUnit xmlns=urn:ws1CAccessUnit | xs:complexType name=T1CDocumentList | xs:complexContent | xs:restriction base=soapenc:Array | xs:sequence/ | xs:attribute ref=soapenc:arrayType n1:arrayType=ns1:T1CDocument[] xmlns:n1=http://schemas.xmlsoap.org/wsdl// | /xs:restriction | /xs:complexContent | /xs:complexType | xs:complexType name=T1CDocument | xs:sequence | xs:element name=Date type=xs:dateTime/ | xs:element name=Number type=xs:string/ | xs:element name=Rows type=ns1:T1CDocumentRows/ | /xs:sequence | /xs:complexType | xs:complexType name=T1CDocumentRows | xs:complexContent | xs:restriction base=soapenc:Array | xs:sequence/ | xs:attribute ref=soapenc:arrayType n1:arrayType=ns1:T1CDocumentRow[] xmlns:n1=http://schemas.xmlsoap.org/wsdl// | /xs:restriction | /xs:complexContent | /xs:complexType | xs:complexType name=T1CDocumentRow | xs:sequence | xs:element name=Product type=xs:string/ | xs:element name=ProductID type=xs:string/ | xs:element name=Quantity type=xs:double/ | xs:element name=QuantityRequested type=xs:double/ | xs:element name=Price type=xs:double/ | xs:element name=Amount type=xs:double/ | xs:element name=Total type=xs:double/ | xs:element name=Cell type=xs:string/ | /xs:sequence | /xs:complexType | /xs:schema | /types | message name=Get1CDocumentList0Request | part name=dDateFrom type=xs:dateTime/ | part name=dDateTo type=xs:dateTime/ | /message | message name=Get1CDocumentList0Response | part name=return type=ns1:T1CDocumentList/ | /message | portType name=Iws1CAccess | operation name=Get1CDocumentList | input message=tns:Get1CDocumentList0Request/ | output message=tns:Get1CDocumentList0Response/ | /operation | /portType | binding name=Iws1CAccessbinding type=tns:Iws1CAccess | soap:binding style=rpc transport=http://schemas.xmlsoap.org/soap/http/ | operation name=Get1CDocumentList | soap:operation soapAction=urn:ws1CAccessUnit-Iws1CAccess#Get1CDocumentList style=rpc/ | input message=tns:Get1CDocumentList0Request | soap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; namespace=urn:ws1CAccessUnit-Iws1CAccess/ | /input | output message=tns:Get1CDocumentList0Response | soap:body use=encoded encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; namespace=urn:ws1CAccessUnit-Iws1CAccess/ | /output | /operation | /binding | service name=Iws1CAccessservice | port name=Iws1CAccessPort binding=tns:Iws1CAccessbinding | soap:address location=http://my.domain.ru/cgi-bin/ws1CAccess.exe/soap/Iws1CAccess/ | /port | /service | /definitions | I try to consume this web service with wsconsume and get the error: [WARNING] src-resolve.4.2: Error resolving component 'soapenc:Array'. It was detected that 'soapenc:Array' is in namespace 'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespace are not referenceable from schema document 'file:/home/alex/webapps/korund-ws.xml#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 'soapenc:Array' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:wsdl.xml#types?schema1'. | line 14 of file:wsdl.xml#types?schema1 | | [ERROR] undefined simple or complex type 'soapenc:Array' | line 14 of file:wsdl.xml | | [ERROR] undefined attribute 'soapenc:arrayType' | line 16 of file:wsdl.xml | | [ERROR] undefined simple or complex type 'soapenc:Array' | line 29 of file:wsdl.xml | | [ERROR] undefined attribute 'soapenc:arrayType' | line 31 of file:wsdl.xml | | Failed to invoke WsImport | java.lang.NullPointerException | at com.sun.tools.xjc.reader.internalizer.SCDBasedBindingSet.apply(SCDBasedBindingSet.java:237) |
[jboss-user] [JBossWS] - Problem in building JBossWS 2.0.
Hello, I am using JBoss 4.2.2 and JBossWS 2.0 I have to provide a patch for checking the EJBs exposed as Web Services in the SOAPFaultJAXRPC.java class. I have downloaded the source code of JBossWS 2.0 from SVN Repository. When I am building the complete code all jar/sar files are not created and size of some .jar files are reduced. Can anyone suggest how to build the complete source and able to get all the jar files? Thanks Regards, Kapil View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102500#4102500 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - way to implement commit and rollback for API calls (non DB)
hi all, I want to implement commit and rollback for API calls (on non DB). I want to know how exaclty are commit and rollback being performed in the jboss application server source code(i.e, which classes or methods are performing it) so that I can implement them for non databases. Can anybody help me in this regard? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102449#4102449 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityQuery hints map string value
Thx for the info I have voted for it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102494#4102494 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - when comes jbpm 3.3?
I would be enquiring, when comes expected the jbpm 3.3? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102488#4102488 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: No action inside a rule in pages.xml
Yes, you can raise an event, and that's what I do now, but it's unnecessary config - the step of adding an event to components.xml could be bypassed. My usecase is that I update a series of entities and when everything is ok (the if-condition of a rule is met) I proceed to the next one by raising an event and redisplaying the page. -- Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102607#4102607 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102607 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem using identity roles
Hi, I have having an issues using identity roles. I have previously used this: restrict#{!s:hasRole('participant')}/restrict With no issues, but on my current development (using Seam 2.0.0.GA), this is not working. I did some investigtation, and tried the following in my authenticate method: identity.addRole(test); | log.info(Identity role #0: #1,test, identity.hasRole(test)); Which produced [...security.Authenticator] Identity role test: false What could I be missing? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102511#4102511 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102511 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Strange ClassCastException in OptimisticCreateIfNotExist
Thanks for the advice regarding Options. What I always do is these calls: final InvocationContext invocationContext = treeCache.getInvocationContext(); | final Option optionOverrides = invocationContext.getOptionOverrides(); I guess that I recieve a new option object each time, or at least one that is recent enough to apply to the current transaction. Based on what I've been able to observe until now, it seems to work fine. You are correct: the CCE only happens on the remote node. We are heavily using TreeCache on my project, so if I can be of any help to have this problem solved, I'd be more than happy! :-) One more small question (slightly off topic, though): if I setup a TreeCacheListener on the two members of my cluster, and I remove a node in one member: is the other member's listener supposed to be called? Thanks for your support! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102561#4102561 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: JBossCache 2 and Hibernate 3.2 compatibility
Roadmap is at http://opensource.atlassian.com/projects/hibernate/browse/HHH?report=com.atlassian.jira.plugin.system.project:roadmap-panel Re: a CacheProvider impl for 3.2, you'd need to file a feature request on the Hibernate JIRA. Suggest you bring it up on the Hibernate forums first to see if they are even willing to consider major work in 3.2. TBH, even if they were willing to include it, I doubt anyone inside Red Hat would take it on besides me. For me, it's not likely to come up on my priority list for quite some time. It's much more likely to get done if someone from the community did it; I can provide guidance if anyone in the community is interested. There's another fairly recent thread somewhere on these forums where I made some suggestions along these lines. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102548#4102548 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: identity authenticator method runs twice
The security chapter of the ref docs has now been updated in CVS to list all of the events raised throughout the security lifecycle. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102429#4102429 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102429 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - jBPM Console Errors
Hello, I deployed the jbpm-console.war to my JBoss 4.2.0. It works, I can use it, but I keep getting some errors on the console. I get these output when I open the jbpm-console in my browser: 11:04:43,312 ERROR [STDERR] 07.11.2007 11:04:43 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/D:/jboss-4.2.0.GA/server/zks/lib/jsf-facelets.jar!/META-INF/jstl-core.taglib.xml 11:04:43,328 ERROR [STDERR] 07.11.2007 11:04:43 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/D:/jboss-4.2.0.GA/server/zks/lib/jsf-facelets.jar!/META-INF/jsf-ui.taglib.xml 11:04:43,328 ERROR [STDERR] 07.11.2007 11:04:43 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/D:/jboss-4.2.0.GA/server/zks/lib/jsf-facelets.jar!/META-INF/jsf-html.taglib.xml 11:04:43,359 ERROR [STDERR] 07.11.2007 11:04:43 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/D:/jboss-4.2.0.GA/server/zks/lib/jsf-facelets.jar!/META-INF/jsf-core.taglib.xml 11:04:43,375 ERROR [STDERR] 07.11.2007 11:04:43 com.sun.facelets.compiler.TagLibraryConfig loadImplicit INFO: Added Library from: jar:file:/D:/jboss-4.2.0.GA/server/zks/lib/jsf-facelets.jar!/META-INF/jstl-fn.taglib.xml Any ideas? Regards Claus Andersen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102453#4102453 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102453 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - jndi on jboss - how to
Hi, could anyone describe how to make jndi calls from presentation tier to access session beans? I am using GWT and can access only presentation tier from the client side, not session beans directly. I cannot find any simple description. Thanx. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102423#4102423 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error selecting object problem
thanks for the idea! Error selecting object doesn´t appear anymore, but now it´s turn for this one: value is required (javax.faces.component.UIInput.REQUIRED) This is the code I´ve added: (following your sample) In RstReportHome.java | | private Firm specialFirm; | | public Firm getSpecialFirm() { | System.out.println(getSpecialFirm!!); | return getInstance().getFirm(); | } | | public void setSpecialFirm(Firm firm) { | System.out.println(setSpecialFirm!!); | if(firm == null) { | System.out.println(setSpecialFirm - asignando AUTOMATIC!!); | firm = new Firm(); | firm.setFirmCode(AUTOMATIC); | CfgCurrency cfgCurrency = new CfgCurrency(); | cfgCurrency.setCurrencyCode(60); | firm.setCfgCurrency(cfgCurrency); | | } else { | System.out.println(setSpecialFirm - firm no null +firm.getFirmDescription()); | } | getInstance().setFirm(firm); | } | In the view: | s:decorate id=firmCodeDecoration template=layout/edit.xhtml | ui:define name=label#{messages['Firm']}/ui:define | h:selectOneMenu value=#{rstReportHome.specialFirm} required=true id=firm | s:selectItems value=#{firmList.resultList} var=firm label=#{firm.firmCode} noSelectionLabel=AUTOMATIC/ | s:convertEntity/ | a:support event=onchange reRender=firmCodeDecoration/ | /h:selectOneMenu | /s:decorate | any further idea? I guess the solution must be near ;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102465#4102465 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Strange ClassCastException in OptimisticCreateIfNotExist
The other thing that has changed here is that you are now using an Option to suppress replication (cache mode local). Do you have an updated stack trace with this? The previous trace showed the CCE on the remote node when the change is replicated. That won't be the case any more. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102518#4102518 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Strange ClassCastException in OptimisticCreateIfNotExist
and you get the CCE in both cases? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102517#4102517 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with
Hello, I have a problem with f:facet name=aroundInvalidField rendering. The SPAN is not rendered around my field, but before it. | | Excerpts from my code: | f:facet name=aroundInvalidField | span style=border-color: blue blue blue blue; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: solid;/ | /f:facet | | s:decorate | h:inputText | id=tiBillCodeId | value=#{_billCode.tiBillCodeId} | s:validate/ | /h:inputText | /s:decorate | | Rendered HTML output: | div id=sioForm:billCodeTable:0:j_id24 | span style=border-color: blue blue blue blue; border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: solid;/span | input id=sioForm:billCodeTable:0:j_id24:tiBillCodeId type=text name=sioForm:billCodeTable:0:j_id24:tiBillCodeId value=bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla bla class=inputText tabindex=39 / | span class=errorMessagemåste vara mellan 1 och 30 tecken/span | /div | | | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102545#4102545 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102545 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityQuery restriction help
Hi all, after searching the examples, documentation and forum for a solution I can't get the following use case to work: I like to restrict the EntityQuery for object A by a related Object B. The Entities and search-dialogue are created by seam-gen. But I like to add a simple single select list of object of class b as search criteria. My code: | @Entity | public class A implements Serializable | { | @Id | @GeneratedValue(strategy = GenerationType.AUTO) | private Longid; | | @ManyToOne(fetch = FetchType.EAGER) | @JoinColumn(name = bid, nullable = true) | private B b; | } | | @Entity | public class B implements Serializable | { | @Id | @GeneratedValue(strategy = GenerationType.AUTO) | private Longid; | | @OneToMany(cascade = CascadeType.ALL, fetch = FetchType.EAGER, mappedBy = b) | private SetA as; | } | I like to create an EntityQuery, which searches / returns Objects of class A related to a specific Object of class B. One of my tries looks as follows: | @Name(aList) | public class AList extends EntityQuery | { | private static final String[] RESTRICTIONS= { | b = #{aList.a.b}, }; | | @Override | public String getEjbql() | { | return select a from A as a join a.b as b; | } | } | Which produces an error like: | Caused by: java.lang.IllegalArgumentException: argument type mismatch | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at javax.el.BeanELResolver.setValue(BeanELResolver.java:108) | ... 58 more | Another one like this: | @Name(aList) | public class AList extends EntityQuery | { | private static final String[] RESTRICTIONS= { | a.b = #{aList.a.b}, }; | | @Override | public String getEjbql() | { | return select a from A as a; | } | } | Resolves in the same. In both cases, the query parameter is set properly to an object of class B. What am I doing wrong? Or can just someone provide an example on how to restrict EntityQueries by @ManyToOne-related Entities? Thanks for help, Daniel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102557#4102557 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102557 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Packaging Hibernate Mapping Files and persistence.xml
Hi thanks for the reply. ProtectedObjectTypeHTO is just the class that is encountered first in the mapping, we changed the order of the mappings to check this. We still receive the same error just with a different class. So there could be duplicate mappings but if so its for all the classes. Thanks Nick. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102547#4102547 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Strange ClassCastException in OptimisticCreateIfNotExist
Manik, The localMode variable is not always set to 'true'. When I load the cache at startup-time, both members of the cluster fill their cache based on the data that is in the database. The both fill their cache in local mode, so that one does not invalidate the other's data. Once the app is loaded, when some data is invalidated, then the localMode variable is set to false, meaning that any invalidation or 'put' operation results in a replication. Is that behaviour correct? It seems logical to me, but I might be wrong. To answer your question: the CCE only occurs when replication is happening. Also, I've tested something new, that is replicating a lower amount of data. The data that is being cached are two big maps, typed like this: | SortedMapString, ListCachedData | and | SortedMapString, CachedData | The are put in two nodes, each under one key. That is: - Node1 - Key1 - Map1. - Node2 - Key2 - Map2. If I make the maps smaller in size (say, 10'000 CachedData objects), everything goes fine. If I fill them with the whole amount of data that I need to cache (around 140'000 objects), then the CCE occurs. I tried to make the map size intermediate, around 50'000 and the CCE occured, too. Could it be that the size of the object (i.e. the SortedMap) that is being cached provokes the CCE?? Or am I doing things badly, and unconsciously provoking the CCE? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102542#4102542 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102542 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Using external LDAP server for username/password login O
dashaun wrote : Can you share with us what you did? | indeed... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102541#4102541 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102541 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Random
Seam 1.2.1GA JBoss AS 4.0.5 We're running some JMeter tests on our Seam application. We have been seeing random Transaction not active errors after the tests have been running for a while. I say random because they don't relate to a specific screen or piece of code. They can appear in any functionality which uses one of our SMPC connections. They also don't appear to be associated strictly with read/write pages, since they can be found on simple searches. We are having some trouble isolating the problem, as it seems to be related to the reuse of an invalid connection and/or transaction. First, has anyone seen these types of transaction issues using SMPC, and second, how might we go about determining where specifically it manifests itself. I mention SMPC only because most of our app relies on the implicit trasnactions of TransactionSeamPhaseListener but we also have explicit transactions in a separate thread. Note: I inquired about the explicit transactions piece in the following thread: http://www.jboss.com/index.html?module=bbop=viewtopict=118996 Here is an example of the stack trace. Pay no attention to the FATAL log level. I did this just to keep all other logging quiet. 12:59:01,091 FATAL [PropertySearchAction] 1791206254 - Total time to run PropertySearch.loadPage(): 1329 | 12:59:01,419 FATAL [PropertySearchAction] 492990855 - Total time to run PropertySearch.loadPage(): 75907 | 12:59:01,981 FATAL [PropertySearchAction] 939675135 - Total time to run PropertySearch.loadPage(): 77390 | 12:59:02,137 FATAL [PropertySearchAction] 2040933307 - Total time to run PropertySearch.loadPage(): 1734 | 12:59:26,137 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces Servlet threw exception | javax.faces.el.PropertyNotFoundException: /includes/advanced-search-form/more-search-options.xhtml @16,89 value=#{actio | n.searchCriteria.minGrossLivingArea}: Bean: com.nemoves.pws.actions.associatesearch.AssociateQuickSearch_$$_javassist_1 | 10, property: searchCriteria | at com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:58) | at javax.faces.component.UIOutput.getValue(UIOutput.java:77) | at javax.faces.component.UIInput.validate(UIInput.java:357) | at javax.faces.component.UIInput.processValidators(UIInput.java:183) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624) | at javax.faces.component.UIForm.processValidators(UIForm.java:70) | at javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:624) | at javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:146) | at org.apache.myfaces.lifecycle.LifecycleImpl.processValidations(LifecycleImpl.java:262) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:76) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at com.nemoves.pws.servlet.GZIPFilter.doFilter(GZIPFilter.java:35) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.valves.FastCommonAccessLogValve.invoke(FastCommonAccessLogValve.java:495) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at
[jboss-user] [JBoss Seam] - Re: Random
Sorry, title should have been: Random Transaction not active errors. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102660#4102660 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102660 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss debugging problem
Of course you're right. Now it's all clear. Cheers. t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102651#4102651 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102651 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - No container configured with name 'Stateless Bean' on jboss
When i deploy an EJB3 on Jboss AS 4.2.2 i get this exception: No container configured with name 'Stateless Bean' What's happend? The same project works fine with Jboss AS 4.2.1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102668#4102668 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102668 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Redeploy J2EE Module
It's possible redeploy with JMX(MainDeployer) a unique a module(ejb, war) of an exploded ear application? Thanks in Advance, Gledson View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102655#4102655 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu, selectItems, convertEntity and null value
damianharvey wrote : If you have the noSelection present and nothing is selected the value should be null. Have you tested it? What value are you getting? If nothing is selected (i.e., the noSelectionLabel is the selected entry) and the entity-field is null, nothing is set. However, if the field is set (i.e., has a reference to another entity) it cannot be set to null again using the same method. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102652#4102652 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102652 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu, selectItems, convertEntity and null value
If you have the noSelection present and nothing is selected the value should be null. Have you tested it? What value are you getting? Cheers, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102650#4102650 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102650 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: best practice for populating combos
If you include your stacktrace and the snippet of the page where you use the variable, it will be easier to identify the issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102647#4102647 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: best practice for populating combos
Thanks for your reply. I tried your solution but when I end my conversation and I begin a new one my dropdown is not empty but when the action (associated with the onchange event) is triggered I get the error : (value is not valid). The onchange event is included in a a4j:support. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102645#4102645 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102645 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: how to get SSL protocol configuration information?
For the web layer, it is available via request.isSecure call. For the other layers, I do not think anything is available. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102670#4102670 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102670 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: best practice for populating combos
Depends on what you mean by loading once. If you mean loading once for the entire application (which I have used in several instances) the following will work: @Factory(value=myListBox, scope=ScopeType.APPLICATION) | public MapString, BigDecimal getMyListBox() | { | // the following log will only occur once since application scoped | log.info(Loading myListBox...); | | // perform loading of Map into myMap | | return myMap; | } Otherwise simply change the ScopeType accordingly. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102639#4102639 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: TestNG and EJB3 interceptors
I tried with Seam 2.0.0.GA... doesn't work too! Testing EJB3 interceptors is very important because many business operation and validation must be tested without deployment on AS. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102464#4102464 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102464 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How will the deploy folder listen to *.war/*.ear/*.ejb3.
Thanks lot jai.., I understood that scanner will be doing, it for every particulat interval of time. As soon as we deploy ,hw will this get executed, i have doubt hw will that compare? where does the comparsion takes place and hw will that comparsion done...will it be with time stamp..?hw will this Hw will this compare with previous cache .(timestamp,content,object) or any comparsion it follows(i read it as url comparsion)? cheers Subramanyam007 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102412#4102412 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102412 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: After updating to 2.0.0.GA uiComponent.findComponent(str
The cause for this behavior is the s:decorate tag generates different clientIds of its children: This is the xhtml code: ... | h:form id=missionForm | s:decorate template=#{theme.inputSecretHorizontal} | ui:param name=fwcLabelMessageKey value=user_label_new_password / | ui:param name=fwcInputProperty value=#{user.newPassword} / | ui:param name=fwcInputRequired value=true / | /s:decorate | | s:decorate template=#{theme.inputSecretHorizontal} | ui:param name=fwcLabelMessageKey value=user_label_verify_password / | ui:param name=fwcInputProperty value=#{user.verifyPassword} / | ui:param name=fwcInputRequired value=true / | ui:define name=fwcInputValidator | f:validator validatorId=com.frox.fwc.validator.equalsFieldValidator / | f:attribute name=comparedFieldId value=user_label_new_password / | s:validate / | /ui:define | /s:decorate | | ... Before (2.0.0.BETA1) the clientId of the HtmlInputSecret component was generated as: [1]= HtmlInputSecret (id=4867) | _values= Object[35] (id=4869) | accesskey= null | alt= null | attributes= UIComponentBase$AttributesMap (id=4870) | autocomplete= null | bindings= HashMapK,V (id=4872) | children= null | clientId= missionForm:user_label_new_password | converter= null | converterMessage= null | converterMessageSet= false | dir= null | disabled= false | disabled_set= false | facets= null | id= user_label_new_password | immediate= false | ... | Now (2.0.0.GA): | [1]= HtmlInputSecret (id=330) | _values= Object[35] (id=5112) | accesskey= null | alt= null | attributes= UIComponentBase$AttributesMap (id=5113) | autocomplete= null | bindings= HashMapK,V (id=5114) | children= null | clientId= missionForm:j_id55:user_label_new_password | converter= null | converterMessage= null | converterMessageSet= false | dir= null | disabled= false | disabled_set= false | facets= null | id= user_label_new_password | immediate= false | immediateSet= false | isUIComponentBase= false | isUIComponentBaseIsSet= false | label= null | lang= null | Hope this helps some orthers doing the migration.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102430#4102430 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Problem with wsconsume ant task
Hi, this behaviour is really strange to me. Anyway try to set attribute fork=true. Richard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102431#4102431 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: JBoss debugging problem
OK, this seems to work. C:\e-workspace\jboss-4.2.1.GA\binrun === JBoss Bootstrap Environment JBOSS_HOME: C:\e-workspace\jboss-4.2.1.GA JAVA: C:\Sun\SDK-5\jdk\jre\bin\java JAVA_OPTS: -Xdebug -Xrunjdwp:transport=dt_socket,server=y,address=8787,suspend=n -Dprogram.name=run.bat -server -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 -Djmx.invoke.getters=true CLASSPATH: C:\Sun\SDK-5\jdk\lib\tools.jar;C:\e-workspace\jboss-4.2.1.GA\bin\run.jar === Listening for transport dt_socket at address: 8787 12:11:40,509 INFO [Server] Starting JBoss (MX MicroKernel)... I just moved server=y before the address. Otherwise, since the server default option is n, it apparently tries to open the socket at the wrong address. See the Xrunjwdp options at http://java.sun.com/j2se/1.5.0/docs/guide/jpda/conninv.html. Cheers and thanks again. t View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102506#4102506 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102506 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - One
Hi, I found this declaratiorn in seam docs: | components xmlns=http://jboss.com/products/seam/components; | xmlns:persistence=http://jboss.com/products/seam/persistence; | | persistence:managed-persistence-context name=customerDatabase | persistence-unit-jndi-name=java:/customerEntityManagerFactory/ | | persistence:managed-persistence-context name=accountingDatabase | persistence-unit-jndi-name=java:/accountingEntityManagerFactory/ | | /components | I understand that this enable to use 2 em's for two different db. Let's think I got login page and dropdown list to choose db like : db 1 , db 2, how to manage that? Do I need to declare Two differend em in my source code? or maybe is way to do it dynamically? Can anyone show me code how to do it? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102533#4102533 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EJB3, NVARCHAR2 and Oracle10g
I am using Seam 2.0 and when I try mapping a existing table nvarchar2 column to a EJb3 entity attribute, I am getting a following exception. |[testng] javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong column type: CITY, expected: varchar2(255) | I googled and searched the forum(hibernate), but nothing solved my problem. I have set the defaultNChar flag both in hibernate(persistence.xml) and datasource.xml. I even tried the columnDefinition suggested in seam forum. Below is the persistence.xml I am using. | persistence-unit name=hain | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejava:/hainDatasource/jta-data-source | properties | property name=hibernate.dialect value=org.hibernate.dialect.OracleDialect/ | property name=hibernate.hbm2ddl.auto value=validate/ | property name=hibernate.show_sql value=true/ | property name=jboss.entity.manager.factory.jndi.name value=java:/ChainEntityManagerFactory/ | property name=hibernate.default_schema value=hodb/ | property name=hibernate.connection.defaultNChar value = true/ | /properties |/persistence-unit | | /persistence hain-ds.xml datasources | |local-tx-datasource | jndi-namehainDatasource/jndi-name | connection-urljdbc:oracle:thin:@ts-dev:1521:tcdev/connection-url | driver-classoracle.jdbc.OracleDriver/driver-class | user-nameuser/user-name | passwordpassword/password | connection-property name = oracle.jdbc.defaultNChartrue/connection-property | | /datasources | | Is there any standard way defined in EJB3?. I refered both Pro EJB and EJB in Action books. But both didnt help. Thanks in Advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102413#4102413 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: EntityQuery hints map string value
Hi all I have the same problem with the key and valueorg.hibernate.cacheable, true. @dcastannon: Have you added a JIRA issue? Thx Regards Rolf View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102426#4102426 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102426 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: constraint violation issue.
Yeah, Session and SessionRate are both persistence objects. I used that flag to display SQL queries, but nothing seems to be in any odd order. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102498#4102498 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102498 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM Logo?
it's somewhere burried in waay deep down in my inbox. i'll dig it up when i get to improving the website. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102451#4102451 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to start jbpm business process from an async quartz meth
Hi, I have tried calling | package com.yannitech.virgin.bpm.session; | | import java.util.Date; | | import org.jboss.seam.ScopeType; | import org.jboss.seam.annotations.Logger; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.annotations.Transactional; | import org.jboss.seam.annotations.async.Asynchronous; | import org.jboss.seam.annotations.async.Expiration; | import org.jboss.seam.annotations.async.FinalExpiration; | import org.jboss.seam.annotations.async.IntervalDuration; | import org.jboss.seam.annotations.bpm.CreateProcess; | import org.jboss.seam.async.QuartzTriggerHandle; | import org.jboss.seam.log.Log; | | @Name(pollPosForOBF) | @Scope(ScopeType.CONVERSATION) | public class PollPosForOBF { | | @Logger | Log log; | | @Asynchronous | @Transactional | @CreateProcess(definition=OBFProcess) | public QuartzTriggerHandle poll(@Expiration | Date when, @IntervalDuration | Long interval, @FinalExpiration | Date endDate) { | log.info(Async poll happening ja wol); | return null; | } | | } | The code executes but the a instance of the business process is not created. What is the correct way to start a jbpm business process from an async process? Thanks Pieter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102555#4102555 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102555 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - how to dynamically change URL where client is connecting to?
Hi *, I have generated wsdl file of service I want to call. The service is fixed but I don't know where this service will be located. Is there an option how to generate client classes that I can use runtime URL parameter that specifies where the client is connecting to? Only solution I found out is to load wsdl from each of those services (runtime) and there will be the good url. Is there possibility to skip downloading wsdl each time I want to connect to other host? Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102552#4102552 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to configure Seam to use the EntityManagerFactory config
if I want to use @Transactional in my Seam's JavaBean componet, but the EntityManagerFactory or EntityManager is defined in Spring context, How could I configure Seam to use the EntityManagerFactory or EntityManager? I use Seam 2.0.0 GA. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102524#4102524 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102524 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is it possible to set a new URI for a partnerLink during
The information contained in the endpoint reference is used to identify the partner endpoint to invoke. However, it does not provide enough information to format a message (wsdl:binding) and send it to a given address (wsdl:port). The full WSDL description is still needed even if you set the reference dynamically. The solution is to register the WSDL documents of all your candidate partner services. jBPM BPEL will select the best match to your endpoint reference among all the services in the catalog. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102644#4102644 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102644 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - JBoss 4.2 + JBoss Messaging MDB performance issues
Hello there! My application uses JMS heavily. It is a series of MessageListeners that through a central router communicate with each other. Almost all of my listeners are created as jms clientes with MessageConsumers (the reason for that is because I was not able to create mdbs on-the-fly on my custom deployer). After running some stress tests, I've noticed that for those listeners, they consume the message really fast, for instance, one endpoint redirecting to another never takes more than 200ms. The last endpoint on the chain tough, sends to a queue consumed by and MDB. This one though, decreases the response time with the message load. For instance, with 1 message, it takes 700ms to consume, but with 300 it takes over 40s to consume the last message. I always thought that MDB was a pool with concurrent consumers to the same destination. I've increased the pool size on standardjboss.xml but no success at all. Is there an way to increase the performance? Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102669#4102669 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102669 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to dynamically change security role without logging
Look at the JIRA issue: http://jira.jboss.com/jira/browse/JBAS-1802 The workaround is in: http://anil-identity.blogspot.com/2007/11/tip-11-refresh-security-roles-within.html For JBoss5 going forward, we may solve this in a better way than the proposed workaround. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102664#4102664 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102664 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - best practice for populating combos
Hi. Which is the best practice for populating a selectOneListBox component? I have a list of static values and I want to load then just once. I tried using a @Factory annotation in the method which retrieves those values in a Seam component with SESSION scope. But I am using a long-running conversation in my application and when I end this conversation the data seems to be removed. If I put the list of values in the CONVERSATION scope the values get corrupted when I change the tab (I have a richfaces tabpanel). I hope someone could help me to clarify this. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102636#4102636 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102636 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: How to get security domain info?
If you need additional info: a) either you extend the ldap login module as a custom login module and add the extra info u require or b) Make separate JNDI calls into the ldap server and fetch the data yourself from your application. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102671#4102671 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102671 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem calling an action method at startup using the Observ
Hi, Im trying to call an action method at startup using the Observer Annotation. The code is: @Stateless | @Name(initializator) | public class InitiatorBean implements InitiatorLocal { | | @Logger | private Log log; | | @Observer(org.jboss.seam.postInitialization) | public void initialize(){ | | log.info(INITIALIZATION DONE); | System.out.println(INIT-); | | | } | | } | | And its interface is: | | @Local | public interface InitiatorLocal { | | void initialize(); | | } | | | However I see nothing in the output neither in the log. Can someone help me? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102649#4102649 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102649 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Servlet information
I've sa servlet sheduling jobs is there a way the sheduled job can find out things about its environment -ex: location or access to WEB-INF/META-INF./ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102592#4102592 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102592 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Single Subscription for Multiple Topics
You're referring to topic hierarchies which is something we're going to implement for JBM 2 :) http://jira.jboss.org/jira/browse/JBMESSAGING-523 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102589#4102589 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102589 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Seam @Name should default to qualified name
As I am a Seam noob I'll post this here before I even think of a JIRA I think that Seam should default to a qualified name. Instead of having to do package com.xyz; @Name(com.xyz.testObject) public class TestObject { } This should be sufficient to get the same name on the Seam object package com.xyz; @Name public class TestObject { } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102581#4102581 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Packaging Hibernate Mapping Files and persistence.xml
I haven't tried using the mapping-file element in any of my applications, yet, so i might not be of great help. Could you try adding the exclude-unlisted-classes attribute to the persistence.xml: ?xml version=1.0 encoding=UTF-8? | persistence xmlns=http://java.sun.com/xml/ns/persistence; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | version=1.0 | persistence-unit name=rb | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejava:/RBDBPool/jta-data-source | mapping-filecom/pioneer/riskbudgeting/dao/userprofile/hbm/userprofile.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/accesscontrol/hbm/accesscontrol.hbm.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/benchmark/hbm/rb/benchmark.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/immunisation/hbm/immunisation.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/performance/hbm/performance.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/portfolio/hbm/portfolio.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/portfoliometadata/hbm/portfoliometadata.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/pricing/hbm/rb/pricing.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/report/hbm/report.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/riskfactor/hbm/riskfactor.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/riskfactorschema/hbm/riskfactorschema.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/statistics/hbm/statistics.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/strategyattribute/hbm/strategyattribute.xml/mapping-file | | exclude-unlisted-classes/ | | /persistence-unit | /persistence Also, can you post the output of the following steps: - From the command prompt, go to the folder containing your persistence archive (the 20.rb-ejb.jar). - Run jar -tf 20.rb-ejb.jar Post the output here. That will show us how the jar is packaged. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102604#4102604 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error selecting object problem
The seam documentation says anonymous wrote : noSelectionLabel ? specifies the (optional) label to place at the top of list | (if required=true is also specified then selecting this value will cause a | validation error) so try h:selectOneMenu required=false value=#{rstReportHome.specialFirm} id=firm I'm not sure if JSF will submit a null to setSpecialFirm() when the non-selection is selected, so you may have to adapt the form's action method to check for this situation and create a new automatic entity. P.S. You don't need private Firm specialFirm; inside RstReportHome.java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102585#4102585 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jBPM Console Errors
if you would have searched this fine forum, the fine internet you would have found out that thise are NOT errors, but INFO (as you can read further on the line) from facelets which log to jdk logging which were/are translated to STDERR by log4j/commons logging View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102570#4102570 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UISelectDate is deprecated, why?
We recommend (of course ;) the rich:calendar component, but really, whatever is in the extended component set for JSF which you use. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102584#4102584 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102584 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam quartz, how to start scheduler after server start?
Hi, Here is my quartz: | public void startInterval() { | try { | long a = System.currentTimeMillis(); | //= | Payment payment = new Payment(); | payment.setPaymentDate (new Date ()); | QuartzTriggerHandle handle = processor.scheduleInterval(payment.getPaymentDate(), 5 * 1000l, null, payment); | payment.setQuartzTriggerHandle(handle); | em.persist(payment); | //= | long b = System.currentTimeMillis(); | System.out.println(TIME: + (b - a) + ms.); | } | catch (Exception e) { | log.error(schedulerController - startInterval: + e.getMessage()); | } | } | | @Asynchronous | @Transactional | public QuartzTriggerHandle scheduleInterval(@Expiration Date when, | @IntervalDuration Long interval, | @FinalExpiration Date stoptime, | Payment payment) | { | //payment = em.merge(payment); | | log.info(Processing payment: , System.currentTimeMillis(), payment.getId()); | | return null; | } | When I run scheduler from app, new instance is inserted into db. If I want to start my scheduler after jboss startup, how can I do it, if my previous scheduler conf is saved in db? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102583#4102583 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102583 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Servlet context in a Qurtz sheduled job (seam)
Lifecycle.getServletContext not defined View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102567#4102567 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102567 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: when comes jbpm 3.3?
End of Q1 I would guess View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102579#4102579 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102579 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Running SeamTest-based tests inside an applicatoin serve
Thank you for answer, I tried to override it and the test started, but it breaks the application. I get WARNING: No active application scope | java.lang.IllegalStateException: No active application scope | at org.jboss.seam.core.Init.instance(Init.java:75) | after its work. And before test there is warning: There should only be one Seam phase listener per application So the problem is in method BaseSeamTest.init: public void init() throws Exception |{ | startJbossEmbeddedIfNecessary(); // We should skip it | | application = new SeamApplication( new MockApplication() ); // reuse here existsing application | phases = new SeamPhaseListener(); // reuse existing phase listener | | servletContext = new MockServletContext(); // reuse context | initServletContext( servletContext.getInitParameters() ); // don't initialize it | | // And more and more... | | ServletLifecycle.beginApplication(servletContext); | new Initialization(servletContext).create().init(); | ( (Init) servletContext.getAttribute( Seam.getComponentName(Init.class) ) ).setDebug(false); | conversationViewRootAttributes = new HashMapString, Map(); | seamFilter = createSeamFilter(); | | for (ELResolver elResolver : getELResolvers()) | { | application.addELResolver(elResolver); | } | |} I mean, it looks like there should be done a lot of things to use tests in working application for testing deployment and web server compatibility. Am I right or there is more simple way? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102580#4102580 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102580 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Single Subscription for Multiple Topics
I'm relatively new to JBoss Messaging and want to run a single client that can subscribe to every topic available on JBoss. In weblogic, this can be achieved by setting the JNDIName in the subscriber.properties file to something like /topic/*. I've tried different variations of the JNDIName with JBoss, but continue to get naming exceptions. Is this possible with JBoss? Thanks in advance. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102586#4102586 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - selectOneMenu, selectItems, convertEntity and null value
Ok, I figure my previous question was a bit unclear, so I'll try again. :) I have JSF page with a h:selectOneMenu. Inside it I have a s:selectItems with the attributes noSelectionLabel='-' and hideNoSelection='false'. I also have s:convertEntity. Is it possible to somehow force Seam to set the value of the field in my Entity specified in the h:selectOneMenu to null, or do I have to create a new converter and handle it all manually? Thanks in advance! // Erik View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102591#4102591 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with
Hello again, after spending several hour staring at this problem I finally solved it. I had missed that it should be s:span instead of a regular span | | Regards, Tomas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102588#4102588 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102588 ___ 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 Documentation
hafidzmalik wrote : If I understand you correctly. Seam provide seam generate-entities but not providing seam generate-entity. Alternative to that, you can always use seam new-entity in the latest release of Seam 2.0.0 GA. Although I have no idea on how to use it yet. Unless this has changed in the GA release.. What I have done is create the project then edit the seam-gen.reveng.xml file. In this you can exclude/include specific DB tables. This will allow you to generate only one specific table... Gary View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102574#4102574 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102574 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: RichFaces/Ajax4jsf support timeframe?
Still wondering if anyone has any insight on approximately when JBoss portal will support RichFaces/Ajax4jsf? Specifically, wondering if this is expected anytime in the remainder of 2007? Thanks for all your efforts! - David View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102582#4102582 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102582 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: No action inside a rule in pages.xml
Not that I know of, but I'm not sure its that useful (you can raise an event from there which does pretty much the same). What is your usecase? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102575#4102575 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102575 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - disinjection and components.xml
Hello, Perhaps a stupid question but... In http://docs.jboss.com/seam/2.0.0.GA/reference/en/html/concepts.html#d0e2960, I read about disinjection : anonymous wrote : Injected values (@In) are disinjected (i.e, set to null) immediately after method completion and outjection. components.xml let us inject values like : component name=org.jboss.seam.security.identity precedence=11 class=com.test.SampleIdentity |property name=authenticationManager#{authenticationManager}/property | /component But the setAuthenticationManager is only called at objet construction time, and no disinjection is done. Is it a missing feature or does it just work like that ? Thanks for the information ! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102576#4102576 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102576 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to start jbpm business process from an async quartz
Solved, | @Name(pollPosForOBF) | @Scope(ScopeType.CONVERSATION) | public class PollPosForOBF { | | @Logger | Log log; | | @In(create=true) | private OBFProcessAction oBFProcessAction; | | @Asynchronous | @Transactional | public QuartzTriggerHandle poll(@Expiration | Date when, @IntervalDuration | Long interval, @FinalExpiration | Date endDate) { | log.info(Async poll happening ja wol); | oBFProcessAction.startOBFBusinessProcess(); | return null; | } | } | | @Name(oBFProcessAction) | public class OBFProcessAction { | |@Logger Log log; | | @Out(scope=ScopeType.BUSINESS_PROCESS, required=false) | String orderId; | | @CreateProcess(definition=OBFProcess) | public void startOBFBusinessProcess() { | log.info(startPolling); | orderId = new UID().toString(); | } | } | | Seams like delegating @CreateProcess made it work, not sure why tho. Cheers Pieter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102568#4102568 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102568 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss.NET] - Problem using JBoss.net and JBossWS
Hi, I have a problem in my hands that i dont know how to solve: my application has webservices using JBoss.net, working in JBoss 3.2.7; but, inside this webservice, at some point, is made use of another webservice, using a classes that are in a jar (that i dont have the sources), and that jar uses a newer version o axis (from the package org.jboss.axis.*). In my machine, using JUnit for testing only the webservice, all works well, but when i put this project in the JBoss and try to consume the webservice, there are many errors, because of classloader. I have tried putting the jars that my jar uses in the JBOSS_HOME\server\all\lib (those are jbossall-client.jar, axis-ws4ee.jar and jboss-ws4ee.jar) but then, the server dont even start, giving me an error in the file JBOSS_HOME/server/all/conf/login-config.xml. Someone has some light as how to solve my problem? Thanks to everyone! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102572#4102572 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102572 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Apache2 Jboss Portal
Hi, I am wondering if someone could help me figur out how to ensure that the Portal not the Jboss is loaded when using remote url; My setup is using Ubuntu Linux, Apache2.4 My URL is set for http;//www.welford-costelloe.com by default the JBoss Managemen screen is loaded. If I pass the url as http;//www.welford-costelloe.com/portal I do load the portal page. I would rather the portal load with the main url: Confoguration: httpd.conf === LoadModule jk_module /usr/lib/apache2/modules/mod_jk.so JkWorkersFile /etc/apache2/workers.properties JkShmFile /var/log/httpd/mod_jk.shm JkLogFile /usr/local/apache2/logs/mod_jk.log JkLogLevel info JkLogStampFormat [%a %b %d %H:%M:%S %Y] workers.properties worker.list=worker1 worker.worker1.type=ajp13 worker.worker1.host=localhost worker.worker1.port=8009 Default = NameVirtualHost *:80 VirtualHost *:80 ServerAdmin [EMAIL PROTECTED] ServerName welford-costelloe.com DocumentRoot /www/www.welford-costelloe.com/portal Options FollowSymLinks AllowOverride None Directory /www/www.welford-costelloe.com/ Options Indexes FollowSymLinks MultiViews AllowOverride None Order allow,deny allow from all # This directive allows us to have apache2's default start page # in /apache2-default/, but still have / go to the right place #RedirectMatch ^/$ /apache2-default/ ScriptAlias /cgi-bin/ /usr/lib/cgi-bin/ Directory /usr/lib/cgi-bin AllowOverride None Options +ExecCGI -MultiViews +SymLinksIfOwnerMatch Order allow,deny Allow from all ServerSignature On LogLevel warn ErrorLog /var/log/apache2/www.welford-costelloe.com-error_log TransferLog logs/www.welford-costelloe.com-access_log JkMount /* worker1 # # allow from all # Alias /doc/ /usr/share/doc/ Directory /usr/share/doc/ Options Indexes MultiViews FollowSymLinks AllowOverride None Order deny,allow Deny from all Allow from 127.0.0.0/255.0.0.0 ::1/128 allow from all Thanks David... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4102614#4102614 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4102614 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Packaging Hibernate Mapping Files and persistence.xml
Hi. We're moving our code base to EJB3 on JBOSS AS 4.2.1GA. We want to stick with Hibernate but use the @PersistenceContext annotations to inject the sessions. The problem we're having is on deployment, it seems like the Entities are being deployed twice which is causing a DuplicateMappingException Two of us have sat down and made sure we aren't duplicating mappings in our codebase and that the deployed jars aren't packaging files in an incorrect fashion. Here is our persistence.xml | ?xml version=1.0 encoding=UTF-8? | persistence xmlns=http://java.sun.com/xml/ns/persistence; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://java.sun.com/xml/ns/persistence http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd; | version=1.0 | persistence-unit name=rb | providerorg.hibernate.ejb.HibernatePersistence/provider | jta-data-sourcejava:/RBDBPool/jta-data-source | mapping-filecom/pioneer/riskbudgeting/dao/userprofile/hbm/userprofile.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/accesscontrol/hbm/accesscontrol.hbm.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/benchmark/hbm/rb/benchmark.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/immunisation/hbm/immunisation.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/performance/hbm/performance.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/portfolio/hbm/portfolio.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/portfoliometadata/hbm/portfoliometadata.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/pricing/hbm/rb/pricing.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/report/hbm/report.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/riskfactor/hbm/riskfactor.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/riskfactorschema/hbm/riskfactorschema.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/statistics/hbm/statistics.xml/mapping-file | mapping-filecom/pioneer/riskbudgeting/dao/strategyattribute/hbm/strategyattribute.xml/mapping-file | /persistence-unit | /persistence Here is the relevant part of the log: | 2007-11-07 11:07:42,937 INFO [PersistenceUnitDeployment] Starting persistence unit persistence.units:ear=80.rb.ear,jar=20.rb-ejb.jar,unitName=rb | | 2007-11-07 11:07:42,968 INFO [Version] Hibernate EntityManager 3.2.1.GA | 2007-11-07 11:07:42,968 INFO [Version] Hibernate Annotations 3.2.1.GA | 2007-11-07 11:07:43,031 INFO [Ejb3Configuration] Processing PersistenceUnitInfo [ | name: rb | ...] | 2007-11-07 11:07:44,388 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/userprofile/hbm/userprofile.xml | 2007-11-07 11:07:44,403 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/accesscontrol/hbm/accesscontrol.hbm. | xml | 2007-11-07 11:07:44,419 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/benchmark/hbm/rb/benchmark.xml | 2007-11-07 11:07:44,434 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/immunisation/hbm/immunisation.xml | 2007-11-07 11:07:44,434 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/performance/hbm/performance.xml | 2007-11-07 11:07:44,450 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/portfolio/hbm/portfolio.xml | 2007-11-07 11:07:44,481 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/portfoliometadata/hbm/portfoliometad | ata.xml | 2007-11-07 11:07:44,497 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/pricing/hbm/rb/pricing.xml | 2007-11-07 11:07:44,512 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/report/hbm/report.xml | 2007-11-07 11:07:44,809 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/riskfactor/hbm/riskfactor.xml | 2007-11-07 11:07:44,809 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/riskfactorschema/hbm/riskfactorschem | a.xml | 2007-11-07 11:07:44,840 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/statistics/hbm/statistics.xml | 2007-11-07 11:07:44,856 INFO [Configuration] Reading mappings from resource : com/pioneer/riskbudgeting/dao/strategyattribute/hbm/strategyattrib | ute.xml | 2007-11-07 11:07:44,871 INFO [Configuration] Reading mappings from resource : META-INF/orm.xml | 2007-11-07 11:07:44,887 INFO [Ejb3Configuration] [PersistenceUnit: rb] no META-INF/orm.xml found | 2007-11-07