[jboss-user] [JBoss Seam] - Re: New Conversation issue
But in examples there are a few statefull compontens with no long running conversation scope. Does it mean they can be EVENT scoped too, or actually there is differnce beetwen them? Rafal View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039134#4039134 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039134 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Not registered: jboss.ws:service=ServiceRefHandler
I have downloaded jboss-4.2.0.CR1 and patched it with jbossws-1.2.0.SP1. When I start the server I get a lot of warnings in the log with ServideRefHandler: | 2007-04-19 14:58:09,503 WARN [org.jboss.metadata.serviceref.ServiceRefHandlerFactory] Not registered: jboss.ws:service=ServiceRefHandler What am I missing View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039135#4039135 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039135 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Differences in EJB3
Hi all,... i am hoping some of you can help me with providing me some additional information. I am going to do my first project what i'm not planning to do with JDBC. this time i want to use either Hibernate or EJB3 (with struts). after reading tons of articles about these 2 techniques i still dont know what the exact difference is. i have NEVER worked with EJB's (v2) so i have never experianced that is slow, difficult etc. i read that hibernate is fast, easy, and good for smaller projects. and i know that EJB 2 is something i should not use because its hard to learn, i have to do a lot of unnessesary files, etc... atleast that is what everyone is typing... but with EJB3, i only hear its almost the same is hibernate. but what is different then, and when should i use what? I hope someone can give me some information about this... Thanks View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039136#4039136 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039136 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Problem importing multiple schema from the same namespace
In my WS I use @WebService with the wsdlLocation. In my wsdl I have a type that use two external elements from the same namespace | import namespace=http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/; schemaLocation=http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/DKCC_DistrictSubdivisionIdentifier.xsd/ | import namespace=http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/; schemaLocation=http://rep.oio.dk/ebxml/xml/schemas/dkcc/2005/03/15/DKCC_PostCodeIdentifier.xsd/ | complexType name=KontaktInformationType | sequence | element ref=ebxml:DistrictSubdivisionIdentifier minOccurs=0/ | element ref=ebxml:PostCodeIdentifier minOccurs=0/ | /sequence | /complexType | When I deploy the application the following is written in the log: | 2007-04-19 14:58:25,881 ERROR [org.jboss.ws.metadata.wsdl.xmlschema.JBossXSErrorHandler] JBossWS_rep.oio.dk_wmdata.dk_as2007_schemas_2006_11_20_29281.xsd[domain:http://www.w3.org/TR/xml-schema-1]::[key=src-resolve]::Message=src-resolve: Cannot resolve the name 'ebxml:PostCodeIdentifier' to a(n) 'element declaration' component. | It seems that it only reads the first import in the namespace as there are no problems with DistrictSubdivisionIdentifier. Even though it shows errors in the log it returns the elements as described though. What am I doing wrong View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039137#4039137 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039137 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1
This might be useful for people migration from MyFaces to the JSF RI: The default content type for a page is application/xhtml+xml with the JSF RI and Facelets, not text/html as with MyFaces. If you have existing content that is not strict XHTML (and it seems quite complicated to get this with all the JavaScript and stuff), or you have a browser that doesn't like this content type at all (IE), you can switch back to text/html with this in your Facelet page: | !DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd; | html xmlns=http://www.w3.org/1999/xhtml; | xmlns:ui=http://java.sun.com/jsf/facelets; | xmlns:h=http://java.sun.com/jsf/html; | xmlns:f=http://java.sun.com/jsf/core; | xmlns:s=http://jboss.com/products/seam/taglib; | | f:view contentType=text/html/ | head | The typical sign of this issue is that you get Firefox complaining about invalid XHTML. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039138#4039138 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039138 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)
It is possible to configure hibernate to do bulk operation. Perhaps you've already tried it? If not, take a look a http://www.hibernate.org/hib_docs/v3/reference/en/html_single/#queryhql-bulk //Oskar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039139#4039139 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039139 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: org.jboss.seam.core.timeZoneSelector not found
ups, that was the missing piece. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039141#4039141 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039141 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Can i change default login (admin / admin) ?
Thanks for reply. I am using jboss-portal-2.6-BETA1 and logged in as admin. I am facing following problems 1) I goto Role management portlet but i can't create new role. when i click on create new role nothing happens. 2) I want to change the security of indivisual portal instances so i go to management portlet and try to change security but after selecting proper checkbox there is no update button so the changes i made are lost. I want that user can only be able to see/add my portlet instances to his dashboard not all. Any suggestions !!! View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039142#4039142 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039142 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - error code http 504 when deploy jbpm 3.1.4
Hi all, I develop jbpm process (3.1.4) from JBoss IDE and deploy by setting deployment server setting.This process can deploy on local mchine is window xp (server name = localhost, port = 8080, server deployer = /jbpm/upload) but this process can't deploy on deference machine is linux (assume machine name = x) (server name = x, port = 8080, server deployer = /jpbm/upload) when i click test connection it is show error An unexpected exception caused the test connection operation to fail Detail Server returned HTTP response code: 504 for URL: http://x:8080/jpbm/upload; but i can enter to http://:8080 I don't know is error about security of company ?? Any one have idea please advise me Best Regard, Akiko Fukuoka View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039143#4039143 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039143 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: recurring timer and app re-start issue
How did you create the recurring timer? Do you check whether there is already a timer active? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039144#4039144 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039144 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Getting Started Documentation] - Re: Bank example compile error.
Thank you very much! I now used the 4.0.5 version and it worked :-) Cheers, Daniel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039145#4039145 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039145 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Webservices ETA?
Sorry Shane if I disturb you again but is rare found people that answer so fast in the forums, believe me this is very appreciated! I've another questions about ws and seam... 1) You wrote to me that the ws is only support in CVS, therefore I must to check out and compile from CSV or is sufficiente that I down load the night build ? 2) I've take a look in to the seambay examples be present in to CVS. This example, call a object that is annotating with seam tag from a ws class... package org.jboss.seam.example.seambay; | | import javax.ejb.Stateless; | import javax.jws.WebMethod; | import javax.jws.WebService; | | import org.jboss.seam.Component; | import org.jboss.seam.core.Manager; | import org.jboss.seam.security.Identity; | | @Stateless | @WebService | public class AuctionService implements AuctionServiceRemote | { |@WebMethod |public boolean login(String username, String password) |{ | Identity.instance().setUsername(username); | Identity.instance().setPassword(password); | Identity.instance().login(); | return Identity.instance().isLoggedIn(); |} | |@WebMethod |public boolean logout() |{ | Identity.instance().logout(); | return !Identity.instance().isLoggedIn(); |} | |@WebMethod |public Category[] listCategories() |{ | CategoryAction catAction = (CategoryAction) Component.getInstance( | CategoryAction.class, true); | | catAction.loadCategories(); | | return catAction.getCategories().toArray(new Category[catAction.getCategories().size()]); |} | |@WebMethod |public Integer createAuction(String title, String description, int categoryId) |{ | AuctionAction action = (AuctionAction) Component.getInstance(AuctionAction.class, true); | | action.createAuction(); | action.setDetails(title, description, categoryId); | | return action.getAuction().getAuctionId(); |} | |@WebMethod |public Auction getNewAuctionDetails(int auctionId) |{ | AuctionAction action = (AuctionAction) Component.getInstance(AuctionAction.class, true); | | action.editAuction(auctionId); | | // TODO remove the auction image from the result | | return action.getAuction(); |} | |@WebMethod |public void updateAuction(int auctionId, String title, String description, int categoryId) |{ | AuctionAction action = (AuctionAction) Component.getInstance(AuctionAction.class, true); | | action.editAuction(auctionId); | action.setDetails(title, description, categoryId); |} | |@WebMethod |public void setAuctionDuration(int auctionId, int days) |{ | Manager.instance().restoreConversation( + auctionId); | AuctionAction action = (AuctionAction) Component.getInstance(AuctionAction.class, true); | | action.setDuration(days); |} | |@WebMethod |public void confirmAuction(int auctionId) |{ | AuctionAction action = (AuctionAction) Component.getInstance(AuctionAction.class, true); | | action.confirm(); |} | |@WebMethod |public Auction[] findAuctions(String searchTerm) |{ | AuctionSearchAction search = (AuctionSearchAction) Component.getInstance( | AuctionSearchAction.class, true); | | search.setSearchTerm(searchTerm); | search.queryAuctions(); | | return search.getAuctions().toArray(new Auction[search.getAuctions().size()]); |} | } | where AuctionAction is | package org.jboss.seam.example.seambay; | | import static org.jboss.seam.ScopeType.CONVERSATION; | | import java.io.Serializable; | import java.util.Calendar; | import java.util.GregorianCalendar; | | import javax.persistence.EntityManager; | | import org.jboss.seam.annotations.Begin; | import org.jboss.seam.annotations.End; | import org.jboss.seam.annotations.In; | import org.jboss.seam.annotations.Name; | import org.jboss.seam.annotations.Scope; | import org.jboss.seam.annotations.security.Restrict; | | @Scope(CONVERSATION) | @Name(auctionAction) | @Restrict(#{identity.loggedIn}) | public class AuctionAction implements Serializable | { |private static final long serialVersionUID = -6738397725125671313L; | |@In EntityManager entityManager; | |@In Account authenticatedAccount; | |private Auction auction; | |private int durationDays; | |@Begin |public void createAuction() |{ | auction = new Auction(); | auction.setAccount(authenticatedAccount); |
[jboss-user] [JBossWS] - Re: Cannot obtain java type mapping for: {http://org.mazurek
What I should do to connect some public webservice in the Internet (like http://www.webservicex.net/WCF/ServiceDetails.aspx?SID=48)? I create small client method: | @Test | public void weather() { | QName serviceQName = new QName(http://www.webserviceX.NET;, GlobalWeather); | | try { | ServiceFactory factory = ServiceFactory.newInstance(); | assertNotNull(factory); | | String endpoint = http://www.webservicex.net/globalweather.asmx?wsdl;; | URL url = new URL(endpoint); | assertNotNull(url); | | Service service = factory.createService(url, serviceQName); | assertNotNull(service); | | Call call = service.createCall(); | | QName methodQName = new QName(http://www.webserviceX.NET;, GetWeather); | call.setOperationName(methodQName); | assertFalse(call.isParameterAndReturnSpecRequired(methodQName)); | | call.setTargetEndpointAddress(endpoint); | | QName typeName = call.getPortTypeName(); | assertNotNull(typeName); | | System.out.println(typeName); | | call.invoke(new Object[] {London, UK}); | | | } catch (Exception e) { | e.printStackTrace(); File | Settings | File Templates. | } | } | When I try to execute this I receive exception: | org.jboss.ws.WSException: Cannot obtain java type mapping for: {http://www.webserviceX.NET}GetWeather | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.processDocElement(JAXRPCMetaDataBuilder.java:627) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.buildParameterMetaDataDoc(JAXRPCMetaDataBuilder.java:886) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCMetaDataBuilder.setupOperationsFromWSDL(JAXRPCMetaDataBuilder.java:214) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaDataInternal(JAXRPCClientMetaDataBuilder.java:216) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:133) | at org.jboss.ws.metadata.builder.jaxrpc.JAXRPCClientMetaDataBuilder.buildMetaData(JAXRPCClientMetaDataBuilder.java:85) | at org.jboss.ws.core.jaxrpc.client.ServiceImpl.init(ServiceImpl.java:111) | at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:157) | at org.jboss.ws.core.jaxrpc.client.ServiceFactoryImpl.createService(ServiceFactoryImpl.java:128) | at com.company.ws.client.TestWS.weather(TestWS.java:131) | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) | at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.junit.internal.runners.TestMethodRunner.executeMethodBody(TestMethodRunner.java:99) | at org.junit.internal.runners.TestMethodRunner.runUnprotected(TestMethodRunner.java:81) | at org.junit.internal.runners.BeforeAndAfterRunner.runProtected(BeforeAndAfterRunner.java:34) | at org.junit.internal.runners.TestMethodRunner.runMethod(TestMethodRunner.java:75) | at org.junit.internal.runners.TestMethodRunner.run(TestMethodRunner.java:45) | at org.junit.internal.runners.TestClassMethodsRunner.invokeTestMethod(TestClassMethodsRunner.java:71) | at org.junit.internal.runners.TestClassMethodsRunner.run(TestClassMethodsRunner.java:35) | at | Where I should get jaxrpc-mapping.xml for this public ws? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039148#4039148 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039148 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: java.lang.NullPointerException at org.jboss.ejb.txtimer.
I had a working ear on JBoss 5.0.0Beta1. When I tried to switch to JBoss 5.0.0Beta2 I get this same error. I have no idea what could be causing this, is it a bug in JBoss 5.0.0Beta2? The ejb that fails to install is using a MS SQL datasource. If you require any more information I am happy to provide it. Thanks. Adrian View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039150#4039150 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039150 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Can't deploy my BPEL process to jBPM BPEL 1.1 Beta3
Hi, Now you have the bpel process running in the server, but not as a web service. The next steps are: 1.- Create the wsdl files to interact whit the process. You have to run the ant task: ant generate-service. 2.- Create the artifacts to interact whit the process. You have to run the ant task: ant generate-artifacts. 3.- Deploy the web service to interact whit the process. You have to run the ant task: ant deploy. To the first step you don't need any file, only run the ant task. It generates some wsdl files in the target folder. To the second step you need the wscompile.xml file. It's a file with the configuaration settings to the wscompile tool. It generates the java classes that your web service uses. To the third step you need: -web.xml -webservices.xml -bpel-application.xml -A class that implements the interface generated in the second step. You have more information in the user guide, there are some examples. It's in \jbpm-bpel-1.1.Beta3\doc\userguide. Try to do it, and post your problems. Regards, Agus View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039151#4039151 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039151 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Including an entity in component.xml
Hi I am defining new components in the component.xml . These components are dynamically generated So I changed the component.xml to define an ENTITY as in !DOCTYPE components PUBLIC -//JBoss/Seam Component Configuration DTD 1.1//EN http://jboss.com/products/seam/components-1.1.dtd;[ !ENTITY comp SYSTEM specialcomponents.xml ] When I start JBoss the server looks for the specialcomponents.xml in the bin directory. How do I specify Jboss to look for the file in a different directory . I tried / and I tried /WEB-INF but it does not work Regards Hari View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039152#4039152 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039152 ___ 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.2CR2: Why is Hibernate Annotations 3.3 not inclu
At some point you need to stop making updates to come up with something stable. It's also a matter of interdependencies, what the other components need. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039153#4039153 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039153 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getiing JSF ReadOnly inputText value in bankend??
Well, if it is readonly it has not changed. So simply usinf a scope for myBean that spans the requests. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039154#4039154 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039154 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Clustering/JBoss] - Re: Clustering and Load Balancing in Jboss-4.0.2 using Apach
GREAT solution sir...it worksAs per your suggestions, i commented a line in the code. Now its not displaying the error. I changed CacheMode to REPL_SYNC in tc5-cluster-service.xml to check whether session is replicating or not. It waits for sometime and displays following in node1 14:01:53,218 WARN [ReplicationInterceptor] runPreparePhase() failed. Transaction is marked as rolled back org.jboss.cache.lock.TimeoutException: rsp=sender=kishor:2283, retval=null, received=false, suspected=false at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2186) at org.jboss.cache.TreeCache.callRemoteMethods(TreeCache.java:2208) at org.jboss.cache.interceptors.ReplicationInterceptor.runPreparePhase(ReplicationInterceptor.java:485) at org.jboss.cache.interceptors.ReplicationInterceptor$SynchronizationHandler.beforeCompletion(ReplicationInterceptor.java:389) at org.jboss.cache.interceptors.OrderedSynchronizationHandler.beforeCompletion(OrderedSynchronizationHandler.java:77) at org.jboss.tm.TransactionImpl.doBeforeCompletion(TransactionImpl.java: What could be the reason? Done the settings are per the site... http://www.jboss.org/developers/projects/jboss/tc5-clustering.html waiting for reply.. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039155#4039155 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039155 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Content Management / CMSPortlet
I created a new portal myportal. Some pages will contain static HTML content which will change on a monthly basis. I uploaded the HTML files using the CMS Admin Portlet in the folder /mydocs and changed all the links on the page and added the prefix: myfolder/. Using the Management Portlet I created a new instance of the CMSPortlet, set the property indexpage to /mydocs/index.html and placed the new instance in a window in page ?mypage? in ?myportal?. The content of the index page will be displayed in ?mypage? in ?myportal?. However when clicking on any link in page the result will be displayed in DefaultCMSPortletWindow on the default page in the default portal. Is it possible to configure the CMSPortlet so that the content of a link is displayed in the original window? Does anyone have experience with a Content Management System based on JSR 168 which can be integrated with the JBoss Portal and which does not only offer the facility of uploading files but also provides a portlet for displaying the content in different windows, pages and portals? In particular the result of links has to be displayed in the source window. Thanks, Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039156#4039156 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039156 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)
anonymous wrote : | i thought on this idea, but i don't need business logic into database, it is business request. | I strongly disagree: All business logic that can convienently handled by the database should be handled by the database. It is a zillion times faster, easier to implement and easier to maintain. There is no point in moving data in and out of the database for nothing. If you think that is my idiosyncratic position read the following statement from Gavin King: anonymous wrote : The main example of where ORM - and indeed Java - is not suitable is the case of processing data in bulk. It is simply never going to be efficient to fetch millions of rows from the database, into your JVM, and then update them one at a time. Don't use Java for this. Use a stored procedure. http://www.javaperformancetuning.com/news/interview041.shtml Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039157#4039157 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039157 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam and Richfaces : Drag and Drop Problem
Hi davidetaibi anonymous wrote : Look in deploy\jbossweb-tomcat55.sar\META-INF\jboss-service.xml | | set UseJBossWebLoader=true Now it works View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039160#4039160 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039160 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Including an entity in component.xml
Seam inherited its entity resolver from Hibernate, so it's the same trick: | !ENTITY comp SYSTEM classpath://my/path/specialcomponents.xml | ] | See org.jboss.seam.util.DTDEntityResolver.java. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039161#4039161 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039161 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!
Hello Chui, Even I am facing the same issue with String[] as input parameter in my WS. Did you find any solution for this? Please let me know. Thanks, Santhosh View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039162#4039162 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039162 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: GPD 3.1.GA release date?
There has been some slippage due to other tasks that had to be handled along the way. There will be one more alpha release. Normally within days. Then, count at least a month for the stabilization. Regards, Koen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039163#4039163 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039163 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getiing JSF ReadOnly inputText value in bankend??
i am using jboss seam the the scope of my bean is EVENT(request) and it should do that as i have been doing it in other beans. may be i cannot understant exactly what u have said. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039164#4039164 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039164 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getiing JSF ReadOnly inputText value in bankend??
If you use event, it will be lost after the event has ended. To keep it over multiple requests use page/conversation/session. Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039168#4039168 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039168 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!
Did you try to wrap the array in a another class? Something like method(StringArray a) whereas StringArray is a class with a String[] as member. Regards Charly View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039171#4039171 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039171 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: provide your own wsdl - cannot seem to get this to work
Please monitor http://jira.jboss.org/jira/browse/JBWS-1616 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039173#4039173 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039173 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Messaging] - Too many open files
I just upgraded my JBM installation from 1.0.1 SP4 to 1.2.0 SP1 this week, and ever since, the AS won't stay up for more than a 2 hour period, almost to the minute. The stack trace I'm seeing in server.log is: 2007-04-19 17:31:36,764 ERROR [org.jboss.remoting.transport.bisocket.BisocketServerInvoker] Failed to accept socket connection 80030 java.net.SocketException: Too many open files 80031 at java.net.PlainSocketImpl.socketAccept(Native Method) 80032 at java.net.PlainSocketImpl.accept(PlainSocketImpl.java:384) 80033 at java.net.ServerSocket.implAccept(ServerSocket.java:450) 80034 at java.net.ServerSocket.accept(ServerSocket.java:421) 80035 at org.jboss.remoting.transport.bisocket.BisocketServerInvoker$SecondaryServerSocketThread.run(BisocketServerInvoker.java:745) Obviously rebooting the AS fixes it, but only for a 2 hour period. This is running on SUSE SLES 9.0 x86_64 Jboss 4.0.5_GA, I have tried it with the Sun JVM 1.6.0_01 and JRockit R27.2.0-jdk1.6.0, with the same result. Anywhere I can start looking? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039174#4039174 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039174 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - CMS file upload issue
Hi I am using JBoss AS 4.0.4 and JBoss portal 2.4.0. I came across the problem of uploading files with large content. After going thorugh the forum I made the necessary changes to flush the session. Now I am getting another problem whenever I upload a file its details are not shown on the File Browser page but are displayed onj the Directory Browser. I have found out that the problem is in the file viewfile.jsp where the request attribute contents is coming blank and hence no file details are being displayed. Can you tell me how this request attribute is set and where is it being done? Thanks a lot View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039175#4039175 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039175 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: WS-Security - Invalid timestamp, message claimed to be c
This issues has been postponed. You're welcome to have a go View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039176#4039176 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039176 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: How To Cancel Update in Home Object
One question: What do you trying to do? Perhaps this is your desire? http://www.jboss.com/index.html?module=bbop=viewtopict=106710 If not please ask again. And if someone knows the solution to my lasting little problem, eben better. Hope i could help a little. Ciao, Carsten View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039177#4039177 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039177 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question regarding performance and multiple JavaBean bij
Are you accessing your datamodel as #{mainBean.mainListItems} or #{mainListItems}? Regards Felix View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039178#4039178 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039178 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: New Conversation issue
Where (sorry, I don't have all the examples memorised ;)? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039181#4039181 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039181 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: JBoss AS 4.2.0.CR2 does not start
[EMAIL PROTECTED] wrote : Is networking actually enabled on your machine? Well, if your can read this reply, yes. The funny thing is that when I'm working from my home network (eth1 wireless) it seems to boot normal. When booting JBoss 4.2 at 'work' (eth0 wired), it doesn't. Will investigate on this and come back with my findings. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039183#4039183 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039183 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Issues with JBoss5 Beta 1 and WebService Annotations
Have a look at the many jaxws samples we provide. The status of the latest can be monitored here http://jbws.dyndns.org:8180/hudson/ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039184#4039184 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039184 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Disableing MTOM
This has been standardized now http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#MTOM.2FXOP View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039180#4039180 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039180 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: String[] with SOAP... Please help me!
Please have a look at the array tests in the testsuit View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039185#4039185 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039185 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam CVS now on JBoss AS 4.2 CR1
anonymous wrote : Caused by: java.lang.RuntimeException: Could not resolve DNS lookup Meldware is having problems looking up the server to send to. Follow the instructions in the example for configuring an SMTP gateway (SMTP relay is quite tricky, the example should work, but doesn't always, for example my home DSL router has a dodgy DNS client in it which doesn't work with certain programs like wget and java...) View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039187#4039187 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039187 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Soap with attachments
There are attachemnt tests in the samples View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039186#4039186 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039186 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBossMessageEndpointFactory ClassNotFoundException when
4.0.2 (no patches applied) works without error as well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039188#4039188 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039188 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JCA/JBoss] - Re: JBossMessageEndpointFactory ClassNotFoundException when
If you can send me your email I can forward you the project I am using to test this. Maybe we can find the difference between the two. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039189#4039189 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039189 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: JBPM too slow due to too mnany process instance
I agree with Ronald, creating indexes is really efficient. Sometimes you can also do requests directly in the Jbpm tables, but do it only for Select requests. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039190#4039190 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039190 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Element or attribute do not match QName production: QNam
You could use wireshark to sniff the payload and figure out what the invalid QName is View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039191#4039191 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039191 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: How to provide soapAction from dispatch call?
Thanks, I'll take care of it View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039192#4039192 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039192 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Salesforce client stub generation fails
Unfortunately this goes beyond the support we can offer for free. I'll have somebody from our prof. support contact you. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039193#4039193 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039193 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Getiing JSF ReadOnly inputText value in bankend??
whaeed, html spec says that disabled inputs don't send their value back to the server. I though readonly ones did - anyway, ask in a JSF forum (e.g. on java.sun.com or myfaces list) as this is pure JSF View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039194#4039194 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039194 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Is there a wsconsume sample available?
Have a look how the testsuite/sampes use wsconsume View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039195#4039195 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039195 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen: behaviour of an generated app
Post the carEdit.page.xml and carEdit.xhtml View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039196#4039196 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039196 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Can I tell which event invoked my action?
[EMAIL PROTECTED] wrote : You can do this by querying the event from the ExecutionContext. I took me some time trying to retrieve the jBPM execution context from within a Seam application (which can inject things like JbpmContext, ProcessInstance and TaskInstance, in which I could not easily find a reference to the ExecutionContext), but it's really easy when forgetting about Seam's injection for a second: ExecutionContext jbpmExecutionContext = | ExecutionContext.currentExecutionContext(); | log.debug(Event: #0, jbpmExecutionContext.getEvent()); Thanks, Arjan. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039197#4039197 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039197 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: setProperty must be overridden by all subclasses of SOAP
You cannot have the saaj impl from the Sun RI deployed. You could trace jboss clasloading to see where its comming from View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039198#4039198 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039198 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: NoClassDefFoundError: RuntimeWSDLParser.createReader
anonymous wrote : The Class is in jaxws-rt.jar, which is include in the Jboss lib-dir | Really? We don't ship with the Sun RI View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039199#4039199 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039199 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: wsconsume and IllegalStateException
jaxws is not supported for jdk14 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039200#4039200 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039200 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: White space in String type field
This would be a bug. Please try the latest jbossws-1.2.1.GA View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039201#4039201 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039201 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - Unable to catch Persistence Exception if using EntityManager
Hi, I'm using EJB3 with jboss-4.0.5.GA. As usual, i'll use the EntityManager's API to do CRUD operation, such as, em.persist(), em.merge() etc. The problem here is that it seems like i'm unable to catch database persistence exception in the session bean. I'm only able to catch it in the delegate. All this is due to the behaviour of the container where it doesn't commit immediately. I'm using CMT/CMP. I've read about using em.flush(), but are there any other way? Because i read that using this will affect the performance. How do you guys catch persistence exception? I need to catch it in the session bean (not the client) so that i'm able to do logging in the back end. Please advise. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039202#4039202 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039202 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - ICEfaces v1.6.0 DR#3
Complete support for using ICEfaces with JBoss Seam v1.2.1. | Apache MyFaces Tomahawk component integration with ICEfaces applications | ICEfaces compatibility with JSF 1.2 runtimes and Facelets. | | Sample seam-icefaces app is available. | | http://www.icefaces.org/JForum/posts/list/4274.page | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039203#4039203 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039203 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: Content Management / CMSPortlet
I was using JBoss Portal 2.4.1. The problem as I described above has been resolved in JBoss Portal 2.4.2. Thanks for resolving the issue in 2.4.2! Anette View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039205#4039205 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039205 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - retriving actions
Hi Can I retrive via Bean a list of all actions avaiable? Does the existing beans can do that, or must i write a Bean for that purpose? Or does the actions are only deployed for their process? Thank's View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039206#4039206 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039206 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)
Hi, Few month ago I made some test and achieved more than 5000/s inserts on average pc (actually there was 2 pc's in case with oracle, one with jboss another with oracleand 1 pcin case with postgresql, both resutls quite equal). These inserts was simple, dummy inserts. It's importat to set batch updates, can be 1000 or more very important to switch off logging use oci driver (in case with oracle) also i used few threads (best speed with 8 threads, i thing this depends on pc (how many processors and so on)), everything was done i one transaction, also you can play with flush(). View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039208#4039208 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039208 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Question regarding performance and multiple JavaBean bij
The table references the model with: t:dataTable value=#{mainListItems} var=listItem In the table i use mostly the listItem variable like: h:outputText value=#{messages[listItem.title]} / But also mainBean properties directly like: t:column rendered=#{mainBean.listContainsType == 'USER'} View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039211#4039211 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039211 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: New Conversation issue
It's not a statefull compont but Java Beans but there is conversation scope without promotion to long running convesation. The class is from drools example. @Name(guess) @Scope(ScopeType.CONVERSATION) public class Guess { private Integer value; public void setValue(Integer guess) { this.value = guess; } public Integer getValue() { return value; } } I'm starting to realize that if conversation componet is created during the existed conversation it will not be destroyed during render phase of JSF request, but when the existing convesation end. Am i right? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039213#4039213 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039213 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: New Conversation issue
Yes. Ignoring nested conversations for now, you can have at most one active conversation per browser window/tab. All components that have conversation scope participate in the current conversation (long running or temporary) and are destroyed at the end of the conversation View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039214#4039214 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039214 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - can not access file from another machine
Hi All, I am using jboss-4.0.5.GA. In my java file I am accessing folder which is on the another machine of same network by java.io.File class. --- File file = new File( taligentportal\\DMDOCSERVER\\23050\\2006\\2639680 ); if ( file.exists() ) { System.out.println( File present ); } else { System.out.println( File NOT present ); } --- Here 2639680 is folder present on taligentportal machine. But in this case the program prints File NOT present message in log. I have checked sharing permission on folder DMDOCSERVER of taligentportal machine. All rights are given to EVERYONE user. This machine is running Windows 2000 OS. The JBoss Server is running on Windows 2003 Server OS. Now strange thing is that when I run standalone program (on JBoss instance machine) having the same code, it is working fine and prints File present message. So is it something in JBoss that preventing access of network resources when application running? Let me know if you can help me. Thanks. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039215#4039215 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039215 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss JMX notification type
thanx, dimitris. I tried to subscribe the org.jboss.system.server.stopped in a simple MBean as the following sample code; but could not get this event notification when I shut down the server with control-C on windows. package notificationMbean; import javax.management.Notification; import javax.management.ObjectName; import org.jboss.system.ListenerServiceMBeanSupport; public class NotificationListener extends ListenerServiceMBeanSupport implements NotificationListenerMBean { // Constructors -- /** * CTOR **/ public NotificationListener() { // empty } // NotificationListenerMBean implementation -- // No attributes or operations in this example to implement! // Lifecycle control (ServiceMBeanSupport) --- /** * Start **/ public void startService() throws Exception { // subscribe for notification, true=dynamic super.subscribe(true); // listener is me! } /** * Stop **/ public void stopService() throws Exception { // unsubscribe for notifications super.unsubscribe(); } // ListenerServiceMBeanSupport override /** * Overriden to add handling! **/ public void handleNotification2(Notification notification, Object handback) { System.out.println(Got notification2: + notification + , handback: + handback); } public void handleNotification(Notification notification, Object handback) { System.out.println(Got notification1: + notification + , handback: + handback); } } - service xml - subscription-list /subscription-list --- can you see why I could not get the notification? Thanx View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039217#4039217 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039217 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)
hi snau2005, anonymous wrote : | very important to switch off logging of course i did it. anonymous wrote : use oci driver (in case with oracle) | is it helpfull ?? do you think that oci driver is so faster then thin driver ? anonymous wrote : | also i used few threads (best speed with 8 threads, i thing this depends on pc (how many processors and so on)), everything was done i one transaction, also you can play with flush(). | of course i use Thread, Thread will be created on client side and all of them calls my stateless session beam method, i tried to create 50 Threads, and my pc is enough strong, it has 16 CPU, and 16 GB Memory, Sun Solaris, is it good idea that i use oracle cluster or JBoss Cluster ? and i cant found any documentation about stored procedures into ejb 3.0, can anybody show me it ? Regards, Paata. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039218#4039218 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039218 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss JMX notification type
service.xml: subscription-list !-- -- /subscription-list !-- subscription-list /subscription-list -- View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039219#4039219 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039219 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss JMX notification type
| server | mbean code=notificationMbean.NotificationListener |name=notificationMbean:name=NotificationListener | | attribute name=SubscriptionList | | subscription-list | mbean name=jboss.system:type=Server | !-- filter factory=NotificationFilterSupportFactory | enable type=org.jboss.system.server.stopped/ | /filter |-- | notification type=org.jboss.system.server.stopped/ | /mbean | /subscription-list | | !-- | subscription-list | mbean name=*:service=invoker,* handback=anObject/ | mbean name=jboss.monitor:*/ | notification type=JBOSS_MONITOR_NOTIFICATION/ | mbean name=JMImplementation:type=MBeanServerDelegate | notification type=JMX.mbean.registered/ | /mbean | /subscription-list |-- | /attribute | /mbean | /server View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039220#4039220 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039220 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Portal] - Re: CMS file upload issue
I have found the file and flow but still cant figure out why the content detauils wont be available for some files. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039223#4039223 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039223 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: whitespace getting trimmed
Yes this is a bug with jaxrpc doc/literal http://jira.jboss.org/jira/browse/JBWS-1617 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039224#4039224 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039224 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB/JBoss] - automatically start timer in jboss 4 and ejb 3
Hi ppl, i'm having a little problem: how do i automatically start a timer using ejb 3? 10x in advance View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039227#4039227 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039227 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: Base Question
Ok Thanks! it's working! So, isn't there any other way I can associate a variable in the form controller (in a task) and a field (variable) in an Action Handler in a Action? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039228#4039228 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039228 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [EJB 3.0] - Re: 10,000 Recorc Per Second (In EJB 3.0)
anonymous wrote : anonymous wrote : use oci driver (in case with oracle) | | | is it helpfull ?? do you think that oci driver is so faster then thin driver ? | I'm not sure in case of perfomance (thin driver had some bugs and i switched to oci (but this was long ago, now maybe thin also ok) anonymous wrote : of course i use Thread, Thread will be created on client side and all of them calls my stateless session beam method, i tried to create 50 Threads, and my pc is enough strong, it has 16 CPU, and 16 GB Memory, Sun Solaris, | As I unterstood, every client Thread creates (calls ejb witch creates TR) his own transaction? so in reality you have 1 transactions with one insert statement, thats of cource i think should be slow. In my case I called only one time ejb , so 1 TR was created then 8 Threads started to persist and flush. anonymous wrote : and i cant found any documentation about stored procedures into ejb 3.0, can anybody show me it ? | Example to call stored function try { | HibernateEntityManager hem = ((HibernateEntityManager)em.getDelegate()); | Session session = hem.getSession(); | Connection connection = session.connection(); | | CallableStatement proc = connection.prepareCall({ ? = call getNBVZSInfo(?, ?) }); | proc.registerOutParameter(1, Types.VARCHAR); | proc.setString(2, traderCode); | proc.setString(3, userName); | proc.execute(); | result = proc.getString(1); | | log.info(Info: + result); | } catch (Exception e) { | log.error(getNBVZSInfo, error: + e); | } and oracle functions looks like: | FUNCTION getNBVZSInfo(traderCode varchar2, userName varchar2) RETURN varchar2 is | rez varchar2(4000); | begin | | rez := 'hoho and the bottle of rum'; | return rez; | end; But again if bussines logic alows procedure to store 1 , so one ejb call also can store 1 in one call and if you will call oracle procedure 1 time thats also will be slow. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039229#4039229 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039229 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - Re: Problems Jboss 4.2.0 RC2
The CTS requires that the context root is derived in a certain (complicated way) Please explicitly define @WebContext.contextRoot for every ejb endpoint. Note, that all endpoints withain one deployment must share the same context root. http://jira.jboss.org/jira/browse/JBWS-1618 View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039230#4039230 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039230 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: Jboss ws jaxrpc mapping file.
I would suggest you abondon the idea of supporting old style jaxrpc service-refs - jaxws is the future that is being adopted quickly. Instead, work on jaxws client injection with @WebServiceRef and possible overwrites of the @WebServiceRef attributes via service-ref in web.xml Have a look at our @WebServiceRef tests. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039232#4039232 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039232 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen: behaviour of an generated app
Odd, that works fine for me. An EntityQuery is Event scoped so should reload. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039243#4039243 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039243 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - inputText form array / dynamic form
Hi, I have a form based inside a rich:datatable. The number of fields is dynamic and is backed by an ArrayList in the Bean. I understood that I can use an Array, Set or Map and refer to it in the page by: h:inputText id=firstname value=#{myBean.name[0].firstname}/ | h:inputText id=firstname value=#{myBean.name[1].firstname}/ | etc. This works fine for the output of the value that was set in the Bean however it doesn't work in reverse - ie. if I change this value, the change is not reflected in the bean. I've tried to find an example of this, but none exists (maybe that's a hint that it won't work?) Is this possible or am I grasping? Should I just retrieve the input values in the Bean using the getParameters()? If the latter, how have people got around the fact that the parameter map doesn't have an array of 'firstname', but instead has something like 'myform:mydatatable:0:firstname' and myform:mydatatable:1:firstname'? Thanks, Damian. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039240#4039240 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039240 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: unkown source when passing classes as args
Thanks for your recognition of what was wrong and help in solving this problem. It was as you suspected a version mismatch. It took me a surprizing amount of time to get the problem resolved. I guess I don't understand the Java versioning scheme very well. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039235#4039235 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039235 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Tomcat can't start
Hello I've copied a JBoss instance from a server to a new one to make some tests and I've changed some ports configurations to avoid collisions. When I start JBoss I receive the message: | java.net.BindException: Address already in use:7130 | at org.apache.tomcat.util.net.PoolTcpEndpoint.initEndpoint(PoolTcpEndpoint.java:297) | at org.apache.tomcat.util.net.PoolTcpEndpoint.startEndpoint(PoolTcpEndpoint.java:312) | at org.apache.coyote.http11.Http11Protocol.start(Http11Protocol.java:182) | at org.apache.catalina.connector.Connector.start(Connector.java:1001) | at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:510) | at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:539) | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138) | at $Proxy32.handleNotification(Unknown Source) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93) | at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:879) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:468) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330) | at org.jboss.Main.boot(Main.java:187) | at org.jboss.Main$1.run(Main.java:438) | at java.lang.Thread.run(Thread.java:534) | 13:03:17,952 WARN [Tomcat5] Failed to startConnectors | LifecycleException: Protocol handler start failed: java.net.BindException: Address already in use:7130 | at org.apache.catalina.connector.Connector.start(Connector.java:1003) | at org.jboss.web.tomcat.tc5.Tomcat5.startConnectors(Tomcat5.java:510) | at org.jboss.web.tomcat.tc5.Tomcat5.handleNotification(Tomcat5.java:539) | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.notification.NotificationListenerProxy.invoke(NotificationListenerProxy.java:138) | at $Proxy32.handleNotification(Unknown Source) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.handleNotification(JBossNotificationBroadcasterSupport.java:112) | at org.jboss.mx.util.JBossNotificationBroadcasterSupport.sendNotification(JBossNotificationBroadcasterSupport.java:93) | at org.jboss.system.server.ServerImpl.sendNotification(ServerImpl.java:879) | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:468) | at org.jboss.system.server.ServerImpl.start(ServerImpl.java:330) | at org.jboss.Main.boot(Main.java:187) | at org.jboss.Main$1.run(Main.java:438) | at java.lang.Thread.run(Thread.java:534) | | I've tried to find the 7130 setting using grep without success. This was the older port number I changed by 8130 in deploy/jbossweb-tomcat55.sar/server.xml I wonder where should I made another change to allow tomcat to start without the bind error. Thanks J View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039238#4039238 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039238 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss jBPM] - Re: fork related problem
What happens here is that in the start task you have a swimelane defined. I think what happens is that the swimlane get's overridden with the actor that started the process. Probably if you leave out the swimlane in the start-task it will work. Not sure if it is a bug or works as designed. You can then debate the (non)sense of this design, but that is another issue View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039231#4039231 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039231 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Messaging, JMS JBossMQ] - extract sql statements (sqlproperties) to a class file?
I was wondering how (if it is possible) to extract the sql statements (INSERTS UPDATES DELETES ETC) from the *jdbc2-services.xml files to a class file. Thanks, Vincent View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039318#4039318 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039318 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: seam-gen: behaviour of an generated app
Hello Pete, i have not modified them. They are the same as they are generated by seam-gen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039239#4039239 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039239 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JNDI/Naming/Network] - Jboss IDE - 1099 port problem
Hello All, Installed Jboss IDE - added a project and server(Jboss 4.0.5). I want to change the default port 109p to 5099. I updated jboss-service.xml file 5099 and updated JbossIDE-Server- Edit launch configuration properties In the stop Args - specified -s localhost:5098 -a jmx/rmi/RMIAdaptor Started the Jboss from Jboss IDE, Server started 8080 and rmi is listening at 5099.. but when i am stoping the server from Jboss IDE I am getting the following exception. Is this plugin known bug?? Please let me know. thanks Ram View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039255#4039255 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039255 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - dividing pages.xml
Hi all, It is possible to divide pages.xml to multiple file ? I tried to use !ENTITY exceptions SYSTEM exceptions.xml but it seems not work. I saw an idea of reimplement seam component pages but I dont know if that solved my problem Is there semobedy who has divided pages.xml ? Thanks Mila View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039256#4039256 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039256 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Unable to Run an EAR or WAR File
Here are more details about the problem. If I deploy HelloJSF.war into the deploy folder and go to the http://localhost:8080/HelloJSF/ URL, I get the following: Directory Listing For / Filename SizeLast Modified greeting.jsp 0.4 kb Tue, 13 Mar 2007 22:04:54 GMT hello.jsp0.6 kb Tue, 13 Mar 2007 22:03:00 GMT Apache Tomcat/5.5.20 If I click on hello.jsp, I get the following exception report: HTTP Status 500 - type Exception report message description The server encountered an internal error () that prevented it from fulfilling this request. exception org.apache.jasper.JasperException org.apache.jasper.servlet.JspServletWrapper.handleJspException(JspServletWrapper.java:512) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:395) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) root cause java.lang.NullPointerException javax.faces.webapp.UIComponentTag.setupResponseWriter(UIComponentTag.java:929) javax.faces.webapp.UIComponentTag.doStartTag(UIComponentTag.java:310) org.apache.myfaces.taglib.core.ViewTag.doStartTag(ViewTag.java:70) org.apache.jsp.hello_jsp._jspx_meth_f_view_0(hello_jsp.java:99) org.apache.jsp.hello_jsp._jspService(hello_jsp.java:74) org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334) org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314) org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264) javax.servlet.http.HttpServlet.service(HttpServlet.java:810) org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) note The full stack trace of the root cause is available in the Apache Tomcat/5.5.20 logs. Apache Tomcat/5.5.20 If anyone has experience with this type of problem, please help. Also, where might I learn how to understand the exception report? Thanks. - jhimmel View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039261#4039261 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039261 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Problems with the Subject
I do resolved this problem when ClientLoginModule was included in my login-config.xml to propagate the caller security context. For more details see Q3 here http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039258#4039258 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039258 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - 1.2.1 GA -- Split deployments
I have been trying to split the registration example into 2 non-nested/root level deployments ( war and ear ). So far this has been unsuccessful and it appears as though the reason is that the loading of the jboss-seam.jar kicks off the seam deployment scanner. This means that it should be deployed with components. The problems is that war deployments are done prior to ear deployments and since it requires the SeamListener web deployment fails because it is also in jboss-seam.jar. Searching the forums on this gives me nothing, but I find it hard to believe someone hasn't asked this before, most likely in some other words. Is this possible with Seam 1.2.1GA? My first thought was to pull out the servlet package and put it into a jboss-seam-web.jar but it looks as though that may turn out to reference much of core. Thanks in advance for any insight. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039262#4039262 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039262 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: dividing pages.xml
Just make your_xhtmlpagename.page.xml You can see the example by generating with seam-gen View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039266#4039266 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039266 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
Ok, some progress. I left the subscription registry in a single JAR file and removed the install parameter (did not work wiht install==true or install=false). The application deploys fine, seam remoting is working, but it is breaking when trying to subscribe to JMS topic: | 15:35:58,898 ERROR [Remoting] Error | java.lang.IllegalArgumentException: Invalid token argument - token not found in Session Context. | at org.jboss.seam.remoting.messaging.SubscriptionRegistry.getSubscription(SubscriptionRegistry.java:178) | at org.jboss.seam.remoting.messaging.PollRequest.poll(PollRequest.java:43) | at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:83) | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110) | at org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:68) | at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:77) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039320#4039320 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039320 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Management, JMX/JBoss] - Re: jboss JMX notification type
What jboss version you are using? If I remember, there was a problem as to when this notification is produced, by I think I've fixed that recently. Another thing, don't override handleNotification() because dynamic subscriptions do not work then. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039268#4039268 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039268 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Security JAAS/JBoss] - Re: Bug in security cache - 4.0.4.GA
It tries to propagate the caller security context including the ClientLoginModule in your login-config.xml. See at http://wiki.jboss.org/wiki/Wiki.jsp?page=SecurityFAQ View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039267#4039267 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039267 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBossWS] - Re: setProperty must be overridden by all subclasses of SOAP
Thanks for the reply. How can I trace jboss classloading? View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039271#4039271 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039271 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - jboss 3.2.1: identity management for sql server 2005
hi all our application was developed long time ago for postgres. now we are porting it to sql server 2005. now, in sql server, column id management is automatically done by the database. Therefore, i found the following on http://www.ubookcase.com/book/Sams/JBoss.4.0.The.Official.Guide/0672326485/ch11lev1sec11.html anonymous wrote : | mssql-fetch-key (org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand) JDBCSQLServerCreateCommand for Microsoft SQL Server uses the value from an IDENTITY columns. By default, it uses SELECT SCOPE_IDENTITY() to reduce the impact of triggers. You can override it with the pk-sql attribute (for example, for version 7). | so i added in standardjbosscmp-jdbc.xml the following (it was not yet present there) anonymous wrote : | entity-command name=mssql-fetch-key class=org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreateCommand/ | But when i add that line in standardjbosscmp-jdbc.xml, i get the error below. anonymous wrote : 15:26:12,638 ERROR [EntityContainer] Starting failed | org.jboss.deployment.DeploymentException: Could not load class: org.jboss.ejb.plugins.cmp.jdbc.keygen.JDBCSQLServerCreat | eCommand | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData.(JDBCEntityCommandMetaData.java:61) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:239) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCXmlFileLoader.load(JDBCXmlFileLoader.java:67) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.loadJDBCEntityMetaData(JDBCStoreManager.java:737) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.initStoreManager(JDBCStoreManager.java:430) | at org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:372) | at org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:170) | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:339) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) | at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966) | at $Proxy11.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:392) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy34.start(Unknown Source) | at org.jboss.ejb.EjbModule.startService(EjbModule.java:329) | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192) | at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) | at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:966) | at $Proxy11.start(Unknown Source) | at org.jboss.system.ServiceController.start(ServiceController.java:392) | at sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:549) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177) | at $Proxy22.start(Unknown Source) | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:540) | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640) | at
[jboss-user] [JBossWS] - Re: setProperty must be overridden by all subclasses of SOAP
Check the manual chapter 2.2.2.4 http://docs.jboss.org/jbossas/jboss4guide/r5/html/ch2.chapter.html#d0e2648 Regards Oskar View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039275#4039275 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039275 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Upgrade from Seam 1.1 to 1.2.1
Ok, some progress. I left the subscription registry in a single JAR file and removed the install parameter (did not work wiht install==true or install=false). The application deploys fine, seam remoting is working, but it is breaking when trying to subscribe to JMS topic: | 15:35:58,898 ERROR [Remoting] Error | java.lang.IllegalArgumentException: Invalid token argument - token not found in Session Context. | at org.jboss.seam.remoting.messaging.SubscriptionRegistry.getSubscription(SubscriptionRegistry.java:178) | at org.jboss.seam.remoting.messaging.PollRequest.poll(PollRequest.java:43) | at org.jboss.seam.remoting.PollHandler.handle(PollHandler.java:83) | at org.jboss.seam.remoting.Remoting.getResource(Remoting.java:110) | at org.jboss.seam.servlet.ResourceServlet.doGet(ResourceServlet.java:68) | at org.jboss.seam.servlet.ResourceServlet.doPost(ResourceServlet.java:77) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:717) | at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039269#4039269 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039269 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Beginners Corner] - Re: Unable to Run an EAR or WAR File
The reason why you are seeing a directory listing when you specify http://localhost:8080/HelloJSF/ is because you dont have a welcome file in your application. By default the server searches for index.jsp or index.html in the application. If it does not find this then it wil display the directory listing. If you want to disable this, you have 2 options: 1) There's a xml file where you can disable the directory listing or 2) You can specify your welcome file in the web.xml: ?xml version=1.0 encoding=UTF-8? | web-app id=WebApp_ID version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd; | servlet | ... | | /servlet | servlet-mapping | ... | /servlet-mapping | welcome-file-list | welcome-filehello.jsp/welcome-file | /welcome-file-list | /web-app The other error that you are seeing (NullPointerException) when you access the hello.jsp is related to the code in your jsp. You will have to debug from the logs in server.log to figure out why thats occuring View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039274#4039274 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039274 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: Seam 1.2 released
Hi, thanks for your answer. Here's some code: Page: ice:selectOneMenu id=projectselection value=#{projectControllingActions.selectedProject} | valueChangeListener=#{projectControllingActions.projectSelectionChanged} | partialSubmit=true required=true | | s:selectItems value=#{projectControllingActions.projects} var=project | label=#{project.name} noSelectionLabel=#{apc_messages.please_select}/ | s:convertEntity / | | /ice:selectOneMenu | | ice:selectOneMenu id=taskselection value=#{projectControllingActions.selectedTask} | s:selectItems value=#{projectControllingActions.tasks} var=task | label=#{task.description} noSelectionLabel=#{apc_messages.please_select}/ | s:convertEntity / | /ice:selectOneMenu When the page is rendered the first time both selectOneMenus show the noSelectionLabel. Then I change the value of projectselection and since there's a partial submit, the lifecycle is invoked. The projectselection value is converted correctly. But the conversion of the noSelectionLabel in taskselection throws an exception because null can't be converted to Integer. Inspecting the HTML page source I saw that the noSelectionLabel of the selectOneMenus were represented by an empty string. Perhaps it's a compatibility error with ICEfaces 1.5.3??? Thanks in advance Newlukai View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039277#4039277 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039277 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Re: inputText form array / dynamic form
I'm not sure if I completely understand what you are trying to achieve, but why not use something like facelets ui:repeat or tomahawks t:dataList component? E.g. | ui:repeat value=#{myBean.name} var=arrayItem | h:inputText id=firstname value=#{arrayItem.firstname}/ | /ui:repeat | Hope this helps, Pete. View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039276#4039276 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039276 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [JBoss Seam] - Documentation : Seam Issues example
Hi, I'm still quite new to Seam and overwhelmed by how conversations work and the multiple ways to play with them. I'm trying to figure out how to implement a use-case (common to several use cases), using primarily Seam Gen. I've seen that the issue example makes an extended use of conversations, but the reference manual still lacks this example's explanations. (and I can't figure out what happens and why by myself) Since my posts on nested conversations remain unanswered, I wondered when this part of the documentation would be available. Thanks in advance, Jean PS: by the way, the issue example crashes when I select Browse Projects from the home page in the conversation selector... View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039272#4039272 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039272 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user
[jboss-user] [Installation, Configuration Deployment] - java.lang.NoClassDefFoundError: com/sun/corba/se/internal/ii
Hi all, I'm running the JBoss all server on Sun's JDK 1.6.0_01-b06. Whenever I start the all server, I receive the following stack trace in server.log. Any help would be greatly appreciated in removing this. Also, I am only using the all server for the clustering an HA JNDI. Is there any documentation on installing clustering an HA JNDI in to the default server, or would I be better off removing components I don't need in the all server? Thanks, | 2007-04-20 09:58:57,650 DEBUG [org.jboss.system.ServiceController] starting service jboss:service=CorbaORB | 2007-04-20 09:58:57,650 DEBUG [org.jboss.iiop.CorbaORBService] Starting jboss:service=CorbaORB | 2007-04-20 09:58:57,652 DEBUG [org.jboss.iiop.CorbaORBService] Using OAIAddr=null | 2007-04-20 09:58:57,658 DEBUG [org.jboss.iiop.CorbaORBService] Ignoring sunJDK14IsLocalBugFix=true due to inability to load | org.jboss.iiop.SunJDK14IsLocalBugFix | java.lang.NoClassDefFoundError: com/sun/corba/se/internal/iiop/ShutdownUtilDelegate | at java.lang.ClassLoader.defineClass1(Native Method) | at java.lang.ClassLoader.defineClass(ClassLoader.java:620) | at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124) | at java.net.URLClassLoader.defineClass(URLClassLoader.java:260) | at java.net.URLClassLoader.access$000(URLClassLoader.java:56) | at java.net.URLClassLoader$1.run(URLClassLoader.java:195) | at java.security.AccessController.doPrivileged(Native Method) | at java.net.URLClassLoader.findClass(URLClassLoader.java:188) | at org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:672) | at org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:652) | at java.lang.ClassLoader.loadClass(ClassLoader.java:306) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:190) | at org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131) | at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399) | at org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:517) | at org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:405) | at java.lang.ClassLoader.loadClass(ClassLoader.java:251) | at org.jboss.iiop.CorbaORBService.startService(CorbaORBService.java:193) | at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) | at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245) | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:597) | at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) | | View the original post : http://www.jboss.com/index.html?module=bbop=viewtopicp=4039279#4039279 Reply to the post : http://www.jboss.com/index.html?module=bbop=postingmode=replyp=4039279 ___ jboss-user mailing list jboss-user@lists.jboss.org https://lists.jboss.org/mailman/listinfo/jboss-user