[jboss-user] [JBoss Seam] - errors with sample JSF and jboss-5.0.0.Beta1
Hi Friends i need urgent help on jsf with jboss-5.0.0 beta1. i am not able to deploy jsf application in jboss-5.0.0 beta1 , i am getting error when i was deploying sample jsf in jboss-5.0.0 beta1. but the funny thing is when i was deployed same application in jboss-4.0.4 , it was successful, working finebut why it is not working with jboss-5.0.0 beta1 [EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1182751382835 permit=false trackByTx=false [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] txSync=null] java.lang.NoSuchMethodError: org.jboss.resource.adapter.jdbc.local.LocalManagedConnection.getProperties()Ljava/util/Properties; at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.matchManagedConnections(LocalManagedConnectionFactory.java:195) at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:206) at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:563) at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:341) at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:351) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:394) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) at org.quartz.utils.JNDIConnectionProvider.getConnection(JNDIConnectionProvider.java:159) at org.quartz.utils.DBConnectionManager.getConnection(DBConnectionManager.java:111) at org.quartz.impl.jdbcjobstore.JobStoreCMT.getNonManagedTXConnection(JobStoreCMT.java:1431) at org.quartz.impl.jdbcjobstore.JobStoreCMT.acquireNextTrigger(JobStoreCMT.java:1171) at org.quartz.core.QuartzSchedulerThread.run(QuartzSchedulerThread.java:233) please give me the solution thank you in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057242#4057242 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057242 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: error getting client socket connection from pool
Hey John, Do you set the parameter numberOfRetries? The default value is 30, meaning the client invoker will try 30 times to get a socket. I think it would be a little surprising if 30 attempts would fail in ~0 seconds. -Ron View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057244#4057244 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057244 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Caused by: org.jboss.ws.WSException: Cannot obtain java type
hi I am exposing my EJB3 components as web services. WSDL document is generated correctly. But when my client application tries to access the webservice it throws the following exception, Caused by: org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://wb1-329:8080}validateUser at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:451) at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:208) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:126) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) at client.UserBean.loginUser(UserBean.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126) please help me in resolving this error View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057241#4057241 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057241 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to extract the page id
Is there any sample code to test the pageflow transitions? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057240#4057240 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Why is injection not working in AS 4.0 and 4.2 (servlets
So JBoss 5.0 beta2 supports servlet injection? Or is the functionality only going to be fully delivered in the final release? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057245#4057245 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057245 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Retrieving data from database
hi kruno, thank you for your response.. i found that its not an database error. i can retrieve data from table.. but the problem is in viewing.. how to view(display) that details in my view page.. i am using facelet file to view that data. and this is my session bean class which retrieving data @Stateless @Name(searchsession) public class SearchSession implements SearchLocal { @Out private List details; public String search() { details =em.createQuery(select s.storeName,s.reviewPoints,s.website from Stores s).getResultList(); System.out.println(list : +details); return query; } } and my facelet file contains, rich:dataTable width=483 id=details rows=10 columnClasses=col value=#{details} var=val h:column h:outputText value=#{val.storeName} / /h:column h:column h:outputText value=#{val.reviewpoints} / /h:column h:column h:outputText value=#{val.website} / /h:column /rich:dataTable now help me to view them in my facelet file.. thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057248#4057248 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057248 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: EJB3 query ?
Did I post wrong question or...? Best regards, mb View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057250#4057250 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057250 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL process doesn't respond
Sorry for the trouble. This helped to my problem: jBPM BPEL 1.1.Beta3 implements the following sections of the BPEL4WS 1.1 specification dated May 5, 2003. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057247#4057247 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057247 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Retrieving data from database
fine. thank you for your response.. but i found that the problem is not in retrieving the data but the problem is in viewing those data in my (jsf)facelet file. can you help me to view/show/display that data in my facelt thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057249#4057249 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057249 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Deployment FAILED reason: javax/servlet/http/HttpServlet
I am trying to deploy my web application in JBoss 4.0.5. But while deployment I am getting the following error: [EMAIL PROTECTED] { url=file:/C:/JBoss4/server/default/deploy/myapp.war } deployer: MBeanProxyExt[jboss.web:service=WebServer] status: Deployment FAILED reason: javax/servlet/http/HttpServlet state: FAILED watch: file:/C:/JBoss4/server/default/deploy/myapp.war altDD: null lastDeployed: 1182755986147 lastModified: 1182755986085 mbeans: I tried to set the servlet api in classpath but that gives me some kind of PolicyConfiguration exception. I am a newbie to JBoss. Can anyone help me to get out of this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057251#4057251 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057251 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
I figured out the error. The namespace wasn't declared in component.xml since it moved from 'core' to 'jbpm' But still the database contains no tables. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057253#4057253 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057253 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
Gavin, I have followed the approach and I can see the hibernate mappings on the console, however the tables are not being created and I'm sure that the datasource configuration is correct pointing to the right database. On the other end when commenting out the bpm configuration from the components.xml | bpm:jbpm | bpm:process-definitions/bpm:process-definitions | bpm:pageflow-definitions/bpm:pageflow-definitions | /bpm:jbpm | an exception is thrown indicating that the content of the XML elements cannot be empty View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057252#4057252 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057252 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Editable tabular data the seam way?
Hi everyone? I have a question regarding a how to: I want to have a dataTable (jsf ri or richfaces) where I have editable tabular data from a database table. I want (almost) every column to be editable (similar to excel). What is the best (technical) approach to achieve this? Using framework configurations in components.xml is no good, because the EntityQuery is not held in any context, but is thrown away after the request ends. Also if I want to page fordward or backwards my changes will be discarded and the data will be read from the database again, ignoring my changes. Currently I have an EJB3 stateful session bean that extends EntityQuery and I can instantiate it in components.xml with any Entity class! However, I am not sure if there is a better (nicer) way to achieve this. What is the real Seam-Way to get tabular editable data working? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057255#4057255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM Decision node implementation with Decision handler
nageshreddy1981 wrote : Hi, | | I am new to JBPM. | I am trying to implement decision node in process definiton. | where can i find the examples for the decision node with the decision handler implemetation. | Can anybody provide me with examples or links on the same. | | Thanks in advance I'm a newbie too but here's what I did: Implement the interface DecisionHandler and implement the 'decide' method which returns the appropriate transition. public class MyDecisionHandler implements DecisionHandler { /** * Comment for serialVersionUID */ private static final long serialVersionUID = 1L; public String decide(ExecutionContext executionContext) throws Exception { String lower = (String) executionContext.getContextInstance().getVariable(lower); String upper = (String) executionContext.getContextInstance().getVariable(upper); if ((Integer.parseInt(upper) - Integer.parseInt(lower)) 10) { return yes; } else { return no; } } Currently you can't use the GPD to associate the handler to the decision node, so you have to edit the process definition XML by hand like this: View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057262#4057262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM integration question
Got it sorted out. All I needed was to create the jBPMContext again. Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057267#4057267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - TimerService: stop a timer
Hello. I'm trying to find out what's the best way to stop a timer at a predefined date. Actually, I'm looking for a method like createTimer(Date initialExpiration, Date lastExpiration, long intervalDuration, Serializable info) where one can also set a Date when the timer should stop. Are there any best practice ways to do this? Or am I getting the idea of timers totally wrong? Greetings View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057271#4057271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Getting started with LDAP
Hi, once more. If I got it right - during the weekend - I'm twisting to mechanisms that cannot be combined. As described above I use a server-side authentication/authorisation, to secure the access to my EJB's I have to use client side, which means creating a LoginContext with CallbackHandler etc. If I got it right, this means, that ANY person can access my application, only the communication with the AS is restricted via JaasSecurityManager. ??? Bye View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057266#4057266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow
I think there is bug in testing(mock) environment (propagation of conversations with pageflow does not work) http://jira.jboss.org/jira/browse/JBSEAM-1000 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057265#4057265 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057265 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Configuration of just using seam taglib
It doesn't. a:support / triggers it. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057257#4057257 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057257 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - jBPM processInstance question
hi, i want to inject processInstance in action after @CreateProcess like following code: @Name(printSthAction) | @AutoCreate | public class PrintSthAction { | @Logger Log log; | | @In | private String content; | | @In | ProcessInstance processInstance; | | | public void printout(){ | log.info(= process Instance is null? #0, processInstance); | log.info(= print #0, content); | } | | } jPDL: ?xml version=1.0? | | process-definition name=test | | start-state name=start | transition name=printout to=complete | action expression=#{printSthAction.printout}/ | /transition | /start-state | | end-state name=complete / | | /process-definition But, i got an exception like this: | 10:31:53,653 ERROR [GraphElement] action threw exception: couldn't evaluate expression '#{printSthAction.printout}' | org.jbpm.JbpmException: couldn't evaluate expression '#{printSthAction.printout}' | at org.jbpm.jpdl.el.impl.JbpmExpressionEvaluator.evaluate(JbpmExpressionEvaluator.java:52) | at org.jbpm.graph.def.Action.execute(Action.java:119) | at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235) | at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212) | at org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182) | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166) | at org.jbpm.graph.def.Transition.take(Transition.java:106) | at org.jbpm.graph.def.Node.leave(Node.java:383) | at org.jbpm.graph.node.StartState.leave(StartState.java:70) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:173) | at org.jbpm.graph.def.Node_$$_javassist_432.leave(Node_$$_javassist_432.java) | at org.jbpm.graph.exe.Token.signal(Token.java:178) | at org.jbpm.graph.exe.Token.signal(Token.java:123) | at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217) | at org.jboss.seam.core.BusinessProcess.createProcess(BusinessProcess.java:116) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.afterInvocation(BusinessProcessInterceptor.java:98) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:50) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103) | at org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151) | at org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87) | at de.strato.bussiness.schedular.job.AutoProcessJob2_$$_javassist_477.excute(AutoProcessJob2_$$_javassist_477.java) | at de.strato.bussiness.schedular.QuartzTimeServiceBean.startProccess(QuartzTimeServiceBean.java:42) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112) | at org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166) | at org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57) | at org.jboss.seam.interceptors.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:50) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27) | at org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69) | at
[jboss-user] [JBoss jBPM] - Re: JBPM Decision node implementation with Decision handler
nageshreddy1981 wrote : Hi, | | I am new to JBPM. | I am trying to implement decision node in process definiton. | where can i find the examples for the decision node with the decision handler implemetation. | Can anybody provide me with examples or links on the same. | | Thanks in advance I'm a newbie too but here's what I did: Implement the interface DecisionHandler and implement the 'decide' method which returns the appropriate transition. public class MyDecisionHandler implements DecisionHandler { | | /** | * Comment for codeserialVersionUID/code | */ | private static final long serialVersionUID = 1L; | | | | public String decide(ExecutionContext executionContext) throws Exception { | String lower = (String) executionContext.getContextInstance().getVariable(lower); | String upper = (String) executionContext.getContextInstance().getVariable(upper); | | if ((Integer.parseInt(upper) - Integer.parseInt(lower)) 10) { | return yes; | } | else { | return no; | } | | } | Currently you can't use the GPD to associate the handler to the decision node, so you have to edit the process definition XML by hand like this: decision name=checkDiff | transition name=yes to=doSomething | /transition | transition name=nao to=doSomethingElse/transition | handler class=com.decisions.MyDecisionHandler/handler |/decision View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057263#4057263 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057263 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: jBPM processInstance question
i found a solution: @Name(printSthAction) | @AutoCreate | public class PrintSthAction { | @Logger Log log; | | @In | private String content; | | @In | private BusinessProcess businessProcess; | | @In | private JbpmContext jbpmContext; | | public void printout(){ | | log.info(= process Instance is null? #0, jbpmContext.getProcessInstance(businessProcess.getProcessId())); | log.info(= print out sth: #0, content); | } | | } | Maybe it is not a good way, but i got what i want :D View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057272#4057272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBoss 4.0.5 and JBoss 4.2 CR1 plus JBossWS 1.2 - Does it
i am getting following error can anybody tell what would be cause, Caused by: org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://wb1-329:8080}validateUser at org.jboss.ws.deployment.JSR109MetaDataBuilder.buildParameterMetaDataDoc(JSR109MetaDataBuilder.java:451) at org.jboss.ws.deployment.JSR109MetaDataBuilder.setupOperationsFromWSDL(JSR109MetaDataBuilder.java:200) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaDataInternal(JSR109ClientMetaDataBuilder.java:208) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:126) at org.jboss.ws.deployment.JSR109ClientMetaDataBuilder.buildMetaData(JSR109ClientMetaDataBuilder.java:82) at org.jboss.ws.jaxrpc.ServiceImpl.(ServiceImpl.java:96) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) at org.jboss.ws.jaxrpc.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) at client.UserBean.loginUser(UserBean.java:90) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at com.sun.faces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:126) thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057275#4057275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Calling native C++ legacy program from Message Driven Be
JBoss will know nothing if you use JNI, so it's really up to you. The risk of JNI is that you can always screw up the whole JVM if you are not carefull. JBoss itself, doesn't use JNI, except for the embedded JBoss Web that has optional native connectors. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057273#4057273 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057273 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - an alternative to singleton code design and generics
I'm relatively new to developing web applications using JEE. So far I have seen applications that was designed using singleton style and generics. I'm curious about an alternative to designing the code without using singleton classes and generics. sincerely, reyjexter View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057279#4057279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Calling native C++ legacy program from Message Driven Be
How you define will support? There is no much difference if you use JNI in a standalone application or inside an application server. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057283#4057283 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057283 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - EntityNotFoundException
Hello, After modifying a seam-gen application, I have a weird error while trying to delete an object: javax.persistence.EntityNotFoundException: deleted entity passed to persist: [com.fitnetapplication.certifications.entity.Collaborateur#] When I go debug, the instance sent to getEntityManager().remove is correct View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057284#4057284 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057284 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Calling native C++ legacy program from Message Driven Be
You mean JBoss will support calling JNI native C++ program? What is your opinion in this kind of scenarion? I am looking for an architectural solution. Thanks, Waikhom View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057277#4057277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: ui:include and seam extended EL
Help would be appreciated ... Can you tell me if someone has already encountered this issue ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057278#4057278 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057278 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed
I try to send a jms message outside transaction, creating a session with transaction attribute = false and acknowlegement mode to AUTO_ACKNOWLEDGE but the result is identic Fab View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057285#4057285 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057285 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - War-File without jsf-library
Hello, I am using to pack the jar-files (myface-apl.jar, myface-impl.jar, common-*.jar,) in WEB-INF/lib of War-file. It makes the large file, but I want to reduce the size of War-file. I want to separat the jar-files from War-file, because there are the jar-files in the Path default/deploy/jbossweb-tomcat55.sar/jsf-libs on JBOSS-Server 4.0.5.GA. How can I configure that war-file links to the jar-files in the jbossweb-tomcat55.sar/jsf-libs? Cheers, Manuel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057288#4057288 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057288 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - context
Hello, I have a problem with injection of WebServiceContext. | @Resource() | WebServiceContext wsCtx; | | MessageContext context = wsCtx.getMessageContext(); | Map attachments = (Map) context.get(MessageContext.INBOUND_MESSAGE_ATTACHMENTS) ; | wsCtx is always null. I'm using JBoss 4.2.0. I tried almost everything without succes. If you have any question please ask. I need to make it work in very short time. Thank you in advance. Regards. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057289#4057289 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057289 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to activate log in jbpm (3.2.GA)
jbpm uses commonslogging (so log4j or jdk logging, depends on that is configured). So look at that somewhere View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057290#4057290 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057290 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers get cancelled in TimerServiceBean.ejbTimeout even
or try using ejb3 timers... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057291#4057291 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057291 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Why my condtion doesn't get evaluated?
did you search the forum (e.g. with google or the search above on the left, small blue text)) Has been discussed lots of times... first see if there is some info in there. Besides that ALWAYS report you jboss version, db used, jdk etc...etc...etc... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057293#4057293 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057293 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools Mailing lists
Here are links to subscribing for each mailing list as well as a description for each: JBoss Tools Announce (Big project news, release announcements): https://lists.jboss.org/mailman/listinfo/jbosstools-announce JBoss Tools Development (discussions for developers and contributors): https://lists.jboss.org/mailman/listinfo/jbosstools-dev JBoss Tools JIRA Issues (messages for new JIRA bugs/feature requests and updates): https://lists.jboss.org/mailman/listinfo/jbosstools-issues JBoss Tools Commits (messages for all commits into our CVS server): https://lists.jboss.org/mailman/listinfo/jbosstools-commits P.S. If you subscribed to the jbosside mailing lists your subscription have been moved to the jbosstools counter part. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057296#4057296 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057296 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to download souce code in jbpm-console.war web part?
STTF CVS in on jboss site... SF is not used anymore for CVS View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057295#4057295 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057295 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jbpm 3.2.GA and mysql
Maybe we should restructure the wiki data a little... care to help out? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057294#4057294 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057294 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Exadel Plugins available in opensource
Exadel Plugins are now available available in SVN and from nighty builds Have fun (and let us know how it goes ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057297#4057297 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057297 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Timers get cancelled in TimerServiceBean.ejbTimeout even
ignore previous comment (wrong thread...) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057298#4057298 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057298 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - JBoss Tools and Eclipse/WTP versions
We recently migrated the codebase to work with Eclipse 3.3 and WTP 2.0 (part of Eclipse Europa) Some plugins might still run on Eclipse 3.2 and WTP 1.5, but we do recommend use Eclipse 3.3 for the best experience ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057299#4057299 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057299 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: context
This is a known issue: http://jira.jboss.com/jira/browse/EJBTHREE-900 Try the workaround found here: http://jira.jboss.com/jira/browse/JBWS-1468 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057304#4057304 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057304 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - [Microsoft][SQLServer 2000 Driver for JDBC]Database changed
I am using SQL Server database. I am trying to connect to database name userscdb I am using jsf and ejb3 Everytime my application connects to sqlsever, i get below mentioned warnings 16:52:23,107 INFO [STDOUT] value of em is [EMAIL PROTECTED] 16:52:23,148 WARN [JDBCExceptionReporter] SQL Warning: 0, SQLState: 16:52:23,148 WARN [JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC]Database changed to master 16:52:23,148 WARN [JDBCExceptionReporter] SQL Warning: 5701, SQLState: 01000 16:52:23,148 WARN [JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Changed database context to 'master'. 16:52:23,148 WARN [JDBCExceptionReporter] SQL Warning: 0, SQLState: 16:52:23,148 WARN [JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC]Language changed to us_english 16:52:23,148 WARN [JDBCExceptionReporter] SQL Warning: 5703, SQLState: 01000 16:52:23,148 WARN [JDBCExceptionReporter] [Microsoft][SQLServer 2000 Driver for JDBC][SQLServer]Changed language setting to us_english. 16:52:23,148 WARN [JDBCExceptionReporter] SQL Error: 208, SQLState: 42S02 Thus here my database changes to master everytime, although i want to connect to userscdb Below is the configuration of my application persistence.xml placed in META-INF directory ?xml version=1.0 encoding=UTF-8? persistence-unit name=shoestringPU jta-data-sourcejava:/SCMSSQLDS/jta-data-source com.j3ltd.server.entities.Person com.j3ltd.server.entities.Address /persistence-unit mssql-ds.xml ?xml version=1.0 encoding=UTF-8? !-- = -- !-- -- !-- JBoss Server Configuration -- !-- -- !-- = -- !-- $Id: mssql-ds.xml 23720 2004-09-15 14:37:40Z loubyansky $ -- !-- ==-- !-- New ConnectionManager setup for Microsoft SQL Server 2000 driver -- !-- You may download the latest Microsoft JDBC driver from *Microsoft* -- !-- http://msdn.microsoft.com/downloads/default.asp?url=/downloads/sample.asp?url=/ MSDN-FILES/027/001/779/msdncompositedoc.xmlframe=true -- !-- = -- local-tx-datasource jndi-nameSCMSSQLDS/jndi-name connection-urljdbc:microsoft:sqlserver://dbsqlserver\\devenv:1433;DatabaseName=userscdb/connection-url driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class user-namekkism/user-name kkism !-- sql to call when connection is created new-connection-sqlsome arbitrary sql/new-connection-sql -- !-- sql to call on an existing pooled connection when it is obtained from pool check-valid-connection-sqlsome arbitrary sql/check-valid-connection-sql -- !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml (optional) -- type-mappingMS SQLSERVER2000/type-mapping /local-tx-datasource Below is my class using entity bean public class EntityFacadeBean implements EntityFacade{ @PersistenceContext(unitName=shoestringPU) EntityManager em ; public Person getPerson(String email) { Person entity = null; try { Query query = em.createQuery(SELECT p FROM Person p WHERE p.email = ?1); query.setParameter(1, email); entity = (Person) query.getSingleResult(); } catch (NoResultException noneFound) { // if not found, just return null } return entity; } } Please suggest if i am doing anything wrong. Regards, Ruchika View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057306#4057306 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057306 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Drools and Oracle DB
Hello, Is it possible (and how ?) to do peering with many drools engines and with Oracle DB to persiste the rule Bases or the packages or ... ? Any help pls Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057308#4057308 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057308 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: [Microsoft][SQLServer 2000 Driver for JDBC]Database chan
looks like some typo errors in submitting my query. Below is snapshot from my mssql-ds.xml file jndi-nameSCMSSQLDS/jndi-name connection-urljdbc:microsoft:sqlserver://dbsqlserver\\devenv:1433;DatabaseName=userscdb/connection-url driver-classcom.microsoft.jdbc.sqlserver.SQLServerDriver/driver-class user-namekkuser/user-name kkuser View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057307#4057307 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057307 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [1.3 CVS]Tomcat users getting the shaft?
FWIW - I think the EEJB/war bootstrap was good because you could run jetty and easily build/test. But, like Gavin said, I wouldn't have been able to take it to production without removing jars and config code. I *finally* got my tomcat impl up and running with embedded (don't laugh), and I gotta say that 2 lines of config code and a few jars is nothing to gripe about for local development. I am just deploying a context to tomcat via maven/cargo and everything works like a charm. The only thing missing now is a scan interval for picking up changes. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057302#4057302 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057302 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Invoking EJB from a servlet
I am trying to access ejb form a servlet but I am getting following exception. i would be thankful if anybody could tell me how can I fix the problem. I am using following code : Properties props = new Properties(); props.put(java.naming.factory.initial, org.jnp.interfaces.NamingContextFactory); props.put(java.naming.factory.url.pkgs, org.jboss.naming:org.jnp.interfaces); props.put(java.naming.provider.url, 100.100.100.12:1099); InitialContext ic = new InitialContext(props); Object objRef = ic.lookup(npg/NpgTxn); System.out.println(ObjRef=+objRef); NpgTxnHome home = (NpgTxnHome)PortableRemoteObject.narrow(objRef,NpgTxnHome.class); npgTxn = home.create(); And getting following Exception ERROR [LogInterceptor] EJBException in method: public abstract com.nepasoft.npg.ejb.NpgTxn com.nepasoft.npg.ejb.NpgTxnHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException: javax.ejb.EJBException: Invalid invocation, check your deployment packaging, method=public abstract com.nepasoft.npg.ejb.NpgTxn com.nepasoft.npg.ejb.NpgTxnHome.create() throws javax.ejb.CreateException,java.rmi.RemoteException at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invokeHome(StatelessSessionContainer.java:175) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:189) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invokeHome(StatelessSessionInstanceInterceptor.java:98) at org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:105) at org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:56) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:125) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:161) at org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:145) at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:107) at org.jboss.ejb.SessionContainer.internalInvokeHome(SessionContainer.java:637) at org.jboss.ejb.Container.invoke(Container.java:975) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.invocation.local.LocalInvoker$MBeanServerAction.invoke(LocalInvoker.java:169) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:118) at org.jboss.invocation.InvokerInterceptor.invokeLocal(InvokerInterceptor.java:206) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:192) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:61) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:70) at org.jboss.proxy.ejb.HomeInterceptor.invoke(HomeInterceptor.java:184) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:100) at $Proxy66.create(Unknown Source) at com.nepasoft.npg.controller.PostPayBillsFormEventHandler.init(PostPayBillsFormEventHandler.java:35) at com.nepasoft.npg.controller.PostPayBillsFormEventHandler.process(PostPayBillsFormEventHandler.java:45) at com.nepasoft.npg.controller.PostAllFormsEventHandler.process(PostAllFormsEventHandler.java:31) at com.nepasoft.npg.controller.MainController.processRequest(MainController.java:93) at com.nepasoft.npg.controller.MainController.doPost(MainController.java:133) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at
[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem
Maybe the two standards are not compatible to work together. I didn't found any information that says: no, no, no don't use mtom with ws-security. Hi mr_d, MTOM + WS-Security are fully compatible standards. MTOM is a new attachment approach and was designed with WS security in mind. Before MTOM e.g. using standard WS attachments or SWA ref attachments, users were unable to use these attachments in conjunction with WS Security. With MTOM you can ;-) Rio View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057309#4057309 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057309 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [1.3 CVS]Tomcat users getting the shaft?
wesleyhales wrote : | I *finally* got my tomcat impl up and running with embedded (don't laugh), and I gotta say that 2 lines of config code and a few jars is nothing to gripe about for local development. I am just deploying a context to tomcat via maven/cargo and everything works like a charm. The only thing missing now is a scan interval for picking up changes. Yes, this isn't difficult to install. But take it from this prospective, when you already have a Tomcat environment up in production and sysadmins that are trained and support it. Try asking them to install some jars to tomcat libs and modify server.xml on ever instance... This isn't even taking into account they will have to change their upgrade process. Just imagine You want me to do what?, for just one application. Then you might be thinking ok, hmm maybe you could get them to install JBoss AS. Nope. Imagine again: You want us to learn some new AS, for just one [EMAIL PROTECTED] View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057311#4057311 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057311 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [1.3 CVS]Tomcat users getting the shaft?
Definitely - I totally agree and know that would be near impossible to do... But this is a recent struggle on the Jboss side to have deployable apps that don't need to be modified for dev and prod (of course you could write a custom script if you maintained your own version of RC9) but that would be hackery and unjustifiable. However, it would be cool for Jboss to maintain the same concept of bootstrapping in a war (like RC9) that would wrap the embedded EJB code base. I'm fortunate in my situation having Jboss in prod, but I see where you are coming from. But, I don't think there is any way to get around boostrapping at a container level. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057315#4057315 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057315 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem
Ok, but have the MTOM attachment to be inlined or not when WS-Security signature or encryption is activated? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057316#4057316 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057316 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: [1.3 CVS]Tomcat users getting the shaft?
One more thing - Should there be a copy of the embedded Jboss files in Seam? Will seam have it's own version of Jboss Embedded? If no, I think a readme in the Seam dist would suffice... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057310#4057310 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057310 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Jboss 4.05 clustering with SSL enabled problem
Can someone point me in the direction of some documentation on how to configure JBoss 4.0.5 clustering with SSL enabled I tried JBoss 4.0.5 clusteirng without SSL and it's working fine, but with SSL enabled HTTP sessions are not replicated and when one server is down, I'm getting Page not found error and not redirecting to another live server which is in the clustered environment. Sreenivas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057323#4057323 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Nullpointer when injecting hibernate session
Hi I'm getting a nullpointer when I try to inject a hibernate managed session into one of my classes. I am able to inject the session into all of my action classes but nowhere else. Am I missing something..? here is some of my code: @Name(hocasService) public class HocasService { @In private Session agriCardDatabase; public Element submitRequest(Param request){ AgriSetup setup = (AgriSetup)agriCardDatabase.createQuery (select s from AgriSetup s where s.currentEnvironment = :current ) .setBoolean(current,true) .uniqueResult(); } View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057321#4057321 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057321 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed
In any case, someone will invetsigate this shortly... bogged down on other things right now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057319#4057319 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057319 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed
Are you sure? That is what our tests do. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057318#4057318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @In required session timeout, IdleRemover Exceptions a
I have the same problem with testNG (3.) With a simple project generated by Seam-Gen (as in the documentation) I get the error... javax.el.PropertyNotFoundException: ELResolver cannot handle a null base Object with identifier 'ping' When running the test with the testNG plug-in in eclipse. When running the ant task test I get... java.lang.RuntimeException: java.io.FileNotFoundException: C:\Dokumente%20und%20Einstellungen\stephen\workspaceJBoss\SeamGen\test-build . . . Caused by: java.io.FileNotFoundException: C:\Dokumente%20und%20Einstellungen\stephen\workspaceJBoss\SeamGen\test-build It seems to be looking for an ear file but their is none in that directory. It is exploaded. Can someone please help? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057322#4057322 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057322 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Lost the ability to debug - timeout...
Hi, as my system grows it is taking longer and loger to boot :( When starting in the Microcontainer to debug - I now constantly hit a problem where the startup timesout after 120s (when it was almost done :( ) Is it possible to raise this limit? Any other suggests (ok, so I could buy a faster machine :) ) ??? Regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057324#4057324 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - problem with seam and jbpm
Hi, I´m new to seam and jbpm and trying to work out my first example. My problem is that it seems data is not being bound to the process. Here is my code: In this page I create a request Nova Requisição Pedido: h:inputText value=#{request.content}/ Hospedagem: h:selectOneRadio value=#{request.hasOvernight} f:selectItems value=#{request.overnight}/ /h:selectOneRadio h:commandButton type=submit value=Nova Requisição action=#{requestSystem.newRequest}/ That is represented by this object: @Name(request) @Intercept(InterceptionType.NEVER) @Scope(ScopeType.BUSINESS_PROCESS) public class Request implements Serializable { private static final long serialVersionUID = 1643984518635043124L; private String content; private int hasOvernight; private static int YES = 1; private static int NO = 0; private static SelectItem[] overnight = new SelectItem[]{ new SelectItem(new Integer(YES), Sim), new SelectItem(new Integer(NO), Não) }; public String getContent() { return content; } public void setContent(String content) { this.content = content; } public int getHasOvernight() { return hasOvernight; } public void setHasOvernight(int hasOvernight) { this.hasOvernight = hasOvernight; } public SelectItem[] getOvernight() { return overnight; } public String whereToGo() { return hasOvernight == 1 ? yes : no; } The object that creates the process is this one: @Stateless @Name(requestSystem) public class RequestSystemAction implements RequestSystem { @In @Out(scope = ScopeType.BUSINESS_PROCESS, required = false) Request request; @CreateProcess(definition = RequestProcess) public String newRequest() { System.out.println(Nova requesicao); return home; } @BeginTask @EndTask public String managerApproval() { System.out.println(Aprovado pelo gerente); return home; } } And the problem is that when in the following page, I try to retrieve the information of the Request I created, everything is set to the default values h:dataTable value=#{pooledTaskInstanceList} var=task h:column h:outputText value=#{task.description}/ /h:column h:column h:outputText value=#{request.content}/ h:outputText value=#{request.hasOvernight}/ h:commandLink action=#{requestSystem.managerApproval} h:commandButton value=Aprovar/ f:param name=taskId value=#{task.id}/ /h:commandLink /h:column /h:dataTable h:commandLink action=home value=Go back home/ Thanks for any help Kelly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057330#4057330 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow
BTW: Here is my pageflow definition: ?xml version=1.0 encoding=UTF-8? | pageflow-definition xmlns=http://jboss.com/products/seam/pageflow; | xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; | xsi:schemaLocation=http://jboss.com/products/seam/pageflow pageflow-1.2.xsd | name=register | | start-page name=register view-id=/public/register.xhtml | transition name=next to=personRegistered | action expression=#{register.register} / | /transition | /start-page | | decision name=personRegistered | expression=#{register.registered} | transition name=true to=login / | transition name=false to=confirm | action expression=#{register.sendCode} / | /transition | /decision | | page name=confirm view-id=/public/confirm.xhtml | redirect / | transition name=next to=isCodeCorrect / | /page | | decision name=isCodeCorrect | expression=#{register.codeCorrect} | transition name=true to=invite | action expression=#{register.complete} / | /transition | transition name=false to=confirm / | /decision | | page name=invite view-id=/public/secure/invite.xhtml | redirect / | end-conversation / | /page | | page name=login view-id=/public/login.xhtml | redirect / | end-conversation / | /page | | /pageflow-definition | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057345#4057345 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057345 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?
dajevtic wrote : I have a question regarding a how to: | I want to have a dataTable (jsf ri or richfaces) where I have editable tabular data from a database table. I want (almost) every column to be editable (similar to excel). What is the best (technical) approach to achieve this? I would use a h:dataTable backed by a CONVERSATION scoped EntityQuery. N.B. You can configure the scope of a component in components.xml anonymous wrote : Also if I want to page fordward or backwards my changes will be discarded and the data will be read from the database again, ignoring my changes. If you are in a CONVERSATION this shouldn't happen. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057344#4057344 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057344 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow
If, as Denis says, that bug exists, then it's not going to work! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057349#4057349 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem
Thank you for your links mr_d, they are very interesting. Now I'm sure that my Web Services behaviour is not correct :-( . Request Headers | POST /servizioJBossCipheredSigned/ServizioJBossCipheredSigned?datatype=JBossWSMessage HTTP/1.1 | | Authorization: Basic bXlVc2VybmFtZTpteVBhc3N3b3Jk | | SOAPAction: | | Content-Type: text/xml; charset=UTF-8 | | JBoss-Remoting-Version: 22 | | User-Agent: JBossRemoting - 2.2.0 SP4 (Bluto) | | Host: 127.0.0.1:8181 | | Accept: text/html, image/gif, image/jpeg, *; q=.2, */*; q=.2 | | Connection: keep-alive | | Content-Length: 503592 | Response Headers | HTTP/1.1 200 OK | | Server: Apache-Coyote/1.1 | | X-Powered-By: Servlet 2.4; JBoss-4.2.0.GA (build: SVNTag=JBoss_4_2_0_GA date=200705111440)/Tomcat-5.5 | | Content-Type: text/xml;charset=UTF-8 | | Transfer-Encoding: chunked | | Date: Mon, 25 Jun 2007 13:22:57 GMT | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057348#4057348 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: 4.2.1CR1 ?
We'll go directly to 4.2.1 (no CRx), as we have some bug fixes to give back to you guys. http://dandreadis.blogspot.com/2007/06/uptake-of-jbossas-v420ga.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057353#4057353 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057353 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow
Since JBSEAM-1000 does not allow be to post a comment on this I'll do this here: Here is a part of my logfile related to this problem: [DEBUG] 15:43:42.965 jsf.SeamPhaseListener - after phase: RESTORE_VIEW 1 | [DEBUG] 15:43:42.965 core.Events - Processing event:org.jboss.seam.afterPhase | [DEBUG] 15:43:42.966 core.Manager- No stored conversation, or concurrent call to the stored conversation | [DEBUG] 15:43:42.968 core.Events - Processing event:org.jboss.seam.preSetVariable.org.jboss.seam.core.pageflow | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057355#4057355 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057355 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow
The pageflow testing does not work for me. On subsequent requests the pageflow is lost and set to null. Below is my code. Anyone can give me a hint on how to do this the correct way? There are no examples in seam releases or even cvs. String id = new NonFacesRequest(/public/register.xhtml) { | | @Override | protected void beforeRequest() { | setParameter(c, 1); | } | | @Override | protected void renderResponse() throws Exception { | Contexts.getSessionContext().set(person, new Person()); | Contexts.getSessionContext().set( | soapMailingJobCollectionAccess, | mailingJobCollectionAccess); | Contexts.getSessionContext().set(soapMailingJob, mailingJob); | // setValue(#{campaign.id}, 1); | | Pageflow pageflow = Pageflow.instance(); //-- Here the process instance is null (correct) | pageflow.begin(register); //-- Here the process instance is 'register' (correct) | assertEquals(register, pageflow.getNode().getName()); | | assertEquals(/public/register.xhtml, getRenderedViewId()); | } | | }.run(); | | id = new FacesRequest(/public/register.xhtml, id) { | | @Override | protected void processValidations() throws Exception { | assertTrue(validateValue(#{person.id.email}, email)); | assertTrue(validateValue(#{person.salutation}, MR)); | assertTrue(validateValue(#{person.mobile}, mobile)); | assertFalse(isValidationFailure()); | } | | @Override | protected void updateModelValues() throws Exception { | setValue(#{person.id.email}, email); | setValue(#{person.salutation}, Salutation.MR); | setValue(#{person.mobile}, mobile); | } | | @Override | protected void invokeApplication() throws Exception { | Pageflow pageflow = Pageflow.instance(); //-- Here the process instance is null (WRONG!!!) | pageflow.navigate(getFacesContext(), next); | assertEquals(confirm, pageflow.getNode().getName()); | } | | @Override | protected void renderResponse() throws Exception { | assertEquals(Test Campaign, | getValue(#{person.id.campaign.name})); | // XXX: (JBSEAM-1529) Gives NPE | // assertTrue(FacesMessages.instance().getCurrentGlobalMessages() | // .isEmpty()); | | IteratorFacesMessage messages = FacesContext | .getCurrentInstance().getMessages(); | assertTrue(messages.hasNext()); | assertEquals(msgPasswordSend, messages.next().getSummary()); | assertEquals(/public/confirm.xhtml, getViewId()); | assertTrue(isLongRunningConversation()); | } | | }.run(); | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057343#4057343 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057343 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem
Exposed interface method | @WebMethod | @WebResult(name=responseMessage) | public ResponseMessage eleaborateMessage( | @WebParam(name=requestMessage) | RequestMessage message); | Request bean | public class RequestMessage implements Serializable { | | ... | | private DataHandler attachment; | | @XmlMimeType(application/pdf) | public DataHandler getAttachment() { | return attachment; | } | | public void setAttachment(DataHandler attachment) { | this.attachment = attachment; | } | | ... | | } | The attachment arrive correctly to destination... but it's not an attachment! ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057357#4057357 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057357 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - 4.2.1CR1 ?
The roadmap mentions 4.2.2CR1. Will there also be a version 4.2.1CR1? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057337#4057337 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057337 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question: Can static parameters be used in *.page.xml?
If you are installing your Query components by configuring them in components.xml then you can specify a default order like this (from docs): framework:entity-query name=people ejbql=select p from Person p order=lastName max-results=20/ but if you are using extension you can do this (there's no examples from docs about query objects usage by extension, but of course you can look at a Seam-Gen code generated): public class PapelList extends EntityQuery { ... @Override public String getOrder() { if ( super.getOrder() != null ) return super.getOrder(); else return sigla asc; } It worked for me, but since I'm very new to Seam (and to web dev at all) I'm not sure if it is the best solution for default order of if it's a good code View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057332#4057332 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Scheduled messages not delayed
yes, the junit test in post by joel doesn't work with the transaction attribute = false and acknowledgement mode = Session.AUTO_ACKNOWLEDGE Fab View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057358#4057358 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - Re: JBoss 4.2.0 Persistence Provider
Persistence provider to be specified in Persistence.xml is Hibernate (default) Regards LakshmiPriya View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057331#4057331 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - JBoss IDE for developing Hibernate related project--some opt
Hi All and thanks in advance I hace a problem while developing an application using hibernate with POJO class using JBoss IDE for creating mapping file i did not get an option File--New--Other--Hibernate--Hibernate mapping file OR File--New--Other--Hibernate--Hibernate Artifact Generation so , how to create mapping file? can any body help me out for this problem like is there any other option to create mapping file? I am using JBoss IDE 1.5 and i am getting the options as below : File--New--Other--Select a wizard--Hibernate-- Hibernate Configauration file(cfg.xml) Hibernate Console Configauration Configauration Reverse Engineering File(reveng.xml) so , using these option how to create a mapping file? Thanks In Advance Divya View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057333#4057333 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057333 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: MTOM + WS Security = problem
Hello, Thanks for your answers, @richard_opalka: I agree, they are compatible, so to use attachments with WS Security, MTOM is the only and right way. @davideling: I have the same config. As I said on my first post, mtom only works, and ws security only also works. Are you sure that your encrypted soap envelope is created using mtom? Can you post one of your soap messages? And also the parameters of the exposed method or the wsdl file? I tried to get some soap message examples where mtom + ws security are enabled. I found two: -http://wso2.org/files/rampart-tute.pdf [page 81] -http://msdn2.microsoft.com/en-US/library/aa738574.aspx[bottom of the page] In these two message, we can see that: -Content-Type contains multipart/related and type=application/xop+xml -In the body of the soap message, there is a xop:Include element -In the body of the soap message, there is a CipherData and a CipherValue element -The attachment is in an encrypted mime part The two first points are the proof that mtom is enabled. The last ones indicate that ws security is active too. Im trying to achieve this kind of message with JbossWS. So far, no luck. :oD. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057334#4057334 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - JBOSS Portal and the portletridge Porlet
Hi I am trying to deploy the portletridge Porlet on JBOSS Portal 2.4 but during the deployment i get the following exception: | ... | 2007-06-25 14:36:31,453 DEBUG [org.jboss.portal.portlet.container.org_portletbridge_portlet_PortletBridgePortlet] Initialized portlet object org.portletbridge.portlet.PortletBridgePortlet | 2007-06-25 14:36:31,453 DEBUG [org.jboss.portal.core.deployment.jboss.PortletAppDeployment] Looking for the WEB-INF path of /portletbridge-portlet | 2007-06-25 14:36:31,484 DEBUG [org.jboss.portal.server.deployment.jboss.ServerDeployer] Start step for deployment PortletAppDeployment for url file:/C:/jboss-portal-2.4.1-test3/server/default/tmp/deploy/tmp9974portletbridge-portlet-exp.war/WEB-INF/src/java/webapp/WEB-INF/portlet.xml | 2007-06-25 14:36:31,484 DEBUG [org.jboss.portal.portlet.container.PortletApplicationImpl] Creating PortletApplicationImpl | 2007-06-25 14:36:31,484 DEBUG [org.jboss.portal.portlet.container.PortletApplicationImpl] Created PortletApplicationImpl | 2007-06-25 14:36:31,484 DEBUG [org.jboss.portal.portlet.container.PortletApplicationImpl] Starting PortletApplicationImpl | 2007-06-25 14:36:31,484 DEBUG [org.jboss.portal.portlet.container.PortletApplicationImpl] Started PortletApplicationImpl | 2007-06-25 14:36:31,484 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Start: name=portal:container=WebApp,id=/portletbridge-portlet state=Create | java.lang.IllegalArgumentException: This portlet app is already registered | at org.jboss.portal.portlet.container.PortletApplicationRegistryImpl.registerPortletApplication(PortletApplicationRegistryImpl.java:52) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | at $Proxy78.registerPortletApplication(Unknown Source) | at org.jboss.portal.portlet.container.PortletApplicationContextImpl.start(PortletApplicationContextImpl.java:96) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.jboss.joinpoint.plugins.reflect.ReflectMethodJoinPoint.dispatch(ReflectMethodJoinPoint.java:72) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions.dispatchJoinPoint(KernelControllerContextActions.java:92) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$LifecycleAction.installAction(KernelControllerContextActions.java:452) | at org.jboss.kernel.plugins.dependency.KernelControllerContextActions$KernelControllerContextAction.install(KernelControllerContextActions.java:147) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:226) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:593) | at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:346) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:438) | at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:379) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:225) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:151) | at org.jboss.kernel.plugins.dependency.AbstractKernelController.install(AbstractKernelController.java:74) | at org.jboss.portal.portlet.deployment.jboss.PortletAppDeployment.start(PortletAppDeployment.java:190) | at
[jboss-user] [Remoting] - Un/Marshaller not found
I am trying to have a socket server accepting plain text. I defined my service as: | server | mbean code=org.jboss.remoting.transport.Connector | name=jboss.remoting:service=Connector,transport=Socket | display-name=Socket transport Connector | attribute name=Configuration | | config | | invoker transport=socket |!-- The following are specific to socket invoker -- |attribute name=numAcceptThreads1/attribute |attribute name=maxPoolSize303/attribute |attribute name=clientMaxPoolSize isParam=true304/attribute |attribute name=socketTimeout6/attribute |attribute name=serverBindAddress${jboss.bind.address}/attribute |attribute name=serverBindPort8084/attribute |attribute name=enableTcpNoDelay isParam=truefalse/attribute |attribute name=backlog200/attribute |attribute name=datatype isParam=trueinvocation/attribute |attribute name=marshaller isParam=truecom.test.socket.V75SocketServer.TextMarshaller/attribute |attribute name=unmarshaller isParam=truecom.test.socket.V75SocketServer.TextUnMarshaller/attribute |attribute name=serverSocketClasscom.test.socket.V75SocketServer.SimpleInputStreamWrapper/attribute | /invoker | | handlers | handler subsystem=V75com.test.socket.V75SocketServer.Handler/handler | /handlers | /config | /attribute | | /mbean | /server | on deployment I get the following on the server: | Invoker started for locator: InvokerLocator [socket://x.x.x.x:8084/?clientMaxPoolSize=304datatype=invocationenableTcpNoDelay=falsemarshaller=com.test.socket.V75SocketServer.TextMarshallerunmarshaller=com.test.socket.V75SocketServer.TextUnMarshaller] | When I debug I see that my SimpleInputStreamWrapper is used but my marshaller/unmarshaller is not and I subsequently get the following exception: 23:13:00,031 ERROR [ServerThread] failed to process invocation. | java.io.StreamCorruptedException: invalid stream header | at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:764) | at java.io.ObjectInputStream.init(ObjectInputStream.java:277) | at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.init(ObjectInputStreamWithClassLoader.java:73) | at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:52) | at org.jboss.remoting.serialization.SerializationManager.createRegularInput(SerializationManager.java:44) | at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.receiveObject(JavaSerializationManager.java:123) | at org.jboss.remoting.marshal.serializable.SerializableUnMarshaller.read(SerializableUnMarshaller.java:66) | at org.jboss.remoting.transport.socket.ServerThread.processInvocation(ServerThread.java:350) | at org.jboss.remoting.transport.socket.ServerThread.dorun(ServerThread.java:398) | at org.jboss.remoting.transport.socket.ServerThread.run(ServerThread.java:239) | What am I missing? Please Help! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057342#4057342 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problem with EL method call in jboss 4.2 and facelet (newbie
Hi, I've just got started with seam, the el and facelets (been working with ejb3 on the server side for a little while). Until now its all just slotted together - really good stuff :) However - I've come grinding to a halt trying to use the EL extensions to call a method rather than just read properties. In my .xhtml file I have the fragment: | td | span class=PropValue#{criteria.entityPropertyValue(id)}/span | /td | I'm using a basic jboss 4.2 installation, I've taken the faces-config.xml and web.xml from the jboss 4.2 corrected version of the seam book booking example and I don't include the el jars in my ear file. I still get the stack trace: | javax.el.ELException: Error Parsing: #{criteria.entityPropertyValue(id)} | at org.apache.el.lang.ExpressionBuilder.createNodeInternal(ExpressionBuilder.java:125) | at org.apache.el.lang.ExpressionBuilder.build(ExpressionBuilder.java:146) | at org.apache.el.lang.ExpressionBuilder.createValueExpression(ExpressionBuilder.java:190) | at org.apache.el.ExpressionFactoryImpl.createValueExpression(ExpressionFactoryImpl.java:68) | at org.jboss.seam.ui.facelet.SeamExpressionFactory.createValueExpression(SeamExpressionFactory.java:107) | at com.sun.facelets.el.ELText$ELTextVariable.apply(ELText.java:161) | at com.sun.facelets.compiler.TextInstruction.apply(TextInstruction.java:56) | at com.sun.facelets.compiler.UIInstructionHandler.apply(UIInstructionHandler.java:85) | at com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314) | at com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49) | at com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47) | at com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25) | at com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95) | at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:546) | at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106) | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251) | at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63) | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79) | at org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49) | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at
[jboss-user] [JBossWS] - Elements sorted in Ascending order in WSDL
Hello there, new beginner in JBOSSWS. I went through the Getting started guide release 5 from JBOSS and developed a Small web service. Details: EJB: I have an entity bean that selects data from a view in HSQLDB with columns as Contract, Newdate, Company (all varchar) On top of entity bean i have a session bean that i use to access all records in a view (findAll()) using EJB ql. I have deployed the ejb - works fine Now i try to develop a webservice to access the VIEW (using the startup guide). Now when i run the wstool the WSDL file i get has elemnts in Ascending order of the name i.e element name=company nillable=true type=string element name=contract nillable=true type=string element name=newdate nillable=true type=string whereas i was expecting it to be in order same as column in the view element name=contract nillable=true type=string element name=newdate nillable=true type=string element name=company nillable=true type=string deployment of ws goes fine Now when i run my client and try to print contract, i get company name which mean that data is correct but element name is wrong Help needed what should i do to correct my problem so that the data for contract comes under element contract? /Amit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057360#4057360 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057360 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Features question
Hello there! I'd like to know if it is possible to achieve the following functionalities with version 1.3.0 (I've looked at the docs but could not find it) 1- Have a message router to dispatch XML message using XPath (I know its an ESB feature, but is it possible to have it on messaging?) 2- Dispatch messages from a Queue to another server instance (JMS-to-JMS bridge). I'd like to have some messages posted to a queue to be dispatched to another messaging instance. Is it possible? Sorry for the noob questions Best regards View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057361#4057361 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with EL method call in jboss 4.2 and facelet (ne
Try it with single quotes (I'm not sure if this will help). But, my best advice, is that there is a completely reworked el in the 1.3 release of Seam, and you should give that a go (its a lot less quirky ;) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057362#4057362 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: context
I have seen this workaround before I post here. This workaround is not working for me. Any other solution ? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057368#4057368 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057368 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow
Possibly this is caused by missing AbstractSeamJsfListener or ContextFilter, since test cases are not executing inside of a webapp. But both classes above call 'handleConversationPropagation' where the pageflow is validated and the conversation is restored (but I'm a noob to seam). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057369#4057369 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057369 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - JBoss startup problems with existing messages in queue
I have written an EJB 2.1 MDB which calls other stateless session bean methods in the onMessage method. If I restart the server with existing messages in the queue the messages are delivered before the system has finished the initialization. I got a lot of lookup exceptions during the startup. So, how can I delay the message delivery on jboss startup? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057370#4057370 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057370 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: UnitTesting and jBPM pageflow
Nope, the phase listener is registered and called, but I don't see the method call to afterRestoreView(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057371#4057371 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057371 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Problem with EL method call in jboss 4.2 and facelet (ne
Thanks, I gave it a go but got the error: Error Parsing: #{criteria.entityPropertyValue('id')} It looks like seam 1.3 is still alpha - I don't think I'm going be be able to sell that to the rest of the team :( View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057373#4057373 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How can I get the value from s:selectItems
@In is not valid, need to use get/set method. It's work now. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057375#4057375 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Features question
Vinicius... We don't have 1.. as you said it looks like an ESB feature. For 2 you could use the message bridge. http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/userguide-1.3.0.GA/html/bridge.html View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057374#4057374 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057374 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam performance concerns
What are your config values for Ajax4Jsf's 'forceparse' in web.xml and Seam 'debug' in components.xml: core:init debug=false ? I believe that by default, every request is routed through a Tidy filter, even for non-Ajax pages. forceparse = false will ensure that only Ajax requests go through the tidy process. Make sure debug = false as Seam will reload pages.xml and other resources on each page request which on my machine adds 50ms or so to each request. Between the struts and seam scenarios I assume you are using the identical JVM versions/parameters? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057377#4057377 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - cast entity to Long
When I merge entity Foo, got the following exception: trying to cast the entity to Long type, how could this be possible? Can someone give me some help on what might be the cause? Thanks! Caused by: java.lang.ClassCastException: xyz.Foo cannot be cast to java.lang.Long 20:28:20,493 ERROR [STDERR] at org.hibernate.type.LongType.set(LongType.java:42) 20:28:20,493 ERROR [STDERR] at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:83) 20:28:20,494 ERROR [STDERR] at org.hibernate.type.NullableType.nullSafeSet(NullableType.java:65) 20:28:20,494 ERROR [STDERR] at org.hibernate.loader.Loader.bindPositionalParameters(Loader.java:1513) 20:28:20,494 ERROR [STDERR] at org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1575) 20:28:20,494 ERROR [STDERR] at org.hibernate.loader.Loader.doQuery(Loader.java:661) 20:28:20,494 ERROR [STDERR] at org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) 20:28:20,494 ERROR [STDERR] at org.hibernate.loader.Loader.loadEntity(Loader.java:1784) 20:28:20,494 ERROR [STDERR] at org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:48) 20:28:20,494 ERROR [STDERR] at org.hibernate.loader.entity.EntityLoader.loadByUniqueKey(EntityLoader.java:85) 20:28:20,494 ERROR [STDERR] at org.hibernate.persister.entity.AbstractEntityPersister.loadByUniqueKey(AbstractEntityPersister.java:1581) 20:28:20,494 ERROR [STDERR] at org.hibernate.type.EntityType.loadByUniqueKey(EntityType.java:365) 20:28:20,494 ERROR [STDERR] at org.hibernate.type.EntityType.resolve(EntityType.java:306) 20:28:20,494 ERROR [STDERR] at org.hibernate.type.EntityType.replace(EntityType.java:207) 20:28:20,494 ERROR [STDERR] at org.hibernate.type.TypeFactory.replace(TypeFactory.java:437) 20:28:20,494 ERROR [STDERR] at org.hibernate.event.def.DefaultMergeEventListener.copyValues(DefaultMergeEventListener.java:340) 20:28:20,494 ERROR [STDERR] at org.hibernate.event.def.DefaultMergeEventListener.entityIsDetached(DefaultMergeEventListener.java:267) 20:28:20,495 ERROR [STDERR] at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:120) 20:28:20,495 ERROR [STDERR] at org.hibernate.event.def.DefaultMergeEventListener.onMerge(DefaultMergeEventListener.java:53) 20:28:20,495 ERROR [STDERR] at org.hibernate.impl.SessionImpl.fireMerge(SessionImpl.java:677) 20:28:20,495 ERROR [STDERR] at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:661) 20:28:20,495 ERROR [STDERR] at org.hibernate.impl.SessionImpl.merge(SessionImpl.java:665) 20:28:20,495 ERROR [STDERR] at org.hibernate.ejb.AbstractEntityManagerImpl.merge(AbstractEntityManagerImpl.java:227) 20:28:20,495 ERROR [STDERR] at org.jboss.ejb3.entity.TransactionScopedEntityManager.merge(TransactionScopedEntityManager.java:181) Which Hibernate version(SVN revision) is used by JBoss4.0.5GA? Where to get the Hibernate source code. I need to debug it. Thanks! Dave View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057379#4057379 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057379 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - hello example - executing the runing process
Hi, I've got a problem with the hello example from the sample folder of my jBPM BPEL extension. I am able to deploy the process executing the 5 ant tasks as it is described in the user guide! But when I would like to test my deployed process, it doesn work (neither the hello example nor the atm example). I am using *) jBoss AS 4.0.5GA *) jBPM BPEL 1.1Beta3 *) jWSDP 1.6 As soon as I want to execute the deployed WSDL I got the following exception at the jBoss Console: 2007-06-25 15:41:22,809 ERROR [org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC] - | SOAP request exception | java.lang.UnsupportedOperationException: setProperty must be overridden by all s | ubclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source) | at org.jboss.ws.core.soap.SOAPMessageImpl.init(SOAPMessageImpl.java:79 | ) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor | yImpl.java:234) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor | yImpl.java:171) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoin | t.java:185) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(Se | rviceEndpointManager.java:440) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(Abstra | ctServiceEndpointServlet.java:114) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.service(Abstr | actServiceEndpointServlet.java:75) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi | lter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl | icationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF | ilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV | alve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV | alve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit | yAssociationValve.java:175) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv | e.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j | ava:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j | ava:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConne | ctionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal | ve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav | a:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java | :869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.p | rocessConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpo | int.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWor | kerThread.java:112) | at java.lang.Thread.run(Thread.java:595) | 2007-06-25 15:41:22,825 ERROR [org.jboss.ws.core.server.AbstractServiceEndpointS | ervlet] - Error processing web service request | java.lang.UnsupportedOperationException: setProperty must be overridden by all s | ubclasses of SOAPMessage | at javax.xml.soap.SOAPMessage.setProperty(Unknown Source) | at org.jboss.ws.core.soap.SOAPMessageImpl.init(SOAPMessageImpl.java:79 | ) | at org.jboss.ws.core.soap.MessageFactoryImpl.createMessage(MessageFactor | yImpl.java:147) | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.toSOAPMessage(SOAPFaul | tHelperJAXRPC.java:199) | at org.jboss.ws.core.jaxrpc.SOAPFaultHelperJAXRPC.exceptionToFaultMessag | e(SOAPFaultHelperJAXRPC.java:176) | at org.jboss.ws.core.jaxrpc.SOAP11BindingJAXRPC.createFaultMessageFromEx | ception(SOAP11BindingJAXRPC.java:55) | at org.jboss.ws.core.CommonSOAPBinding.bindFaultMessage(CommonSOAPBindin | g.java:536) | at org.jboss.ws.core.server.ServiceEndpoint.handleRequest(ServiceEndpoin | t.java:221) | at org.jboss.ws.core.server.ServiceEndpointManager.processSOAPRequest(Se | rviceEndpointManager.java:440) | at org.jboss.ws.core.server.AbstractServiceEndpointServlet.doPost(Abstra
[jboss-user] [JBoss Seam] - Enabling the redirect filter
Hi, somewhere along the line I have lost the ability to enable the redirect filter (CVS build Mon Jun 25 morning SAST). I have the following configured in web.xml: | filter | filter-nameSeam Filter/filter-name | filter-classorg.jboss.seam.web.SeamFilter/filter-class | /filter | | filter-mapping | filter-nameSeam Filter/filter-name | url-pattern/*/url-pattern | /filter-mapping And the following in components.xml: component name=org.jboss.seam.web.redirectFilter | property name=urlPattern*.jsf/property | /component | Unfortunately I never see the my redirect filter being deployed... only filters enabled are: | 16:39:00,647 INFO [Contexts] starting up: org.jboss.seam.web.multipartFilter | 16:39:00,648 INFO [Contexts] starting up: org.jboss.seam.debug.hotDeployFilter | 16:39:00,649 INFO [Contexts] starting up: org.jboss.seam.web.exceptionFilter Any suggestions? Thanks Louis View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057381#4057381 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057381 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Bug with libraries (ajax4jsf-1.1.1), export excel and open d
Hi..., When I use libraries(ajax4jsf,ajax4jsf-cdk) export excel and when I open a word document which I downloaded, It works whereas with libraries (ajax4jsf-1.1.1,richfaces-3.0.1) It doesn't work. Why? please help me. That gives an error : anonymous wrote : javax.servlet.ServletException: Servlet response already use stream, Writer not possible | javax.faces.webapp.FacesServlet.service(FacesServlet.java:154) org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) | ... | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057382#4057382 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057382 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - [SOLVED] Re: UnitTesting and jBPM pageflow
Ok, got it running! :) I have to call a method on my component annotated with @Begin(join=true, pageflow=name) to start the pageflow AND converstation as long running. The problem when calling the Pageflow.instance().begin() is that there is no long-running conversation, at least in my case. I have set the pageflow start directive in my pages.xml which does reside in another project for unit tests and is only available when deployed in a container environment. Hope this does help anyone having problems. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057383#4057383 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057383 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Bug with libraries [b]ajax4jsf-1.1.1[/b], export excel and o
Hi..., When I use libraries(ajax4jsf,ajax4jsf-cdk) export excel and when I open a word document which I downloaded, It works whereas with libraries (ajax4jsf-1.1.1,richfaces-3.0.1) It doesn't work. Why? please help me. That gives an error : anonymous wrote : javax.servlet.ServletException: Servlet response already use stream, Writer not possible | javax.faces.webapp.FacesServlet.service(FacesServlet.java:154) org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127) org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:100) org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147) | ... | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057384#4057384 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057384 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: hello example - executing the runing process
GOOGLE lead me to this: http://jira.jboss.org/jira/browse/JBWS-1439 with just 3 search terms: UnsupportedOperationException jbpm bpel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057385#4057385 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - message expiration upon a condition
Hi all, I need to make a message in a topic expired (ttl=0) upon arrival of a newer message with the same id (property). I imagine that this can be done by creating my own version of the TracingInterceptor that overrides the addMessage method and invokes the setJMSExpiration() on all messages with the same property that exist in the destination. But this doesn't seem to be the most performant way of doing this. Can anybody suggest a better way of doing this (e.g. delete messages from the destination before insertion on the resource layer)? Thanks a lot! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057387#4057387 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057387 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to download souce code in jbpm-console.war web part?
Hi Ronald, I searched both jboss.com and jboss.org. All lead me back to http://labs.jboss.com/jbossjbpm/downloads, which goes to source forge. What does STTF mean? Can you post a link to the cvs page? Thanks, Justin View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057388#4057388 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057388 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?
Pete, When you say CONVERSATION do you specifically mean a LONG RUNNING CONVERSATION or a TEMPORARY CONVERSATION? Is there a standard meaning of Long Running Conversation when members post Conversation in messages of this forum? I think it may also be necessary for the links or buttons that perform pagination to take part in the submission of the dataTable fields (ie the jsf postback) in order to update the database. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057391#4057391 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: non-ssl user authentication?
I opened an issue for this: http://jira.jboss.com/jira/browse/JBREM-759 I'm kind of amazed that I'm the first one to request non-ssl client username/password authentication like this. -Clark View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057392#4057392 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?
Yes, a long running conversation. A temporary conversation is not very interesting. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057397#4057397 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057397 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Editable tabular data the seam way?
I agree, as I have tried your approach before, Pete. Unfortunately it didn't work with pagination, that's why I decided to have a SFSB which extends EntityQuery. I would really appreciate a Seam example where I can have a dataTable (fine if it's not richfaces datatable, but nice-to-have ;-) with a bunch of inputTexts inside columns, where pagination, sorting, etc. works without having to check if the submitted values really belong into the currently (visible) row. I am quite certain that Seam does not provide this functionality out-of-the-box now, but if you think it's worth a feature request, I'll be glad to post it. The reason why I don't like my SFSB approach is that it may not work in future releases because of possible framework changes + my SFSB expects all entities to extend one special MappedSuperclass named PersistableObject. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4057398#4057398 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4057398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user