[jboss-user] [JBoss Seam] - taglib error...
i am using sem-gen. my facelets page has a -display tag library. http://www.w3.org/1999/xhtml"; xmlns:d="http://displaytag.sf.net";> i used its compunent table as 123 abc nocomment but when i run my page instead of displaying a table it shows be just: 123 abc nocomment when i viewed the page sourcecode in html (using view source in browser) i see that facelets just passed it as it was instead converting it into html i.e it had 123 abc nocomment as its output (Note: i then removed all the libs for it and again deployed the application and again same results. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023515#4023515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers
Can you look if KernelControllerContextAware interface is present with v1.0? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023514#4023514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Declaring session beans in ejb-jar.xml
In the case where there exists an abstract base class with member level annotations and an inheriting subclass SFSB, a basic Seam app works fine where the @Stateful annotation exists in the inheriting subclass. In this case, the jboss logs show: | Component: register, scope: EVENT, type: STATEFUL_SESSION_BEAN, class: org.test.hotelbooking.RegisterActionBean, JNDI: booking-seam-1.0-SNAPSHOT/RegisterActionBean/local | However, say instead of specifying the @Stateful annotation on the SFSB subclass, I define the session bean in the ejb-jar.xml like so: | | Register Action Bean | RegisterActionBean | org.test.hotelbooking.RegisterActionLocal | org.test.hotelbooking.RegisterActionBean | Stateful | Container | | the bean is not registered as a SFSB Seam component, rather a javabean Seam component. | Component: register, scope: EVENT, type: JAVA_BEAN, class: org.test.hotelbooking.RegisterActionBean, JNDI: booking-seam-1.0-SNAPSHOT/RegisterActionBean/local | Bear in mind, instead of specifying the @Name and @Scope annotations on the bean (subclass), we define them in components.xml like so: | | Any ideas how we can define these beans as SFSB rather than javabeans and avoid using the @Stateful in the bean subclass? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023512#4023512 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023512 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Shared session context
See http://www.jboss.org/wiki/Wiki.jsp?page=SingleSignOn View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023510#4023510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: Problems while using JBoss Cache Replication in Cluster
The Stack Trace for the problem is pasted below: I am using Jboss cache version 1.4.1.GA. 12:56:19,980 INFO [TxInterceptor] There was a problem handling this request java.lang.reflect.InvocationTargetException at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.cache.TreeCache.callRemoteMethodsViaReflection(TreeCache.ja va:4352) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:4307) at org.jboss.cache.loader.ClusteredCacheLoader.callRemote(ClusteredCache Loader.java:75) at org.jboss.cache.loader.ClusteredCacheLoader.put(ClusteredCacheLoader. java:143) at org.jboss.cache.interceptors.CacheStoreInterceptor.invoke(CacheStoreI nterceptor.java:216) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.TxInterceptor.handleNonTxMethod(TxInterc eptor.java:364) at org.jboss.cache.interceptors.TxInterceptor.invoke(TxInterceptor.java: 160) at org.jboss.cache.interceptors.Interceptor.invoke(Interceptor.java:68) at org.jboss.cache.interceptors.CacheMgmtInterceptor.invoke(CacheMgmtInt erceptor.java:157) at org.jboss.cache.TreeCache.invokeMethod(TreeCache.java:5710) at org.jboss.cache.TreeCache.put(TreeCache.java:3782) at org.jboss.cache.aop.PojoCache.lockPojo(PojoCache.java:631) at org.jboss.cache.aop.PojoCache.removeObject(PojoCache.java:529) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker. java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy100.removeObject(Unknown Source) at com.ingrid.ibp.isi.server.hppconfig.HppStatusManager.UpdateDssReport( HppStatusManager.java:388) at com.ingrid.ibp.isi.server.hppconfig.HPPManager.dssReport(HPPManager.j ava:1227) at com.ingrid.ibp.isi.server.adapter.HCSInboundAdapterMDB.processMessage (HCSInboundAdapterMDB.java:217) at com.ingrid.ibp.isi.server.adapter.HCSInboundAdapterMDB.onMessage(HCSI nboundAdapterMDB.java:88) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl. java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces sorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.invocation.Invocation.performCall(Invocation.java:359) at org.jboss.ejb.MessageDrivenContainer$ContainerInterceptor.invoke(Mess ageDrivenContainer.java:495) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invo ke(CachedConnectionInterceptor.java:158) at org.jboss.ejb.plugins.MessageDrivenInstanceInterceptor.invoke(Message DrivenInstanceInterceptor.java:116) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidation Interceptor.java:63) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInte rceptor.java:121) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxIntercep torCMT.java:350) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:1 81) at org.jboss.ejb.plugins.RunAsSecurityInterceptor.invoke(RunAsSecurityIn terceptor.java:109) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:205) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFacto ryFinderInterceptor.java:136) at org.jboss.ejb.MessageDrivenContainer.internalInvoke(MessageDrivenCont ainer.java:402) at org.jboss.ejb.Container.invoke(Container.java:954) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.invoke(JMSContainerInvo ker.java:987) at org.jboss.ejb.plugins.jms.JMSContainerInvoker$MessageListenerImpl.onM essage(JMSContainerInvoker.java:1287) at org.jboss.jms.asf.StdServerSession.onMessage(StdServerSession.java:26 6) at org.jboss.mq.SpyMessageConsumer.sessionConsumerProcessMessage(SpyMess ageConsumer.java:905) at org.jboss.mq.SpyMessageConsumer.a
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Shared session context
Hello! Well, what we need is shared session context between multiple WEB modules inside single enterprise application. I know that this is not allowed by servlet specification, but... Few other app.servers support that: BEA, WAS. Well, this feature is very interesting because you don't need to transfer security credentials between WEB modules and create separate session context for every WEB module. It doesn't matter which WEB module creates session context, other modules can read and use it. I have read somewhere on the Internet that JBoss doesn't support that YET and that the JBoss team has decided to add this feature in version 4... Any news about this? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023508#4023508 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023508 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: problem with getVariable of serializable Object value
Apparently the class loader under which the object is deserialized is not the same loader under which the object was serialized. You mention you put the class in the lib directory of the server so that jBPM could get the value. How was it serialized in the first place? That is, where does the class definition you used to instantiate and set the value come from? If you placed your class in more than one location (e.g. the lib directory of your web module, the classes directory of your process archive) it will likely be loaded by different class loaders. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023507#4023507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
I highly doubt that you have a class called "login_user", so I'm sure this query never worked in any version of Hibernate. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023503#4023503 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023503 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
1.2 did not solve the problem. I am still running into the error: | 23:02:21,453 INFO [Lifecycle] starting up: org.jboss.seam.security.identity | 23:02:22,625 INFO [Pages] reading pages.xml | 23:02:23,546 INFO [STDOUT] Verify login for tony | 23:02:23,718 ERROR [SeamLoginModule] Error invoking login method | javax.faces.el.EvaluationException: org.hibernate.hql.ast.QuerySyntaxException: login_user is not mapped [select u from login_user u where u.username=:username and u.password=:password] | Gavin, can you help? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023502#4023502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with process composition
I found the problem: This is my main process: This is my sub process: When I deploy the sub process and main process: public void deployProcessDefinition() { // / Extract a process definition from the processdefinition.xml // file. ProcessDefinition processDefinition = ProcessDefinition.parseXmlResource("main/processdefinition.xml"); assertNotNull("Definition should not be null", processDefinition); // Create an instance of the process definition. ProcessInstance instance = new ProcessInstance(processDefinition); JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); try { // Deploy the process definition in the database jbpmContext.deployProcessDefinition(processDefinition); } finally { // Tear down the pojo persistence context. // This includes flush the SQL for inserting the process // definition // to the database. jbpmContext.close(); } } It adds new records in all neccessary tables but it did not insert the sub process definition id (subprocessdefinition_) into table jbpm_node, after I manually insert this id, it works How could we fix this bug? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023501#4023501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: SSL on EJB3 not working for jboss4.0.5GA ?
I have the same problem after I tried to use SSL with jboss-4.0.5.GA. I am getting this exception from server 00:32:35,114 ERROR [SSLSocketServerInvoker] Failed to accept socket connection java.lang.reflect.InvocationTargetException at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) at java.lang.reflect.Constructor.newInstance(Constructor.java:494) at org.jboss.remoting.transport.socket.ServerThread.createServerSocket(ServerThread.java:184) at org.jboss.remoting.transport.socket.ServerThread.(ServerThread.java:86) at org.jboss.remoting.transport.socket.SocketServerInvoker.processInvocation(SocketServerInvoker.java:426) at org.jboss.remoting.transport.socket.SocketServerInvoker.run(SocketServerInvoker.java:388) at java.lang.Thread.run(Thread.java:595) Caused by: java.io.StreamCorruptedException: invalid stream header at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:753) at java.io.ObjectInputStream.(ObjectInputStream.java:268) at org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.(ObjectInputStreamWithClassLoader.java:73) at org.jboss.remoting.serialization.impl.java.JavaSerializationManager.createInput(JavaSerializationManager.java:52) at org.jboss.remoting.transport.socket.ServerSocketWrapper.createInputStream(ServerSocketWrapper.java:56) at org.jboss.remoting.transport.socket.ClientSocketWrapper.createStreams(ClientSocketWrapper.java:76) at org.jboss.remoting.transport.socket.ClientSocketWrapper.(ClientSocketWrapper.java:54) at org.jboss.remoting.transport.socket.ServerSocketWrapper.(ServerSocketWrapper.java:50) ... 9 more from client I am getting this exception Caused by: java.io.EOFException: SSL peer shut down incorrectly at com.sun.net.ssl.internal.ssl.InputRecord.read(InputRecord.java:321) at com.sun.net.ssl.internal.ssl.SSLSocketImpl.readRecord(SSLSocketImpl.java:720) ... 37 more View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023499#4023499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Possible failure mode?
Hi Alex, This discussion is independent of the transport; that is, it applies equally well to the socket transport, for example. Here's an abstraction of the behavior for the case of a synchronous invocation. 1. The application calls Client.invoke(). 2. The client side of the transport marshals the invocation to the network and waits for the result. 3. The server side of the transport unmarshals the invocation and passes it the application's ServerInvocationHandler. 4. The ServerInvocationHandler returns a result. 5. The server side of the transport marshals the result to the network. 6. The client side of the transport unmarshals the result and returns it. 7. Client.invoke() returns the result to the application. Now, suppose that the client gets disconnected sometime after step 2. The ServerInvocationHandler would, by default, have no way of knowing of the connection failure, it would return its result, and the transport would fail in step 5, throwing an exception. However, Remoting does have a way of informing the application on the server side of connection failures by way of the Lease mechanism, in which a connection is continuously checked at some configured rate. Please see Chapter 8, "Connection Exception Listeners and Leasing" of the Remoting documentation at http://labs.jboss.com/portal/jbossremoting/docs/guide/ch08.html for more information about setting up leasing. When leasing is enabled on the server and the client requests leasing for a connection, then the org.jboss.remoting.ConnectionListener registered with the server by a call to Connector.addConnectionListener() will be informed if that connection has failed. The ConnectionListener could then take whatever steps are appropriate to the application, including, for example, attempting to return the result at a later time. The idea of returning the result at a later time leads us to the general possibility of asynchronous processing and callbacks. Remoting supports the ability of the server to send information to the client, independent of any particular invocation. Briefly, the application registers an InvokerCallbackHandler on the client side with a call to Client.addListener(), and, on the server side, the ServerInvocationHandler is informed of the existence of the InvokerCallbackHandler by a call to ServerInvocationHandler.addListener(), which passes in a server side "proxy" of the InvokerCallbackHandler. The ServerInvocationHandler can pass information to the client at any time by calling handleCallback() on the proxy. Callbacks could be used with or without the ConnectionListener. For example, in the case of a synchronous invocation, the ServerInvocationHandler could cache the result and, if informed by the ConnectionListener of a connection failure, it could attempt to deliver the result as a callback. Or, the application could be designed to return all result asynchronously by callback. In either case, when the ServerInvocationHandler calls InvokerCallbackHandler.handleCallback() (which is analogous to Client.invoke()), it will be informed, by catching an exception, of the failure to return a callback and it can reschedule the callback for a later time. I've omitted other modes of using callbacks, e.g., pull callbacks. For more information, see section 5.6 "Callbacks" of the Remoting documentation: http://labs.jboss.com/portal/jbossremoting/docs/guide/ch05.html#d0e2609 By the way, if you investigate further and want to submit an example of failure handling, it would be appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023495#4023495 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023495 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: EJB3 Cluster application JMS Error-JBoss 4.0.5GATrailBla
Hello folks, I got the Error while trying to Login in the clusterstore application in web console. Error: Incorrect credentials, please try again I have read the Wiki link http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigJBossMQSecurity But, still not able to configure my jbossmq security domain. Anybody, please explain me how to do it, and where to do it. Any help is greatly appreciated. Thanks in Advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023494#4023494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
With the (created=true) flag, I now got this: | 21:54:46,578 INFO [Lifecycle] starting up: org.jboss.seam.security.identity | 21:54:46,734 INFO [Pages] reading pages.xml | 21:54:46,843 INFO [STDOUT] Verify login for tony | 21:54:46,843 ERROR [SeamLoginModule] Error invoking login method | javax.faces.el.EvaluationException: org.hibernate.hql.ast.QuerySyntaxException: login_user is not mapped [select u from login_user u where u.loginId=:username and u.password=:password] | Note that this same select statement worked with LoginAction which was a session bean. I will try to upgrade to 1.2 tomorrow and see if that would make a difference. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023491#4023491 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023491 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Reporting tool integration with jboss portal
hi, The requirement is to explore the possibility of integrating reporting tools with jboss portal server. I understand that jasper reports can be integrated with jboss portal thro the API exposed. Similarly,are there any other reporting tools that can be integrated? Particularly,Business Objects. Please help. Thanx! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023490#4023490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - JSF Warnings at EJB3 Cluster application-JBoss 4.0.5GATrailB
Hello JBoss Folks, I'm trying to deploy the EJB3 POJO Cluster TrailBlazer Demo application called "clusterstore" in EJB3 Cluster server configuration of JBoss AS 4.0.5.GA, MySQL in HP-UX OS. I have used the tomahawk-1.1.3.jar and modified the web.xml file as told in the JBoss Wiki http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossWithIntegratedMyFaces I'm getting the following warnings while accessing the application in web-console, clicking the checkout button of the application. | 06:32:45,649 INFO [[/clusterstore]] No state saving method defined, assuming default server state saving | 06:32:45,702 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource | 06:32:45,702 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.PRETTY_HTML' found, using default value true | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ALLOW_JAVASCRIPT' found, using default value true | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.DETECT_JAVASCRIPT' found, using default value false | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.AUTO_SCROLL' found, using default value false | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.ADD_RESOURCE_CLASS' found, using default value org.apache.myfaces.renderkit.html.util.DefaultAddResource | 06:32:45,858 INFO [MyfacesConfig] No context init parameter 'org.apache.myfaces.CHECK_EXTENSIONS_FILTER' found, using default value true | | | 06:37:34,099 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:37:36,623 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:37:39,938 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | 06:37:42,525 WARN [HtmlGridRendererBase] PanelGrid _idJsp1 has not enough children. Child count should be a multiple of the columns attribute. | | Please help me. Thanks in Advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023489#4023489 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023489 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem
Thanks for the immediate response. I am new to EJB. Can you please provide me a link to get the datasource using remote session bean facade? Thank you, Gopi View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023488#4023488 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023488 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: selectOneMenu and commandButton conflict
"petemuir" wrote : | | Foo is the backing bean on which you wish to set the application property. It could be just #{application} - though I'm not sure how well this works on the whole. ok, 1. i had entityconverter.jar into my war file 2.my project component.xml file looks like : | | | | "applicationHome" is baking bean for login page. "application" is name of this baking bean instance. "applications" is is entity query. 3. my login page looks like | | | | | in "h:selectOneMenu" component "#{application}" is name of the baking bean, in "s:selectItems" component "#{applications.resultList}" is the result of entity query the var attribute point to the factory. ant at list this is is for converting entity. but always i got the same error | Value is no String (class=com.magti.seam.beans.billAdmin.Application, value=com.magti.seam.beans.bil | lAdmin.Application[applicationId=4]) and component _id17:_id26with path: {Component-Path : [Class: j | avax.faces.component.UIViewRoot,ViewId: /login.xhtml][Class: javax.faces.component.html.HtmlForm,Id: | _id17][Class: org.jboss.seam.ui.UIDecorate,Id: _id25][Class: javax.faces.component.html.HtmlSelectO | neMenu,Id: _id26]} does not have a Converter | is another way to resolve this problem? without entity converter ? or what i did wrong ? oo and i put entityconverter.jar into jboss server lib folder. is it needed ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023486#4023486 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023486 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Patch release: http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=163777&release_id=489903 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023484#4023484 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023484 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Problem with process composition
I have the same problem even I already have deployed sub processs and the sub process name is in the table jbpm_processdefinition. Could you please give us a solution? Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023483#4023483 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023483 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Evaluating IOC Containers
I believe all this JMX support is for microcontainer that is supplied with Jboss5, I think the MC release is 2.0, is there any JMX support in prior release, the one supplied with Jboss 4.x (release 1.0, I guss.) ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023482#4023482 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023482 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Undeploy ProcessDefinition........
I am trying to undeploy processdefinition from oracle database by using jbpm api. but it is throughing error. these are follows code: JbpmConfiguration jbpmConfiguration = JbpmConfiguration.getInstance(); | JbpmContext jbpmContext = jbpmConfiguration.createJbpmContext(); | try { | ProcessDefinition processDefinition = jbpmContext.getGraphSession().findLatestProcessDefinition(processDefn.getName()); | jbpmContext.getGraphSession().deleteProcessDefinition(processDefinition); | }finally { | jbpmContext.close(); | } | error: 12:48:23,799 WARN [JDBCExceptionReporter] SQL Error: 904, SQLState: 42000 | 12:48:23,799 ERROR [JDBCExceptionReporter] ORA-00904: "TEMPLATESE0_"."ID_": inva | lid identifier | | 12:48:23,831 ERROR [STDERR] org.hibernate.exception.SQLGrammarException: could n | ot initialize a collection: [org.jbpm.taskmgmt.def.Task.templateSet#1662789] | at org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.j | ava:65) | at org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelp | er.java:43) | at org.hibernate.loader.Loader.loadCollection(Loader.java:1926) | at org.hibernate.loader.collection.CollectionLoader.initialize(Collectio | nLoader.java:71) | at org.hibernate.persister.collection.AbstractCollectionPersister.initia | lize(AbstractCollectionPersister.java:520) | at org.hibernate.event.def.DefaultInitializeCollectionEventListener.onIn | itializeCollection(DefaultInitializeCollectionEventListener.java:60) | at org.hibernate.impl.SessionImpl.initializeCollection(SessionImpl.java: | 1627) | at org.hibernate.collection.AbstractPersistentCollection.initialize(Abst | ractPersistentCollection.java:344) | at org.hibernate.collection.AbstractPersistentCollection.read(AbstractPe | rsistentCollection.java:86) | at org.hibernate.collection.PersistentSet.iterator(PersistentSet.java:13 | 8) | at org.hibernate.type.CollectionType.getElementsIterator(CollectionType. | java:196) | at org.hibernate.type.CollectionType.getElementsIterator(CollectionType. | java:188) | at org.hibernate.engine.CascadingAction.getAllElementsIterator(Cascading | Action.java:266) | at org.hibernate.engine.CascadingAction.access$100(CascadingAction.java: | 21) | at org.hibernate.engine.CascadingAction$2.getCascadableChildrenIterator( | CascadingAction.java:52) | at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:2 | 88) | at org.hibernate.engine.Cascade.cascadeCollection(Cascade.java:185) | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:160) | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108) | at org.hibernate.engine.Cascade.cascade(Cascade.java:248) | at org.hibernate.engine.Cascade.cascade(Cascade.java:223) | at org.hibernate.event.def.DefaultDeleteEventListener.cascadeBeforeDelet | e(DefaultDeleteEventListener.java:220) | at org.hibernate.event.def.DefaultDeleteEventListener.deleteEntity(Defau | ltDeleteEventListener.java:169) | at org.hibernate.event.def.DefaultDeleteEventListener.onDelete(DefaultDe | leteEventListener.java:110) | at org.hibernate.impl.SessionImpl.fireDelete(SessionImpl.java:764) | at org.hibernate.impl.SessionImpl.delete(SessionImpl.java:757) | at org.hibernate.engine.CascadingAction$2.cascade(CascadingAction.java:4 | 7) | at org.hibernate.engine.Cascade.cascadeToOne(Cascade.java:213) | at org.hibernate.engine.Cascade.cascadeAssociation(Cascade.java:157) | at org.hibernate.engine.Cascade.cascadeProperty(Cascade.java:108) | at org.hibernate.engine.Cascade.cascadeCollectionElements(Cascade.java:2 | 90) i have checked so many messages about this topic e.g. http://www.jboss.com/index.html?module=bb&op=viewtopic&t=78471 http://www.jboss.com/index.html?module=bb&op=viewtopic&t=82667 i have tried to delete processinstance before processdefinition code: jbpmContext.getGraphSession().deleteProcessInstance(pi); but still i am not able to undeploy if someone who has encountered this problem can u plz help me out regarding this. thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023481#4023481 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023481 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Can secure jmx-console but not my own web app!!!
Hi jaikiran, Thanks, it worked! Just copied that part from the other posts and overlooked that part. Thanks and regards, cgt001 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023480#4023480 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023480 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: NamingException: Could not dereference object - EJB 3.0
Looks similar to this issue: http://jboss.com/index.html?module=bb&op=viewtopic&t=98072&view=previous View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023479#4023479 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023479 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Re: JNDI Problem
Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=HowCanIAccessADataSourceFromAClient However, this is not a recommended approach as mentioned at http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources anonymous wrote : Note: JBoss does not recommend using this feature on a production environment. It requires accessing a connection pool remotely and this is an anti-pattern as connections are not serializable. Besides, transaction propagation is not supported and it could lead to connection leaks if the remote clients are unreliable (i.e crashes, network failure). If you do need to access a datasource remotely, JBoss recommends accessing it via a remote session bean facade. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023478#4023478 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023478 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Can secure jmx-console but not my own web app!!!
anonymous wrote : java:/jass/My-web Looks like a typo, that should have been: anonymous wrote : java:/jaas/My-web View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023476#4023476 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023476 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Can secure jmx-console but not my own web app!!!
Hi, Can anybody out there show me how to secure a web app? I have successfully secured jmx-console using the DatabaseServerLoginModule but can't access a deployed web (sample web) in my JBOSS AP server. Below are the configurations made for my sample web. login-config.xml entries java:/DefaultDS SELECT PASSWD FROM JMS_USERS WHERE USERID=? SELECT ROLEID, 'Roles' FROM JMS_ROLES WHERE USERID=? - jboss-web.xml entries java:/jass/My-web /My-web --- web.xml file entries my-web An example security config that only allows users with the role WebAppUser to access the My-web web application /* GET POST WebAppUser BASIC My-web Realm WebAppUser - JBoss server log javax.naming.NamingException: Could not dereference object [Root exception is javax.naming.NameNotFoundException: jass not bound] at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1067) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:700) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:488) at org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:180) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:490) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) Caused by: javax.naming.NameNotFoundException: jass not bound at org.jnp.server.NamingServer.getBinding(NamingServer.java:529) at org.jnp.server.NamingServer.getBinding(NamingServer.java:537) at org.jnp.server.NamingServer.getObject(NamingServer.java:543) at org.jnp.server.NamingServer.lookup(NamingServer.java:267) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(InitialContext.java:351) at org.jnp.interfaces.NamingContext.resolveLink(NamingContext.java:1061) ... 16 more Thanks, cgt001 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023475#4023475 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023475 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Siebel Resource Adapter for JBoss
Hi Weston .. Thanks a lot. You have made my day. :) We did a small change in notifyClose by passing the reference of connection object as a connection handle to connection even object and things worked fine once again thanks a lot... u r a genious View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023474#4023474 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023474 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: Siebel Resource Adapter for JBoss
Hi Weston, I will just explain the scenario, 1) When I call factory.getConnection() method the container calls the "createManagedConnectionConnection" method with an instance of "ConnectionManager" being passed as an argument.If I print the class-name the output is "BaseConnectionManager2" class of JBoss. 2) We are expecting the entire control being taken over by JBoss.Similarly the task of creating the connection and attaching a listener to it is expected to be done by the ConnectionManager.Therefore we are relying on BaseConnectionManager2 to create a connection and attach a listener to it. 3) In ManagedConnection's close method we are invoking the listeners explicitly.So as per our understanding the task of associating a Connection with its litener is the task of JBoss and not our RA. Correct me If I m wrong. ManagedConnection's close method and "notifyClose" method that invokes the listeners attached to the connection. public void close() { | notifyClose(); | myConnection.invalidate(); | } | | public void notifyClose() { | ConnectionEvent ce = new ConnectionEvent(this, ConnectionEvent.CONNECTION_CLOSED); | ConnectionEventListener cel = null; | for(Iterator i = eventListeners.iterator(); i != null && i.hasNext();) { | Object obj = i.next(); | System.out.println("Event Listener Class = " + obj.getClass().getName()); | cel = (ConnectionEventListener)obj; | cel.connectionClosed(ce); | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023473#4023473 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023473 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - unable to observe result of action handler on console
hi, i'm able to call action handlers and the process is executing without giving any exceptions("error calling action handler"). but i'm NOT ABLE to observe the result of executing an action handler on the console.what has to be done? thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023470#4023470 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023470 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Jboss ESB Generic methods + Documentation
Hi Guys , >From the documentation I was able to run the sample application provided by >Jboss People. But I am unable to track the flow of the application. I want to >develop a generic method so that the developer will call that method to send a >Message and he will get a response Message. Can anybody tell me how to develop >a customized ESB application so that it can be used in the application. I need >a stater guide to achieve this. I would like to make it more specific that a >message will go in one Queue and response will be acknowledged in another >Queue. My method structure will be like this public Message sendAndGet(Message msg,... some other parameters) { //Receive the message and send it to Queue A //make a webservice call //Generate a response message //Send the response message to the caller //The response message should come from the Queue B } If I get any response in this regard, I will be obliged to the Jboss community. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023467#4023467 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023467 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
http://fisheye.jboss.com/changelog/JBoss/jboss-seam?cs=MAIN:gavin:2007022825 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023465#4023465 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023465 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Based on the stack trace below, I don't think my little hack worked. Since the this server running this code sits behind a fairly restrictive proxy, how can I fix this problem? tia, -Doug Exception during request processing: org.dom4j.DocumentException: Connection timed out: connect Nested exception: Connection timed out: connect | org.dom4j.io.SAXReader.read(SAXReader.java:484) | org.dom4j.io.SAXReader.read(SAXReader.java:343) | org.jboss.seam.util.XML.getRootElement(XML.java:16) | org.jboss.seam.core.Pages.getDocumentRoot(Pages.java:791) | org.jboss.seam.core.Pages.parse(Pages.java:781) | org.jboss.seam.core.Pages.createPage(Pages.java:172) | org.jboss.seam.core.Pages.getPage(Pages.java:147) | org.jboss.seam.core.Pages.createPageStack(Pages.java:229) | org.jboss.seam.core.Pages.getPageStack(Pages.java:208) | org.jboss.seam.core.Pages.applyRequestParameterValues(Pages.java:593) | org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:176) | org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:57) | org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023463#4023463 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023463 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Two basic questions from a new potential user
Hello all, I really appreciate the time you are taking to look into this. Thanks in advance. Question 1: J2EE Question I want to implement EJB3 using JBoss on a Solaris server for JSP, Servlets, and Web Services. Is it possible to implement a persistent/transactional model with using enterprise beans and session / message beans and still keep a library that can be used on a disconnected client application? Currently we use our library to manage a list of people for example in our client/server model as well as a single standing swing application. Can I continue to use that library in both client and server? Question 2: JBoss Deployment Question We currently use Tomcat for our web application. The problem is that we cannot deploy without people losing their sessions. We pretty much have people in our system 24/7 so that poses a problem. Can JBoss support deployment of new web applications without the current users losing their sessions? Thanks in advance to everyone that can help me out. Jared View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023455#4023455 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023455 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Non-coding contributions?
My apologies, I thought I had posted this to the Beginners Corner. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023451#4023451 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023451 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Non-coding contributions?
Hello. Does JBoss accept contributions from non-coders / testers? I'm a systems analyst, so my training and experience is focused on the logical system design. While I can get by in Java, I'm hardly an expert. Would there be any use for my skills (UML, UI, database modeling, business logic etc.) here? If so, what would be the best way to go about contributing? The primary project I've been looking at is JBoss Portal. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023452#4023452 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023452 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Non-coding contributions?
Hello. Does JBoss accept contributions from non-coders / testers? I'm a systems analyst, so my training and experience is focused on the logical system design. While I can get by in Java, I'm hardly an expert. Would there be any use for my skills (UML, UI, database modeling, business logic etc.) here? If so, what would be the best way to go about contributing? The primary project I've been looking at is JBoss Portal. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023449#4023449 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023449 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - null exception on @inject in ICEfaces PanelTabListener
Hi there, I tried to inject a Seam session bean into panelTabListener, but I always got null value. The code is follows:@Name("tabListenerImpl") | @Stateless | public class TabListenerImpl implements TabChangeListener { | | @In (create=true, required=true) | @Out (required=false) | private ProjectFinder projectFinder; | | public void processTabChange(TabChangeEvent e) throws AbortProcessingException { | int index = e.getNewTabIndex(); | if (index == 0) | projectFinder.find(); | } | } The jsp code: | | | | | | | | | | | | | | | | | I don't what is wrong with code, or some issues on ICEfaces+Seam. Anybody can give some direction? Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023443#4023443 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023443 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: http://www.karwell.com/apropos/equipe/JMP/seam_me_gettin
This is the content of my ejb-jar.xml: http://java.sun.com/xml/ns/javaee"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; xsi:schemaLocation="http://java.sun.com/xml/ns/javaee http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd"; version="3.0"> org.jboss.seam.ejb.SeamInterceptor * org.jboss.seam.ejb.SeamInterceptor Interceptor class not found: org.jboss.seam.ejb.SeamInterceptor The message confused me! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023442#4023442 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023442 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - http://www.karwell.com/apropos/equipe/JMP/seam_me_getting_st
I practiced the example follow this: http://www.karwell.com/apropos/equipe/JMP/seam_me_getting_started/index.htm I got errors cofused me: 11:13:21,921 INFO [EARDeployer] Init J2EE application: file:/C:/Program Files/jboss-4.0.5.GA/server/default/deploy/jboss-seam-registration.ear/ 11:13:22,484 WARN [ServiceController] Problem creating service jboss.j2ee:service=EJB3,module=jboss-seam-registration.jar java.lang.RuntimeException: Interceptor class not found: org.jboss.seam.ejb.SeamInterceptor at org.jboss.ejb3.interceptor.InterceptorInfoRepository.loadClass(InterceptorInfoRepository.java:507) at org.jboss.ejb3.interceptor.InterceptorInfoRepository.access$100(InterceptorInfoRepository.java:58) at org.jboss.ejb3.interceptor.InterceptorInfoRepository$AnnotationInitialiser.(InterceptorInfoRepository.java:631) at org.jboss.ejb3.interceptor.InterceptorInfoRepository$XmlInitialiser.(InterceptorInfoRepository.java:762) at org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialiseInfosFromXml(InterceptorInfoRepository.java:348) at org.jboss.ejb3.interceptor.InterceptorInfoRepository.initialise(InterceptorInfoRepository.java:89) at org.jboss.ejb3.Ejb3HandlerFactory$DDFactory.(Ejb3HandlerFactory.java:48) at org.jboss.ejb3.Ejb3HandlerFactory.getInstance(Ejb3HandlerFactory.java:83) at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:349) at org.jboss.ejb3.Ejb3Deployment.create(Ejb3Deployment.java:305) at org.jboss.ejb3.Ejb3Module.createService(Ejb3Module.java:77) at org.jboss.system.ServiceMBeanSupport.jbossInternalCreate(ServiceMBeanSupport.java:260) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:243) 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.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978) at $Proxy0.create(Unknown Source) at org.jboss.system.ServiceController.create(ServiceController.java:330) at org.jboss.system.ServiceController.create(ServiceController.java:273) at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy28.create(Unknown Source) at org.jboss.ejb3.EJB3Deployer.create(EJB3Deployer.java:429) 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.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:97) at org.jboss.system.InterceptorServiceMBeanSupport.invokeNext(InterceptorServiceMBeanSupport.java:238) at org.jboss.ws.integration.jboss.DeployerInterceptor.create(DeployerInterceptor.java:74) at org.jboss.ws.integration.jboss.DeployerInterceptorEJB.create(DeployerInterceptorEJB.java:44) at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180) at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDepl
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
Probably you need auto-create=true in components.xml, or @In(create=true) in the Java. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023436#4023436 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023436 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Ah, it appears the updated dtd is in the jar, but when you explode jboss-seam.jar you'll find a components.xml under META-INF that references the 1.1 version of the DTD. :%s/1.1/1.2/g should hopefully have fixed this for me. I'll find out soon enough. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023435#4023435 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023435 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: receiving a AxisFault in the client
Hi, I struggled with Jbossws to create a client for a while and then finally gave up and used Axis-1.4. There are working examples in their getting started document. Ken View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023434#4023434 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023434 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - msyql and postgresql - identity columns
how can the same ejb3 entity code be used with both MySQL and PostgreSQL on the primary keys (integers). The databases already exist - and cannot be modified mysql is AUTO_INCREMENT postgresql is SERIAL It looks like Identity can be used with mysql but not postgresql? Is the only way to fall back to table based sequences? The below link was not much help... http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html#entity-mapping-identifier View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023432#4023432 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023432 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
ooops. Somehow ended up quoting the end of the message when I hit submit... Last quote was unintended. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023431#4023431 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023431 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
"[EMAIL PROTECTED]" wrote : Note that there is one silly minor issue in this release that you need an internet connection to run Seam. (We missed updating the version number of the DTD of the components.xml file in the Seam jar.) | | We might do a patch release to fix this, but anyhoo it is fixed in CVS. For us home gamers that want to play along (and stick the fix in the jar), is this the fix in CVS you are referring to? anonymous wrote : | /jboss-seam/src/main/org/jboss/seam/components-1.2.dtd | 1.1 by nrichards (19 hours ago) (+39) new | in changeset MAIN:nrichards:20070227065100 change xsd versions anonymous wrote : | | tia, | Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023430#4023430 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023430 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam Readers Choice - Vote...
http://jdj.sys-con.com/general/readerschoice.htm where is seam? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023425#4023425 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023425 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
I am using Seam-managed PC. But it's throwing me the above error. Here is a snippet of stacktrace: | 18:07:03,015 INFO [Lifecycle] starting up: org.jboss.seam.security.identity | 18:07:03,562 INFO [Pages] reading pages.xml | 18:07:03,625 ERROR [SeamLoginModule] Error invoking login method | javax.faces.el.EvaluationException: org.jboss.seam.RequiredException: In attribute requires value for component: authenticator.entityManager | at com.sun.faces.application.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91) | | Caused by: org.jboss.seam.RequiredException: In attribute requires value for component: authenticator.entityManager | at org.jboss.seam.Component.getInstanceToInject(Component.java:1920) | . | I followed the example and coded the Authenticator as followed: | package com.judots.webclient.session; | | import * (skipped) | | @Name("authenticator") | public class Authenticator { | @In | EntityManager entityManager; | | public boolean authenticate() { | String usrName = Identity.instance().getUsername(); | System.out.println("Verify login for " + usrName); | | User dbUsr = null; | try { | dbUsr = (User) entityManager | .createQuery( | "from login_user where loginId = :username and password = :password") | .setParameter("username", Identity.instance().getUsername()) | .setParameter("password", Identity.instance().getPassword()) | .getSingleResult(); | | assert (dbUsr != null) : "No result from db. Should have thrown NoResultException"; | | Seam.invalidateSession(); | // String err = Messages.getString(ELNames.APP_BUNDLE_ELNAME, | // "login.invalidIdPwd.msg", new Object[] {}); | // FacesMessages.instance().add(err); | return false; | } | } catch (NoResultException ex) { | System.out.println("User " + usrName + " not found."); | | Seam.invalidateSession(); | // String err = Messages.getString(ELNames.APP_BUNDLE_ELNAME, | // "login.invalidIdPwd.msg", new Object[] {}); | // FacesMessages.instance().add(err); | return false; | } | | return true; | } | } | I am not sure if I understand what it means by 'In attribute requires value for component'. Can you help? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023423#4023423 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023423 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
In fact http://jira.jboss.com/jira/browse/JBSEAM-950 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023413#4023413 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023413 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu
Brad, just to keep you updated: I'm still working on the testcase - I should manage to get it all finished tomorrow, so the next time my laptop meets the internet after that there should be a testcase at least :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023408#4023408 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023408 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
If you want to use @PersistenceContext, you need to make your Authenticator a session bean. Otherwise, you need to config a seam-managed PC. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023406#4023406 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023406 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
Hi Gavin, I am using Seam 1.1.6, not 1.2 and I received the following error when I copied the Authenticator example code (http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/security.html#d0e6073) Server log --- Caused by: org.jboss.seam.RequiredException: In attribute requires value for component: authenticator.entityManager - Note that in the example code, entityManager is injected as: @In EntityManager entityManager; whereas in the booking example, LoginAction has it declared as: @PersistenceContext private EntityManager em; Neither works for me when I started using Authenticator. Can you help? Do I need to upgrade to Seam 1.2? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023405#4023405 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023405 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
It means integration into seam-gen. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023404#4023404 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023404 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Gavin what is actually meant by "integration of Ajax4JSF", as far as I know Seam works well with ajax4jsf, is there something new? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023403#4023403 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023403 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to use Seam Identity?
@Name("org.jboss.seam.core.identity") | public class MyIdentity extends RuleBasedIdentity {//or Identity, if no drools | public String login() { | String outcome = super.login(); | //do whatever you like | } | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023398#4023398 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023398 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: How to deploy two web applications in certain order?
Finally found out the answer at http://wiki.jboss.org/wiki/Wiki.jsp?page=DeploymentOrder View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023396#4023396 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023396 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - How to use Seam Identity?
I like Seam Identity. It simplifies my login session verification process significantly. What I would like to do next is to outject a LoginSession with account ID, etc... once the user has login. How do I go about overriding/suplementing the Identity.login method? (I am assuming there is an Identity.login method) Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023394#4023394 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023394 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: wscompile fails to generate artifacts for included xsd
I'll investigate the NPE. For JBossWS 1.0.3.SP1, the stack trace points here: private void processOperationInput(Definition srcWsdl, Operation srcOperation, WSDLInterfaceOperation destOperation, PortType srcPortType) |{ | Input srcInput = srcOperation.getInput(); | if (srcInput != null) | { | Message srcMessage = srcInput.getMessage(); | log.trace("processOperationInput: " + srcMessage.getQName()); | | QName wsaAction = (QName)srcInput.getExtensionAttribute(Constants.WSDL_ATTRIBUTE_WSA_ACTION); | if (wsaAction != null) | destOperation.addProperty(new WSDLProperty(Constants.WSDL_PROPERTY_ACTION_IN, wsaAction.getLocalPart())); | ... For some reason an operation's input message is being set to null, normally when a message is not found you get an error message. I noticed you have a duplicate port type definition in hello.wsdl, you don't need that as long as you import another WSDL document that defines it. This probably won't fix the problem but is a step forward. I'd appreciate if you zipped your project and sent it to me so that I can investigate more quickly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023393#4023393 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023393 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Message redelivery
1.2.0 will go GA tomorrow. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023392#4023392 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023392 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: How do you abort the startup process?
Otherwise, you could contribute some sort of patch for JBoss to do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023391#4023391 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023391 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: How do you abort the startup process?
The easiest would be to create an MBean that did a check of the service deployer at some point for any failed deployments, then call the shutdown MBean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023390#4023390 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023390 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Help getting all tasks for a user
If what there is is not sufficient for you and the proposed solutions are obscure (your words, not of many, many other users), then implement your own hibernate query et voila View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023389#4023389 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023389 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jPDL and BPEL Integration
discussion: some info on... http://blogs.jboss.com/blog/tbaeyens/ but if you use google, I'm sure you can find more You need to be more specific in what you want. calling a small amount of webservices from a human workflow: jpdl, orchestrating lots of (web)services into more complex ones: bpel integration between jpdl and bpel is possible simply because you can call a webservice from jpdl (you need to do some work) and bpel processes are accessible as a webservice. A real example is unknown to me, but 'trivial'. It is however not modeled in one processdefinition. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023386#4023386 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023386 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: Monitoring jboss
Yes, check out the JMX console. There is a System information MBean. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023385#4023385 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023385 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
Re: [jboss-user] [JBoss Messaging] - Re: Message redelivery
1.2.0 will go GA tomorrow. imaeses wrote: Hi Tim, Thanks for the reply. Here's my problem: we aren't prepared to roll the 1.2 version into production because it's not a general release yet. We'd prefer to use the 1.0.1 version since it is stable. However, this one feature is quite important. Are you planning on enabling this feature in a SP release in the near future? If not, could you give me a hint where in the code I should go to implement this myself. Many thanks, Adam View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023100#4023100 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023100 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: How do you abort the startup process?
Same question. Is there a particular config I can set or a particular exception I can throw to abort the startup? I would like the server to shutdown if the MBean fails to start. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023380#4023380 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023380 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Note that there is one silly minor issue in this release that you need an internet connection to run Seam. (We missed updating the version number of the DTD of the components.xml file in the Seam jar.) We might do a patch release to fix this, but anyhoo it is fixed in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023377#4023377 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023377 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: server bind address - documentation
Let me try that again. The logic is | if (serverBindAddress is set) | use it | else if (the host is present in the InvokerLocator and clientConnectAddress is not set) | use host from InvokerLocator | else | use local host address View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023375#4023375 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023375 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: server bind address - documentation
Hi John, That paragraph really is correct. I think the point is that clientConnectAddress is only meant to be used when the client connects through a router that maps an external host name to the actual name of the actual host. The fact that clientConnectAddress is set tells the server that the host name in the InvokerLocator is *not* the real host name, thereby throwing the server into the default case of using the local host address. The logic is | if (serverBindAddress is set) | use it | else if (clientConnectAddress is not set) | use host from InvokerLocator | else | use local host address | The local host address, by the way, is obtained by the call | InetAddress.getLocalHost().getHostAddress() | which returns the IP address of the local host. I'll try to make the paragraph clearer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023373#4023373 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023373 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam/Hibernate meetup in San Francisco, Friday, March 2
The location is: Levende Lounge 1710 Mission St. @ Duboce San Francisco, CA 94103 Phone: 415.864.5585 http://www.levendesf.com/ At 7 PM. Please email me if you intend to come to this event. There is usually a cover charge for this place on a Friday night, so I need to get people's names on the door list. Thanks, Gavin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023372#4023372 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023372 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
BTW, the more "official" announcement is here: http://blog.hibernate.org/cgi-bin/blosxom.cgi/2007/02/27#seam-120 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023367#4023367 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023367 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Thanks for the release, Norman! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023366#4023366 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023366 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using the JPA delegate
Perhaps it was an EJB3 container bug - in which case I'm sure the fix will be in JBoss 4.2. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023365#4023365 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023365 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where are the generated SQL db statements for the EJBs?
Depends upon the modification. If you just add an attribute, then yes... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023363#4023363 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023363 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Using the JPA delegate
It seems that the entityManager.getDelegate() returns either a SessionImpl or a EntityManagerImpl, depending on wether or not you have the following set up in your components.xml: and persistence.xml: That is - if this is set up, SessionImpl is returned. Otherwise EntitiyManagerImpl is returned. I can't really find a logical explanation for this, but it's not a problem as long as I know about it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023362#4023362 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023362 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to store Conversation in database or cache?
HttpSession View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023361#4023361 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023361 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: InvokerCallbackHandler.getSessionId() ?
Hi James, I think the reason your initial question was a bit ambiguous (besides the fact that addListener() isn't a method of InvokerCallbackHandler) might have been that, on the client side, an InvokerCallbackHandler can be reused by many Clients and callback Connectors, so it's not associated with a particular Client. On the server side, however, when the addListener() method is called on your ServerInvocationHandler, the InvokerCallbackHandler that gets passed *is* associated with a particular call to Client.addListener(). You can get the sessionId of that Client by casting the InvokerCallbackHandler to org.jboss.remoting.callback.ServerInvokerCallbackHandler and calling its method getClientSessionId(). Hope that helps. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023358#4023358 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023358 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How to control port name in generated WSDL
If you could wait until tomorrow (or alittle after), JBoss 1.2 should be out soon (binary release). That supports 181 annotations and is much simpler to develop. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023349#4023349 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023349 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Error Loading AJAX Library with JSF 1.2 RI
Hello all, I don't even use AJAX in my app. Perhaps somewhere in the config files that reference this AJAX? Does anyone know where or what to look for that reference this lib? Thanks - Server log - SEVERE: Error Loading Library: jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp3761ajax4jsf.jar!/META-INF/a4j.taglib.xml java.io.IOException: Error parsing [jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp3761ajax4jsf.jar!/META-INF/a4j.taglib.xml]: at com.sun.facelets.compiler.TagLibraryConfig.create(TagLibraryConfig.java:397) at com.sun.facelets.compiler.TagLibraryConfig.loadImplicit(TagLibraryConfig.java:418) at com.sun.facelets.compiler.Compiler.initialize(Compiler.java:86) at com.sun.facelets.compiler.Compiler.compile(Compiler.java:103) at com.sun.facelets.impl.DefaultFaceletFactory.createFacelet(DefaultFaceletFactory.java:192) at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:141) at com.sun.facelets.impl.DefaultFaceletFactory.getFacelet(DefaultFaceletFactory.java:93) at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:503) at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553) at org.ajax4jsf.framework.ViewHandlerWrapper.renderView(ViewHandlerWrapper.java:101) at org.ajax4jsf.framework.ajax.AjaxViewHandler.renderView(AjaxViewHandler.java:222) at com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:108) at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:266) at com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:159) at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:43) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:29) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Unknown Source) Caused by: org.xml.sax.SAXException: Error Handling [jar:file:/D:/JBoss/jboss-4.0.5.GA/server/default/tmp/deploy/tmp3761ajax4jsf.jar!/META-INF/[EMAIL PROTECTED],20] at com.sun.facelets.compiler.TagLibraryConfig$LibraryHandler.endElement(TagLibraryConfig.java:258) at org.apache.xerces.parsers.AbstractSAXParser.endElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endNamespaceScope(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.handleEndElement(Unknown Source) at org.apache.xerces.impl.dtd.XMLDTDValidator.endElement(Unknown Source) at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanEndElement(Unknown Source)
[jboss-user] [JBoss Seam] - Re: a javax.faces.convert.Converter that is a Seam component
Oops Or, just use the entityconverter (this is heading for Seam, I just need time to work on it a bit) linked off the wiki in combination with s:selectItems View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023352#4023352 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023352 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: a javax.faces.convert.Converter that is a Seam component
"codelion" wrote : Question: What kind of component (with what annotations) would that have to be so it can be used as a javax.faces.convert.Converter and yet have a working @In EntityManager entityManager? Take a look at the converters component in the seam ui example. anonymous wrote : PS: If you didn't figure already, this is meant for a dynamic list in JSF, built from a list of entities that rarely but sometimes changes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023351#4023351 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023351 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where are the generated SQL db statements for the EJBs?
I created the tables and the error went away. What if I modified the entity bean? Would the table got updated automatically? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023350#4023350 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023350 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Where are the generated SQL db statements for the EJBs?
I remembered during seam-gen setup process, it asked if we wanted the db tables to be dropped and recreated upon every build. Does it generate the SQL statements for each table corresponding to each Entity bean? If yes, where would the SQLs be located? Once again, many thanks ;-) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023328#4023328 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023328 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: No active application scope in long running process
Ahh, ok. This answers a lot of my questions. I'm looking forward to a solution to this problem. I use Seam 1.1.6 with Tomcat and Embedded EJB. I'm trying to prototype being able to run a method at a specified time - the method must (1) send an email, (2) update the database and (3) raise an event so that some @Observer methods get called to refresh collections of objects shown on-screen - and I've had mixed results: --Using the @Asynchronous annotation doesn't work at all using the Embedded EJB stuff. --Integrating Quartz with Seam (add quartz.jar and quartz.properties and it magically works) and kicking off a task at a specific time works, but I can't use a lot of Seam's cool functionality in that new thread - namely Emailing, which throws a NPE (JBSEAM-892), and Events, which gives me a "No active application scope" error. Updating the database works (since I passed-in a reference to my persister bean), but I have to use JavaMail to send emails (passing-in the Email Renderer isn't sufficient) and I can no longer rely on the @Observer annotation to update the lists (I'm still working on an alternative). Ideally (and this is easy for me to say, heh), it would be cool to be able to use Seam's scheduling, emailing and event system, regardless of what thread I'm running (or perhaps provide a way to reference those contexts?), but I know this is no easy task. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023342#4023342 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023342 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: BPEL generate-artifacts error
Apparently inline XML Schemas are handled by copying them to temporary files. While the error message may be misleading, it does indicate that definitions in your second schema cannot be located. Some items in the first schema reference items that are defined later in the second schema. Try moving the second schema above the first. Apart from that, consider that wstools currently does not support multiple namespaces and all generated artifacts will end up in the same java package. You might want to use wscompile instead. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023348#4023348 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023348 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - a javax.faces.convert.Converter that is a Seam component ?
An enum converter is nice, but one step further we'd like to implement a javax.faces.convert.Converter that for its getAsObject does a query. In contrast, the getAsString was easy. Would be nice to use an @In EntityManager entityManager. Question: What kind of component (with what annotations) would that have to be so it can be used as a javax.faces.convert.Converter and yet have a working @In EntityManager entityManager? PS: If you didn't figure already, this is meant for a dynamic list in JSF, built from a list of entities that rarely but sometimes changes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023347#4023347 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023347 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: wscompile fails to generate artifacts for included xsd
I could get wscompile to work on the client side by editing the build.properties file in the \config folder. Only thing I had to change war replacing with . However on 'ant deploy' JBoss's bundled wstools takes over and I get the exception I have posted at the start of the thread. How to I make JBoss to switch over to wscompile? Note that the NullPointerException in WSDL11Reader was with bundled JBossWS. I have yet to test it with latest release of JBossWS which I am going to do now but I do not have high hopes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023340#4023340 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023340 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam 1.2 released
1.2? Where did that come from? It seems just last week we were releasing 1.1.7RC1... Well, after looking over what we were putting into the release, we realized that this needed to be the start of the 1.2 branch. Gavin explains the reasoning in his blog: http://blog.hibernate.org/cgi-bin/blosxom.cgi/2007/02/27#thoughtsononedottwo You can download Seam 1.2 at http://labs.jboss.com/portal/jbossseam/download/index.html. We'll post some more about the new features in a bit. In the meantime, you can check out the docs at http://docs.jboss.com/seam/1.2.0.GA/reference/en/html/index.html to read up on what is new. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023339#4023339 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023339 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - ClientLoginModule on external Tomcat using declarative Secur
Hi there, I'm working on an ejb3 application with an web-frontend wich is located on an external tomcat. When I use the ClientLoginModule in a test-Client there is no problem, but when I try to use it in a security-constraint in the web-app always the declared error-page is shown. I've read in the doc the ClientLoginModule only stores the username and password for use within an request to an ejb. When I'd like to use it this way (as I described above) do I have to implement my own LoginModule or is it possible to use the ClientLoginModule? Or is there an already existing implementation for this usecase? yours Marc View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023334#4023334 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023334 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Remoting] - Re: Timeout parameter - can I specify timeout per request?
Per timeout invocation now works for the HTTP transport as well. For jdk 1.5 the timeout is set on the HttpUrlConnection. For jdk 1.4 this option is not available, so it is simulated by executing the invocation on a separate thread and waiting until the timeout has expired. The thread comes from a threadpool which defaults to org.jboss.util.threadpool.BasicThreadPool, but the thread pool can be configured by calling org.jboss.remoting.transport.HTTPClientInvoker.setTimeoutThreadPool(). If the default thread pool is used, it can be configured by passing HTTPClientInvoker.MAX_NUM_TIMEOUT_THREADS (value "maxNumTimeoutThreads", defaults to 10) and HTTPClientInvoker.MAX_TIMEOUT_QUEUE_SIZE (value "maxTimeoutQueueSize", defaults to 1024) in the configuration Map with which the org.jboss.Remoting.Client is initialized. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=402#402 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=402 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: wscompile fails to generate artifacts for included xsd
If wstools fails (as in your case) please switch to wscompile and see what happens. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023332#4023332 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023332 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How to store Conversation in database or cache?
Are conversations explicitly stored in the http session? Or are they stored with the JSF View state - whereever that is stored? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023331#4023331 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023331 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Where are the generated SQL db statements for the EJBs?
Its done dynamically. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023330#4023330 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023330 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Is it possible to send mail from asynchronous method
Yes unfortunetly it doesn't work with JSF 1.2, I will try to switch tomorrow to myfaces and test it in thi environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023326#4023326 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023326 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: JSF and TransactionalSeamPhaseListener
Thank you for your help. I am now using Seam's EntityConvertor http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamEntityConverter [/url] View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023325#4023325 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023325 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: 1.4.1.SP1 Installation Instructions
"jnorris10" wrote : "[EMAIL PROTECTED]" wrote : There never have been specific installation instructions, you basically just use the new jars in the distro to overwrite the jars in your current distro. | | | | May be a good idea to wiki-ise some of these steps though; let me know if you feel like doing this. | | | | Re: compat, see the compat matrix on http://labs.jboss.org/jbosscache | | | | | | I understand the sentiments of the poster above. It is completely unclear how 1.4.1.SPx is installed. Which libs should be copied and to where? Many of the combinations I have tried have failed with various cryptic stack traces which seem to indicate version mismatches. I found the magic jar combo :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023324#4023324 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023324 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re:
After installed the patch suggested by the bug page: http://jira.jboss.com/jira/browse/JBAS-3839, I still have exactly the same issue I have had: Wrong target, when re-deploying my app. Help!... "m-krausse" wrote : Hi | | I created a bug report: http://jira.jboss.com/jira/browse/JBAS-3839 | | Bye | Michael View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023323#4023323 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023323 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Issues w/ JBoss Messging Cluster Environment when using
Are you saying that my setup is correct? Additionally, could you please review my examples and let me know why I am not receiving messages published through the publisher? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023320#4023320 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - DatabaseMetaData and HTTP connections
Hi, I began working with the con.getMetaData() object today and soon after began getting the following: org.jboss.deployment.DeploymentException: Too many open files; - nested throwable: (java.io.IOException: Too many open files) | at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:352) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.interceptor.DynamicInterceptor.invoke(DynamicInterceptor.java:80) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy31.init(Unknown Source) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:843) | at org.jboss.deployment.MainDeployer.init(MainDeployer.java:863) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:780) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:753) | at sun.reflect.GeneratedMethodAccessor54.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) | at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:118) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:74) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) | at $Proxy9.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:319) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:489) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:192) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:203) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:182) | Caused by: java.io.IOException: Too many open files | at java.io.FileInputStream.open(Native Method) | at java.io.FileInputStream.(FileInputStream.java:106) | at org.jboss.web.AbstractWebContainer.init(AbstractWebContainer.java:301) | ... 37 more Anyone know the cause? Here's the code which causes the problem: public DbTable getTable(String ds, String tbl) throws SQLException, NamingException, LookupException{ | DbTable table = null; | Connection con = null; | ResultSet rs = null; | DatabaseMetaData meta = null; | String[] types = {"TABLE"}; | try { | con = AppHelper.getConnection(ds); | meta = con.getMetaData(); | rs = meta.getTables(con.getCatalog(), null, "%"+tbl+"%", types); | if(!rs.next()) { | throw new LookupException("Unable to find specified table:"+tbl); | } | String name; | int count = 3; | do { | name = rs.getString(count); | if(name.equals(tbl)) { | table = new DbTable(name); | readTableColumns(meta, table); | break; | } | }while(rs.next()); | }finally { | AppHelper.c
[jboss-user] [JBoss Seam] - Re: Using the JPA delegate
This was a bug in older versions of HEM. It *should* work right in JBoss 4.0.5 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4023317#4023317 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4023317 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user