[jboss-user] [JBoss Seam] - A time picker?
Seam comes with a nice DatePicker component, which is very easy to use. But if I need to pick a time, not just a date, is there a good component for that? One way I could do it is to have an input for the hour, an input for the minute, and then a date picker. That would give me three fields which need to be converted into a single value, namely a long value which represents the time in Java. Is there a way I can make a converter that grabs all three values at the same time and converts it into one thing? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011761#4011761 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011761 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I edit User Portlet?
can i get the "userid" from databse to use in my portlet. in one of my requirements i want to use "role". for example incase if i want to display welcome "username" in one of my portlet, how to get the "username" from user profile in database depends upon the user who logged in. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011750#4011750 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011750 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: Could not store message
Yes. We are using HSQLDB. Can you tell us why this problem happens with HSQLDB, I mean if you know the cause please let us know as the application was working fine for almost 1 1/2 years. Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011731#4011731 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011731 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Re: Messaging works in stand-alone client but not in Enterpr
Hi all I found the bug. It is related to a bug in Messaging 1.0.1SP2, JBMESSAGING-682: The cause is version of jboss-remoting.jar in server/messaging/lib and server/messaging/deploy are different. The ant script that comes with JBoss Messaging does not overwrite jboss-remoting.jar in server/messaging/lib. After manually replacing the file, everything worked. Regards Alfred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011732#4011732 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011732 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - DBCP pool Active connections / DB down
Greetings, I seems to have a strange problem with DBCP and Oracle Connection poll mechanism. Here how it goes. I'm using Oracle 10g Database and my applicaiton is running on Tomcat 5.1 and my DBCP version is 1.2 1. Get Database connection from DBCP BasicDataSource ds ex :- conn = ds.getConnection() 2. Create a Statement from conn, conn.createStatement() 3. Get ResultSet from Statement stmt, stmt.executeSql(sql) 4. Now, Shutdown the oracle DB or disconnect the client from Server (remove the Lan cable) 5. execute one more SQL query like stmt.executeSql(sql) 6. SQL Exception is thrown at during point 5 , like 17002:I/O error 7. Exception is occurred if i close the connection, conn.close(); (Error Code 0 and message is connection is already closed) 8. At this point, DBCP is not returning the connection to ideal pool, means Connection still has active status and we can check the active status from BasicDataSource like bs.getNumActive() I think its bug with DBCP if now I hope someone can to light to solve this issue. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011733#4011733 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011733 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jboss bpel runtime + eclipse bpel designer
I'm very grateful to your answer, Alejandro thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011735#4011735 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011735 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Error in Seam Action accessing another JBoss instance pa
finally found the solution. earlier i just added the hibernate-entitymanager.jar, javaassist.jar to the class path of the entire application not individually and i was also not adding the hibernate3.jar. now i included hibernate-entitymanager.jar, javaassist.jar and hibernate3.jar to the class path of both the client and ejb module separately. then deleted all the old jar files, emptied the tmp folder, restarted the server, rebuilt all the packages, redeployed the application and executed the client. it worked fine! thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011739#4011739 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011739 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
Aah, I see. Regarding the authenticator.authenticate method, when you add roles to the "Set roles" in the method argument, where in the debug would you look to see that it's actually being added correctly? I checked the identity component but there's no roles property there...where else do I look? (I'm having some troubles that seem to be related to these roles...) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011718#4011718 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011718 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Resource loading in Seam - ideas
There are three classes of problem that come up. 1. Independent external resources: Something like an image. This isn't part of anything else and can be generated and served all by itself. 2. A piece that needs to go into some other external file. Like I might need to insert a little piece into a CSS file or a JavaScript file. I need to be able to register a callback that says, "hey when you're generating that JS file, don't forget me." 3. Non-local modifications to the HTML output. If I have a button that requires some JS, that JS needs to modify the header of the HTML output to either have the code embedded or have a reference to the external resource. Same with CSS. Right now I know that JS gets embedded all over the place but this is not correct. Each of these problems may have different solutions. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011720#4011720 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011720 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Quick deployment during development
seam-gen sets all this stuff up for you. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011719#4011719 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011719 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
Seam's exception handling stuff is fixed/redesigned in CVS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011721#4011721 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011721 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Accessing UserModule with MyFaces
Hi all, I have progress now, I add this to jboss-portlet.xml : | | UserModule | | org.jboss.portal.identity.UserModule | | :service=Module,type=User | | and I can get the UseModule from the PortletSession and print number of current user : | UserModule userModule = (UserModule) portletSession.getPortletContext() | .getAttribute("UserModule"); | | try { | if (userModule != null) { | log.debug("Num Of User: " + userModule.getUserCount()); | Set users = userModule.findUsersFilteredByUserName("e", 1, 4); | log.debug("user set size: "+users.size()); | Iterator it = users.iterator(); | while(it.hasNext()) { | log.debug(it.next().toString()); | } | } | } catch (IllegalArgumentException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } catch (IdentityException e) { | // TODO Auto-generated catch block | e.printStackTrace(); | } | but when I try to get User object like this : | User user = userModule.findUserById("5"); | if(user != null) { | log.debug("user not null"); | } | | User user = userModule.findUserByUserName("test1"); | if(user != null) { | log.debug("user not null"); | } | both code throws error like this : | The portlet threw an exception | java.lang.StringIndexOutOfBoundsException: String index out of range: -1 | at java.lang.String.substring(String.java:1762) | at java.lang.String.substring(String.java:1735) | at com.sun.facelets.FaceletViewHandler.getRenderedViewId(FaceletViewHandler.java:746) | at com.sun.facelets.FaceletViewHandler.buildView(FaceletViewHandler.java:491) | at com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:553) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:384) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:322) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.nonFacesRequest(MyFacesGenericPortlet.java:297) | at com.soltiusb2b.b2bng.portal.DocumentPortlet.nonFacesRequest(DocumentPortlet.java:184) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.facesRender(MyFacesGenericPortlet.java:379) | at com.soltiusb2b.b2bng.portal.DocumentPortlet.facesRender(DocumentPortlet.java:160) | at org.apache.myfaces.portlet.MyFacesGenericPortlet.doView(MyFacesGenericPortlet.java:265) | at com.soltiusb2b.b2bng.portal.DocumentPortlet.doView(DocumentPortlet.java:136) | at javax.portlet.GenericPortlet.doDispatch(GenericPortlet.java:167) | at javax.portlet.GenericPortlet.render(GenericPortlet.java:407) | at com.soltiusb2b.b2bng.portal.DocumentPortlet.render(DocumentPortlet.java:101) | at org.jboss.portal.portlet.container.PortletContainer.invokeRender(PortletContainer.java:519) | at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletContainer.java:440) | at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch(PortletContainerInvoker.java:143) | at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(PortletInvocation.java:242) | at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:140) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.org$jboss$portal$core$aspects$portlet$TransactionInterceptor$invokeNotSupported$aop(TransactionInterceptor.java:85) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java) | at org.jboss.aspects.tx.TxPolicy.invokeInNoTx(TxPolicy.java:66) | at org.jboss.aspects.tx.TxInterceptor$NotSupported.invoke(TxInterceptor.java:101) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor$invokeNotSupported_4827075286966232824.invokeNext(TransactionInterceptor$invokeNotSupported_4827075286966232824.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invokeNotSupported(TransactionInterceptor.java) | at org.jboss.portal.core.aspects.portlet.TransactionInterceptor.invoke(TransactionI
[jboss-user] [JBossWS] - Namespace for complex types
I am using a jsr181 pojo service that works well except that I have not been able to find a way to set the targetNamespace on all the complexTypes. Setting targetNamespace in the @Webservice() annotation sets the tns for the bindings and some of the complexTypes, but not all of them. Specifically it does not set the targetNamespace for complexTypes that are referenced as arrays eg: @WebMethod public SdmOrderStatus evaluateSdmOrder(SdmOrderRequest order) { works fine for both the parameter and the return object @WebMethod public ProductDesc[] getProducts() { results in a default namespace for ProductDesc, but my requested namespace for ProductDesc.Array I am using jbossws from the jems-installer-1.2.0.GA (1.0.3 sp1 I think). Any ideas would be appreciated. Regards, Peter Yuill View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011725#4011725 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011725 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Quick deployment during development
I use an exploded ear format (note I'm using JBoss AS). If I make web resource changes, I copy them over to the exploded war directory and the changes are immediate. If I make a java source change, I compile it and copy them over to the appropriate exploded directory, and then do touch on application.xml to force a re-deployment. I use ANT for all this stuff. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011717#4011717 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011717 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
"lightbulb432" wrote : Why is the NotLoggedInException being swallowed? Aren't we supposed to be able to do things with this, like specify it in exceptions.xml - which isn't working for me... http://jira.jboss.org/jira/browse/JBSEAM-752 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011716#4011716 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011716 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Is JBPM Compatible with other applications servers like
Oops sorry for the delay.. So finally I integrated JBPM to my application in Oracle 10g AS.Hopefully I may be posting a document for "How to integrate JBPM in a struts application " very soon.. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011712#4011712 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011712 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to enable Logging in jbpm 3.1.2?
I use jbpm 3.1.2 default configuration,there's a logging service definition at jbpm.cfg.xml: but after the processes excuted,there isn't any logs created in the database table:JBPM_LOG. How to enable jbpm to automaticly creat logs? or i have to create logs by calling logging api? Thanks in advance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011710#4011710 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011710 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel confused over name...
I learned that using "empty" does not work here since the List is wrapped in a ListDataModel, and I need to use rowCount on that instead to test for empty. But something weird was still going on. In the debugger window I could see my variable m_availableCars and listed as being an Array - i.e. showing two empty brackets. Changing the name (i.e. removing m_) got my code working. But so, I thought. After restarting JBoss I could not reproduce the problem, and switching back to the "m_" notation worked. So - problem is solved. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011706#4011706 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011706 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
Why is the NotLoggedInException being swallowed? Aren't we supposed to be able to do things with this, like specify it in exceptions.xml - which isn't working for me... 19:55:48,625 ERROR [AbstractSeamPhaseListener] Swallowing exception thrown by page action | org.jboss.seam.security.NotLoggedInException | at org.jboss.seam.security.Identity.checkRestriction(Identity.java:161) | at org.jboss.seam.pages.Page.enter(Page.java:185) | at org.jboss.seam.core.Pages.enterPage(Pages.java:239) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.enterPage(AbstractSeamPhaseListener.java:241) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.beforeRender(AbstractSeamPhaseListener.java:192) | at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:53) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersBefore(PhaseListenerManager.java:70) | at org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:373) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:138) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:46) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) | at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:432) | at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) | at java.lang.Thread.run(Thread.java:595) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011705#4011705 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011705 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JbossWS client exception
I trying to consume a web service, when I run the wstools I am getting an error wsexception unsupported schema. I am running JBoss 4.04 GA thanks anu View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011702#4011702 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011702 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: @DataModel confused over name...
(Sorry, hit submit instead of preview)... View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011701#4011701 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011701 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Is header content injection coded in portal 2.4.0 ?
hi Julien, Is the markup tag currently supported in portal 2.4.1? I try a few variation using the seam portal example but failed (ie. I view the html source and couldn't find that the javascript is loaded). Some variations are: | | | | | | | | | | | | my setup is: AS 4.0.5 Portal 2.4.1 Seam 1.1.5 Facelets My real purpose is to incorporate AJAX4JSF, but i encountered "A4J undefined" error, and this seems to be caused by AJAX.js not loaded. Thats why i thought i could workaround it by injecting AJAX.js manually. I'm lost here and your advice is most appreciated. Thank you in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011699#4011699 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011699 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: org.jboss.mq.SpyJMSException: Could not store message
Are you using HSQLDB? Probably something to look at would be replacing it with MySQL. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011698#4011698 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011698 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDB Load / Deploy Dynamically
Not really a clean, straightfoward way. The deployment configuration is very complicated, so iit is expressed in XML. You can have your program generate an EJB .jar file that JBoss can deploy. Create a template then generate using ANT http://jboss.org/wiki/Wiki.jsp?page=ExplodedDeployment I'm sure there's a way without doing this, but it'd be through calling internal APIs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011697#4011697 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011697 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Web application startup/initialization method
This may not be the best way to do it, but I got it to work with this trick. In a standalone service which is loaded before all WARs, I create a thread that waits for a class in the WAR module to be available, and then instantiate an initialization class in that module. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011677#4011677 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011677 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Jboss Portal Insallation
The problem was with the connection to MySQL got my DBA to fix it. Thnx View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011680#4011680 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011680 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Quick deployment during development
Hi, Does anybody know how can I speed up deployment during development of a SEAM app? Everytime I make small changes in my app I have to redeploy the app and wait for about 30 seconds to check changes. When it's a new entity (for instance) in the app it's reasonable to redeploy the whole app, but sometimes it's a small change in a page. I tryed to remove the WAR from the EAR and deploy the WAR alone, but I got an exception that the org.jboss.seam.servlet.SeamRedirectFilter was not found. Any tip or direction is wellcome!!! Thanks, Ricardo Memória View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011682#4011682 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011682 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss IDE 2.x and WTP 1.5.2 coexistence
I want to try out nightly build, but I think it is not working (test failure) for AS and EJB3. >From here: http://download.jboss.org/jbosside/builds/nightly/ Thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011685#4011685 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011685 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - @DataModel confused over name...
I am using a @DataModel annotation for a variable like this: | @DataModel("availableCars") | private List m_availableCars; | and I have a factory model | @Factory("availableCars") | public void findCars() | //... | When I use this combination, the picks up the value ok, but when I use regular EL statments like: | | The text does not get rendered even when the factory method creates an empty List. After some testing, I notived that the Debug ouput page showed the bound variable m_availableCars, and not as I expected availableCars View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011688#4011688 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011688 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: How do I edit User Portlet?
My understanding was that dleerob wanted to know which JSP contained the text so that it could be removed. I provided the JSP file name, and a key piece of text to look for to find where that message is presented so that it could be removed. My reference to the properties file was not to say 'change the text here', though one possibility would be to set REGISTER_REGISTER, and it's sibling properties, to blank. Rather, it was to point out why the plain text was not found via a text search of the JSPs. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011672#4011672 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011672 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: How to add without overwriting
Also, I wrote a simple test case, and got some unexpected behaviour. I started a tx in the first vm, then checked if a node 'existed'. Then, from another VM, I added data to that node. Back in the original VM, I added data to a node and called commit. I was expecting some sort of rollback exception, but instead it overwrote the value that the 2nd VM had placed in the node. To me, this appreas incorrect. Any ideas on something i'm doing wrong? Thanks again for the help. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011673#4011673 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011673 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Problem when getting Portlet Markup using WSRP
Hi Chris This is the full stack trace that I got from JBoss Portal. When I debug in Visual Studio, this exception is thrown from the Producer site and I'm not sure where's the source of this exception. 11:29:51,593 INFO [WSRPProducerImpl] getMarkup() invoked 11:29:51,656 ERROR [WeatherPortlet] The portlet threw an exception java.lang.IllegalArgumentException: Bad format at org.jboss.portal.portlet.ParametersStateString.(ParametersState String.java:64) at org.jboss.portal.portlet.impl.jsr168.RenderRequestImpl.(RenderR equestImpl.java:63) at org.jboss.portlet.JBossRenderRequest.(JBossRenderRequest.java:5 1) at org.jboss.portlet.JBossAPIFactory.createRenderRequest(JBossAPIFactory .java:50) at org.jboss.portal.portlet.container.PortletContainer.invokeRender(Port letContainer.java:510) at org.jboss.portal.portlet.container.PortletContainer.dispatch(PortletC ontainer.java:440) at org.jboss.portal.portlet.container.PortletContainerInvoker$1.dispatch (PortletContainerInvoker.java:143) at org.jboss.portal.portlet.invocation.PortletInvocation.dispatch(Portle tInvocation.java:242) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j ava:140) at org.jboss.portal.wsrp.aspects.portlet.SessionInterceptor.invoke(Sessi onInterceptor.java:49) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet Interceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j ava:130) at org.jboss.portal.portlet.aspects.portlet.ModesInterceptor.invoke(Mode sInterceptor.java:59) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet Interceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j ava:130) at org.jboss.portal.portlet.aspects.portlet.WindowStatesInterceptor.invo ke(WindowStatesInterceptor.java:55) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet Interceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j ava:130) at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor $InvokeNextCommand.execute(ContextDispatcherInterceptor.java:124) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.portal.server.servlet.CommandServlet.doGet(CommandServlet.j ava:104) at org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet. java:161) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl icationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF ilterChain.java:173) at org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDisp atcher.java:672) at org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationD ispatcher.java:539) at org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDis patcher.java:499) at org.jboss.portal.wsrp.invocation.WSRPRequestContext.include(WSRPReque stContext.java:74) at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor $1.include(ContextDispatcherInterceptor.java:68) at org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet .java:84) at org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor .invoke(ContextDispatcherInterceptor.java:74) at org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(Portlet Interceptor.java:37) at org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.j ava:130) at org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java: 171) at org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(Por tletContainerInvoker.java:114) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) at java.lang.reflect.Method.invoke(Unknown Source) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch er.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept or.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM BeanOperationInterceptor.java:142) at org.jboss.mx.server.Invoc
[jboss-user] [JBoss Portal] - Re: How do I edit User Portlet?
"PeterJ" wrote : Like all good JSP code, the Portal uses properties to define the text strings so that the UI is easily translatable. Look for the property REGISTER_REGISTER in the file portal-core.war/WEB-INF/jsp/user/login/jsp. Hmmm... He said that he did not want the link at all - not that he wanted to change the text. I'm having a look a JBoss Portal myself; if I have to hack jsp code to turn of such functionality then I am starting to get worried about upgrading from one version to another. Such things should be in the database to provide easy/easier upgrades. I might have misunderstood something, please correct me if so. Regards, Jimisola View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011663#4011663 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011663 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exceptions.xml
After the exception has redirected the response, how can i have access the the exception at page level? I just need to print the exception's message... thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011662#4011662 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011662 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exceptions.xml
+1 I got confused not too long ago on my missing debug page. Then later found out (through the help of this forum) that I inadvertently disabled it by removing the "debug" attribute from tag as I was doing copy and paste. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011655#4011655 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011655 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Servlet welcome-file not supported
I've just noticed jboss doesn't support servlet as welcome file. I thought this is defined in servlet spec 2.4. Anyone knows a good walk around? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011654#4011654 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011654 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss AOP] - InterfaceIntroduction with Dynamic AOP
Hi, I was trying to add an interface introduction to a class during runtime, i.e. by dynamic AOP, but so far without success. I was able to do it by "static" AOP, i.e. adding the respective tags in the xml files as described in the reference manual or the tutorial. The important excerpt from my (static) xml-file: | | | Printable | | Printer | new Printer(this) | | Intending to use dynamic AOP, I tried it with the following: MainClass myMainClass = new MainClass(); | String[] interfaces = {"Printable"}; | // use InterfaceIntroduction-Constructor found in the API for jboss-aop_1.5.3.GA | InterfaceIntroduction ii = new InterfaceIntroduction("SomeArbitraryName","MainClass", interfaces, "Printer", "new Printer(this)"); | AspectManager.instance().addInterfaceIntroduction(ii); | | // use reflection to invoke the method "print" which is implemented by Printer. | // this worked using "static" AOP. However it throws an exception now. Therefore | // something must have gone wrong :-( | try { | myMainClass.getClass().getMethod("print", null).invoke(myMainClass, null); | } catch (Exception e) { | e.printStackTrace(); | } I don't know whether I have to prepare anything for my issue, but I tried both without and with the following: I tried both running in loadtime mode as well as in HotSwap-mode. Any ideas what I made wrong? Is it possible at all to add an interface introduction using Dynamic AOP? Thanks in advance for your help! Hannes View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011647#4011647 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011647 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to start this process instance?
Oops - please ignore my earlier message - I didn't read carefully. Are you supposed to get an enter event on the start state? I would only have expected a leave event. Start state are usually special. The documentation hints that there isn't an enter event on the start node, but doesn't say it explicitly: anonymous wrote : When a process instance is created, a token is created for the main path of execution. This token is called the root token of the process instance and it is positioned in the start state of the process definition. I'm guessing a lot, but I wonder if you are trying to createStartTaskInstance() before signalling to enter the node where the swimlane is started. I suspect that you have to wait till then, based on the examples. -Ed Staub View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011646#4011646 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011646 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exception when using ScopeType.CONVERSATION and h:panelG
1) its a limitation. (that can't be fixed) 2) every other scope View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011639#4011639 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011639 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: How to start this process instance?
Why do you want to do this? Start-nodes in workflow systems often have behavior different than other nodes - they're mostly just a marker for where to start. This is carried forward from general state machines. In general, trying to pin a lot of other behavior (e.g., a task) into the start node is probably asking for trouble. Even if it works in a particular scenario in a particular release, it's unlikely to be tested very well, and hence is likely to get inadvertently broken. But maybe you really need it - I don't know. -Ed Staub (newbie) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011637#4011637 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011637 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exceptions.xml
Gavin, I think we ought to make it so that you can still access the debug page even if debug=false - I normally access the debug page when I need to, not when an exception is thrown - perhaps it's available if you just include the jar? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011632#4011632 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011632 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam customer references
The two customers we usually talk about are Nuxeo and Lexicon Genetics. I guess you can find more information about these from sales. There are definitely some banks and large ecommerce sites using Seam, but we aren't allowed to talk about them, and anyway those systems are still in development. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011635#4011635 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011635 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exceptions.xml
Right. The debug handler comes before the catch-all. Otherwise you would never see a debug page View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011630#4011630 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011630 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: composite ui component
You should look at facelets (source) components - ah but you seem to be using jsp - my advice is don't, use facelets. If you used facelets source components, and used it as described in your first code snippet, you would have be able to access a #{config} object in your source components. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011628#4011628 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011628 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exceptions.xml
Set in components.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011629#4011629 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011629 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - exceptions.xml
i configured redirect on exception with exceptions.xml but my app is always redirected to the seam's debug page, it seems everything is working fine : | 23:07:44,312 ERROR [AbstractSeamPhaseListener] Swallowing exception thrown by page action but the right page never appears. That's the config : http://jboss.com/products/seam/exceptions-1.1.dtd";> | | | | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011617#4011617 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011617 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: composite ui component
No, I think you might be right about it being more of a jsf question. I was just hoping someone could help me here. I'd like to do something like this in my page: | | | | | I'd then like based off of the configuration given to the component to contain the following two groups of child components: | | | | | | | | | | | | | | | | I know I could render the html for the child snippets, but I'd like to re-use the jsf components so that I can take advantage of the databinding. Ideally I'd like to store the snippets in individual jspx files and dynamically link them into my component at runtime. I'm kind of new to jsf/seam so I apologize if this is the wrong place or I'm missing something really obvious here. Thanks, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011627#4011627 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011627 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Latest JAAS Tutorial for Database communication
why hasn't anyone replied to this post? i have a similar interest in a good tutorial on setting up JAAS in JBoss. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011622#4011622 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011622 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting: premature end of file
Sure, only the request shows: | Mon Feb 05 2007 14:02:02 GMT-0800: Request packet: | | caba10bf-7526-405d-bdfd-ce9f9c019149 | Please let me know if I can get anything else. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011612#4011612 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011612 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Resource loading in Seam - ideas
There have been a few threads discussing resource loading recently, and I thought it would be worth summarising them (to the best of my ability/memory here). Please contribute your ideas and requests! The often asked questions normally fall into one of two camps: * How can I provide access to a resource that I'm bundling into a component jar file (for example the s:selectDate component currently requires you add the css to your css file) | * How can I provide access to a resource that isn't available as a file on the disk (often loaded from a persistence context, but possibly created on the fly) There are some solutions already existing: * Norman has proposed using https://weblets.dev.java.net/ to solve problem 1 - perhaps with some work to 'seamify' the configuration | * There is a dynamicImage (http://jroller.com/page/pmuir?entry=dynamicimagecomponent_for_jsf) component for displaying images loaded from the database | * There is the possibility of using a generic 'Resource' class, which can be extended to supply the actual data, and it's render method called to render the data | * There is the ajax4jsf media component (https://ajax4jsf.dev.java.net/nonav/documentation/ajax-documentation/entire.html#d0e3589) | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011608#4011608 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011608 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - How to start this process instance?
Dear JBPM people, I am wondering what it would be the best way to start process instance of process definition, which have in start-state some system action (it is not executed by human). On node-enter event some action should be triggered. Please look at the example below: | | | | | messageActionHandler | | | | | | | | | | | | | | | | | | | As you can see, here the "start-state" does not contain task and after process instance is created, it cannot be started with: taskInstance = processInstance.getTaskMgmtInstance().createStartTaskInstance(); like in JBPM example webapp, because exception in createStartTaskInstance() occurs, since startTask is NULL. If I fetch the rootToken and call signall() on it, my Action on node-enter event is not invoked. Token rootToken = processInstance.getRootToken(); | rootToken.signal(); Just to mention, everything works fine when the start-state is executed by human, and node-enter event with my action is defined in the next state. Any hint? Thank you and regards Milan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011601#4011601 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011601 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Remoting: premature end of file
Can you turn on debug mode and post the request and response? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011604#4011604 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011604 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: FileUpload component typo
Fixed in cvs - thanks for pointing it out. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011602#4011602 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011602 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: performance degradation
dont really know what part runs slower, mysql is still very responsive what profiler do you recomend? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011598#4011598 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011598 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: when eviction is configured in the clustered environment
Here is the summary from my findings. If eviction attribute is commented the tomcat is shutting down properly. But when eviction is uncommented the tomcat is not shutting down properly no matter cache is loaded or not loaded. After adding cache.stopservice code the server was shutdown properly with eviction attribute uncommented but the cache is not loaded with data. When eviction attribute is uncommented and cache is loaded the server is not shutting down properly. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011594#4011594 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011594 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: JBOSS+SPRING+IBATIS [CachedConnectionManager] Closing a
http://wiki.jboss.org/wiki/Wiki.jsp?page=CanJBossTellMeWhenIDontCloseAConnection View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011593#4011593 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011593 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: performance degradation
Which part of your application degrades? Is it when the application does some database operations? Also, you would want to use a profiler to figure out the exact cause of the performance degradation. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011591#4011591 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011591 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: No Managed Connections within specified blocking timeout
Have a look at: http://wiki.jboss.org/wiki/Wiki.jsp?page=WhatDoesTheMessageNoManagedConnectionsAvailableMean View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011586#4011586 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011586 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: when eviction is configured in the clustered environment
Commenting the eviction attribute fixed it? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011585#4011585 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011585 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - Re: No WebApplicationContext found: no ContextLoaderListener
Not what JBoss/Spring is about. Ask on the Spring forum. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011584#4011584 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011584 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Transaction problem after upgrade
sorry for my very wide question, but, which are the possible things that i do wrong for get that error Thanks in advance View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011581#4011581 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011581 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB client: NullPointerException in StatelessLocalProxy
@EJB injection into Servlets isn't yet supported, Yannik. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011569#4011569 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011569 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: composite ui component
Can you give an example of what you are hoping to do (I'm not quite following you) - I think you may be confused between Seam components and JSF components? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011570#4011570 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011570 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Audit Facilities
Did you find a solution to audit login and logout ? The only solution I found is to add a LoginModule in charge to audt. That's not a very good solution. I'm not sure to have logout event. User can kill the client app or the web browser without a logout. Ideas are welcome. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011563#4011563 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011563 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: when eviction is configured in the clustered environment
I tried with 2.4.1, 2.2.8 and 2.2.9.1 But I was not succesfull. For time being I commented the eviction attribute. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011561#4011561 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011561 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: exception when using ScopeType.CONVERSATION and h:panelG
"[EMAIL PROTECTED]" wrote : Conversation scoped components are not available during the RESTORE_VIEW phase, when binding is evaluated. 1) Am I correct in assuming this is a "feature" and not a "bug"? 2) If not Conversational, then which scopes can hold components which are available during the RESTORE_VIEW phase? From my example it looks like ScopeType.EVENT is one, are there any more? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011559#4011559 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011559 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam customer references
Thanks Norman, I'll definitely contact sales quarter then. Have a nice day View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011558#4011558 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011558 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: EJB client: NullPointerException in StatelessLocalProxy
I'm having a similar problem. I'm injecting the local EJB into a servlet, and when accesing the bean, the servlet throws a NullPointerException, just as if the bean wasn't instanciated. The servlet runs in the web-container, the bean in the EJB-container. So using the Local interface shouldnt be any problem(?) | public class ControllerServlet extends HttpServlet | { | @EJB | private ItemManagerLocal itemManager; | | protected void processRequest(HttpServletRequest req, HttpServletResponse res) | { | itemManager.findItem(itemId); // <--NPE happens | } | } | The tag in the web.xml is defined as version=2.5 Using the JBoss JMX console I found the following entry in the Global JNDI Namespace: +- klich (class: org.jnp.interfaces.NamingContext) | +- ItemManager (class: org.jnp.interfaces.NamingContext) | | +- local (proxy: $Proxy116 implements interface com.klich.ejb.ItemManagerLocal,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBLocalObject) | | +- remote (proxy: $Proxy115 implements interface com.klich.ejb.ItemManagerRemote,interface org.jboss.ejb3.JBossProxy,interface javax.ejb.EJBObject) The servlet runs fine if I add: | InitialContext ictx = new InitialContext(); | itemManager = (ItemManagerLocal)ictx.lookup("klich/ItemManager/local"); | without using the @EJB anotation, but we all love our anotations so much :) Thanks in advance for any help. Yannik Klich View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011556#4011556 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011556 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Can?t get persistence working in @Service class
I am unable to get the object to persist in a service class. It seems like entity manager is being injected. Persistence is working fine in my @Stateless classes but not in @c. Have any one experienced this? Should I be handling transaction any differently for @Service than @Service? Thank you, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011553#4011553 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011553 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - composite ui component
This may be the wrong forum, but if someone could direct me to the proper place that would be excellent. I would like to write a component that can dynamically link in other pre-configured jsf tags. When everything is linked in, I'd like everything to be treated as a single component within the same conversation so I can take advantage of all of seams injection facilities. Thanks, Daniel View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011552#4011552 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011552 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam Security
you can already :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011551#4011551 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011551 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss/Spring Integration] - No WebApplicationContext found: no ContextLoaderListener reg
Hi guys, I have written a small Hello world service using Spring. Deploved in JBoss. I can execute the service through web browse using Axis. But when i am trying to execute this service through stand alone application i am getting following error. No WebApplicationContext found: no ContextLoaderListener registered? can somebody please help me. i have defined contextConfigLocation /WEB-INF/applicationContext.xml context org.springframework.web.context.ContextLoaderServlet 1 in my server web.xml View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011550#4011550 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011550 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Re: Remote not bound
Thank you for your answers, but I still have the same problems. @jaikiran: When I do like you've posted, I get the following exception: javax.naming.NoInitialContextException: Need to specify class name in environment or system property, or as an applet parameter, or in an application resource file: java.naming.factory.initial @ALRubinger I tried also your suggestion, but I still get the same exception. My code looks as following now: @Stateless @Local(org.community.ejb.business.local.UserManager.class) @Remote(org.community.ejb.business.remote.UserManager.class) public class UserManagerBean implements org.community.ejb.business.local.UserManager, org.community.ejb.business.remote.UserManager { ... } @local public interface UserManager { ... } @remote public interface UserManager { ... } Local and remote interfaces are in different packages. Do you have any more ideas how I can call my bean remote? Best regards, Strunker View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011549#4011549 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011549 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - No properties - Weather & news portlets in 2.4.1-SP1 JAR ins
Hi: The weather & news portlets in 2.4.1-SP1 bundled zip work ok (except the "_c" attribute for Celcius on postal codes). The "edit/cancel" button displays editable fields. But in the jems-installer-1.2.0.GA.jar, they display the "edit/cancel" button but no editable fields are displayed. Configuration was "portal on ejb3". Tried different portlet security settings. Been driving me nuts. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011548#4011548 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011548 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Is any one can deploy jboss portal with oracle9?
JBoss Portal 2.4.1 SP1 (downloaded binary) JBoss AS 4.0.4 GA Oracle 9i Windows XP Hi All- I am using the 10g driver (ojdbc14_g.jar) in server\default\lib. I have deleted my tmp, work, and data directories. I'm still getting the errors described in this topic ("failed to register namespace portalcms . . . mapping already exists"). Was that the final solution on this problem? Was there anything further? Thanks, -Steve View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011547#4011547 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011547 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Have problem about
I dont think, you need all this to login using JAAS. Its pretty simple, you need to have the user.conf in your classpath and add using System.setProperty. Also, i see a problem in the code that you have: anonymous wrote : LoginContext lc = new LoginContext("clientTest", new MyCallbackHandler()); Shouldnt "clientTest" be "userTest" since your user.conf mentions userTest? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011546#4011546 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011546 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Using DatabaseServerLoginModule not effect ? Please help
anonymous wrote : Caused by: javax.security.auth.login.FailedLoginException: Password Incorrect/Password Required | at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:213) | at org.jboss.security.auth.spi.UsersRolesLoginModule.login(UsersRolesLoginModule.java:152) The exception stacktrace shows that it is using UsersRolesLoginModule(which looks for users.properties/roles.properties in the classpath) instead of the DB-Domain (Database loginmodule). Looks like its ignoring the entry in the jboss.xml or there might be something wrong in the login-config.xml. Can you post the entire contents of both these files? (Remember to wrap the contents in a code block using the Code button while posting). Also can you post the trace level log of jboss security package (Look at Q4 at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ to see how the logs can be enabled) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011540#4011540 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011540 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: jboss bpel runtime + eclipse bpel designer
There you go :-) Reproducing the question and answer here for those that do not visit the JBoss Eclipse IDE forums quite often (e.g. me) anonymous wrote : my config: | jboss-4.0.5.GA + jbpm-3.1.4 + jbpm-bpel-1.1.Beta3 | JBossIDE-2.0.0.Beta2-Bundle-win32 | eclipse bpel designer installed from http://download.eclipse.org/technology/bpel/update-site/ | | in my workspace I have installed runtime based on jboss-4.0.5.GA | and server Jboss Inc/Jboss AS 4.0 | | when I try to create BPEL 2.0 new project and select jboss-4.0.5.GA target runtime, I can't select BPEL 2.0 Facet. | | It means org.eclipse.bpel.runtimes_0.2.0 plugin don't work with jboss | or I am mistaken? | | this topic describe how to integrate bpel runtime with eclipse bpel designer. | http://sse.cs.ucl.ac.uk/projects/omiibpel/developer_guide/ | jboss runtime already integrated or not? | when it will be integrated? We are aware of the guide you indicate, thanks. In fact, Koen has already followed that guide and successfully created a runtime for jBPM BPEL. What remains to be done is a number of tasks that enable one-step deployment of a BPEL process at the engine side, grouped in BPEL-216: Eclipse BPEL designer integration. This issue is scheduled for the 1.1.GA release. Refer to the Jira road map for the current estimated release dates. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011544#4011544 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011544 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Changing the name of the JSessionID cookie?
Is it reasonable to think about modifying the tomcat and jbossAS sources? the current tomcat version 5.5.20 shows: | Searching for: jsessionid | connectors\coyote\src\java\org\apache\coyote\tomcat4\CoyoteResponse.java(1241): if( file.indexOf(";jsessionid=" + session.getId()) >= 0 ) | connectors\coyote\src\java\org\apache\coyote\tomcat4\CoyoteResponse.java(1313): if( sb.length() > 0 ) { // jsessionid can't be first. | connectors\coyote\src\java\org\apache\coyote\tomcat4\CoyoteResponse.java(1314): sb.append(";jsessionid="); | connectors\jk\native\common\jk_global.h(176): #define JK_SESSION_IDENTIFIER "JSESSIONID" | connectors\jk\native\common\jk_global.h(177): #define JK_PATH_SESSION_IDENTIFIER ";jsessionid" | connectors\jk\xdocs\changelog.xml(521): jsessionid was removed. (mturk) | connectors\jk\xdocs\changelog.xml(582): Check all JSESSIONID cookies for a valid jvmRoute. If you have multiple Tomcats | container\catalina\src\share\org\apache\catalina\Globals.java(271): public static final String SESSION_COOKIE_NAME = "JSESSIONID"; | container\catalina\src\share\org\apache\catalina\Globals.java(278): public static final String SESSION_PARAMETER_NAME = "jsessionid"; | container\catalina\src\share\org\apache\catalina\authenticator\Constants.java(42): public static final String SINGLE_SIGN_ON_COOKIE = "JSESSIONIDSSO"; | container\catalina\src\share\org\apache\catalina\connector\CoyoteAdapter.java(315): redirectPath = redirectPath + ";jsessionid=" | container\catalina\src\share\org\apache\catalina\connector\Request.java(2247): * Configures the given JSESSIONID cookie. | container\catalina\src\share\org\apache\catalina\connector\Request.java(2249): * @param cookie The JSESSIONID cookie to be configured | container\catalina\src\share\org\apache\catalina\connector\Response.java(1418): if( file.indexOf(";jsessionid=" + session.getIdInternal()) >= 0 ) | container\catalina\src\share\org\apache\catalina\connector\Response.java(1551): if( sb.length() > 0 ) { // jsessionid can't be first. | container\catalina\src\share\org\apache\catalina\connector\Response.java(1552): sb.append(";jsessionid="); | container\catalina\src\share\org\apache\catalina\core\ApplicationHttpRequest.java(551): * Returns true if the request specifies a JSESSIONID that is valid within | container\catalina\src\share\org\apache\catalina\core\ApplicationHttpRequest.java(554): * @return true if the request specifies a JSESSIONID that is valid within | container\catalina\src\share\org\apache\catalina\realm\RealmBase.java(946): file.append(";jsessionid="); | container\modules\cluster\src\share\org\apache\catalina\cluster\session\JvmRouteBinderValve.java(48): * bad with apache at my windows.). We rewrite now the jsessionid | container\modules\cluster\src\share\org\apache\catalina\cluster\session\JvmRouteBinderValve.java(53): * As jsessionid was created by cookie, the change JSESSIONID cookie resend with next response. | container\modules\cluster\src\share\org\apache\catalina\cluster\session\mbeans-descriptors.xml(6): http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011537#4011537 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011537 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: How to add without overwriting
Would it be appropriate to use the DummyTransactionManager here? I thought I had read somewhere that it wasn't recommended for production use... Thank you for your reply. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011533#4011533 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011533 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: EJB 3.0 to WebService
Add the annotation @WebService and deploy as any EJB jar then check localhost:8080/jbossws/services (granted localhost:8080 is your webserver host and 8080 is your http port) if your service appears View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011534#4011534 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011534 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBossIDE-2.0.0.Beta2-Bundle-win32 + eclipse bpel designe
We are aware of the guide you indicate, thanks. In fact, Koen (koen.aers at jboss.com) has already followed that guide and successfully created a runtime for jBPM BPEL. What remains to be done is a number of tasks that enable one-step deployment of a BPEL process at the engine side, grouped in http://jira.jboss.com/jira/browse/BPEL-216>BPEL-216: Eclipse BPEL designer integration. This issue is scheduled for the 1.1.GA release. Refer to the Jira road map for the current estimated release dates. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011532#4011532 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011532 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - soap:address location not fully qualified (JSR-181)
I'm using JSR-181 to create my WSDLs from annotations at deploy time. However, I'm having a little problem. The soap:address location string is being created with the machines hostname only, not the fully qualified hostname. This makes it so that clients try to look things up only locally. Is there some parameter that I'm missing within the @WebService spec that allows me to force what the location is? Or barring that, some sort of jbossws parameter that I can use? Example: http://plasmapowered.com/PlasmaWS/NewsWS?WSDL View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011527#4011527 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011527 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Needed functionality (requirements)
After seeing a requirements list in another thread mine now consists of: Content Management - CMS User Management Surveys / Polls Discussion Forums Calendar / Event Schedule Sections / Content Types Article / News Management Links / Directory Download / Document Manager Image / Photo Gallery Knowledgebase / FAQ Contacts / Staff Directory Business Directory / Listings File Sharing / DMS It would have been nice to know what features are support - either built-in or by using a portlet. A simple feature list in addition to http://docs.jboss.com/jbportal/v2.2/user-guide/en/html/features.html [B] Messages Boards [P] Business Directory where B = built-in and P = portlet would be very useful as I believe most new-comers look features available in general. Regards, Jimisola PS. Is the Message Board home-made or does it use JForum or something similiar? DS. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011520#4011520 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011520 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS & JBossMQ] - MDB Load / Deploy Dynamically
Any way to progromatically deploy an MDB at runtime? In my application I cannot determine the MDB and associated Queues until runtime. Thanks for any help. Regards, Andrew View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011518#4011518 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011518 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Needed functionality (requirements)
I too would like to know whether Portal supports WebDAV in the sense that I could point DreamWeaver to it and have people edit pages and upload images using that instead of an online editor. It's the main feature I'm looking for in my CMS right now -- everything else (except "must run on Linux") is optional from my POV. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011517#4011517 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011517 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security & JAAS/JBoss] - Re: Problem with JAAS, Exception :javax.security.auth.login
How about this: http://wiki.jboss.org/wiki/Wiki.jsp?page=SecureAWebApplicationInJBoss View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011516#4011516 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011516 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: VMware instances would help newbies / evaluation process
I unpacked the bundle and started it. The pages render OK, but when I browse to the admin site and log in, what is supposed to be the top-right portal says: An error occured while rendering window 'default.Admin.ManagementPortletWindow' /WEB-INF/jsp/management/index.xhtml @41,58 rendered="#{!empty node.children}": org.jboss.portal.core.portlet.management.LazyPortalObjectTreeNode View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011515#4011515 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011515 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Ordering Navigation Menu
We had the same requirement for portal 2.4, solved this by introducing a new "declaredProperty" on the page object. The name of the declaredProperty was already defined as ThemeConstants.PORTAL_PROP_ORDER ("theme.order"). In addition you need to provide your own navigation portlet(s), which evaluate the introduced declared property. Burkhard View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011514#4011514 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011514 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration & Deployment] - Re: JBOSS - JDK Compatibility Information
The link that i posted in my reply, above, contains this information. Are you looking for something other than that? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011510#4011510 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011510 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Obtaining the JNDI name from an interceptor
Hi, Is there a way from the invocation context in an interceptor to obtain the JNDI name with which the bean was looked up? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011507#4011507 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011507 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Perfermance and Overhead Inquiry
Hi all, I've been looking around for general information about any performance issues and overhead costs people have experienced with clustering JBoss. If anyone can share their experiences, any performance metrics, etc..., that would be great. How about experiences with data integrity issues due to clustering? I also would like to know if there are recommended seminars, classes or books on JBoss performance tuning (best practices) . Thanks Fred View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011505#4011505 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011505 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Access HASingleton from cluster
Hi! How can I access a HAsingleton service from the other nodes in a cluster? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011502#4011502 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011502 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossCache] - Re: when eviction is configured in the clustered environment
I will try that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011501#4011501 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011501 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Performance Tuning] - Re: JBoss Performance Tuning
Hi, It seems like 128m is enough memory for most implementations. Yes supply a stack trace. You could also try jconsole to monitor JBoss and see if it shows how much Perm space is actually used. The other thing you might do is check the bug fixes for 4.0.5GA to see if there is any memory leak issue with the version of JBoss you are using. Regards, -Tony View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011499#4011499 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011499 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - FileUpload component typo
Hi Shane, Noticed a typo in MultipartRequest.java public String getFileName(String name) |{ | Param p = getParam(name); | return (p != null && p instanceof FileParam) ? |((FileParam) p).getContentType() : null; |} Should be public String getFileName(String name) |{ | Param p = getParam(name); | return (p != null && p instanceof FileParam) ? |((FileParam) p).getFilename() : null; |} Cheers -ben View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011500#4011500 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011500 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: better editor for .xhtml in JBoss IDE - element wrapping
These are .xhtml files, and JTidy doesn't show up for them as an option. It does show up as an option for .xml files though. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011494#4011494 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011494 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: JBossWS 1.0.X, JAX-WS compliant JBossWS 2.0 and services
hey Andrea you can use the annotation @wsdlLocation to bind your SEI (service end point) to a WSDL. That way the SEI has to confirm to the WSDL. also, you could always do wsgen (WSDL to java) to generate the SEI and the relevant datatypes. To answer your question about moving your JBossWS 1.0.3 to JBossWS 1.2.x and JBossWS 2.x, I would imagine it would be a relatively painless transition. You use your webservice interface (from JAX RPC) as your service interface and tag it with the annotation @Webservice. The JBoss runtime should automatically pick it up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011492#4011492 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011492 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - JBossWS 1.0.X, JAX-WS compliant JBossWS 2.0 and services com
Hi, I'm starting in these days to develop new web services for an existing J2EE application and I'm considering using JBoss 4.0.5 and the embedded JBossWS 1.0.3 support. Will my web services be compatible with the new JAX-WS compliant web service stack in JBoss 5?? If now I use JAX-WS RI with JBoss 4, will the migration to JBoss 5 and the JAX-WS compliant JBossWS be easier? Is it possible, in JBossWS 1.0.X and 2.0 (JAX-WS in general), to commit to a WSDL and not to a Java endpoint? That would solve my problem... What do you think? Thanks in advance, Andrea View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4011490#4011490 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4011490 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Error creating SOAPFault message, no NamespaceRegistry
Hi there, I'm developing a simple jboss endpoint and I'm having trouble. I've used WStools to generate the necessary files. Things work fine when the user provides the correct input, and things also work fine (the server sends an appropriate fault) when the user sends bad input such as an unsupported function name or the wrong arguments. However, if the user sends a bad SOAP request entirely, such as the tags don't match up, the server generates an error and doesn't send the client anything back at all. I would like this to generate a fault to the client, instead of merely being silent. Does anyone have any idea as to why this may be happening? Here's the jboss stack trace: 13:29:47,229 ERROR [STDERR] [Fatal Error] :4:60: The end-tag for element type "CustomerID" must end with a '>' delimiter. 13:29:47,242 ERROR [SOAPFaultExceptionHelper] SOAP request exception java.io.IOException: org.xml.sax.SAXParseException: The end-tag for element type "CustomerID" must end with a '>' delimiter. at org.jboss.util.xml.DOMUtils.parse(DOMUtils.java:110) at org.jboss.ws.soap.MessageFactoryImpl.createSOAPEnvelope(MessageFactoryImpl.java:238) at org.jboss.ws.soap.MessageFactoryImpl.createMessageInternal(MessageFactoryImpl.java:227) at org.jboss.ws.soap.MessageFactoryImpl.createMessage(MessageFactoryImpl.java:157) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:215) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:175) at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) at java.lang.Thread.run(Thread.java:595) 13:29:47,323 ERROR [SOAPFaultExceptionHelper] Error creating SOAPFault message org.jboss.ws.WSException: Cannot obtain NamespaceRegistry, because there is no SOAPMessage associated with this context at org.jboss.ws.soap.SOAPMessageContextImpl.getNamespaceRegistry(SOAPMessageContextImpl.java:140) at org.jboss.ws.soap.SOAPMessageContextImpl.getSerializationContext(SOAPMessageContextImpl.java:130) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.toSOAPMessage(SOAPFaultExceptionHelper.java:223) at org.jboss.ws.jaxrpc.SOAPFaultExceptionHelper.exceptionToFaultMessage(SOAPFaultExceptionHelper.java:177) at org.jboss.ws.server.ServiceEndpoint.handleRequest(ServiceEndpoint.java:248) at org.jboss.ws.server.ServiceEndpointServlet.doPost(ServiceEndpointServlet.java:120) at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.jav