[jboss-user] [JBoss/Spring Integration] - READ THIS FIRST: The actual JBoss/Spring integration meaning
Due to recent 'illegal' posts growning number - not getting even close to the actual JBoss/Spring integration meaning, all future posts that have nothing to do with any of this: - http://java.sys-con.com/read/180386.htm - http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSpringIntegration - http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=161914 will beremoved! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037853#4037853 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037853 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: New Portal User. So Many Options. Which to use?
1) read the reference guide documentation (that's the best advice...) to get a nice general view of all things, even if you just read it quickly and will come back to it when doing the things 2) read the JSR-168 specification. it's not boring... and very usefull, whatever portal you use 3) database : you can take the jboss + portal package. Database configuration are not dependant from this. You can configure your database whenever you want. 4) start with : install the portal, make it run "as it is delivered". Follow the installation chapter in ref guide doc. This to make sure everything is setup properly and run. Play around with it. Then configure the datasource to the database you want (oracle). Switch to your new (Oracle) datasource before to create important data for your test (like users, etc...). 5) to set the database. Advice : set a different database/datasource for a) portal objects, b) user and roles, c) CMS. This way, you have separate database (isolation) of things that are fully independant. And a enhanced architecture, for prod. 6) to set the datasources : set the hibernate configuration to different datasources, in folder : "...\deploy\jboss-portal.sar\conf\hibernate". example : change java:PortalDS | to java:PortalUSERSDS | 7) add the datasource description (PortalUSERSDS) in the file portal-xx-ds.xml, in folder : "...\deploy\jboss-portal.sar\conf\hibernate". You can make several "-ds.xml" files, for easiest modifications. Like "portal-users-and-roles-mysql-ds.xml". 8) change the name of the datasources in the modules that use them, in all the jboss-service.xml files. Search for portalDS and set the datasource to the one needed. (ie : PortalUSERSDS in the user and role modules, PortalCMSDS in the CMS module, etc...). Look at it, you will understand what I mean. 9) the conf/hibernate files, "-ds.xml" files, and jboss-service.xml files, are the only three place to setup/change for databases/datasources. 10) To make a new datasource, just create the database (empty). Then Hibernate rebuild the default tables with default data if they are not there (when you first launch the jboss server again). 11) Windows or linux does not matter. My dev is with windows, my prod on linux or apples OSX search for post in the forum, there are plenty of stuff to help you for your trial (I think I have posted on database configuration and separating the databases...). And post if needed... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037854#4037854 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037854 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss
Aha, ok. I just pointed you there for the concept - one way of using embedded mc. For the tests, have a look at how we do it in the actual MC project - ok there are no container services present - but we have an extensive testing env - each feature is tested. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037855#4037855 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037855 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jsf framework
At the moment I'm doing a research on possible development technologies for a portlet enabled application. Since it is my first time I'm doing this kind of development and I'm comming from the servlet world I have quit good experiences with jsf frameworks. Do you have any suggestions for similar apporches (Best practice) for the creation of the forms? Thanks Leo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037856#4037856 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037856 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EntityManager available outside container ?
Thank you for your reply. That's what i was thinking, unfortunately... In fact, i managed to access to the entitymanager thanks to a session bean or a servlet, which both are on the server side, but not from my client... Too bad. A last question : do you think another container (Glassfish or another one) could have implemented that ? (i can dream, no ? ;-) ) Regards, Guillaume View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037857#4037857 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037857 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss
Thanks so much for taking time to reply. Would like to know the following, please help us in understanding and implementing the following 1. Is it possible to use testing framework like testNG for testing application running within application server container. 2. If yes for point 1, please provide us info or any reference on how to do this. 3. If No for point 1, Is it possible to do anything on the JBoss side to implement automated testing which uses the container services. 4. How do we achieve the automated testing in JBoss using testing framework like testnG, where the application is tightly bound to container services. Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037859#4037859 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037859 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: console url changed to http://localhost:8080/jbpm-consol
look at the wiki page on how to configure your jboss AS instance when not using the starterkit... it's all in there View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037860#4037860 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037860 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: cms on filesystem and clustering
It's the default storage for JackRabbit, it makes sense when you want to use a JCR without requiring to have a database. In the case of JBoss Portal, 100% Filesystem is not really useful and the default behavior is 100% database. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037861#4037861 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037861 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: jsf framework
You can still use JSF, with standard components, your own custom components, and from a list of components that work in a portlet environment. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037862#4037862 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037862 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process folder Missing
thanks for your comment.can i use jbpm with swing application.i dont understand the folders it creates in the eclipse ide.are there any books which explains jbpm in details. cheer zolf View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037863#4037863 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037863 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: Configuring oracle JDBC resource
http://www.onjava.com/pub/a/onjava/2004/02/25/jbossjdbc.html View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037864#4037864 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037864 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss
Ok, you'll have to do your own 'homework' ... I think there is a lot of generic documentation / books on this sort of questions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037865#4037865 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037865 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Virtual Domains
the app is reachable above: domain/rentform the goil is just above domain View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037870#4037870 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037870 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Logger not injecting anything in Controller.class
I just commented out the debug line in the source code, and everything is working perfecly, im not sure what to do from here, except use my custom built seam. (I don't really understand how the injection actually works) | protected ClassValidator getValidator(Class modelClass) |{ | return Model.forClass(modelClass).getValidator(); |} | |protected void debug(Object object, Object... params) |{ | //log.debug(object, params); |} | |protected void debug(Object object, Throwable t, Object... params) |{ | log.debug(object, t, params); |} | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037871#4037871 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037871 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Virtual Domains
yes: i follow example for 4.0.2 AS: http://www.jboss.org/wiki/Wiki.jsp?page=VirtualHosts myhost.eu and jmx-console.war/WEB-INF/jboss-web.xml myhost View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037868#4037868 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037868 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM_PROCESSDEFINITION table not found
Hello, I'm having the same problem. Have you solve it? How? Thanks!!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037872#4037872 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037872 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Execution of twiddle from remote machine
hi i have invoke twiddle in the local host for getting the server info.it display the result.if i invoke the same command from remote machine it says error.. the error i have got is: 05:22:45,848 ERROR [Twiddle] Exec failed org.jboss.util.NestedRuntimeException: Could not obtain connection to any of these urls: 0.0.0.0:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out caused by java.net.SocketTimeoutException: Receive timed out; - nested throwable: (javax.naming.CommunicationException: Could not obtain connection to any of these urls: 0.0.0.0:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out caused by java.net.SocketTimeoutException: Receive timed out caused by javax.naming.CommunicationException: Failed to retrieve stub from server 0.0.0.0:1099 caused by java.io.IOException: Exception thrown from readObject() on class java.rmi.server.RemoteObject: java.lang.ExceptionInInitializerError) at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:143) at org.jboss.console.twiddle.command.MBeanServerCommand.getMBeanServer(MBeanServerCommand.java:59) at org.jboss.console.twiddle.command.GetCommand.execute(GetCommand.java:149) at org.jboss.console.twiddle.Twiddle.main(Twiddle.java:305) Caused by: javax.naming.CommunicationException: Could not obtain connection to any of these urls: 0.0.0.0:1099 and discovery failed with error: javax.naming.CommunicationException: Receive timed out caused by java.net.SocketTimeoutException: Receive timed out caused by javax.naming.CommunicationException: Failed to retrieve stub from server 0.0.0.0:1099 caused by java.io.IOException: Exception thrown from readObject() on class java.rmi.server.RemoteObject: java.lang.ExceptionInInitializerError at org.jnp.interfaces.NamingContext.checkRef(NamingContext.java:1414) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:594) at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587) at javax.naming.InitialContext.lookup(libgcj.so.7rh) at org.jboss.console.twiddle.Twiddle.createMBeanServerConnection(Twiddle.java:250) at org.jboss.console.twiddle.Twiddle.connect(Twiddle.java:268) at org.jboss.console.twiddle.Twiddle.access$300(Twiddle.java:62) at org.jboss.console.twiddle.Twiddle$1.getServer(Twiddle.java:139) ...3 more but when i invoke it in the local host it has been executed.so you please help me in this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037873#4037873 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037873 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ejq-ql subquery in seam
this might be a little off topic since it's an ejb-ql question but I'm using it inside seam and I think maybe my error will be obvious to some of you. I'm simply trying to execute a simple (test) subquery like this : select t from MyObject t order by ( select 1 ) but I get the error : anonymous wrote : Caused by: org.hibernate.hql.ast.QuerySyntaxException: unexpected AST node: query [select t from com.[...].MyObject t order by ( select 1 ) ] any hint ? (I guess I'm doing some stupid mistake somewhere ...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037874#4037874 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037874 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: authorisation facilities access from within portlet
Yes, wiki would be good. but if I understood well, the wiki subject must be created by a jboss user, no ? => how to create a subject ? I did not find it (for other contribution, before). by the way, as you have declared the pamf service in the portlet description (jboss-portlet.xml), you can then retrieve it with : PortalAuthorizationManagerFactory pamf = (PortalAuthorizationManagerFactory) getPortletContext().getAttribute("AMF"); more direct... no ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037875#4037875 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037875 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JSR-109Client, Mapping problem and trying to connect to
There is no requirement for two code generators to generate identicle code as the JAX-RPC mapping file is used to describe how the schema was mapped to Java. If you have a reproducable scenario where invalid code is being generated please raise a bug in Jira with the required files to reproduce it. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037876#4037876 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037876 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: I can't instantiate the InstanceImpl class.
I get a strange error when I try to create an Instance via the instancecontainer. 19:29:49,197 ERROR [STDERR] java.lang.IllegalArgumentException: Bad portlet id format AboutPortlet | 19:29:49,200 ERROR [STDERR] at org.jboss.portal.federation.impl.FederatingPortletInvokerService.getFederatedPortletInvokerFor(FederatingPortletInvokerSer | vice.java:203) | 19:29:49,201 ERROR [STDERR] at org.jboss.portal.federation.impl.FederatingPortletInvokerService.getPortlet(FederatingPortletInvokerService.java:137) | 19:29:49,201 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor242.invoke(Unknown Source) | 19:29:49,201 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 19:29:49,201 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 19:29:49,201 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 19:29:49,201 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 19:29:49,201 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 19:29:49,201 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 19:29:49,201 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 19:29:49,201 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 19:29:49,201 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 19:29:49,202 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 19:29:49,202 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 19:29:49,202 ERROR [STDERR] at $Proxy68.getPortlet(Unknown Source) | 19:29:49,202 ERROR [STDERR] at org.jboss.portal.portlet.test.TestPortletInvoker.getPortlet(TestPortletInvoker.java:114) | 19:29:49,202 ERROR [STDERR] at sun.reflect.GeneratedMethodAccessor241.invoke(Unknown Source) | 19:29:49,202 ERROR [STDERR] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | 19:29:49,202 ERROR [STDERR] at java.lang.reflect.Method.invoke(Method.java:585) | 19:29:49,202 ERROR [STDERR] at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | 19:29:49,202 ERROR [STDERR] at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | 19:29:49,202 ERROR [STDERR] at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) | 19:29:49,202 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 19:29:49,202 ERROR [STDERR] at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) | 19:29:49,203 ERROR [STDERR] at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) | 19:29:49,203 ERROR [STDERR] at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | 19:29:49,203 ERROR [STDERR] at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | 19:29:49,203 ERROR [STDERR] at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) | 19:29:49,203 ERROR [STDERR] at $Proxy50.getPortlet(Unknown Source) | 19:29:49,203 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer.org$jboss$portal$core$impl$model$instance$Persistent | InstanceContainer$createInstance$aop(PersistentInstanceContainer.java:231) | 19:29:49,203 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer$createInstance_N891474739524950312.invokeNext(Persis | tentInstanceContainer$createInstance_N891474739524950312.java) | 19:29:49,203 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInCallerTx(TxPolicy.java:126) | 19:29:49,203 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:195) | 19:29:49,203 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer$createInstance_N891474739524950312.invokeNext(Persis | tentInstanceContainer$createInstance_N891474739524950312.java) | 19:29:49,203 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer.createInstance(PersistentInstanceContainer.java) | 19:29:49,203 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer.org$jboss$portal$core$impl$model$instance$Persistent | InstanceContainer$createInstance$aop(PersistentInstanceContainer.java:217) | 19:29:49,204 ERROR [STDERR] at org.jboss.portal.core.impl.model.instance.PersistentInstanceContainer$createInstance_N8606718515158336098.invokeNext(Persi | stentInstanceContainer$createInstance_N86
[jboss-user] [JBoss Seam] - Re: Virtual Domains
I love jboss, you can here solve problems with logic:) In application.xml i changed context to / and works! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037878#4037878 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037878 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @Logger not injecting anything in Controller.class
Seam can't do it's magic if you use new to instantiate a Seam component. You need to use injection (or Component.getInstance()) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037885#4037885 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037885 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exadel, JBoss and Seam
anonymous wrote : insanely productive development environment that is comparable to Microsoft's .Net. I don't know how well you know MS VS .NET, but from what I've seen from it, I can tell you that if RHDS resembles VS, I'm surely not going to use it. Eclipse and NetBeans are insanely more productive than VS, IMHO. :-) My expectations are high concerning RHDS, I've been waiting a long time to get an IDE with good JSF and Seam support. Personally, I think it would be nive to have a feature that allows to build the projects without IDE (yes,indeed, for building on a continuous integration server). Currently I haven't seen a solution for that, so I'm always doing double work: keeping the Ant build files and the Eclipse project files in sync. (If someone knows of an existing solution I'd appreciate to be pointed at it ;-)) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037886#4037886 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037886 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: authorisation facilities access from within portlet
To create a new wiki page, just reference it from another page, then you will get a ? to click on. Or: Go to something like: http://wiki.jboss.org/wiki/Wiki.jsp?page=MyWikiPage replace MyWikiPage by anything. Then reference it from other pages. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037888#4037888 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037888 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1
"[EMAIL PROTECTED]" wrote : "avbentem" wrote : | | - when getting compile errors in GWTRemoteService then [...] | Which compiler errors are you getting? I don't get any. I did get errors in Eclipse (actually JBoss IDE 2.2.0.BETA2), all caused by a fewThe import com.google cannot be resolved | /src/remoting/org/jboss/seam/remoting/gwt/GWTRemoteService.java line 31 But, as petemuir wrote that the libraries in /lib worked fine, I now tested with gwt-servlet.jar (as included in /lib with the Seam download). That solves the problem too, so indeed no need to download anything from Google. Without adding gw-servlet.jar an Ant build runs fine too, so it just seems to be missing in the Eclipse classpath file. Thanks, Arjan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037889#4037889 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037889 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
Thanks. I'll try it out and let you know. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037890#4037890 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037890 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Microcontainer] - Re: Urgent! In container automated testing with JBoss
Thanks, I tried to find the documentation, but could not find the proper one. If you have any reference related to this, please pass on to me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037891#4037891 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037891 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Can i remove "portal" in the context path??
I have already remove the "portal" in ! but i still have another "portal" before the portal_name in context path! do any body knows how to remove it? sample path thath i would like to have: http://localhost:8080/portal_name/portal_page THX!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037892#4037892 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037892 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: isUserInRole(String role) doesn't work
Hello, an old topic, but I still have the same need. the spec is nice. -- it allows that the portlet knows what features it provide, and what it's portlet-roles are needed for thoses. then the portlet declaration allows to map the application roles (user roles) to theses features specific roles. example : Portlet has two features : delete some record, with role authorization PRoleA create a business process, with role authorization PRoleB all other features are allowed to PRoleC then, mapping of role allow to set, for use of this portlet in any application (portal), to map the users roles to theses three "portlet features roles". As : URole_Admin to PRoleA, PRoleB, PRoleC URole_BP_Manager to PRoleB, PRoleC URole_Editor to PRoleA, PRoleC and so on... Advantages : Decouple of roles, between "portlet features roles" and application user roles, Allow to provide a portlet to "others" without knowing the user roles in the application/portal. nice. -- but, it is quite heavy to manage. It forces to declare explicitly all roles that must be available inside the portlet. Use Case -- 20 to 30 roles 15 to 30 portlets to manage either : - internal users features (admin, manager, editor, data validator, hotliner for user), - and external user features (visitor, loggued user of customer type A, loggued manager of customer type A, ... for customer type B and C). and in the situation where portlets are dedicated to this application : ie, there is identity between portlet features roles and application user roles. Example : they are developped specifically for this application. -- Then, the decoupling is a heavy overhead. The descriptors become a huge XML file of repeating the associations of roles, always the same. (30 portlets x 30 role-ref items !). Maintenance and evolution is heavy, and bug generating. Proposition : -- To allow to define identity of role, for a bunch of them. Using a regular expression, or at least wildcards. | * | * | | -- This would lightened the constraint to declare all explicitly, with preserving the nice decoupling capability (for commercial portlets, etc...). Questions 1 : How to send this request to the spec definition group ? Questions 2 : How to workaround this for the time being ? What class is responsible for reading the descriptor and set the role visible in the portlets ? To overload it, knowing it is not JSR-168 compliant... Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037894#4037894 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037894 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Unable to run jboss-4.0.5.GA
while trying to run command on command prompt i am getting following error message- Could not locate C:\jay\java\jdk1.5.0_11\bin;.;\lib\tools.jar. Unexpected results may occur. Make sure that JAVA_HOME points to a JDK and not a JRE. I HAVE FOLLOWING SYSTEM VARIABLE SET: PATH=C:\jay\java\jdk1.5.0_11\bin;.; CLASSPATH=C:\jay\java\jdk1.5.0_11\bin;.; JAVA_HOME=C:\jay\java\jdk1.5.0_11\bin;.; IT driving me nut.help me out View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037897#4037897 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037897 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ORA-01031: insufficient privileges, grant requirements
Hi I have some problems to deploy EJB3 on JBOSS 4..0.5, abd a Oracle8i databse. "DATABASE" I have one instance of my database, and two schema " SCH1" and "SCH2", I'm log on SH1 and each Schema has any table. but I have to create a ejb entity SCH2_TABLE1, TABLE1 is a table of SH2, in the TABLE1 script : GRANT SELECT ON TABLE1 TO SCH1; .. When I try to deploy, I have an Oracle exception : ORA-01031: insufficient privileges My question is, what are the privileges required to deploy an EJB3 entity on an Oracle database or Schema? An other question, if I don't declare my entity in the persistence.xml, jboss find my entity and try to deploy it...is it normal?? What is the use of the persistence file? I know it use to declare the oracle-DS file and the name of the database, and alsothe mode of persistence (update, create-drop)... but how it can find my entity without any declaration? Thanks for your answer. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037898#4037898 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037898 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Statefull session bean and exception
I use an EJB3 stateful session bean. | @Stateful | public class MyStatefullImpl implements MyStatefull{ | | public void applyFilter(...) throws MyException { | ... | } | | MyException is managed properly in my source code and is declared in the API . Consequently, when this exception is thrown, my stateful bean is still consistent . Unfortunately it looks like if an excetion go through a method of a stateful bean, the stateful bean can not be used (on next invocation of one of its method I got an javax.ejb.EJBNoSuchObjectException: Could not find Stateful bean: a2a3m6o-w94gp-ezsdveoz-1-ezsdvf3b-3) Is it possible to implement that an exception does not kill the session bean ? (something similar for example with the @ApplicationException for JTA transactions) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037899#4037899 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037899 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Roles and LoginModule
could be a way for the workaround of this need, in : http://jboss.org/index.html?module=bb&op=viewtopic&p=4037894#4037894 what are the classes/services involved in this ? either the portlet instanciation from the descriptor ? or where to change things to adapt the behavior of "isUserInRole" method ? Thank you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037900#4037900 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037900 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question: http://java.sun.com/jsp/jstl/core cannot be re
You should just download JSTL (Apache.org), copy standard.jar and jstl.jar under \lib, and restart JBoss server. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037901#4037901 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037901 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Single Sign On with LDAP Examples
I have been on big quest as well to get this working. The documentation leaves a lot to be desired but here is what I did to get it working. First a basic LDAP schema | # Base | dn: dc=foo,dc=bar | dc: foo | objectClass: top | objectClass: dcObject | objectClass: organization | o: Foo Bar | | # Ldap admin user | dn: cn=admin, dc=foo,dc=bar | userPassword:: secret | description: LDAP administrator | objectClass: simpleSecurityObject | objectClass: organizationalRole | cn: admin | | # People ou where we attach the users | dn: ou=People, dc=foo,dc=bar | ou: People | objectClass: top | objectClass: organizationalUnit | | # A basic inetOrgPerson | dn: cn=Test User,ou=People, dc=foo,dc=bar | sn: Test | userPassword:: secret | mail: [EMAIL PROTECTED] | displayName: Test User | objectClass: top | objectClass: person | objectClass: organizationalPerson | objectClass: inetOrgPerson | uid: test | cn: Test User | | # The ou where we attach roles/groups | dn: ou=roles, dc=foo,dc=bar | ou: roles | objectClass: top | objectClass: organizationalUnit | | # A test group member of roles ou | dn: cn=TestGroup,ou=roles, dc=foo,dc=bar | ou: TestGroup | objectClass: top | objectClass: groupOfUniqueNames | uniqueMember: cn=Test User,ou=People | cn: TestGroup | Now the importent part is of course the jboss-sso.sar/conf/sso.cfg.xml file. For the ldap schema above this would look like this: | | | | | | | jdbc:ldap://ldap.domain.com:389/dc=foo,dc=bar?SEARCH_SCOPE:=subTreeScope&secure:=false&concat_atts:=true&size_limit:=1000 | cn=admin,dc=foo,dc=bar | secret | | People | | roles | | | | | | | | http://sso-jboss.domain.com:8080/federate/trust | | | | Really importend here is to verify then you have set identityOU and roleOU to the right values. If there is an error here you will get "No such object" jdbc errors witch of course is an ldap error telling you it can't find the ou. I use openldap and set the loglevel property to 265, witch makes debuging jboss-sso a whole lot easier. If you tail the ldap log and start the sso service you should see jboss-sso connecting and scanning in the roles. If so and you can confirm the sso startup in the jboss server.log you are done. Hope this helpt View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037902#4037902 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037902 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1
"petemuir" wrote : "avbentem" wrote : How can we assure the "Important Note: If you want to use EJB3 or Seam, you MUST use the JEMS Installer" will be removed when Seam 1.3 is released? [..] | Yeah, add a JIRA issue if you like... | Ok, JBSEAM-1193. I also noticed that the JBoss version is not yet updated in the documentation (like "2.1. Before you start", "Make sure you have JDK 5 or JDK 6, JBoss AS 4.0.5 and Ant 1.6..."). Of course, I know this might be work in progress; do you want JIRA issues for these details as well...? "petemuir" wrote : We up the version number at release. Ok, no problem, though (for example) I'd slightly prefer the generated documentation to show 1.3 instead of 1.2.1.GA... Arjan. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037903#4037903 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037903 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Unable to run jboss-4.0.5.GA
anonymous wrote : JAVA_HOME=C:\jay\java\jdk1.5.0_11\bin;.; Change your JAVA_HOME to C:\jay\java\jdk1.5.0_11 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037904#4037904 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037904 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: ORA-01031: insufficient privileges, grant requirements
I have ask to DB admin to put the sys privileges to SCH1 schema... I have a problem to bind my entity and table, i'm newbie on Oracle database, in my entity : @Entity @Table(name="SCH2_TABLE1") public class SCH2_TABLE1 implements java.io.Serializable { ...it works in some case, but there are not 2 schema, but a lot and for some table, Jboss don't bind the correct table... i tried : @Table(name="SCH2.SCH2_TABLE1") also @Table(name="[EMAIL PROTECTED]") but jboss don't find any table... what is the correct syntax to link the correct table?? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037907#4037907 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037907 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: ClassLoading problems, JBoss ClassLoading Strategy might
These wiki links mention how to configure JBoss classloading http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClassLoadingUseCases http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037908#4037908 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037908 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: Unable to use/run JBossAOP on JBossAS 4.0.5.GA
Ok, I've installed and ran the example. | 15:17:10,241 INFO [STDOUT] ExampleValue empty Constructor | 15:17:10,242 INFO [STDOUT] ExampleValue.getMessage() | 15:17:15,314 INFO [STDOUT] EarExampleServlet.service() | 15:17:15,336 INFO [STDOUT] *** ExampleSessionBean.getValue() | 15:17:15,336 INFO [STDOUT] ExampleValue String Constructor | 15:17:15,337 INFO [STDOUT] ExampleValue String Constructor | 15:17:15,341 INFO [STDOUT] ExampleValue.getMessage() | Obviously, it did not work. The example's documentation clearly states that "UseJBossWebLoader" should be "true" for it to work. However, I've had various concurrency problems when using non-isolated class-loading (for example, HttpSessions from different clients get mixed-up). Is there a way to make this work using isolation? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037910#4037910 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037910 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Custom Window State
Does the JBoss Portal (2.4) support custom window states? Which class do I need to overwrite if I want to add my custom window state? For printing the content of a portlet I quite like to introduce a custom window state 'print' which is mapped by by layout descriptor to print.jsp, which will only display the portlet without heading or navigation. | | mylayout | /layouts/mylayout/index.jsp | /layouts/mylayout/maximized.jsp | /layouts/mylayout/print.jsp | | | | | | | Is that possible? Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037913#4037913 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037913 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can i remove
Hello, This is an extract of my installation procedure, for this. To change the root path of the url. >From (classic) : http://localhost:8080/portal/portal/default/ To : http://localhost:8080/myPortalContextRoot/myDefaultCommand/myDefaultPortalName/ (defined at 070319). a) Prefix for : Portal Context Root (first "portal" in classic url) In the file : \deploy\jboss-portal.sar\portal-server.war\WEB-INF\jboss-web.xml Replace the context root item to : /myPortalContextRoot The cms coded url can then be : http://localhost:8080/myPortalContextRoot/cms_root_code/cms_repository_path/... b) Prefix for : PortalObjects commands (PortalObject Commands and url factories) (second "portal" in classic url) The PortalObjects commands are used to call a page or window, with parameters in the url. In the file : \deploy\jboss-portal.sar\META-INF\jboss-service.xml b1) Command factory Switch off the service : name="portal:commandFactory=Delegate,prefix=portal" Replace the déclaration with a new one, with modification : - modify the name to : name="portal:commandFactory=Delegate,prefix=myDefaultCommand" - modify the prefix item to : myDefaultCommand b2) Url factory Switch off the service : name="portal:urlFactory=PortalObject" Replace the déclaration with a new one, with modification : - modify the prefix item to : myDefaultCommand c) The portal prefix (the "default" prefix, in third position in the classic url) This prefix is set in the portal description, default-object.xml file. The one provide by JBoss portal, and in yours. The item is : myDefaultPortalName Also in the default-object.xml file, see the definition of the default page : The name of the default page and the value item of the property of default object of the portal : the item : portal.defaultObjectName And see this forum and jira posts to set it as the default portal of multiple portals : http://jboss.org/index.html?module=bb&op=viewtopic&t=104612 and http://jira.jboss.com/jira/browse/JBPORTAL-1324?watch=true for a pb with not using "default" as the default portal name. make a wiki of this ? how to create a subject in the wiki ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037914#4037914 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037914 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - could not deserialize
Hi, I have an entity bean, which references an exception. Persiting the entity bean to the postgresql 7.4 works without problems. However, I can't read/restore them, because I get the following exception: org.hibernate.type.SerializationException: could not deserialize Does anybody know how to avoid this? I think the code and annotations are fine. Here is the entity bean in question: | @Entity | @Name("systemMessage") | | public class SystemMessage implements Serializable | { | @Id | @GeneratedValue(strategy = GenerationType.IDENTITY) | long id; | | @Lob | String message; | | @Temporal(TemporalType.TIMESTAMP) | Date creationDate = new Date(System.currentTimeMillis()); | | @Enumerated | SystemMessageType systemMessageType = SystemMessageType.INFO; | | @Lob | Throwable throwable; | | public SystemMessage() | { | super(); | } | | public SystemMessage(String message, SystemMessageType systemMessageType, Throwable throwable) | { | this.message = message; | this.systemMessageType = systemMessageType; | this.throwable = throwable; | } | | public long getId() | { | return id; | } | | public void setId(long id) | { | this.id = id; | } | | public String getMessage() | { | return message; | } | | public void setMessage(String message) | { | this.message = message; | } | | public Date getCreationDate() | { | return creationDate; | } | | public void setCreationDate(Date creationDate) | { | this.creationDate = creationDate; | } | | public SystemMessageType getSystemMessageType() | { | return systemMessageType; | } | | public void setSystemMessageType(SystemMessageType systemMessageType) | { | this.systemMessageType = systemMessageType; | } | | public Throwable getThrowable() | { | return throwable; | } | | public void setThrowable(Throwable throwable) | { | this.throwable = throwable; | } | } | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037915#4037915 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037915 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom Window State
yes, this seems the right way, for what I know. look at the jsr-168 for defining custom window states. there is an example with "1/2 maximized" state, if I remember well. To make sure you have declared all that is needed for this state in other places (portal description, etc...). By the way, thanks for your post about Acegi : http://jboss.org/index.html?module=bb&op=viewtopic&t=104244 And so the wiki. I have a question : to use a SecurityContextHolder, I used the acegi filters. As you don't talk about it : is it because you did another way ? I will complement the wiki with the filter stuff, when my integration is finished (and clean). If you don't want to post for security matters, you can contact me by mail (on my website). Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037916#4037916 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037916 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Pros/Cons of war vs. ear deployments (Jboss 4.2)
I fully agree on the fact that virtual archives is what is needed. JBoss 5 is building it into the core of AS but until we have that in JBoss Tools/RHDS we are working on having it at the IDE level. Giving you an incremental update of the deployed artifacts removing the need for seperate assemble/copy step during development. With respect to why WAR and EAR's still are interesting for IDE's then its because it gives a standard structure where you (and the tool) can agree on where is the class files, where are the web.xml, components.xml etc. Virtual archives doesn't really solve that problem. Your development files sometimes does not even contain enough information to tell the IDE what your "view of the world" is. The java source code is normally static; but config files with ${deploy.url}, ${deploy.dir} instead of the actual values makes it extremely hard for IDE's to deduce enough information to be really usefull. I have some ideas for solving that; but there are many common corner cases to solve. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037921#4037921 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037921 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam remoting js->bag multiple dimension prob
Hi, there seems to be an error when passing multidimensional Arrays from Javascript to a webRemote function. js: var csArr = new Array(); csArr[0] = 1; converts without problems to: ArrayList ssArr but js: var csArr = new Array(); csArr[0] = new Array(); csArr[0][0] = 11; is always empty on Serverside (although the seam-debugger shows that the array is transfered correctly) also tried it out with HashSet and [] -> same result regards, Christoph View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037922#4037922 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037922 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Bank example compile error.
I have the same problem :-( I have defined the jboss.home variable. But it does not help... any ideas? While reading the getting started tutorial I realized that i don't have a tomcat component installed. Is there something missing in my installation? I installed JBoss version 4.2.0.CR1. Cheers, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037923#4037923 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037923 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: authorisation facilities access from within portlet
done : http://wiki.jboss.org/wiki/Wiki.jsp?page=CheckPermissionOfAnyPortalObjectNode View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037924#4037924 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037924 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Access userPrincipal from Servlet
Hello again and thanks for your answer. Unfortunately, I am still stuck... I do not want to hand over the login info through the session, that's just ugly. So I tried your second solution. If I understand it correctly, the JBossIntegrationFilter basically just looks up "java:comp/env/security/subject" to extract the login info from that. I tried that, but somehow looking up the subject always returns null, regardless of the actual portal login. Am I still doing something wrong here? By the way, I am using Jboss 4.0.5.GA with Portal 2.4. Thanks for your insights and best regards, Phil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037925#4037925 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037925 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Problems Starting Page Flows
I've been looking into pageflows and come across a number of oddities which, maybe I'm misunderstand the where's and whens of pageflows, but maybe someone has some insights. I have test.xml that contains a bunch of test links with the different ways of starting page flows : Using propagation and pageflow inline on an s:link Annotating the action method with @Begin(pageflow="TestFlow") A plain action method that starts a page flow manually Test.xhtml | | | | | | | | | My bean actions are listed below : | public String manualStartFlow() { | log.info("Manual StartFlow called"); | Pageflow.instance().begin("TestFlow"); | return "ManualStartFlow"; | } | | | public String stringFunc(String input) { | log.info("Called String Func with '#0'", input); | return input; | } | | @Begin(pageflow="TestFlow") | public String annotatedStringFunc(String input) { | log.info("Called annotated String Func with '#0'", input); | return input; | } | | I have added the page flow into the components.xml file and written the flow as follows : | | | http://jboss.com/products/seam/pageflow"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation="http://jboss.com/products/seam/pageflow http://jboss.com/products/seam/pageflow-1.2.xsd"; | name="TestFlow"> | | | | | | | | | | | | | | | | | | | | | | | | | Obviosuly, this is testing code which is why page 1 appears in the start-page and test1 page. The problem is that one of the following happens : The conversation, and page flow starts but there is no navigation to page 1. This usually happens when the outcome is 'xxx' from the string function. If I return "next" or "ManualStartFlow" as the outcome, I end up on page 2 of the flow If I return "page1" from the outcome I end up on page 1, probably because of the transition from start-page to page 'page1'. Once I am in the pages (testpage1,2 or 3) everything works fine, I just have problems starting the flow. In cases where I stay on the same page (test.xhtml) and I end up in a conversation and try to start a new one I obviously get the Seam Debug Page because of starting a conversation from an existing one (which is fine). On the debug page, I can see the list of conversations, and despite not navigating there, they all say testpage1.xhtml in the view id. This indicates to me that the conversation and flow is starting, it's just not navigating in cases where I return 'xxx' from the outcome of the methods. I would have thought that if you click a link, button, or call a method that starts a pageflow, then you would automatically end up on the view-id referenced by the start-page definition (in this case testpage1). Currently it looks like I need to return an outcome that will determine where you go automatically from the page-start view id, and not returning an expected outcome results in staying on the same page. Is that the case? DG View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038030#4038030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: inconsistent behaviour
Doing a lot of hot deploy? I usually find when things are screwy like this there's a permgen memory error at the very bottom of that stack trace. A restart of the app server causes the problem to go away. I've recently migrated to JRocket R27.2 and haven't had any trouble so far. JRocket does a much better job than Sun's JVM with permgen clean up. Bascially I think they put it on the heap and clean up normally. If you do try JRocket, go with only R27.2, R27.1 had a ton of problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038031#4038031 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can i remove
Wiki is at : http://wiki.jboss.org/wiki/Wiki.jsp?page=ChangeRootPathAndPrefixOfUrl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037929#4037929 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037929 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - JBoss terminal server
Hello, I am looking for a terminal server solution which can work with JBoss. The idea is to use JBoss' clustering abilities and serve a lot of thin clients with a cluster of JBoss nodes. I am aware of JBoss clustering of HTTP sessions, Tomcat, etc. But what I need is complete terminal emulation. The thin client should be able to run any application, not just web-based applications. Does anybody know any product which can do this? -- Edgy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037931#4037931 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037931 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Framework: Counting query entities
Thanks Captain! I'll do it your way. Of course a framework:entity-query in components.xml would have been nicer. I believe you cannot automatically deviate a correct count query from any ejb/hql query in general, can we Gavin? If this is true we should think about a countEjbql attribute on framework:entity-query. Makes sense? Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037936#4037936 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037936 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How to provide soapAction from dispatch call?
Does anyone know if this is a bug or related to something else. Or how do I get around this problem? I found this thread on java.net forum http://forums.java.net/jive/message.jspa?messageID=190079. Doesn't help much but it seem to be a problem in jwsdp2. Regards Oskar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037940#4037940 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037940 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel: Row is not available
I want a page where I can edit the properties of a UseCase entity. At the end of the page I want to display the Step entities that belong to the UseCase. This is the page code that I have: | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";> | http://www.w3.org/1999/xhtml"; | xmlns:ui="http://java.sun.com/jsf/facelets"; | xmlns:h="http://java.sun.com/jsf/html"; | xmlns:f="http://java.sun.com/jsf/core"; | xmlns:s="http://jboss.com/products/seam/taglib";> | | | | | Editar Caso de Uso | | | | | | Caso de Uso: | | | | | | | Nome | #{stepVar.name} | | | Editar | | | | | | | | | | The "insertStep" commandButton shows another page where I can insert a Step and then go back to the UseCase page. The problem is that the UseCase page does not show the Step added. When Step collection was a List, the application did work OK. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037933#4037933 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037933 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - DataModel in two SFSB issues
Hi, I have an interesting issue with DataModels. Any suggestions would be appreciated. The setup: I have Bean "A" which has a list ("sections") annotated as DataModel. "sections" is available in my current conversation. When invoking a method from my JSF page (which calls a method in my second Bean "B", who also has the "sections" annotated with a DataModel), I run into problems as the "sections" are not available in Bean "B". (I have looked at the conversation context and can see that "sections" has been removed from the context). This is quite weird. I then stepped through the Seam code and ran into the following in "Component.java" private void outjectDataModel(Object bean, BijectedAttribute dataModelGetter) |{ | DataBinder wrapper = createWrapper(dataModelGetter.getAnnotation() );//1 | Object list = dataModelGetter.get(bean);//2 | String name = dataModelGetter.getName(); | Annotation dataModelAnn = dataModelGetter.getAnnotation(); | ScopeType scope = wrapper.getVariableScope(dataModelAnn); | | Context context = getOutScope(scope, this).getContext(); | Object existingDataModel = context.get(name); | boolean dirty = existingDataModel == null || scope==PAGE || | wrapper.isDirty(dataModelAnn, existingDataModel, list);//3 | | if (dirty) | { | if ( list!=null ) | { | context.set( name, wrapper.wrap(dataModelAnn, list) ); | } | else | { | context.remove(name); | } | } |} | | Line //2 return null for the list value when entering into Bean B while outjecting (seems the list is associated with the bean name, in this case Bean B, in stead of returning the list associated with Bean A, or just by extracting it from the conversation context). As a result of the null value Line //3 is always dirty, resulting in the variable being removed from the conversation context ! Is it possible two have a DataModel used over two SFSB's ? Based on the above Seam code it appears as if a DataModel is hardwired to a specific SFSB. Regards Louis View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037949#4037949 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037949 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Horizontal Clustering not working _ need help
Here is my tc5-Cluster.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037950#4037950 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - problem with NamingContextFactory
I have a java program which uses JBPM. When I execute it, I encounter the following error: javax.naming.NoInitialContextException: Cannot instantiate class: org.jnp.interfaces.NamingContextFactory [Root exception is java.lang.ClassNotFoundE xception: org.jnp.interfaces.NamingContextFactory] java.lang.ClassNotFoundException: org.jnp.interfaces.NamingContextFactory What have I do in order to solve the problem?! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037932#4037932 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037932 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Process folder Missing
The process designer doesnt create the process folder, it's used to keep things in order, you should do it. It usually goes /process/my_process View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037952#4037952 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037952 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate sql output in Server Log and Console
Hi, I'm using hibernate and trying to output the sql and any relevant comments to the console and server log. I'm using a log4j.xml file to configure log4j (pasted below). Initially I was using the log4j.properties file and including the statement: log4j.logger.org.hibernate.type=debug This was working fine locally giving me the following output: Hibernate: update USER_PROFILE set USER_ID=? where id=? 2007-04-17 14:04:34,927 DEBUG [org.hibernate.type.LongType] - 2007-04-17 14:04:34,927 DEBUG [org.hibernate.type.LongType] - Now, however I want to just use log4j.xml and was hoping that I could get the same output using: | | Unfortunately this has not worked for me. and I have lost the portion underlined above. Is it possible to get this output working on the server? Thanks in advance! | | | | | http://jakarta.apache.org/log4j/"; debug="false"> | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037954#4037954 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037954 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: What happens for exceptions in JPM transition actions?
You can ignore this. I hit the submit button too soon, and just afterwords saw the "exception-handler" element. Can somebody shed any light on what the "script" element is used for? I'm assuming that the "action" expression gets evaluated and a transition takes place based on the return value. "exception-class" is obvious, but the "script" one is puzzling. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037935#4037935 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037935 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB 3.0 Locking (entity not in the persistence context)
How are you calling your methods? Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037955#4037955 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - TypeNotPresentException
Hi Everyone, I installed JBossAS using Jems Installer and trying to run a Seam application which i downloded from Devx site.But whiledeploying it to the server I'm getting the error like java.lang.TypeNotPresentException: Type javax.ejb.Interceptors not present at sun.reflect.generics.factory.CoreReflectionFactory.makeNamedType(CoreReflectionFactory.java:98) at sun.reflect.generics.visitor.Reifier.visitClassTypeSignature(Reifier.java:107) at sun.reflect.generics.tree.ClassTypeSignature.accept(ClassTypeSignature.java:31) at sun.reflect.annotation.AnnotationParser.parseSig(AnnotationParser.java:351) at sun.reflect.annotation.AnnotationParser.parseAnnotation(AnnotationParser.java:175) at sun.reflect.annotation.AnnotationParser.parseAnnotations2(AnnotationParser.java:69) at sun.reflect.annotation.AnnotationParser.parseAnnotations(AnnotationParser.java:52) at java.lang.Class.initAnnotationsIfNecessary(Class.java:2998) at java.lang.Class.getAnnotation(Class.java:2958) at org.jboss.aop.annotation.AnnotationElement.getVisibleAnnotation(AnnotationElement.java:88) at org.jboss.aop.Advisor.resolveAnnotation(Advisor.java:318) at org.jboss.ejb3.ProxyDeployer.initializeRemoteBindingMetadata(ProxyDeployer.java:125) at org.jboss.ejb3.SessionContainer.instantiated(SessionContainer.java:109) at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:415) at org.jboss.ejb3.Ejb3Deployment.deployElement(Ejb3Deployment.java:397) at org.jboss.ejb3.Ejb3Deployment.deployUrl(Ejb3Deployment.java:378) at org.jboss.ejb3.Ejb3Deployment.deploy(Ejb3Deployment.java:350) 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.GeneratedMethodAccessor54.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.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.GeneratedMethodAccessor4.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 $Proxy37.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
[jboss-user] [EJB 3.0] - Re: EntityManager available outside container ?
I can't imagine anybody has actually implemented this. But I don't know... Regards Felix View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037953#4037953 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Exadel, JBoss and Seam
Did you see: http://www.jetbrains.com/teamcity/ View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037966#4037966 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Switch from DEV to PROD
Where can switch between dev and prod? there are two persistence files: persitence-prod.xml... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037996#4037996 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037996 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Framework: Counting query entities
mmh, interesting. This should work for my quoted query. But you cannot define the query within components.xml anymore, can you? I really love that feature because it saves me countless simple & stupig classes. Chris View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037980#4037980 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037980 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: Configuring SFSB maximim size in EJB3
Hi folks, I have the same problem but with SLSB. My jboss.xml file is the following | | | http://www.jboss.org/j2ee/dtd/jboss_4_0.dtd";> | | | | PortfolioIdDeliverBean | MyTunning | | | | | MyTunning | | 1 | true | 10 | | | | | Even doing the changes in standarjboss.xml, the result is the same: it's possible to create more than one SLSB. Regards View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037971#4037971 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Is there a wsconsume sample available?
Is there a sample of how to use wsconsume to generate service side artifacts? I've seen written examples on the wiki etc, but am having trouble working out it's dependencies. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037976#4037976 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037976 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: Clustered JBoss with Cisco Content Switch
I cannot use the session timeout as it affects the application. Optimally, I would like to tell the CSS switch which http comman to issue in order to close the session and not leave it open. Here is the snippet of the switch config... | service myapp | ip address x.y.z.w | keepalive uri "http://myapp.mycompany.org/page/index.jsf"; | protocol tcp | port 8080 | redundant-index 7 | keepalive tcp-close fin < This line tells the CSS to do a fin/ack rather then a TCP reset | keepalive frequency 15 < Sends a keepalive every 15 seconds | keepalive type http non-persistent | active | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037938#4037938 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037938 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: cms on filesystem and clustering
Davide- Look at this for CMS clustering related documentation. http://docs.jboss.com/jbportal/v2.6/reference-guide/en/html/clustering.html#d0e3441 Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038006#4038006 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - easy alternatives to ui:repeat and c:forEach for Seam 1.2.0P
I have had nothing but trouble with ui:repeat, as it stops repeating on a regular basis and only show a single result until the app server was restarted. c:forEach seemed reasonable, but it is way, way slow compared to ui:repeat. I am not rendering a table, so h:dataTable wouldn't work for me, are there other easy/good solutions to this? tia, Doug View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038011#4038011 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038011 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Upgrade from Seam 1.1 to 1.2.1
I'm trying to migrate an application from Seam 1.1 to 1.2.1GA. The problem is I cannot make Seam Remoting to work. My app is packaged as an EAR with multiple WARs and JARs inside (basically some portlets built on top of some services/EJBs). I followed the Seam documentation and made the changes to the components.xml files, but at deploy time I get an exception saying that the name org.jboss.seam.remoting.messaging.subscriptionRegistry exists twice with the same precedence. If I remove the reference to the said class from the JARs, I can deploy the application, but after I log in, I get another error, saying there is no subscription registry. I'm almost sure it's a configuration problem, but I can't pinpoint it. Anybody has any idea? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037982#4037982 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037982 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - IE/Firefox Filename differences
I'm using Seam1.2.0patch1. The filename parameter on is different between IE and Firefox. On Firefox, I get just the filename. On IE (6.x), the path + filename is returned. Is this expected? My page is: | | | | | My Bean Action is: | public String uploadFile(){ | | if(dataFile==null || dataFile.length==0){ | facesMessages.add("File was empty!"); | return FORM_UPLOAD; | } | | verifyDirectory(step.getTemplatePath()); | | File file = new File(step.getTemplatePath() + fileName); | if(file.exists()){ | facesMessages.add("File already exsits! "); | return "formUpload"; | } | | OutputStream bos=null; | bos = new FileOutputStream(file); | for(int x=0; xhttp://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037993#4037993 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Switch from DEV to PROD
thanks a lot View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038009#4038009 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - No service endpoint generated?
Hello i have the following maven-Script added to my pom.xml which starts wstools with an ANT-Task: | | maven-antrun-plugin | | | antTask | process-classes | | run | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Here the EJB.Code | package org.test; | | import java.rmi.RemoteException; | | import java.math.*; | import javax.ejb.SessionBean; | import javax.ejb.SessionContext; | | /** | * Trade Session EJB manages all Trading services | * | * @ejb.bean name="FirstEJBBean" | *display-name="FirstEJBBean" | *description="A simple hello world bean." | *local-jndi-name="FirstEJBBean" | *type=stateless | *view-type="service-endpoint" | [EMAIL PROTECTED] generate="service-endpoint" | * service-endpoint-class="org.test.StatlessEJBEndpoint" | * | * @wsee.port-component name="org.test.StatlessEJBEndpointPort" | */ | public class StatlessEjbBean implements SessionBean | { | | BigDecimal yenRate = new BigDecimal("121.6000"); | | BigDecimal euroRate = new BigDecimal("0.0077"); | | /** | * @ejb.interface-method view-type="service-endpoint" | */ | public BigDecimal dollarToYen(BigDecimal dollars) { | BigDecimal result = dollars.multiply(yenRate); | return result.setScale(2, BigDecimal.ROUND_UP); | } | | /** | * @ejb.interface-method view-type="service-endpoint" | */ | public BigDecimal yenToEuro(BigDecimal yen) { | BigDecimal result = yen.multiply(euroRate); | return result.setScale(2, BigDecimal.ROUND_UP); | } | | public StatlessEjbBean() { | } | | public void ejbCreate() { | } | | public void ejbRemove() { | } | | public void ejbActivate() { | } | | public void ejbPassivate() { | } | | public void setSessionContext(SessionContext sc) { | } | } i get the following error: | | [INFO] [antrun:run {execution: antTask}] | [INFO] Executing tasks | [echo] ** Running jboss ws ** | log4j:WARN No appenders could be found for logger (org.jboss.ws.tools.WSTools). | log4j:WARN Please initialize the log4j system properly. | org.jboss.ws.WSException: Endpoint com.bbraun.bbmag.test.StatlessEJBEndpoint can | not be loaded | at org.jboss.ws.tools.helpers.ToolsHelper.handleJavaToWSDLGeneration(Too | lsHelper.java:113) | at org.jboss.ws.tools.WSTools.process(WSTools.java:132) | at org.jboss.ws.tools.WSTools.generate(WSTools.java:120) | at org.jboss.ws.tools.ant.wstools.execute(wstools.java:103) | at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275) | at org.apache.tools.ant.Task.perform(Task.java:364) | at org.apache.tools.ant.Target.execute(Target.java:341)
[jboss-user] [JBoss Seam] - Re: Framework: Counting query entities
Lol, should really not drink and make forum posts. :) A combination of dsmith's solution and my components.xml should give you what you're looking for. You only need 1 small class that you reuse in components.xml. You could even write your own namespace and have your own tag. But that's probably overkill, the syntax isn't that verbose. Although I haven't tried it, you may even be able to use the class attribute on to tell Seam to use your EntityQuery subclass. If so, great. You have plenty of options. Based on the HQL, you'd think that Hibernate should be able to look at any digested query that has a single return and determine the correct count() syntax. Even eliminate unnecessary joins like the one you have here. Given how frequently this is used I think this would be a great convenience feature, especially for folks that use the Criteria APIs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038001#4038001 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Custom Window State
Hello, It seems more a pb of wiring. did you look at the layout strategy source code ? may be this feature has not been much tested (used ?), and there is a bug, when routing to the proper jsp file. as you can write your own, you may do one and see with logs what happen and why it does not work... best regards, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038002#4038002 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - access the seam managed PersistenceContext in a @Startup obj
I'm trying to access the seam managed persistence context inside a seam POJO declared as @Startup. When the object is created the inject seam managed persistence context is null @In | private EntityManager em; | Is there a way to do that (basically I need to schedule some maintenance related operations at startup time ... and those operations must access the database ...) ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037995#4037995 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Switch from DEV to PROD
Try creating a build.properties file next to build.xml and include profile = prod View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038003#4038003 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Pros/Cons of war vs. ear deployments (Jboss 4.2)
With applications having 500k+ lines of code, it is very important to us to shrink the amount of time it takes to code/test/redeploy. We have had success in the past with deploying the ejb's in an ear file and hot deploying the web components in an exploded war outside of the ear; the ejb components are tested outside of the container. Just starting to look at seam, but it appears as though this may be troublesome to say the least. It seems as though most IDE solutions are fine with small applications where packaging and deployment times are negligible, but not very useful for large applications. Exadel?s solution fits into this category. Just my 2 cents. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038021#4038021 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038021 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Switch from DEV to PROD
or simply pass as a command line arg to ant View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038004#4038004 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038004 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: BeanFactoryPostProcessors not called ?
"alesj" wrote : What it your actual deployer service? | Post the jboss-service.xml in .deployer archive. Well, wweiersmuller and I mispelled a few configuration files. Everything is OK and works well. Sorry for disturbating. Dom View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038005#4038005 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038005 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - JBoss Migration from 3.2.6 to 4.0.5 GA
I did search the JBoss forum and Google to find some articles (guidelines, procedures, lessons learned etc) related to migrating from 3.2.6 to 4.0.5 GA, but couldn?t get anything useful. I would really appreciate if some one could point me to some documents or changes required from an application point of view. Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038027#4038027 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Seam Framework EntityQuery restrictions does not work for My
Hi, I'm a newbie in Seam. Appreciate if someone can help on this. I run the contactlist example from Seam version 1.2.1 . Everything works if I use HSQLDB. I'm able to do pagination and restriction with the EntityQuery framework. However, the restrictions does NOT work when I switch to MySql database. Has anyone encounter this problem? My configuration is as below: components.xml | http://jboss.com/products/seam/components"; | xmlns:fwk="http://jboss.com/products/seam/framework"; | xmlns:core="http://jboss.com/products/seam/core"; | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; | xsi:schemaLocation= | "http://jboss.com/products/seam/framework http://jboss.com/products/seam/framework-1.2.xsd | http://jboss.com/products/seam/core http://jboss.com/products/seam/core-1.2.xsd | http://jboss.com/products/seam/components http://jboss.com/products/seam/components-1.2.xsd";> | | | | | | from Contact | lastName | | lower(firstName) like lower( #{exampleContact.firstName} + '%' ) | lower(lastName) like lower( #{exampleContact.lastName} + '%' ) | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038017#4038017 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038017 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Framework EntityQuery restrictions does not work fo
exception? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038020#4038020 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: Unexpected redeployment
Is it possible that you have an over-aggressive virus scanner that is changing the modification date on the files? The hot deployer compares modification date from the last time it looked at the file with the current modification date to determine if the file has been updated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038023#4038023 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - NoClassDefFoundError: RuntimeWSDLParser.createReader
Hi all. I want to consume a webservice with a dynamic Stub generated by Jax-WS-Api. The WSDL-Parser is throwing following exception: | java.lang.NoClassDefFoundError | at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.createReader(RuntimeWSDLParser.java:786) | at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.resolveWSDL(RuntimeWSDLParser.java:236) | at com.sun.xml.ws.wsdl.parser.RuntimeWSDLParser.parse(RuntimeWSDLParser.java:107) | at com.sun.xml.ws.client.WSServiceDelegate.parseWSDL(WSServiceDelegate.java:226) | at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:189) | at com.sun.xml.ws.client.WSServiceDelegate.(WSServiceDelegate.java:159) | at com.sun.xml.ws.spi.ProviderImpl.createServiceDelegate(ProviderImpl.java:81) | at javax.xml.ws.Service.(Service.java:56) | at javax.xml.ws.Service.create(Service.java:680) | at de.xxx.fm.app.web.bl.services.WSLogin.pruefeLogin(WSLogin.java:52) | at de.xxx.fm.app.web.bl.facade.BusinessFacade.verifieLogin(BusinessFacade.java:63) | at de.xxx.fm.app.web.gui.serviceworker.CommandDispatcher.bearbeiteLogin(CommandDispatcher.java:168) | at de.xxx.fm.app.web.gui.serviceworker.CommandDispatcher.dispatch(CommandDispatcher.java:63) | at de.xxx.fm.app.web.gui.servlet.FrontController.doService(FrontController.java:86) | at de.xxx.fm.app.web.gui.servlet.FrontController.doPost(FrontController.java:58) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at 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(Thread.java:595) Has anybody get this exception before? The Class is in jaxws-rt.jar, which is include in the Jboss lib-dir... I'm using the newest version of the api's... Has anybody a solution for the problem? Thanks for every kind of help.. greetings Ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037967#4037967 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - EAR deployer
I have an exploded ear. All meta info is in place. At JBoss startup it is not deployed, but when I redeploy it manually with MainDeployer it IS deployed. What's wrong? -- 15:33:33,515 ERROR [MainDeployer] Could not initialise deployment: file:/C:/Wk/prg/Java/Spekker/spekker.ear org.jboss.deployment.DeploymentException: No META-INF/application.xml found at org.jboss.deployment.EARDeployer.init(EARDeployer.java:146) ... -- Spekker Ear spekker-ejb.jar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4037963#4037963 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4037963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues
In Bean B try sharing with @In @Out DataModel sections; If you're trying to manipulate the DataModel in B. Otherwise your investigation seems to show that Seam isolates the @DataModel data binding on a per bean basis. Not sure why. Gavin is around here somewhere, try adding a post to the "Back..." thread. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038036#4038036 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - seam gen war on tomcat - @startup dependency problem
I've been trying to get a war seam-gen project running on Tomcat, and I've been successful at getting the right jars, I believe. However, I am having problems with the EntityManagerFactory component starting before the embedded EJB container is started (which fails because the datasource isn't in jndi). It's strange because integration tests don't have any problems. I think the issue is the EntityManagerFactory component is declared to depend on the microcontainer, but not eejb. (its declaration for reference:) | @Scope(ScopeType.APPLICATION) | @Intercept(NEVER) | @Startup(depends="org.jboss.seam.core.microcontainer") | public class EntityManagerFactory | I think during tests the ejb component is luckily started before the EMF component, but on tomcat it unluckily isn't. It seems like "org.jboss.seam.core.ejb" ought to be added to EntityManagerFacatory's startup dependency list. Does this sound reasonable? releveant components.xml: | | | | | | log/stacktrace: | 11:55:21,268 INFO [Lifecycle] starting up: crsEntityManagerFactory | 11:55:21,393 INFO [Version] Hibernate EntityManager 3.2.0.CR1 | 11:55:21,440 INFO [Version] Hibernate Annotations 3.2.0.CR1 | 11:55:21,471 INFO [Environment] Hibernate 3.2 cr2 | ...more non-interesting EMF startup stuff... | 11:55:29,540 INFO [NamingHelper] JNDI InitialContext properties:{java.naming.factory.initial=org.jnp.interfaces.LocalOnlyContextFactory, java.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces} | 11:55:29,619 ERROR [NamingHelper] Could not obtain initial context | javax.naming.NamingException: Local server is not initialized | at org.jnp.interfaces.LocalOnlyContextFactory.getInitialContext(LocalOnlyContextFactory.java:45) | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source) | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source) | at javax.naming.InitialContext.init(Unknown Source) | at javax.naming.InitialContext.(Unknown Source) | at org.hibernate.util.NamingHelper.getInitialContext(NamingHelper.java:28) | at org.hibernate.connection.DatasourceConnectionProvider.configure(DatasourceConnectionProvider.java:52) | at org.hibernate.connection.ConnectionProviderFactory.newConnectionProvider(ConnectionProviderFactory.java:124) | at org.hibernate.ejb.InjectionSettingsFactory.createConnectionProvider(InjectionSettingsFactory.java:29) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:61) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createFactory(Ejb3Configuration.java:151) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:205) | at org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:114) | at javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:37) | at org.jboss.seam.core.EntityManagerFactory.startup(EntityManagerFactory.java:74) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) | at java.lang.reflect.Method.invoke(Unknown Source) | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20) | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123) | at org.jboss.seam.Component.callComponentMethod(Component.java:1850) | at org.jboss.seam.Component.callCreateMethod(Component.java:1765) | at org.jboss.seam.Component.newInstance(Component.java:1754) | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175) | at org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145) | at org.jboss.seam.init.Initialization.init(Initialization.java:504) | at org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33) | at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3729) | at org.apache.catalina.core.StandardContext.start(StandardContext.java:4187) | at org.apache.catalina.manager.ManagerServlet.start(ManagerServlet.java:1175) | at org.apache.catalina.manager.HTMLManagerServlet.start(HTMLManagerServlet.java:527) | at org.apache.catalina.manager.HTMLManagerServlet.doGet(HTMLManagerServlet.java:104) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:689) | at javax.servlet.http.HttpServlet.service(
[jboss-user] [JBoss Seam] - Re: captcha
it seems that there is already such thing (simple mathematical questions) inside JCaptcha ... see : com.octo.captcha.text.math.MathCaptcha Maybe a simple change of the current integration would be enough ... (I cannot read those captchas either ...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038042#4038042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: DataModel in two SFSB issues
Louis, post your source for Bean A and Bean B. @DataModel does a conversion to a DataModel and then outjects the result - it doesn't do a subsequent injection. Based on your description above I wouldn't expect sections, created in A, to be available in B if annotated with @DataModel (you need to use @In). If you want the underlying list you can use @In("#{sections.wrappedData}"). The code you post just deals with outjecting a DataModel from the bean - and as you outject a different object it is dirty... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038043#4038043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: easy alternatives to ui:repeat and c:forEach for Seam 1.
This is a known problem in facelets - the problem is, afaik, that none of the devs have managed to replicate / track down the problem. I suspect if you can help it would be much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038044#4038044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: captcha
Can you file a feature request in JIRA? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038045#4038045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Manual Flush Mode for Removing detail records
Thanks Captn, I changed the entity manager reference over to : | @In | private EntityManager entityManager; | and it works like a charm, DG View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038039#4038039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: easy alternatives to ui:repeat and c:forEach for Seam 1.
is the preferred way to go. If you're having problems with it I'd try and resolve the issue on the facelets mailing list. Or you could try an alternate implementation. I believe that RichFaces has a repeat tag of their own as well. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038018#4038018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038018 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - WS into seam application that don't call seam components
If I put ws into seam application, for example: | package com.minalink.reservas.ws; | | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebService; | | @Stateless | @WebService | public class EstablecimientosWS { | | @WebMethod | public String echo(String echo){ | return echo; | } | | } | In the jbossws.war show it : | Registered Service Endpoints | ServiceEndpointID ServiceEndpointAddress | jboss.ws:context=reservas,endpoint=ReservasWS http://localhost.localdomain:8080/reservas/ReservasWS?wsdl | This is OK. But if click link wsdl : | HTTP Status 404 - /reservas/ReservasWS | type Status report | | message /reservas/ReservasWS | | description The requested resource (/reservas/ReservasWS) is not available. | Apache Tomcat/5.5.20 | If i create new ejb-module jar (Not Seam application) with this ws, this works fine. Any idea? Can I put web services in seam application? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4038008#4038008 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4038008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user