[jboss-user] [EJB 3.0] - Re: unable to find LoginModule class
this is my LoginModule class | | package com.jpagera.login; | | import java.io.IOException; | | import java.util.Map; | | import javax.security.auth.Subject; | import javax.security.auth.callback.Callback; | import javax.security.auth.callback.CallbackHandler; | import javax.security.auth.callback.NameCallback; | import javax.security.auth.callback.PasswordCallback; | import javax.security.auth.callback.UnsupportedCallbackException; | import javax.security.auth.login.LoginException; | import javax.security.auth.spi.LoginModule; | import java.sql.*; | | import java.util.HashSet; | import java.util.List; | import java.util.Set; | import java.util.Vector; | | | public class JPageraLoginModule implements LoginModule { | | private Subject subject_; | private String userName ; | private char[] password; | private CallbackHandler _callbackHandler_; | private boolean loginResult; | | private String driverDB_ ; | private String userDB_ ; | private String passwordDB_ ; | private String urlDB_ ; | private Map sharedState_; | private Map options_; | private JPageraPrincipal _jPageraRolePricipl[] ; | | public JPageraLoginModule() { | } | | public void initialize(Subject subject, CallbackHandler callbackHandler, |MapString, ? sharedState, |MapString, ? options) { | | this.subject_ = subject; | this._callbackHandler_ = callbackHandler; | this.sharedState_ = sharedState; | this.options_ = options; | | } | | public boolean login() throws LoginException { | | System.out.println(Start LGIN MEHTOD); | if(_callbackHandler_ == null){ | throw new LoginException(JPageraLoginModule Exception _callbackHandler_ is null ); | } | | Callback callbackx[] = new Callback[2]; | | callbackx[0] = new NameCallback(Username); | callbackx[1] = new PasswordCallback(Password:,false); | | | | try { | _callbackHandler_.handle(callbackx); | | System.out.println(LOGI_U + ((NameCallback) callbackx[0]).getName()); | System.out.println(LOGI_P + ((PasswordCallback) callbackx[1]).getPassword()); | | driverDB_ = (String)options_.get(driverDB_); | userDB_ = (String)options_.get(userDB_); | passwordDB_ = (String)options_.get(passwordDB_); | urlDB_ = (String)options_.get(urlDB_); | | System.out.println(driverDB : +driverDB_); | System.out.println(userDB : +userDB_); | System.out.println(passwordDB : +passwordDB_); | System.out.println(urlDB : +urlDB_); | userName = ((NameCallback) callbackx[0]).getName(); | | loginResult = checkUserNameAndPassword(((NameCallback) callbackx[0]).getName(),((PasswordCallback) callbackx[1]).getPassword()); | | System.out.println(IN LOGIN METHOD FINISH.+loginResult); | return loginResult; | | } catch (UnsupportedCallbackException e) { | // TODO | throw new LoginException(JPageraLoginModule Exception UnsupportedCallbackException ); | } catch (IOException e) { | // TODO | throw new LoginException(JPageraLoginModule Exception IOException ); | } | } | | public boolean commit() throws LoginException { | | /*if(!loginResult){ | return loginResult; | }*/ | if (subject_.isReadOnly()) | { | throw new LoginException(JPageraLoginModule Exception Subject is read only!); | } | | | System.out.println(NAM +userName); | JPageraPrincipal jpageraPrincipl = new JPageraPrincipal(userName); | //JPageraPrincipal jpageraPrinciplAdmin = new JPageraPrincipal(ADMIN); | subject_.getPrincipals().add(jpageraPrincipl); | //subject_.getPrincipals().add(jpageraPrinciplAdmin); | | for (int i = 0; i _jPageraRolePricipl.length; i++) { | subject_.getPrincipals().add(_jPageraRolePricipl); | } | | System.out.println(FINISH COMMITE.); | | Object[] ty = subject_.getPrincipals().toArray(); | for (int i = 0; i ty.length; i++) { | System.out.println(i+ Prin ... + ( (JPageraPrincipal)
[jboss-user] [JBossWS] - Re: Problems with installation of jbossws2.0.1 on jboss4.2.1
http://www.jboss.com/index.html?module=bbop=viewtopicp=4094907 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094950#4094950 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094950 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jax-rpc/wstools genereate problem
Starting from some months ago, the JBossWS team is putting his main effort into JAXWS. However, you might create a minimal application reproducing this problem and attach it to a new Jira issue. This way somebody from the community may try to fix the potential bug into the codebase. Apart from this, considering you're dealing with migration issues due to the AS upgrade, I would really suggest you to evaluate switching to jaxws (also upgrading to the latest jbossws release); here http://jbws.dyndns.org/mediawiki/index.php?title=JAX-WS_vs_JAX-RPC you can find a brief introduction explaining why this might be a good idea. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094951#4094951 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094951 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: ClassCastException @ BaseDeserializerFactory.getSpeciali
Sorry, can't remember of it; moreover as you said, setting the username/pwd into the stub should not cause this. If migrating to a more recent jboss application server and ws stack is not affordable for you, in order to understand what's happening I would suggest you to capture the soap messages being exchanged. This way you might see what is really changing and that could drive you to understand where is the problem. If you still think there's a bug, you can nevertheless create a minimal application reproducing the problem and attach it to a new jira issue, however keep in mind that the team is putting his main effort into the jaxws development, thus your potential issue might have to be handled by the community. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094953#4094953 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094953 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wstool jboss 4.05 vs jboss 4.2.0GA wsdl-java
nirre wrote : then one included in jboss 4.2 - jbossws-1.2.1.GA (build=200704151756) | | I have another problem now. Wstool now (with the above mentioned version) generates strange array data types in the jax-rpc file (and it does not generate the corresponding java files) - they where not generated when using the jbossws 1.03 (the one incuded in jboss 4.0.5)... | | At runtime I know get errors like: | [EndpointMetaData] Cannot load class for type: {http://company.com/theIntegration}ArrayOfOpportunityID,com.company.theIntegration.ArrayOfOpportunityID | | and then I get a: | | RemoteException occured when invoking web service method!java.rmi.RemoteException: Call invocation failed; nested exception is: | | java.io.IOException: Could not transmit message | | This seems to me the same as http://www.jboss.com/index.html?module=bbop=viewtopict=120947. I also invite you to create a minimal application reproducing the bug and attaching it to a new tools-jaxrpc jira issue. Then the community might take care of it. Thank you View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094955#4094955 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094955 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Injecting a narrower-scoped bean into a wider-scoped bea
[EMAIL PROTECTED] wrote : Add a FAQ to SeamProblemsFAQ if you like? Added, thanks for the info! Adam View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094956#4094956 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094956 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: El Exception in Seam V2 cr2
spec section? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094957#4094957 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094957 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: faces-config.xml is missing in booking example?
You're using facelets, thats a jsp tld. faces-config.xml is an optional file - if you don't need to configure anything in it, you ca omit it, like in the booking example. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094958#4094958 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094958 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: delay task execution jpdl
I'm sorry but i'm an unexperieced user of jbpm. There isn't a more simple way(without create an action) using some options of the visual editor of eclipse?? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094960#4094960 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094960 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Deploying 2 web services on JBossWS, and getting differe
Issue created on Jira: http://jira.jboss.com/jira/browse/JBWS-1855 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094959#4094959 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094959 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Stop Empty SOAP elements
Could you please capture a soap message exchange showing this and post it here along with the wsdl contract and the stack/version you're using both on client and server side? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094961#4094961 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094961 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Binding HtmlDataTable to h:dataTable in Seam
asookazian wrote : I didn't see any negatives on this technique. Is it something that has to do with JSF and Seam regarding this technique?? thx. IMO it tends to indicate bad design and a lack of proper separation of the UI and business layer (unless of course you bind your components in UI layer java). Also, with facelets and seam there are better ways to do the same e.g. injection via uiComponent or a facelets handler. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094962#4094962 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094962 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error after updated CR2!
Take this to the hibernate forum, its not Seam related (i.e. no idea, looks like some change that was caused by changing hibernate versions) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094963#4094963 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094963 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: soap message not correct?
Yes, the soap message payload does not match with the specified wsdl. From which version of JBossWS is the wsconsume you're using? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094964#4094964 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094964 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Deployment fails jee5 GlassFish example
Try CR2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094965#4094965 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094965 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getting same error screen no matter what Exception is th
Your persistencecontext has to be named 'entityManager'. Otherwise you can define it easily in your components.xml | framework:entity-query entity-manager=#{yourEmName} / | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094966#4094966 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094966 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Some thoughts about abstracting everything from everythi
Seems like you are on the right course, its perfectly possible to introduce more layers into a Seam app - we just find its normally not necessary. You will loose some of Seam's nice features if you remove persistence too far from it (e.g. conversationally scoped persistence contexts). I would avoid dragging Spring in unless you have to. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094967#4094967 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094967 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wstool jboss 4.05 vs jboss 4.2.0GA wsdl-java
I rewrote the build script and used wsconsume instead and had to rewrite some of my beans etc etc, but eventually I got it working. I still think the change of behaviour of the wtools is strange. thanks anyway. /niclas View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094968#4094968 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094968 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre
anonymous wrote : | I don't really understand the point you're making or what you are asking (did you read or understand my other comments in this thread ?) | Yes - but i'm simply trying to figure out why I don't see this issue and how many other deployers will have this issue. I fully understand what you are saying about how Tomcat (and as far as I understand other WTP deployers apparently perform). I just can't reproduce this error and thus I'm asking you if a) this occurs with other deployers too b) did you see leftover artifacts when using our jboss deployer If a and b then this is most likely limited only to possible issues in jstpublisher, if a and not b or not and b then it is some issue specific to our tooling. anonymous wrote : | So my suggestion is to allow the temporary directory where that file copy is performed to be a configurable thing, this way JBossTools-AS can still use PublishUtil class and can instruct it to use a directory like /opt/jboss-4.2.1.GA/server/default/tmp/jbosstools-as/ this making the temporary path ./opt/jboss-4.2.1.GA/server/default/tmp/jbosstools-as/tmp12345.tmp in the above hypothetical situation. And we can't perform that change since it won't be ready in a WTP release in time; so we probably need to fork PublishUtil to make it work. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094971#4094971 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094971 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: jax-rpc/wstools genereate problem
I actually did just that ;) Now I use the wsconsume tool instead and rewrote the build script and the bean code that handled all the method/attribute passing. I think jax-ws is simpler with than jaxrpc, it feels more flexible and simpler - dont have to handle all the unwrapping of the types etc. The bad thing is it took time and I have to test all the core again.. but atleast i learned some new stuff ;) /nirre View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094972#4094972 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094972 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Some thoughts about abstracting everything from everythi
I think one think should not be forgotten: The dependency on Seam is different than the dependency on another library. True, if you use annotations the Seam lib has to be present at build time (You can actually work araound this by using XML). But Seam is not required to use these components if you do not rely on Seam in your own logic. So it is perfectly possible to reuse a JPA data model or session beans that are Seam annotated in an application that does not use Seam. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094978#4094978 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094978 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Saving clients time.. installing/setting up jBPM
Hello I've got the pleasure to look at jBPM as a potential system for a client. The demo (video) of the system looks fast and easy. Sadly the installing procedure is complicated and time consuming. On my personal computer I already had eclipse. I jumped at it and followed readme files, getting started etc. But still was not able to get my current eclipse working with jBPM. So I installed a new eclipse into the designer folder. Worked like a charm. My current problem is getting it up and running towards the web, like in the demo. I made sure that /jbpm-console/ as server. and used the start.bat to config the server setting. Got some warnings and a frozen cmd-window. So I checked the forums found the advice to use: set JAVA_OPTS=%JAVA_OPTS% -Dhttp.proxyHost=192.168.10.254 -Dhttp.proxyPort=3128 -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 instead of set JAVA_OPTS=%JAVA_OPTS% -Xms128m -Xmx512m -Dsun.rmi.dgc.client.gcInterval=360 -Dsun.rmi.dgc.server.gcInterval=360 Still some warning presisted, but now the eclipse connection to the server worked. This whole prossess tok over 6 hours... So my conclusive suggestion would be to make an easier installing prossess of jBMP? Like a ghosted image of a system with jBMP up and running on eclipse? Or something smaller that lets you get a *softer* first impression. I had to struggle to get it to work Any feedback would be most welcome Best regards, Daniel Holth (Norwegian engineer) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094981#4094981 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094981 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how i can start jboss server
We stored JBoss in c:\jboss on a windows xp machine; already have Java v1.5.0_09. However, we get the following log while executing run: anonymous wrote : 16:39:42,218 WARN [Server] Caught Throwable Error, this probably means we've already set the URLStreamHAndlerFactory before | 16:39:42,250 INFO [Server] Starting JBoss (MX MicroKernel)... | 16:39:42,250 INFO [Server] Release ID: JBoss [Trinity] 4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605) | 16:39:42,250 DEBUG [Server] Using config: [EMAIL PROTECTED] | 16:39:42,250 DEBUG [Server] Server type: class org.jboss.system.server.ServerImpl | 16:39:42,250 DEBUG [Server] Server loaded through: org.jboss.system.server.NoAnnotationURLClassLoader | 16:39:42,250 DEBUG [Server] Boot URLs: | 16:39:42,250 DEBUG [Server] file:/C:/jboss/lib/endorsed/serializer.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/endorsed/xalan.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/endorsed/xercesImpl.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-jmx.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/concurrent.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/log4j-boot.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-common.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-system.jar | 16:39:42,265 DEBUG [Server] file:/C:/jboss/lib/jboss-xml-binding.jar | 16:39:42,265 INFO [Server] Home Dir: C:\jboss | 16:39:42,265 INFO [Server] Home URL: file:/C:/jboss/ | 16:39:42,265 DEBUG [Server] Library URL: file:/C:/jboss/lib/ | 16:39:42,265 INFO [Server] Patch URL: null | 16:39:42,265 INFO [Server] Server Name: default | 16:39:42,265 INFO [Server] Server Home Dir: C:\jboss\server\default | 16:39:42,265 INFO [Server] Server Home URL: file:/C:/jboss/server/default/ | 16:39:42,265 INFO [Server] Server Log Dir: C:\jboss\server\default\log | 16:39:42,265 DEBUG [Server] Server Data Dir: C:\jboss\server\default\data | 16:39:42,265 INFO [Server] Server Temp Dir: C:\jboss\server\default\tmp | 16:39:42,265 DEBUG [Server] Server Config URL: file:/C:/jboss/server/default/conf/ | 16:39:42,265 DEBUG [Server] Server Library URL: file:/C:/jboss/server/default/lib/ | 16:39:42,265 INFO [Server] Root Deployment Filename: jboss-service.xml | 16:39:42,265 DEBUG [Server] Starting General Purpose Architecture (GPA)... | 16:39:42,562 WARN [BasicMBeanRegistry] preRegister() failed for JMImplementation:type=MBeanServerDelegate: | java.lang.NoSuchFieldError: TRACE | at org.jboss.logging.Log4jLoggerPlugin.isTraceEnabled(Log4jLoggerPlugin.java:85) | at org.jboss.logging.Logger.isTraceEnabled(Logger.java:122) | at org.jboss.mx.server.AbstractMBeanInvoker.initAttributeContexts(AbstractMBeanInvoker.java:1009) | at org.jboss.mx.modelmbean.ModelMBeanInvoker.initAttributeContexts(ModelMBeanInvoker.java:597) | at org.jboss.mx.server.AbstractMBeanInvoker.preRegister(AbstractMBeanInvoker.java:647) | at org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:697) | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:211) | at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215) | at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71) | at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | at org.jboss.Main.boot(Main.java:200) | at org.jboss.Main$1.run(Main.java:508) | at java.lang.Thread.run(Thread.java:595) | 16:39:42,578 DEBUG [Server] Failed to start | java.lang.RuntimeException: Cannot create MBeanServer | at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:239) | at org.jboss.mx.server.MBeanServerBuilderImpl.newMBeanServer(MBeanServerBuilderImpl.java:71) | at javax.management.MBeanServerFactory.newMBeanServer(MBeanServerFactory.java:316) | at javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:219) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:420) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) | at org.jboss.Main.boot(Main.java:200) | at org.jboss.Main$1.run(Main.java:508) | at java.lang.Thread.run(Thread.java:595) | Caused by: javax.management.NotCompliantMBeanException: Cannot register MBean: JMImplementation:type=MBeanServerDelegate | at org.jboss.mx.server.registry.BasicMBeanRegistry.registerMBean(BasicMBeanRegistry.java:314) | at org.jboss.mx.server.MBeanServerImpl.(MBeanServerImpl.java:215) | ... 8 more | Caused by:
[jboss-user] [JBoss Seam] - Re: STATE_SAVING_METHOD=server broken for ScopeType.CONVERSA
This has now been fixed in MyFaces and will be available in the next release! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094983#4094983 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094983 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Page parameters - change value
The bug has been fixed in MyFaces now and will be available in its next release. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094984#4094984 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094984 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: task form in multipart/form-data
Update task.xhtml file in jbpm-console.war/sa and change enctype of h:form in the 'form' view. After that use gravel file upload components for your needs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094985#4094985 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094985 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJB Injection Classloading issue
You can't deploy ejb's into wars. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094987#4094987 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094987 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - WSSecurity Username token
Hello, Could you please tell me how to protect a web service with username token ? I am not able to find any sample. Many thanks in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094988#4094988 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094988 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: removing the default portal
there is no ant on the solaris environments that this is for and since the developers can not install (no root access) we can't build on the environment. can i build it in windows 32 bit then use it in a solaris 10 64 bit system? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094989#4094989 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094989 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: removing the default portal
cry4dawn wrote : | can i build it in windows 32 bit then use it in a solaris 10 64 bit system? JBoss Portal is a 100% java and doesn't use any native code at all so I don't see why that would be an issue. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094990#4094990 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094990 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: saving admin portlet-based config as default portal conf
vinguye2 wrote : Currently, the admin portlet is used to configure the portal at runtime. Instead of having the info saved to the db, is there a way to make it output to actual descriptor files that can be used to replace the original JBoss Portal descriptors, to make it the default configuration of the Portal itself? This is not something that is currently supported but has been discussed several times. We haven't made any official decisions on this yet, feel free to vote for it in JIRA: http://jira.jboss.com/jira/browse/JBPORTAL-531 if this is something that is important to you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094991#4094991 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094991 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How to change the order of pages??
[EMAIL PROTECTED] wrote : | Search for 'order', first result is: | 22.1. Explicit ordering of tabs | I'm sure you meant search for 'ordering', right? :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094993#4094993 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094993 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: using 2.0.0.CR2 of jboss-seam-ui causes java.lang.Unsupp
Do not use com.sun.faces.verifyObjects with Seam. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094992#4094992 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094992 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Possible to retrieve authenticated user's username/passw
You might want to look at the Portal reference guide and in particular: http://docs.jboss.com/jbportal/v2.6.2/referenceGuide/html_single/#sso View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094994#4094994 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094994 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: custom portal file name
vinguye2 wrote : I'm building from source and would like to output the final artifact with a custom name like myapp-portal.sar instead of the default jboss-portal.sar. Is this configurable somewhere as part of the current build scripts? Why would that be? If you were using a proprietary software say IBM's or BEA's would you be able to rename their product to whatever you'd like? That might actually be a license agreement breach, in the case of proprietary software, though I am not a lawyer. vinguye2 wrote : Also, there isn't a clear separation between the core necessary components of JBoss Portal, and what is extra (i.e. administration component). It would be good if there were separate downloads for the core and the bundled portal package. Actually, the default deploy target in the source distribution will only deploy that minimal core. I agree that it might be better documented though. vinguye2 wrote : I understand though that JBoss Portal is currently work in progress:) Hmm, JBoss Portal is a mature piece of software with a roadmap, release schedule, etc. in use at major companies around the world... Just because it's open source doesn't mean that it's anymore a work in progress as you call it than any other competing products... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094995#4094995 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094995 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: [JBoss 4.2.1-GA] EJB incongruence deploying an EAR on di
rigel77 wrote : Hi, | | ... | | Tnx in advance | Really strange things happen, it seems that the same EAR loaded on Windows Vista JBoss deploy correctly its datasource, while the EAR loaded on Debian JBoss does not deploy its datasource at all. In fact checking more deeply the JBoss logs, I found an clear incongruece, I post here the content of two server log portion concerning datasources: svrns.orion.lan host | server | mbean | code='org.jboss.jms.jndi.JMSProviderLoader' | name='jboss.mq:service=JMSProviderLoader,name=JMSProvider' | attribute name='ProviderName'DefaultJMSProvider/attribute | attribute name='ProviderAdapterClass' | org.jboss.jms.jndi.JNDIProviderAdapter | /attribute | attribute name='FactoryRef' | java:/XAConnectionFactory | /attribute | attribute name='QueueFactoryRef' | java:/XAConnectionFactory | /attribute | attribute name='TopicFactoryRef' | java:/XAConnectionFactory | /attribute | /mbean | mbean code='org.jboss.jms.asf.ServerSessionPoolLoader' | name='jboss.mq:service=ServerSessionPoolMBean,name=StdJMSPool' | depends optional-attribute-name='XidFactory' | jboss:service=XidFactory | /depends | attribute name='PoolName'StdJMSPool/attribute | attribute name='PoolFactoryClass' | org.jboss.jms.asf.StdServerSessionPoolFactory | /attribute | /mbean | mbean | code='org.jboss.resource.connectionmanager.TxConnectionManager' | display-name='ConnectionManager for ConnectionFactory JmsXA' | name='jboss.jca:service=TxCM,name=JmsXA' | attribute name='TrackConnectionByTx'false/attribute | attribute name='LocalTransactions'false/attribute | depends optional-attribute-name='ManagedConnectionPool' | mbean | code='org.jboss.resource.connectionmanager.JBossManagedConnectionPool' | display-name='Connection Pool for DataSource JmsXA' | name='jboss.jca:service=ManagedConnectionPool,name=JmsXA' | depends | optional-attribute-name='ManagedConnectionFactoryName' | mbean | code='org.jboss.resource.connectionmanager.RARDeployment' | display-name='ManagedConnectionFactory for ConnectionFactory JmsXA' | name='jboss.jca:service=ManagedConnectionFactory,name=JmsXA' | attribute | name='ManagedConnectionFactoryProperties' | properties | config-property | name='SessionDefaultType' type='java.lang.String' | javax.jms.Topic | /config-property | config-property | name='JmsProviderAdapterJNDI' type='java.lang.String' | java:/DefaultJMSProvider | /config-property | /properties | /attribute | attribute name='RARName'jms-ra.rar/attribute | attribute name='ConnectionDefinition' | org.jboss.resource.adapter.jms.JmsConnectionFactory | /attribute | depends | optional-attribute-name='OldRarDeployment' | jboss.jca:service=RARDeployment,name='jms-ra.rar' | /depends | /mbean | /depends | attribute name='PoolJndiName'JmsXA/attribute | attribute name='MinSize'0/attribute |
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to clean JBoss loaded EARs?
PeterJ wrote : Yes, removing the EAR file (or directory) from the deploy directory is sufficient. | | If you want to start over from a completely clean server configuration, bring the app server down and also remove these directories: | | server/default/data | server/default/log | server/default/tmp | server/default/work | Thank you Peter, also really clear and useful the second part. Now I can clean safely my JBoss environment :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094997#4094997 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094997 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: custom portal file name
vinguye2 wrote : I'm building from source and would like to output the final artifact with a custom name like myapp-portal.sar instead of the default jboss-portal.sar. Is this configurable somewhere as part of the current build scripts? Also, please make sure that you abide to our EULA if you do so, i.e. you might need to remove all Red Hat trademarks, but once again, I am not a lawyer and this shouldn't construed as legal advice. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094998#4094998 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094998 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - EJB3Trail not bound when running the EJB3Trailblazer tutoria
I am getting this error: javax.naming.NameNotFoundException: EJB3Trail not bound when trying to run the EJB3Trail tutorial in JBOSS 4.0.5. This is very strange and i cannot get this to work no matter what i do. It works fine in JBOSS 4.2.x, but it doesn't work in JBOSS 4.0.5. The problem seems to be with class loading. In JBOSS 4.2.x, the ejb classes load as I deploy the ear file. However, this doesn't not happen in JBOSS 4.0.5. The ear file deploys without errors, but when i try to access the ejb, i get the error mentioned above. (As a side note, I could not get to deploy ejb 2.1 on both versions of the server, i believe due to class loading issues). I am using Java 1.5.0_12 and i believe there are some issues with the security manager, but I might be wrong. Anyone encountered this issue? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4094999#4094999 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4094999 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Saving clients time.. installing/setting up jBPM
Well, I (personally) never needed to do this. But... I have a direct connection to the internet (hence no need for the proxy stuff). For many others this (if needed at all) it has to be a different host and port, so no generic param can be used there and the starterkit is kind of like a ghostimage. btw, ever tried to set up systems provided by other companies? You need more than 6 hours AND expensive consultancy...;-) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095000#4095000 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095000 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - delay task execution jpdl
i've tried this solution: | .. | state name=wait | timer duedate=60 seconds transition=continue/ | transition name=continue to=nextstate/ | /state | ... | but i'm not able to deploy the project.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095001#4095001 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095001 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: removing the default portal
we have problems in the past going from compiled 32 bit to solaris 64 bit. a good example is anything in the new concurrent packages. they throw no class def found evan though the same jdk version is on bith system. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095002#4095002 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095002 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Encoding problem
Any theories as to why the wsdl file is correctly encoded but the .xsd is not? Since they both are generated from the same information, one would assume the encodings would match(?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095003#4095003 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095003 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Steps for building JBoss from source inside eclipse
Assumptions: Target is JBossAS05_Beta2 Prerequisite: a) Download jboss-5.0.0.Beta2-src.tar.gz, since you need third party libs. b) Have JBossIDE 2.0 installed. Now start: 1.From Eclipse menu choose NewProjectJava ProjectCreate Project From Existing Source. Here you have to use ?thirdparty? as project name, case sensitive. Browse to thirdparty directory under the unpacked jboss-5.0.0.Beta2 parent directory and choose it for the existing source. Finish it, and you will get a project named thirdparty. 2.Create an new workspace for eclipse. Then ln -s ?path to jboss-5.0.0.Beta2 thirdparty directory?. Then you' ll get an link named ?thirdparty?to the directory where all dependencies lived. 3.Add a new SVN repository ?http://anonsvn.jboss.org/repos/jbossas/tags/JBoss_5_0_0_Beta2/? to eclipse. (SVN plugin for eclipse can be found through the old ?HowToBuildJBoss? topic on jboss wiki). Pull out all sub-modules you need to examine. Check the project module dependencies, and pull out all those depended modules too. 4.Change to those newly pulled out projects under the workspace. And build them using command line ant separately. Pay attention to project dependencies showed inside eclipse ProjectPropertiesJava Build PathProject page. Depended project should be build first. Finally refresh projects inside eclipse, and create a new project set, including all your pulled out project. Then build the project set. 5.Now you can play with your source code, and enjoys eclipse's short cut key! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095007#4095007 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095007 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Steps for building JBoss from source inside eclipse
It took me rather a while to build jboss's source. since the eclipse.psf in build directory are the same for all tags under svn repository. I have to do it in a manual way. And the orignal JBoss wiki for how to setup jboss source for eclipse doesn't make all things clear, so I wrote a HOW TO for begginers. May be I'm not getting it perfect, so this document need reviewing. Thanks to everybody. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095006#4095006 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095006 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Steps for building JBoss from source inside eclipse
You also need to pull out build and tools module, they are needed for compilation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095008#4095008 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095008 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: removing the default portal
Portal 2.6.2 doesn't use any Java 5 classes so it should be OK on that front, though, obviously, I cannot guarantee that it will work since I haven't tried it myself. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095009#4095009 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095009 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: dropdownmenu dinamically
Nobody have a clue?! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095010#4095010 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095010 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - GWT Remoting Example is not working
OS: Linux Fedora Core 6 JVM: java version 1.5.0_11 JBoss AS: 4.2.1.GA Seam: 2.0.0.CR2 When trying to run the GWT/Remoting example included under examples/remoting/gwt, I am getting the following stack trace: Note: the example is deployed using 'ant deploy' and the following URL: http://localhost:8080/seam-gwt | 11:02:10,190 INFO [Server] JBoss (MX MicroKernel) [4.2.1.GA (build: SVNTag=JBoss_4_2_1_GA date=200707131605)] Started in 28s:157ms | 11:02:19,279 ERROR [[default]] Servlet.service() for servlet default threw exception | java.lang.IllegalStateException: Cannot create a session after the response has been committed | at org.apache.catalina.connector.Request.doGetSession(Request.java:2284) | at org.apache.catalina.connector.Request.getSession(Request.java:2066) | at org.apache.catalina.connector.RequestFacade.getSession(RequestFacade.java:833) | at org.jboss.seam.servlet.ServletRequestSessionMap.put(ServletRequestSessionMap.java:87) | at org.jboss.seam.servlet.ServletRequestSessionMap.put(ServletRequestSessionMap.java:25) | at org.jboss.seam.contexts.BasicContext.set(BasicContext.java:80) | at org.jboss.seam.Component.newInstance(Component.java:1980) | at org.jboss.seam.Component.getInstance(Component.java:1878) | at org.jboss.seam.Component.getInstance(Component.java:1857) | at org.jboss.seam.Component.getInstance(Component.java:1834) | at org.jboss.seam.web.Session.getInstance(Session.java:122) | at org.jboss.seam.contexts.Contexts.flushAndDestroyContexts(Contexts.java:375) | at org.jboss.seam.contexts.Lifecycle.endRequest(Lifecycle.java:132) | at org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHttpServletRequest.java:65) | at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104) | at org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844) | at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580) | at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447) | at java.lang.Thread.run(Thread.java:595) | Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095012#4095012 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095012 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Validation messages with Seam 2.0 and Richfaces 3.1.0
This was fixed in CR2 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095013#4095013 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095013 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Random conversation id's
Why do you want to do this? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095014#4095014 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095014 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - Re: duplicate method: _getAdvisor
We?ve made some experiments, which made us believe that the problem is the fact that the same classes are being used as hibernate entities. As being part of our mapping, it may contain hibernate advisors and interceptor that may interfere with the new interceptor we were trying to add using the AOP xml. Any ideas of how to make them run along? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095015#4095015 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095015 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - s:button action cannot resolve el expression
Seam 2.0.0.CR1 I'm flumoxed. I have a simple rich:dataTable that contains some items. I can happily print property values of the items, and even use s:link to dynamically invoke a view based on an object properly: (this works): | rich:dataTable id=pendingItems | var=item | value=#{dashboard.pendingItems} | h:column id=action | f:facet name=headerItem/f:facet | s:link | value=Edit... view=#{item.editorView} | f:param name=itemId value=#{item.itemId} / | /s:link | /h:column | (the following, however, prints the item property as the value of the button name (demonstrating that item is definitely defined), but when I click on the button, I get javax.el.PropertyNotFoundException with message: Target Unreachable, identifier 'item' resolved to null Huh? | s:button value=Do Something to #{item.name} action=#{item.doSomething} | f:param name=itemId value=#{item.itemId} / | /s:button | Perhaps the item object is in the wrong context (page vs. conversation?). How can I cope? Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095016#4095016 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095016 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: delay task execution jpdl
Sure this is also a solution. Modelling an additional node in the process. But we cannot help you find the cause of the problem if you just say 'I am not able to deploy the project'. We need more info e.g. errors View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095019#4095019 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095019 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Feature request regarding nested conversations
Sorry about the delay getting to this thread. wschwendt wrote : One problem is that unfortunately Gavin King appears to be no longer present on this forum (yes, I understand that he's probably awfully busy and cannot answer mundane support questions here). If you can persuade it us it's worth us looking at we can distill it down for him and see what he says (yes, its worth looking at IMO :) ). Gavin is busy with Web Beans atm. anonymous wrote : And the following approach is not viable either: We cannot simply access a component from the parent conversation and call a property Setter of this component with the ending result of the nested conversation supplied as argument for this Setter. This is what you are supposed to be able to do. anonymous wrote : The reason is that when a component from the parent conversation is called while the nested conversation is still in progress, the ManagedEntityIdentityInterceptor saves wrappers for the called component in the scope of the nested conversation (!) and not the scope of the parent conversation. I'm 90% sure this is a bug. Do you have a JIRA issue open for it? Can you point me at it if you do? I need to review it carefully with Norman. anonymous wrote : I'm puzzled by the fact that Seam offers nothing yet in this regard. A feature like that would be highly useful when modeling complex flows and composing them of one or more subflows. I hope that an output-mapper gets added to Seam, in order to avoid having to resort to ugly hacks such as writing from the nested conversation to the parent conversation scope. | Even if you were able to write attributes back to the parent conversation do you still think this would be useful? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095020#4095020 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095020 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Issue related to HTTP connector threads -- Busy Thread Count
We are running a high volume application (webservice engine platform middleware) on jboss. All the transactions are short lived and we have timeout set on every transaction so we make sure we kill the transaction if exceeds certain time. Noticed yesterday that busy threads value kept on going up and jboss was not responding after it reached max (300). We noticed this trend from 1:30pm and it reached max at 9:30pm.. The busy thread cout was on upward trend . We have cluster of 4 instances and this happened on only one instance. Any thoughts? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095023#4095023 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095023 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to configure JBPM console to a new JBOSS
I found in other topics that exists some in Wiki that explain it, but i did not found. In a new jboss, in put in the folder server/default/deploy the file jbpm-console.war and in the folder server/default/data/hypersonic the localDB.properties and localDB.script. I can see the application, but I can not login. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095024#4095024 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095024 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - approach using seam tests
Hi, one question. What is the right way using test in seam-gen project. I have a project created with seam-gen (using RHDS, same like in console). In my test folder I have created a test class and a testng.xml. If I choose the class and use run as - TestNG Test the result is Total tests run: 0, Failures: 0, Skips: 0 If I use build.xml - test: You need to specify at least one testng.xml or one class or if I use testng.xml - run as - TestNG Suite here the error java.lang.NoClassDefFoundError: org/jboss/deployers/spi/DeploymentException | at java.lang.Class.forName0(Native Method) | at java.lang.Class.forName(Class.java:169) | at org.jboss.seam.mock.BaseSeamTest.embeddedJBossAvailable(BaseSeamTest.java:977) | at org.jboss.seam.mock.BaseSeamTest.startJbossEmbeddedIfNecessary(BaseSeamTest.java:967) | at org.jboss.seam.mock.BaseSeamTest.init(BaseSeamTest.java:893) | at org.jboss.seam.mock.SeamTest.init(SeamTest.java:42) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:580) | at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:397) | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:145) | at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:82) | at org.testng.internal.TestMethodWorker.invokeBeforeClassMethods(TestMethodWorker.java:166) | at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:103) | at org.testng.TestRunner.runWorkers(TestRunner.java:689) | at org.testng.TestRunner.privateRun(TestRunner.java:566) | at org.testng.TestRunner.run(TestRunner.java:466) | at org.testng.SuiteRunner.runTest(SuiteRunner.java:301) | at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:296) | at org.testng.SuiteRunner.privateRun(SuiteRunner.java:276) | at org.testng.SuiteRunner.run(SuiteRunner.java:191) | at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:808) | at org.testng.TestNG.runSuitesLocally(TestNG.java:776) | at org.testng.TestNG.run(TestNG.java:701) | at org.testng.remote.RemoteTestNG.run(RemoteTestNG.java:73) | at org.testng.remote.RemoteTestNG.main(RemoteTestNG.java:124) | after add the lib/test/*.jar files to run dialog the error was the following ERROR 14-10 19:59:43,856 [org.jboss.dependency.plugins.AbstractController.incrementState():456] Error installing to Instantiated: name=DeploymentFilter state=Described | java.lang.IllegalStateException: Class not found: [Ljava.lang.String; | at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:174) | at org.jboss.metadata.spi.signature.Signature.stringsToClasses(Signature.java:125) | at org.jboss.metadata.spi.signature.Signature.getParametersTypes(Signature.java:292) | at org.jboss.metadata.plugins.loader.reflection.AnnotatedElementMetaDataLoader.getComponentMetaDataRetrieval(AnnotatedElementMetaDataLoader.java:138) | at org.jboss.metadata.plugins.context.AbstractMetaDataContext.getComponentMetaDataRetrieval(AbstractMetaDataContext.java:280) | at org.jboss.metadata.spi.retrieval.MetaDataRetrievalToMetaDataBridge.getComponentMetaData(MetaDataRetrievalToMetaDataBridge.java:159) | at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.methodHasAnnotations(AOPConstructorJoinpoint.java:202) | at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasMethodMetaData(AOPConstructorJoinpoint.java:172) | at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.hasInstanceOrJoinpointMetaData(AOPConstructorJoinpoint.java:152) | at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:99) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:103) | at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:52) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:197) | at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.install(KernelControllerContextAction.java:136) | at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) | at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:233) | at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:724) | at
[jboss-user] [JBoss Seam] - Context management for custom servlets
I'm using Seam-2.0.0.Beta1. According to the docs: anonymous wrote : 25.1.4.6. Context management for custom servlets | | ...Seam provides a servlet filter that can be applied to any other servlet that needs access to Seam components. | | This filter allows custom servlets to interact with the Seam contexts. It sets up the Seam contexts at the beginning of each request, and tears them down at the end of the request I'm reading this as saying that I can configure Seam to inject components into a simple on-JSF servlet. The relevant bits of my servlet are as follows: | @Name(documentDownloader) | public class DocumentDownloadServlet extends HttpServlet { | | @Logger | private Log log; | | @In( create=true ) | private Session hibernateSession; | | @Override | protected void doGet( HttpServletRequest request, HttpServletResponse response ) | throws ServletException, IOException { | | //etc. | My components.xml file contains | components xmlns=http://jboss.com/products/seam/components; | ... | xmlns:web=http://jboss.com/products/seam/web; | ... | | web:context-filter url-pattern=/dimmer/dim/* / However, no injection is taking place. What am I doing wrong? Thanks Richard View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095027#4095027 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095027 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Error starting JBOSS
yes I am View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095028#4095028 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095028 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Error JSF+JBOSS
When i try to deploy my jsf app(which is correctly installed in Tomcat) in JBOSS i´m getting the following error: | com.sun.faces.application.ApplicationAssociate cannot be cast to com.sun.faces.application.ApplicationAssociate | Could someone help me with this? Regards, Rafael Roque View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095030#4095030 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095030 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Context management for custom servlets
thatrichard wrote : I'm using Seam-2.0.0.Beta1. According to the docs: | | anonymous wrote : 25.1.4.6. Context management for custom servlets | | | | ...Seam provides a servlet filter that can be applied to any other servlet that needs access to Seam components. | | | | This filter allows custom servlets to interact with the Seam contexts. It sets up the Seam contexts at the beginning of each request, and tears them down at the end of the request | | I'm reading this as saying that I can configure Seam to inject components into a simple on-JSF servlet. No, it just sets up the context - no injection is available - you'll have to get Seam components programatically e.g. using Component.getInstance() or Logging.getLog() View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095031#4095031 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095031 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: approach using seam tests
Which version of Seam? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095029#4095029 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095029 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Execute Queues in JBoss
HI thanks for your reply. We are in a process of migration from weblogic to JBoss.We are using execute queues in web logic 8.1. We use them some thing like this. If were deploy more than 1 ear files in web logic 8.1 , suppose if any of the ear file (let me call it as application), is having some problem and eating up threads , and the threads are got pile up , so at certain point of time, the total server instance will crash up and sleeps. Due to this , the remaining applications (ear) also stop functioning. To avoid this , if we implement execute queues there , then the queue will put some check point to the threads pile up , like for example , when any thing goes wrong in any application , then there is a limit for the check point, like 50 threads is the maximum, after reaching that level , then that application only stops and the remaining applications( ear files) will continue on their work normally. This is one of the use of the execute queues and we are using this. So please let me know if we have any thing like this in JBoss Thanks! VVk View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095033#4095033 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095033 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJB Injection Classloading issue
I thought it was clear enough on the post below and that was the reason I suggested uploading somewhere the project... I am not deploying EJBs inside an WAR. I am packaging the interfaces for the classes (aka EJB-client package) so I can refer to the SessionBeans inside my Web Application. I am packaging only the interfaces not the implementation classes. Lets try to be very straightforward... Is Seam supposed to be able to inject a reference for a SessionBean deployed anywhere in a JNDI compliant Server using @In annotation? Cause if so either I am doing something wrong or there seems to be something not working as expected. I am already using an workaround to avoid this... plain simple ServiceLocator pattern... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095036#4095036 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095036 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: approach using seam tests
Sorry, first time 2.0.CR1 and than latest from cvs. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095037#4095037 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095037 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJB Injection Classloading issue
Sorry, no way I have time to wade through your project. And no, it was not clear from your post what you were trying to do. anonymous wrote : Lets try to be very straightforward... Is Seam supposed to be able to inject a reference for a SessionBean deployed anywhere in a JNDI compliant Server using @In annotation? Yes (much easier to parse those few short sentences ;) ). Try component name=fooBean | scope=SESSION jndi-name=FooBean/remote auto-create=true | class=foo.bar.server.ejb.IFooRemote/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095038#4095038 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095038 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: approach using seam tests
From CVS follow the readme.txt in the src/test folder to set up testng plugin. For Ant, seam-gen expects the test file to be called *Test.xml e.g. FooTest.xml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095039#4095039 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095039 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJB Injection Classloading issue
I had already tried this at my job ... sorry for the delay I had to recreate the project here at home... :D with the interface we get this: | Caused by: java.lang.IllegalArgumentException: component class is an interface: fooBean | at org.jboss.seam.Component.checkNonabstract(Component.java:285) | at org.jboss.seam.Component.init(Component.java:232) | at org.jboss.seam.Component.init(Component.java:217) | at org.jboss.seam.init.Initialization.addComponent(Initialization.java:949) | ... 92 more | By the way, I already tried with the simple java interface and got the same result (although I thought it wont make much sense since we know we are deploying an EJB and we will have an EJB interface anyway) best regards, View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095040#4095040 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095040 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Issues regarding integration testing using seam-gen
I'm using Seam 2.0.0 CR2. I'm new to testng as well as Seam. I had first looked at the examples to create my testng.xml file. It just took me a little bit of time to figure out that the seam-gen created project was expecting a *Test.xml file. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095041#4095041 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095041 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Random conversation id's
I've always been worried about bookmarked URLs. If you bookmark a URL with, for example, id=5, it's not very farfetched to think that at some point in the future when you use the link that you will have an existing conversation with an id 5 that you'd be stepping into. If conversation IDs were large and unlikely to repeat, the risk of this would be reduced. I could also see why someone might care about conversation id uniqueness for logging/monitoring purposes. It would not be a bad idea at all if we used an id generator component that users could override (maybe with a timestamp or GUID-based id) if they so desired. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095042#4095042 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095042 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: ObjectLoader not found error in 2.6.2
I still can not find where this is defined. The source code in jboss-portal-2.6.2.GA-src.zip does not have it, yet SVN as recently as March has the code (trunk/common/src/main/org/jboss/portal/common/concurrent/loader/). I checked the thirdparty libraries by unpacking the jar files, but the only org/jboss/portal/common/concurrent is a Valve.class. I can not use any google gadgets until I resolve this. They worked fine with 2.6.0. Everything else seems to be working OK. Thanks. CR View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095043#4095043 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095043 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Random conversation id's
+1 for a UUID. Random does not guarantee that the id will be unique at the time it is generated so there is a chance for a collision. A UUID on the other hand alleviates that concern. Currently for monitoring purposes from an interceptor I use a UUID that I outject from conversation startup so that I can uniquely identify what sessions principals are on my applications as well as what the state of their conversation / biz proc (outcomes exceptions etc...). Basically a self rolled admin console results. Not necessary in a regular web app but in a DOD Logistical system a requirement. Just my 2 cents. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095044#4095044 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095044 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJB Injection Classloading issue
No, but Seam needs the class to be available to its classloader. I think I got confused and thought this should work - but it only works for local ejbs not remote (where Seam can get at the actual implementation class). So I suggest you use the @Unwrap/manager pattern to make your remote ejbs into Seam components (you could easily make a generic component and instantiate lots through components.xml). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095045#4095045 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095045 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Random conversation id's
Sounds like a good idea to me :) I'm concerned that trying to hook into current methods like the OP described would break something. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095046#4095046 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095046 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: #{s:hasRole} causes authenticate method to re-run
hi Shane, I am using Seam 2.0.0.BETA1 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095047#4095047 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095047 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJB Injection Classloading issue
Hmm... ok... now we have two confused :D I am ok about Seam not supporting remote EJBs but still I feel confused about it supporting local since theoretically the both should have a common behavior in relation to the client. Errr... Let me try to be clearer... I dont follow how Seam accesses the EJB directly when it is a local ejb since in theory all EJB access is meant to be done through the Proxy class that is created by the container. Or am I wrong? Anyway, tks a lot Pete! I'll try the manager tip! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095048#4095048 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095048 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: dropdownmenu dinamically
Just to draw some attention that I posted kind of solution here http://jboss.com/index.html?module=bbop=viewtopicp=4094753#4094753 so if anyone wants to comment or to further elaborate or improve this fell free to add your suggestions. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095050#4095050 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095050 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: GWT Remoting Example is not working
This bug was just fixed recently. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095051#4095051 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095051 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam EJB Injection Classloading issue
The problem isn't accessing the EJB instance (which Seam accesses it through JNDI), but rather the implementing class (which I'm infering isn't on your war's classpath, but on the classpath of the ear which contains it - whats on your wars classpath is the remote interface). I think this is a limitation of the way the component model is implemented that just was never removed (as opposed to a real restriction of the design of Seam's component model). Feel free to file a feature request for this - I want to see what Gavin says. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095052#4095052 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095052 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression
item isn't available when the jsf tree is recontructed in the restoreview phase. Try with h:commandLink (which causes the view to be reconstructed, and so the item variable should be available). Let us know whether that works :) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095053#4095053 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095053 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression
Thanks Pete. That gets me closer -- I now invoke the proper action on the backing bean. I left out a bit of detail in my original query - and that detail is still causing probs. My backing bean has a getHomeComponent() function that does a Component.getComponent() on the proper EntityHome class - that's where my action method actually lives. The action method is being called on the a proper Home object, but h:commandButton is not interacting well with my page params, so the setFooFooId() function is never getting called - and I end up instantiating a new object with each action. Is there a way to get s:button style page parameter behavior with an h:commandButton? | h:commandButton value=Undelete | action=#{item.homeComponent.unmarkForDeletion} | f:param name=clientClientId value=#{item.clientId} / | /h:commandButton | (Thanks again Pete - do you ever sleep?) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095054#4095054 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095054 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression
in jsf, f:param puts the parameter in the request, and doesn't (I believe) set the values to the component the way seam does in pages.xml. There are a lot of ways to skin this cat though...but from what you are doing it looks like you will fare better with @DataModel @DataModelSelection solution. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095055#4095055 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095055 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - JVM memory foot print on Fedora
I am running JBoss 4.0.2 with JVM 1.5.0.12, with maximum heap and PermGen memory size set to be 1GB and 256MB, respectively. I deployed JBoss with our application on Fedora 5 (FC5) with 2GB of memory and the memory footprint is as follows: Memory: 634m Virtual Memory: 1712m I then deployed the exact same code and configuration on a similarly configured Windows XP machine, with 2GB of memory as well and Windows version of JVM 1.5.0.12 and memory footprint is as follows: Memory: 331m Virtual Memory: 322m I obtained these numbers right after JBoss start-up while the system is idling doing nothing. Can someone shed some lights on why such a great memory utilization discrepancy on the two platforms? And what do I need to do to tune JBoss/JVM and/or Fedora to bring the memory utilization to a more management level? I tried to Google for some answers but didn't find anything related. Thanks! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095056#4095056 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095056 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: GWT Remoting Example is not working
Is the bug fix related to this report? http://jira.jboss.com/jira/browse/JBSEAM-1102 If so, looks like the bug fix should be included under 2.0.0CR2 which is what I am using, btw- I am using the released package from the JBoss.org site, without any code changes on my part. Just following the readme instructions and deploying the example Do you think I should try the trunk to see if the bug fix is working there? Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095060#4095060 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095060 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - Re: WTP2.0.1, JBossAS-Tools-1.0.0.beta4 not publishing corre
[EMAIL PROTECTED] wrote : I just can't reproduce this error and thus I'm asking you if | | a) this occurs with other deployers too | | b) did you see leftover artifacts when using our jboss deployer | | If a and b then this is most likely limited only to possible issues in jstpublisher, if a and not b or not and b then it is some issue specific to our tooling. a) I can't comment on 'a' since I don't have any other deployers setup, just Tomcat and JBoss. As I understand the limitations with Java/JVM and Unix system semantics I'm happy to claim that all users of WST PublishUtil are affected while the File tempDir member has a hardwired value. It's important to phrase the question 'b' correctly this occurs with other deployers that deploy to runtimes outside of the workspace filesystem that also use PublishUtil class provided by WST in WTP to place the files into the deployment directory. Maybe you can pick a deployer and container you'd like to me to spare a minute to test it with ? b) Yes I do. Here are the left over files (from $HOME/workspace/.metadata/.plugins/org.eclipse.wst.server.core/ to my example EAREclipseManager.ear project from deploying a moment ago: tmp40855.xml tmp40856.MF tmp40857.xml tmp40858.class tmp40859.class tmp40860.class tmp40861.class The modification to the JBoss runtime deploy directory has all the directories created that I'd expect to see for the project, but the 7 missing files are the MANIFEST.MF, the ejb-jar.xml, the application.xml and 4 x Implementation .class files. Examining the contents of those 7 tmpX. files clearly indicate they are those files, left over from failed renameTo() calls. I'd like to help you observe the issue, this would be best on a linux system (as that is what I use day-to-day). Please confirm your file system layout from 'df', the absolute location of your workspace, the absolute location of your project, the absolute location of your jboss runtime. I can then confirm if I believe your configuration should be able to observe the problem and provide steps. anonymous wrote : And we can't perform that change since it won't be ready in a WTP release in time; so we probably need to fork PublishUtil to make it work. There is always the option of listing the (cross filesystem boundary) as a known issue for the CR1 release. Since it is not that difficult to work around for a developer to ensure his runtime is on the same file system as his workspace. Open an API request ASAP and creating a backwards compatible implementation of the static PublishUtil and a new instancable delegate. But... I do think the lack of UI feedback over publish failure is a MUST FIX item for any major release. When the renameTo fails the user must know (no silent failures). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095061#4095061 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095061 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: s:button action cannot resolve el expression
Thanks dhinojosa, That pushed me in the right direction - I've refactored my code to use @DataModel/@DataModelSelection and all is working fine. Thanks to both of you for your help. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095062#4095062 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095062 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Secure about -ds.xml !
Hi all ! Before, I showed the article of security inside -ds.xml (inside \server\default\deploy) but now I don't remember its links. My -ds.xml file : . | local-tx-datasource |jndi-nameMySqlDS/jndi-name | connection-urljdbc:mysql://localhost/MyDatabase/connection-url |driver-classcom.mysql.jdbc.Driver/driver-class |user-nameroot/user-name --- Not secure ! |passwordiloveyou/password--- Not secure ! |min-pool-size5/min-pool-size |max-pool-size20/max-pool-size |metadata | type-mappingmySQL/type-mapping |/metadata | /local-tx-datasource | . Please Can show me some links about it ! Thank. Catania. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095063#4095063 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095063 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: how i can start jboss server
phonon, please do not post your questions at the end of someone else's post. Instead, start a new post. (Or better yet, so a forum search, I recall this exact same issue being addressed in another post.) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095064#4095064 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095064 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WSSecurity Username token
See http://labs.jboss.com/jbossws/docs/jaxws_userguide-2.0/index.html#d0e1165 Also, there was an earlier discussion at http://www.jboss.com/index.html?module=bbop=viewtopict=120353 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095065#4095065 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095065 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to clean JBoss loaded EARs?
Another option, and the one I prefer: never run 'default' or 'all'. Instead, make a copy and run that. Example: copy server/default as server/foobar and then run -c foobar. That way, 'default' and 'all' are always pristene. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095066#4095066 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095066 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Tools (users)] - nightly build--JBossTools-200710101613--Where is Seam???
nightly build--JBossTools-200710101613--Where is Seam??? http://download.jboss.org/jbosstools/builds/nightly/ Here, 1.I download JBossTools-200710101613-nightly-ALL-win32.zip, 2.unzip file JBossTools-200710101613-nightly-ALL-win32.zip 3.copy all files in D:\download\JBossTools-200710101613-nightly-ALL-win32\eclipse\plugins to D:\java\eclipse-jee-europa-win32--3.3.0\eclipse\plugins 4.copy all files in D:\download\JBossTools-200710101613-nightly-ALL-win32\eclipse\features to D:\java\eclipse-jee-europa-win32--3.3.0\eclipse\features 5.Open eclipse-jee-europa-win32--3.3.0 6.New-file- -Where is Seam??? 7Red Hat Develop Studio- Where is Seam??? --- ** --- ** --- ** 200710091615-nightly ~This one is ok, i find Seam near Red Hat Develop Studio Suggestion: Add some tips about what is[not] accomplished, for example, add a file note.txt, list tips here. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095067#4095067 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095067 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Random conversation id's
http://jira.jboss.com/jira/browse/JBSEAM-2105 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095068#4095068 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095068 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Help - post login and EntityHome instance
I am not sure if my problem is conversation related, or something I'm missing. I have two menu links on the page. Login and Add User. Login is via Seam authentication with users in my database. Login link uses UserHome object to update user login history; and AddUser.xhtml is bound to UserHome as well. When I click on Login link and perform login, the page refreshes the Edit User link generted by s:link is already appended with the UserId causing it to load record of the logged in user; instead of giving blank Add User form. I this it is because UserHome has already been initialised by my login process. But I am not sure, what should be done after the login process to avoid this? Login Link | s:link view=/login.xhtml value=Login rendered=#{not identity.loggedIn} propagation=none/ | | Add User | s:link view=/user-edit.xhtml value=User Add propagation=none/ | | login.page.xml | page conversation-required=false | navigation | ... | /navigatioin | /page | | user.page.xml | page no-conversation-view-id=/user-list.xhtml login-required=true | |begin-conversation join=true/ |action execute=#{userHome.wire}/ | |param name=userFrom/ |param name=userId value=#{userHome.userId}/ | |navigation from-action=#{userHome.persist} |end-conversation/ |redirect view-id=/user.xhtml/ |/navigation | |navigation from-action=#{userHome.update} |end-conversation/ |redirect view-id=/user.xhtml/ |/navigation | |navigation from-action=#{userHome.remove} |end-conversation/ |redirect view-id=/user-list.xhtml/ |/navigation | /page | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095077#4095077 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095077 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting with Apache ? a problem
hi am facing same problem while making application on net bean can any one help? my jsp [EMAIL PROTECTED] contentType=text/html% [EMAIL PROTECTED] pageEncoding=UTF-8% %@ taglib uri=/WEB-INF/tlds/common.tld prefix=cm% [EMAIL PROTECTED] prefix=f uri=http://java.sun.com/jsf/core% [EMAIL PROTECTED] prefix=h uri=http://java.sun.com/jsf/html% function doit() { alert(11); var na ='cc'; Seam.Component.getInstance(myBean).doit(na, doitCallback); } function doitCallback(result) { alert(result); } !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; meta http-equiv=Content-Type content=text/html; charset=UTF-8 Register New User f:view h:form Sdoit /h:form /f:view i have made entried in web.xml servlet-nameSeam Resource Servlet/servlet-name servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class servlet-mapping servlet-nameSeam Resource Servlet/servlet-name url-pattern/seam/resource/*/url-pattern /servlet-mapping still getting error in browser...seam is undefined View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095081#4095081 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095081 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting with Apache ? a problem
hi am facing same problem while making application on net bean can any one help? my jsp [EMAIL PROTECTED] contentType=text/html% [EMAIL PROTECTED] pageEncoding=UTF-8% %@ taglib uri=/WEB-INF/tlds/common.tld prefix=cm% [EMAIL PROTECTED] prefix=f uri=http://java.sun.com/jsf/core% [EMAIL PROTECTED] prefix=h uri=http://java.sun.com/jsf/html% function doit() { alert(11); var na ='cc'; Seam.Component.getInstance(myBean).doit(na, doitCallback); } function doitCallback(result) { alert(result); } !DOCTYPE HTML PUBLIC -//W3C//DTD HTML 4.01 Transitional//EN http://www.w3.org/TR/html4/loose.dtd; meta http-equiv=Content-Type content=text/html; charset=UTF-8 Register New User f:view h:form start Sdoit /h:form /f:view i have made entried in web.xml servlet-nameSeam Resource Servlet/servlet-name servlet-classorg.jboss.seam.servlet.ResourceServlet/servlet-class servlet-mapping servlet-nameSeam Resource Servlet/servlet-name url-pattern/seam/resource/*/url-pattern /servlet-mapping still getting error in browser...seam is undefined View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4095083#4095083 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4095083 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user