[JBoss-user] [Beginners Corner] - EJB-QL navigate with related beans
Hi all, I am actual new to EJB-QL (Discovery it just before few minutes) and I got some queries which navigate with related beans Similar to http://java.sun.com/j2ee/1.4/docs/tutorial/doc/EJBQL4.html Example 4 While deployment, there was exception thrown | - nested throwable: (org.jboss.ejb.plugins.cmp.ejbql.ParseException: Encountered "n.project" at line 1, column 51. | Was expecting: | ... | ) | Notice: All beans are deploying at the moment I would like to know if JBoss supports this kind of query ? Could anyone can give me some ideas of the solution ? Please provide me some ideas, even only a URL of related documentation . Thank you very much for your useful reply. Roy View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953168#3953168 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953168 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Re: Weblogic 91 and POJO Cache
If you turn on debug logging on both nodes for org.jboss.cache.aop.TreeCacheAop, org.jboss.cache.aop.PojoCache and for org.jboss.cache.statetransfer that may give you a clue as to what is going on. Also, make sure your StateTransferTimeout setting is adequate. If Channel.getState() returns false, it basically means the cache that's providing state had some problem generating the state or the state transfer is taking longer than the StateTransferTimeout setting, so the recieipient is giving up. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953164#3953164 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953164 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: PLEASE HELP: JSR 181 EJB Endpoint (JBoss 4.0.4.GA)
Thank you. That returned the WSDL to the endpoint. However, when I followed the link to the WSDL, I get a 404 error. Is there a problem with the endpoint? I did not see any errors in the log? Thank in advance. Registered Service Endpoints | ServiceEndpointID ServiceEndpointAddress | jboss.ws:di=cm.ear/cm.ejb3,port=SchedulerWSBeanPort,service=SchedulerWSBeanService http://myhost:8080/cm/SchedulerWSBean?wsdl View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953163#3953163 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953163 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: PLEASE HELP: JSR 181 EJB Endpoint (JBoss 4.0.4.GA)
Try http://localhost:8080/jbossws in any web browser. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953162#3953162 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953162 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: How to execute stored Procedure
What's a stored procedure? ;) Just kidding, don't hear much about stored procedures anymore. Can't you just bring in a DataSource into a (seamened) session bean, and invoke it from there using JDBC? I don't think you need Hibernate, EJB 3.0, etc. to do that. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953159#3953159 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953159 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: streaming needs
Added the ability to pass the Connector to use for the stream on the client side. http://jira.jboss.com/jira/browse/JBREM-527 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953158#3953158 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953158 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - PLEASE HELP: JSR 181 EJB Endpoint (JBoss 4.0.4.GA)
I have the follwoing JSR 181 defined endpoint. I compiled the class, placed it with my EJB classes (cm.ejb3). And then created an enterprise archive (cm.ear). All my EJBs work great. The WSDL for the class below was generated. The JBoss even shows the creation of the endpoint. However, I cannot find the WSDL URL. I have tried: http://myhost:8080/cm/SchedulerWS | http://myhost:8080/cm/SchedulerWS?wsdl | http://myhost:8080/cm/SchedulerWSBean | http://myhost:8080/cm/SchedulerWSBean?wsdl | http://myhost:8080/cm/SchedulerWSService | http://myhost:8080/cm/SchedulerWSService?wsdl | http://myhost:8080/cm/SchedulerWSBeanService | http://myhost:8080/cm/SchedulerWSBeanService?wsdl | | I am out of ideas. Any help would be very appreciated! | | The JBoss log file shows: | | 20:05:33,355 INFO [WSDLFilePublisher] WSDL published to: file:/opt/jboss-4.0.4.GA/server/default/data/wsdl/cm.ear/cm.ejb3/SchedulerWSBeanService52820.wsdl | | 20:05:33,511 INFO [ServiceEndpointManager] WebService started: http://myhost:8080/cm/SchedulerWSBean | | package com.my.webservices; | | | | import javax.ejb.Stateless; | | import javax.jws.WebMethod; | | import javax.jws.WebService; | | import javax.jws.soap.SOAPBinding; | | | | @Stateless | | @WebService | | @SOAPBinding(style = SOAPBinding.Style.RPC) | | | | //@WebService(endpointInterface="net.sasainc.cm.webservices.SchedulerWS") | | public class SchedulerWSBean implements SchedulerWS { | | | | @WebMethod | | public String listJobs() { | | return "--> jobs"; | | } | | | | } View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953157#3953157 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953157 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Craeting a new instance programaticaly
hi, i defined a process and deploy it to the jbpm local server then i made an application that creates a new instance and then assigns values to a couple of variables. i assign the start node to user ernie, but when i login to the web application as user ernie i have no new instances in the task list. Can sombody tell me what i'm doing wrong ? Thanks. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953156#3953156 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953156 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: Connection between servers through JNDI?
Can you be more specific? You mean the time the jndi detector waits before getting detection messages from a JNDI server? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953155#3953155 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953155 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: @SelectItems and @SelectItemsSelection annotations?
Hello, Is it possible to use this approach to select multiple items? Regards, Sergey View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953154#3953154 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953154 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Inject ResourceBundle to Bean
Hello, i used the Reverse Engeneering plugin to generate database code and jsp pages. JSP Pages - i added a file called "messages.properties" to the WEB-INF/classes folder In the jsp pages i can acces the ResourceBundle and a message will be displayed for the el- expression "msg.Member_country" | | | | | | JAVA-SIDE In my generated Classes i have the following statement: | @In | private transient ResourceBundle resourceBundle; | Well i think what the code above should do: Use the ResourceBundle loaded by the jsp page. I can load the Resourcebundle "manually" again in the bean, but as far i understood seam , this i what seam can do for me becourse it has already bean loaded and it can be injected. Did i understood this right? Pls correct me when i am wrong. If i leave this code unchanged i get an exception from seam anonymous wrote : | Caused by: org.jboss.seam.RequiredException: In attribute requires value for component: memberEditor.resourceBundle well as workaround i changed the code to : | @In(create = true) | but that not really what i need, i need the same resourcebundle as used from jsp. Do u see any possebility how to do this ?(If not ill load it "old fashioned way") Thank u very much, Holger View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953153#3953153 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953153 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - Re: Transaction is not active
Sorry, but the relevance to JBoss AOP is? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953152#3953152 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953152 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss AOP] - Re: adding interceptors to the
security-domain, but I see your original question was aop-domain. For aop-domain, I don't think it is possible View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953151#3953151 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953151 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: Installation Validation Test Failure
No, there's no mistake on your part, the manual installation instructions are deprecated for 4.0.4.GA. See http://jira.jboss.org/jira/browse/JBMESSAGING-419 We plan to drop the manual installation procedure altogether and only use the ant installation script. In the near future, we will also offer the choice of using the graphic installer (the easiest way). View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953150#3953150 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953150 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Re: IllegalStateException: Cannot find consumer
I deployed a stateless session bean and an MDB in a configuration similar to yours. I used the stateless session bean to send a message to requestQueue. The message has been immediately processed by the MDB and the response has been placed in responseQueue (no expiration for message). I then used the session bean to read from the responseQueue after more than 15 minutes, and everything worked fine. If something is wrong with the server, it's probably due to a race condition caused by the message expiration. Could you replicate the error consistently? Could you describe the sequence of steps so I can replicate it as well? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953149#3953149 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953149 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Help me!How to use Xdoclet's code assistant when the key
tks?I will find it with your guidance! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953148#3953148 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953148 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Problem injecting default resource bundle to session bean
Hello, I'm just starting with seam and managed to set up my project integrating ADF faces with facelets, MyFaces and Seam. Everything works so far but now I ran into a problem using the resource bundle in a session bean. I am using the default messages.properties and it works in my pages using EL #{messages.hello} Now I want to use the message directly in my session bean and tried to inject it as described in the reference doc: @In("#{messages['hello']}") private String hello; But it doesn't get injected, the string is still null. Even tried @In("#{messages.hello}") private String hello; which gives the same result. When I inject the messages Map @In(create=true) private Map messages; a NullPointerException is thrown as soon as I try to access the map by private String hello = messages.get("hello"); Does anyone have a hint for me? Thanks, johnnybe View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953147#3953147 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953147 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - JBoss AS 3.2.6 crashes without stack trace or core dump
Hello, Our application runs on a JBoss 3.2.6 AS cluster and primarily uses Tomcat and JBoss cache which run within the AS. We are attempting to debug the crashing of the JBoss AS cluster but have not much to go by since when the server crashes there is no stack trace or core dump. Any clues on how to get more information out of JBoss when such a crash occurs? Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953145#3953145 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953145 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataTableSelection and Seam-managed Transaction problem
Make sure operationFiling.operation isn't null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953144#3953144 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953144 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Messaging] - Installation Validation Test Failure
I performed a new installation of JBoss AS 4.0.4 (via Web install of the "default" profile). I then performed the installation of JBoss-Messaging-1.0.1.CR2, executing the instructions in "Chapter 4. Installation" of the on-line version of the "Getting Started with JBoss Messaging 1.0.1" document: (http://labs.jboss.com/file-access/default/members/jbossmessaging/freezone/docs/guide-1.0.1.CR2/html/index.html) Specifically, I executed the steps outlined in the "4.1.2. Manual installation procedure" section. I was able to successfully start the server. I then proceeded to execute the "queues" example, and received the following error: 15:48:07,981 ERROR [UsersRolesLoginModule] Failed to load users/passwords/role files java.io.IOException: No properties file: users.properties or defaults: defaultUsers.properties found The following files exist in the directory $JBOSS_HOME/server/messaging/deploy/jboss-messaging.sar: messaging-roles.properties messaging-users.properties Both files have a single entry (other than comments) of "guest=guest". Per section "4.1.2.4. Configure the security domain" of the "Getting Started..." document, my modification to the file $JBOSS_HOME/server/messaging/conf/login-config.xml is as follows: | | | | | guest | | | | In the server error message, I noticed that the server was apparently expecting to find a property file named "user.properties". So, in the $JBOSS_HOME/server/messaging/deploy/jboss-messaging.sar directory, I copied "messaging-roles.properties" to "roles.properties" and copied "messaging-users.properties" to "users.properties". I then re-ran the "queues" example test, and it executed successfully. So, my question is... Is this issue due to: 1) A misconfiguration on my behalf during the installation? 2) An issue with the "Getting Started..." documentation I referenced? 3) A misconfiguration in the "JBoss-Messaging-1.0.1.CR2" installation package. Since I could not find another report of this issue on the forums, my guess is that (1) is the likely answer. Thank you in advance any help you may be able to provide me. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953143#3953143 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953143 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: DataTableSelection and Seam-managed Transaction problem
Sorry: DataModelSelection :-D View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953141#3953141 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953141 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - DataTableSelection and Seam-managed Transaction problem
I am trying something siminar to Book exemple with Seam-managed transaction: | @Entity | public class Operation | { | // gets and sets and JPA annotations | ... | } | | @Stateful | @Name("monitoring") | @Scope(ScopeType.SESSION) | public class MonitoringAction implements Monitoring | { | | @In(create = true) | private OperationDAO operationDAO; | | @DataModel | private List operations = null; | | @DataModelSelection | private Operation selectedOperation; | | @Factory("operations") | public void load() | { | operations = operationDAO.findAll(); | } | | // gets and sets and destroy | ... | } | | @Stateful | @Name("operationFiling") | @Conversational(ifNotBegunOutcome="monitoring") | public class OperationFilingAction implements OperationFiling | { | | // DAO and database operations | @In(create = true) | private OperationFilingService operationFilingService; | | @In | private Monitoring monitoring; | | // Backing bean | @In(required = false) @Out | private Operation operation; | | @Begin | public String select() | { | setOperation(monitoring.getSelectedOperation()); | | return "operationfile"; | } | | // too many thing ... | } | | | | | Operation Code | | | | | | | and, I get this: | ERROR 23-06 19:19:40,715 (Log4JLogger.java:error:119) -Exception in PhaseListener RESTORE_VIEW(1) afterPhase | java.lang.StringIndexOutOfBoundsException: String index out of range: -1 | at java.lang.String.substring(String.java:1768) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.selectDataModelRow(AbstractSeamPhaseListener.java:86) | at org.jboss.seam.jsf.AbstractSeamPhaseListener.restoreAnyConversationContext(AbstractSeamPhaseListener.java:48) | at org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:63) | at org.jboss.seam.jsf.SeamExtendedManagedPersistencePhaseListener.afterPhase(SeamExtendedManagedPersistencePhaseListener.java:55) | at org.apache.myfaces.lifecycle.PhaseListenerManager.informPhaseListenersAfter(PhaseListenerManager.java:89) | at org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:181) | at org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:144) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:45) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:30) | at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) | at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) | at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) | at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) | at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) | at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) | at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) | at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869) | at org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664) | at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) | at org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80) | at org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684) | at java.lang.Thread.run(Thread.java:595) | ERROR 23-06 19:19:40,837 (Log4JLogger.java:error:119) -Exception
[JBoss-user] [Beginners Corner] - Re: Using EJB and JSF: can they communicate?
Look at the EJB3 trailblazer. That is where I got my start using EJB3. It is a very simple lookup on a bean but I would not directly call my bean from a JSF page. I would have a managed bean communicate with a session facade. Here is a basic lookup: | remoteInterfaceReference = (RemoteInterface) ctx.lookup("ImplementationClass/remote"); | I get a reference to the remote interface for the component I am going to make calls on. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953139#3953139 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953139 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Messages Application from Tutorial with MySQL
Ok ok... cleared. "read" is a reserved word in MySQL and it is used as a variable in the application. Just changed that, it did it. Thanks anyways. F View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953138#3953138 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953138 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Hibernate Hql Editor not showing
I am using eclipse 3.2.1 and org.hibernate.eclipse_3.1.0.beta5 I have the same problem! After reenginered sucessfully my mysql db shema and generated code with hib eclipse plugin, i am still missing the sql editor, the properties in my hibernate.xml stay empty and the entity and relation view stays empty too - although there are java classes representing the mysql tables, the mapping files (hbm.xml) and doc generated in source dir. Please help, tx in advance. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953137#3953137 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953137 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: streaming needs
Ok. Would be interested in seeing what you are doing and if you think would make sense to roll into remoting. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953136#3953136 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953136 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Messages Application from Tutorial with MySQL
Hi, I tried to deploy the Messages Application (from the seam-examples / tutorial) but failed to do so, since the schema cannot be exported. Now, I tried Booking and Registration, both work fine after changing the Persistance.xml. I also modified the Persistance.xml for the the Messages Application but failed. The table cannot be created. I cannot see why this one wouldn't work...? Is it maybe because of the "boolean" - should that maybe be a "Boolean"...? Using MySQL 4.1.20, JBoss 4.0.4 GA. Thanks, Flo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953135#3953135 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953135 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: MySQL Errors
Argh... somebody had the same errors. Sorry, I saw it too late. The answer is of course: http://www.jboss.com/index.html?module=bb&op=viewtopic&t=84871 Adios, Flo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953133#3953133 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953133 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Migration 4.0.4.CR2 -> 4.0.4.GA problem
Try implementing Comparable instead of Comparator. TreeMap.compare(), I believe, invokes the class's compareTo() method, after casting to Comparable. I think that's where you're exception is. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953132#3953132 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953132 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Portal context and Servlet mapping
hi all, i have a problem to correctly mapping a servlet from a jsp page previously dispatched from a portlet. I have A 4.0.4GA and Portal 2.4 beta1. my url aplication is: http://localhost:8080/portal/portal/default/IndexPage I have a portlet, from portlet I call requestdispatch method to a jsp file (located in /myportal/user/fileupload.jsp/). In this jsp i have a form, which action must point to a servlet (commons-fileupload-1.1.1 servlet). I've tried many combination but always can't reach the servlet. My xml files: web.xml: | ... | | UpLoaderFile | mywork.utility.uploadfile.UploadFile | | | | UpLoaderFile | /uploaderfile | | ... | jboss-web.xml | |myportal | jboss-app.xml | | | /myportal | | myportal-object.xml | | | myportal | | view | | | normal | minimized | maximized | | | | | overwrite | default | | IndexPage | | | Central Controller Window | CentralControllerInstance | center | 0 | | | User Login Window | UserPortletInstance | left | 0 | | | Theme Window | ThemeSelectorPortletInstance | left | 0 | | | | In the actionm field of the form (in the jsp file) I've tried: "/myportal/uploaderfile" "/uploaderfile" myportal/uploaderfile uploaderfile getting Error HTTP Status 404 for first 2, and nothing for last two I'm stuck and don't know what else do. Any suggestion will be appreciated View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953130#3953130 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953130 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: streaming needs
anonymous wrote : | However, this is probably a little more work than most people would want to do. | So, here's a bit of constructive criticism. Don't assume you know how much work a developer wants or needs to do :-) Probably the one and only thing that I really don't like about the remoting API is the lack of full configuration control. Everything else is great! :-) I disagree that this is probably a little more work than most people would want to do. But, you know your user base better than I, so I could be wrong. However, I come with a philosophy that APIs should be designed with maximum extensibility and configuration. You probably noticed this with the work I did on the SSL stuff - make everything subclass-able if possible - and make every option customizable/configurable by the developer (again, if at all possible). There are some things in the remoting API that you just can't do or use because it isn't customizable (the previous SSL stuff and the Transporter stuff are two things that immediately come to mind). The API assumes, and pigeonholes, the developer to use it in a particular way with no way of changing the behavior if I want to. Don't assume you know the way the developer wants to write his code. Its fine to make the "normal" use case easier to write, but while doing that, don't assume you know how the developer wants to do things - don't limit the developer from taking a different approach. As for this streaming stuff, I have decided that I can't use it due to some of these limitations and am in the middle of implementing my own remote streaming on top of my remoting app. So the good news there for you is you don't have to worry about implementing any of these new feature requests if I'm the only one who asked for it. :) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953129#3953129 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953129 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: MySQL Errors
snippet of that jboss-beans.xml oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@localhost:1521:db0353 scott tiger java:/issuesDatasource 0 10 1000 10 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953127#3953127 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953127 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: MySQL Errors
I changed the datasource from hsql to oracle .. please see the below config files i have to change and make sure you have the classes12.jar in the classpath. ---jboss-beans.xml- oracle.jdbc.driver.OracleDriver jdbc:oracle:thin:@localhost:1521:db0353 scott tiger java:/issuesDatasource 0 10 1000 10 issues-ds.xml- issuesDatasource jdbc:oracle:thin:@localhost:1521:db0353 oracle.jdbc.driver.OracleDriver scott tiger thanks, View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953126#3953126 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953126 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Remoting] - Re: streaming needs
So lots of items here. Will try to break them out into groups. 1. How to send streams Really only two ways to do it. First is to write the actual data to a byte array (or some other data holder) and send the whole thing over the wire. Biggest problem with this is that if large file, will probably get out of memory errors. Second is to remote read on demand of the bytes, so can be writen directly to disk (or whatever) on the server side to avoid running out of memory since don't have to keep all the data in memory. Remoting allows for either, but the Client.invoke(InputStream inputStream, Object param) is for the second option. 2. Client to server and server to client sending of streams Currently, remoting only allows a client to send a stream (actually a remote proxy to a stream) to the server, which can then read the stream on demand. However, there is no way for the client to read a stream that exists on the server. One of the main reasons for this need to figure out how to define the API for this. I would like this to be a different method since want it to be typed on both sides (meaning both client and server explicitly know they are dealing with a stream now instead of regular object instance being serialized). Also, how to define exactly which file/stream the client wants from the server? The other (probably bigger reason) for not having this is no one has asked for it. If you have a use case, will work on adding it (if you can devise a simple test case illustrating what you are looking for, what would be great). 3. Physical connection for sending streams As mentioned, the client will create a StreamServer which acts as a remoting server to deliver data from the stream being read to the server instance requesting it (via the stream proxy on the server side). In almost all cases, this is going to require another physical connection to be created from the server instance back to the client instance as the server instance (handler to be more specific) will ask for the bytes from the stream living on the client whenever it wants (so has to be on demand, which requires that connection). This just wouldn't be possible to do using a polling mechanism. So the only way would be possible to do this using the same physical connection would be to use the multiplex transport (which by nature, can use the same physical connection for two-way communication). 4. Concurrent use I did just make a change for JBREM-519, so that for each StreamServer created, it will use the PortUtil.findFreePort() so that for each time a stream is sent from the client, a new remoting server will be created to receive the stream read requests from the server. This will allows for multiple streams to be read at the same time by the server. I know this is not the greatest option due to having no control over config for ports being used (more in this below). 5. Configuration The current remoting streaming implementation is obviously a very simple one and till now, no one had expressed any interest in using it, so have not devoted a lot of energy to improviing it (obvious by limited config). As you mentioned, can only control basic config info (transport, port, etc.) via setting system properties. I see two immediate ways to make this more configurable (but am open to any other suggestions). First, can just allow user to send the Connector to use for the StreamServer, as Mazz suggested. This provides complete control over the remoting server used. However, this is probably a little more work than most people would want to do. So the second option would be to try and do what we do for push callbacks where try to use the same config in use already. So the StreamServer would try to use the same config as already in use by the Client, to include any ssl config if it exists (same for server) and will flip the useClientMode on each side. Will still have the problem of how to configure the port to be used though... not sure how to best do this. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953125#3953125 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953125 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: Migration 4.0.4.CR2 -> 4.0.4.GA problem
I have used the SortedSet instead of List and the OneToMany relation works when I write or update but when I retrieve my composite object it gives a ClassCastException on the TreeSet Compare. I do not know why as I have my object as a comparator and it implements a compare method?? public boolean equals(Object obj ) | { | boolean ret = false; | if( obj == null ) return false; | if( obj instanceof Counts ) | { | Counts other = (Counts)obj; | if( this.id == other.id && | this.wellNumber == other.wellNumber && | this.cnts == other.cnts && | this.milliSeconds == other.milliSeconds && | this.timestamp.equals(other.timestamp)) | { | ret = true; | } | } | | return ret; | } | | public int compare( Object arg0, Object arg1 ) | { | int ret = -1; | if( arg0 == null || arg1 == null ) return -1; | | if( arg0 instanceof Counts && arg1 instanceof Counts ) | { | Counts c1 = ( Counts ) arg0; | Counts c2 = ( Counts ) arg1; | | if( c1.cnts > c2.cnts ) ret = 1; | if( c1.cnts < c2.cnts ) ret = -1; | if( c1.equals(c2) ) ret = 0; | } | | return ret; | } 14:07:00,176 ERROR [STDERR] javax.ejb.EJBException: java.lang.ClassCastException: com.theranos.abcs.reader.dmo.Counts 14:07:00,176 ERROR [STDERR] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:69) 14:07:00,176 ERROR [STDERR] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83) 14:07:00,176 ERROR [STDERR] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:197) 14:07:00,176 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 14:07:00,176 ERROR [STDERR] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76) 14:07:00,176 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 14:07:00,176 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:81) 14:07:00,176 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 14:07:00,176 ERROR [STDERR] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:78) 14:07:00,176 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 14:07:00,176 ERROR [STDERR] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:47) 14:07:00,176 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 14:07:00,176 ERROR [STDERR] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106) 14:07:00,176 ERROR [STDERR] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101) 14:07:00,176 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:199) 14:07:00,176 ERROR [STDERR] at org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:98) 14:07:00,176 ERROR [STDERR] at $Proxy80.getAll(Unknown Source) 14:07:00,176 ERROR [STDERR] at com.theranos.abcs.utils.LogParser.parse(LogParser.java:254) 14:07:00,176 ERROR [STDERR] at com.theranos.abcs.reader.web.servlet.ReaderServer.parseLogs(ReaderServer.java:247) 14:07:00,176 ERROR [STDERR] at com.theranos.abcs.reader.web.servlet.ReaderServer.doPost(ReaderServer.java:147) 14:07:00,176 ERROR [STDERR] at com.theranos.abcs.reader.web.servlet.ReaderServer.doGet(ReaderServer.java:105) 14:07:00,176 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:697) 14:07:00,176 ERROR [STDERR] at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 14:07:00,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 14:07:00,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 14:07:00,176 ERROR [STDERR] at org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) 14:07:00,176 ERROR [STDERR] at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202) 14:07:00,176 ERROR [STDERR] at org.ap
[JBoss-user] [JBoss Seam] - Different ways to look at it.
Phrased differently, I guess this would be the idea of a conversation "home". Or, the idea of more control over conversation resuming... Perhaps by default Seam could simply use the very first ViewId associated with a conversation as the "home" view ID. Then, a new option in @Begin could be: resume=ResumeType.CONVERSATION_HOME or something like it. Another implementation approach that might serve a slightly different purpose would be a new annotation called @Resume. Seam would call this method when it was getting ready to resume an explicit conversation. The outcome could be run through the regular JSF navigation handler and the appropriate home view could be determined that way. Returning null means that Seam uses the existing view ID assigned to the conversation. Thus, the application gets to control if the current view is kept or changed, and if any other logic is run before resuming. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953111#3953111 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953111 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: TreeCache and portal clustering conflict
I just downloaded the latest 2.2.1 branch from CVS and, after building and testing, it does appear that the problem is fixed in 2.2.1. So I believe this will be in the next SP release. Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953123#3953123 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953123 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: M:N CMP Relationship with unknown Primay Key fails with
I could not resolve the problem, finally removed the unknown-pk and did it by hand with a select max(id) and increment. Tried before almost all possible combinations of XDoclet attibutes. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953122#3953122 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953122 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: running Eclipse TestNG plugin on a Seam project
Gavin and Jye, I think I'm really close. Those were good hints, thank you. One thing though is that I'm not really trying to run the registration example, I'm just cloning it and trying to make a minimal Seam project in Eclipse as a starting point, without references to Seam source. I've made a bunch of changes and am now much farther but stuck. I have: * put seam.properties in my "src" folder so that the corresponding "bin" folder will get scanned by Seam * made sure all configuration files (that I'm aware of) are now in a folder called "resources" that is on the classpath * put components.xml, faces-config.xml, and web.xml in WEB-INF under my resource folder * added 'unitName="userDatabase"' to the @PersistenceContext annotation in RegisterAction because I was getting an error like: @PersistenceUnit in error: EMPTY STRING unitName but there is no deployments in scope. After reading http://trailblazer.demo.jboss.com/EJB3Trail/persistence/config/ is this use case perhaps not using a scoped classloader? * moved the test to a separate source folder named test and into the same package as the registration source (my own preference for Java unit testing, doesn't seem significant to me) So far as I can tell, the first significant differences in running the test under ant or Eclipse (Seam reverses its log messages about the user and register components) that I can notice are that under Eclipse: * there's no message like: INFO (Ejb3DescriptorHandler.java:addClassAnnotation:1699) -adding class annotation org.jboss.annotation.internal.DefaultInterceptorMarker to org.jboss.seam.example.registration.RegisterAction [EMAIL PROTECTED] * there's no message like: INFO (MCKernelAbstraction.java:install:84) -installing bean: persistence.units:jar=test.jar,unitName=userDatabase with dependencies: * it appears that RegisterAction doesn't have a JNDI binding (it gets a NamingException) even though there's a Seam log message that says "JNDI: RegisterAction/local" Pointers in getting this right will be gratefully appreciated -- it seems pretty darn close now! Thanks, Dave P.S. I think that having something like this to start from would really help people who are considering trying out Seam to get over the hurdle of creating a small freestanding project to start playing with which they could then morph into their own app. Maybe I could create a Wiki entry once this works right or there could be a little section on this in the reference guide? eclipse console output: anonymous wrote : INFO 23-06 12:47:41,519 (Log4JLogger.java:info:94) -reading components.xml | INFO 23-06 12:47:41,613 (Log4JLogger.java:info:94) -reading properties from: /seam.properties | INFO 23-06 12:47:41,613 (Log4JLogger.java:info:94) -reading properties from: /jndi.properties | INFO 23-06 12:47:41,629 (Log4JLogger.java:info:94) -initializing Seam | INFO 23-06 12:47:41,660 (Log4JLogger.java:info:94) -Component: org.jboss.seam.core.init, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Init | INFO 23-06 12:47:41,832 (Log4JLogger.java:info:94) -Component: org.jboss.seam.core.pages, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Pages | INFO 23-06 12:47:41,847 (Log4JLogger.java:info:94) -Component: events, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.Events | INFO 23-06 12:47:41,863 (Log4JLogger.java:info:94) -Component: org.jboss.seam.core.manager, scope: EVENT, type: JAVA_BEAN, class: org.jboss.seam.core.Manager | INFO 23-06 12:47:41,910 (Log4JLogger.java:info:94) -Component: switcher, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.Switcher | INFO 23-06 12:47:41,910 (Log4JLogger.java:info:94) -Component: redirect, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Redirect | INFO 23-06 12:47:41,925 (Log4JLogger.java:info:94) -Component: httpError, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.HttpError | INFO 23-06 12:47:41,925 (Log4JLogger.java:info:94) -Component: userPrincipal, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.UserPrincipal | INFO 23-06 12:47:41,941 (Log4JLogger.java:info:94) -Component: isUserInRole, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.IsUserInRole | INFO 23-06 12:47:41,972 (Log4JLogger.java:info:94) -Component: conversation, scope: CONVERSATION, type: JAVA_BEAN, class: org.jboss.seam.core.Conversation | INFO 23-06 12:47:41,988 (Log4JLogger.java:info:94) -Component: conversationList, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationList | INFO 23-06 12:47:41,988 (Log4JLogger.java:info:94) -Component: conversationStack, scope: PAGE, type: JAVA_BEAN, class: org.jboss.seam.core.ConversationStack | INFO 23-06 12:47:42,004 (Log4JLogger.java:info:94) -Component: facesContext, scope: APPLICATION, type: JAVA_BEAN, class: org.jboss.seam.core.FacesContext | INF
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: M:N CMP Relationship with unknown Primay Key fails with
Has anyone got this same error, or has the author solved this problem already (I can't contact donjons via pm/email)? This because I get the very same error "Both roles of a relation-table mapped relationship must have key fields:..." but I can't figure out why, and this is one of the few places this error is mentioned. If anyone can point me in the right direction, I'd really appreciate it. Thanks View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953119#3953119 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953119 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossCache] - Replicated field values not 'sticking' in clustered POJO Cac
I'm rather stumped by this problem. I've implemented POJO Cache (1.3.0 SP2) standalone within Resin app server. I have two servers (ServerA and ServerB) within the same subnet that each start a TreeCacheAOP instance upon server startup and add a POJO to the TreeCache as such: * | // Configure and start the TreeCache | cache = new TreeCacheAop(); | | PropertyConfigurator config = new PropertyConfigurator(); | config.configure(cache, "./WEB-INF/replSync-service.xml"); | | cache.start(); | | MerchantDailyAccount mda = new MerchantDailyAccount(); | mda.setDailySpend(128.00F); | | cache.putObject("/test/dailySpend", mda); | *** Let's say that ServerA starts up first and adds a MerchantDailyAccount object to the cache (as shown above) with a 'dailySpend' value of 128.00. When ServerB starts up, it also adds a MerchantDailyAccount object to the cache with the same 'dailySpend' value (128.00) and replicates the object across back the network to ServerA (I see it in the logs). The problem is that when I inspect the cached MerchantDailyAccount objects on ServerA and ServerB, I see the following: ServerA: MerchantDailyAccount.dailySpend = 1.00 (its initial value defined within the POJO) ServerB: MerchantDailyAccount.dailySpend = 128.00 (the correct value) Somehow, the 'dailySpend' value on ServerA has gotten overwritten and reverted to its initial state. Here's where it gets even stranger. If I then retrieve the cached MerchantDailyAccount object from ServerA and increment its value by 0.50, I will see the following: ServerA: MerchantDailyAccount.dailySpend = 128.50 (the correct value) ServerB: MerchantDailyAccount.dailySpend = 128.00 (should see 128.50, as on ServerA) In the logs on ServerB, I see the replication transaction being sent from ServerA attempting to update the value of 'dailySpend' to 128.50 on ServerB. I've poured over the logs on both servers and don't see any errors that would indicate that the replication event failed (in fact there are no ERROR messages recorded in the logs on either server). I see the correct values being passed back and forth between the two servers, but it just doesn't look like the values 'stick' in the server being replicated to. Its almost like the transaction isn't being effectively committed until I access and change the value in the object replicated to. Has anyone seen this before or have any idea what might be causing this. I've included my XML configuration below, in case its helpful. Thank you for your help! Michael | | | | | | | | | jboss:service=Naming | jboss:service=TransactionManager | | org.jboss.cache.GenericTransactionManagerLookup | | PESSIMISTIC | | REPEATABLE_READ | | REPL_SYNC | | false | | 0 | | 0 | | GiftsCom-TreeCache-Cluster | | | | | | | | | | | | | | | | | | false | | 2 | | 2 | | 15000 | | org.jboss.cache.eviction.AopLRUPolicy | | | | 5 | | 5000 | 1000 | | | 1 | 5 | | | | | true | | | | View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953109#3953109 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953109 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework
What's the cause here? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953116#3953116 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953116 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework
Hmmm ... -ds.xml files should by default be deployed before .war files. Did you change any deployment suffix settings? Look if there is an exception before or at -ds.xml deployment, Or if jndi name is wrong. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953110#3953110 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953110 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework
I didn't change any deployment suffix settings. There is no exception also when ds.xml is deployed. I just get the following exception 2006-06-23 12:17:58,880 WARN [org.jboss.system.ServiceController] Problem starting service jboss.web.deployment:war=ccpi.war,id=418140027 org.jboss.deployment.DeploymentException: URL file:/c:/cvs/us/dev/spmi_ccpi_test/appserver/spmi_ccpi-domain/applications/ccpi.sar/ccpi.war/ deployment failed at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:349) at org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:88) at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357) at org.jboss.web.WebModule.startModule(WebModule.java:68) at org.jboss.web.WebModule.startService(WebModule.java:46) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:274) at org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:230) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:943) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:428) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80) at org.jboss.mx.server.Invocation.invoke(Invocation.java:72) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:245) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953113#3953113 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953113 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Install on JBoss 4.0.4.GA/JBossWS 1.0.1.GA
You can safely ignore these error messages. http://jira.jboss.com/jira/browse/JBWS-1013 -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953108#3953108 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953108 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Servlet regarded as ServiceEndPoint
Could you post your deployment descriptors? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953106#3953106 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953106 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss gets 'stuck' on Win2K
I have installed JBoss as a system service, and am tailing it with the utility you recommended. I gotta say, I am pretty pleased overall with this setup. One minor word of caution to others: If you tail a rollingFileAppender, it will not be able to properly "roll over". It will create the new file okay, but it will not be able to rename the old file, which is lost. Tail reports "file truncated," but continues tailing the new file. (though it seems to skip the first line of the new file sometimes) Therefore, it's probably not a good idea to tail your rolling appenders. You can tail the redirected console output, as Peter does. I prefer to configure an additional appender in log4j.xml specifically geared towards being tailed. Thanks again for your help, Peter. Regards, Jeff Bischoff Kenneth L Kurz & Assoc, Inc. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953105#3953105 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953105 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: TreeCache and portal clustering conflict
Will this be fixed in 2.2.1 (2.2.1-SP2 maybe) as well as in 2.4? Thanks, Scott View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953103#3953103 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953103 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Exception
Get this exception but when I clear some records from DB it goes off.. Any clues java.lang.NoSuchMethodError: org.jbpm.graph.node.StartState.getHibernateLazyInitializer()Lorg/hibernate/proxy/LazyInitializer; org.jbpm.graph.node.StartState$$EnhancerByCGLIB$$907ef404.getHibernateLazyInitializer() org.hibernate.type.EntityType.resolveIdentifier(EntityType.java:274) org.hibernate.type.EntityType.resolve(EntityType.java:303) org.hibernate.engine.TwoPhaseLoad.initializeEntity(TwoPhaseLoad.java:116) org.hibernate.loader.Loader.initializeEntitiesAndCollections(Loader.java:842) org.hibernate.loader.Loader.doQuery(Loader.java:717) org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224) org.hibernate.loader.Loader.loadEntity(Loader.java:1785) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:47) org.hibernate.loader.entity.AbstractEntityLoader.load(AbstractEntityLoader.java:41) org.hibernate.persister.entity.AbstractEntityPersister.load(AbstractEntityPersister.java:2730) org.hibernate.event.def.DefaultLoadEventListener.loadFromDatasource(DefaultLoadEventListener.java:365) org.hibernate.event.def.DefaultLoadEventListener.doLoad(DefaultLoadEventListener.java:346) org.hibernate.event.def.DefaultLoadEventListener.load(DefaultLoadEventListener.java:123) org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:82) org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:862) org.hibernate.impl.SessionImpl.immediateLoad(SessionImpl.java:820) org.hibernate.proxy.AbstractLazyInitializer.initialize(AbstractLazyInitializer.java:62) org.hibernate.proxy.AbstractLazyInitializer.getImplementation(AbstractLazyInitializer.java:98) org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:158) org.jbpm.graph.def.ProcessDefinition$$EnhancerByCGLIB$$ac380342.getName() View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953102#3953102 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953102 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: total noob question re: LDAP
Sorry to say, but we switched to Liferay and have been happier ever since (although only marginally so... Liferay has its own set of problems) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953101#3953101 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953101 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Basics: binding object instance/factory to JNDI name
Oops, second code block should be: (not that it really matters) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953099#3953099 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953099 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Basics: binding object instance/factory to JNDI name
First off I'm very new to J2EE/JBoss so please excuse my ignorance... I'm trying to do something that (I think) ought to be very simple. I need to bind an object instance (or perhaps more appropriately, a factory method that returns an object instance) to a global JNDI name. Just using Tomcat, I could do something like this: And then in the context config: Easy enough... How do I do something like this in JBoss? Preferably using some EJB 3.0 pattern? Thanks! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953098#3953098 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953098 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss AS 4.04.GA and Portal 2.2.1 deployment
conf/config.xml org.jboss.portal.core.security.PortalObjectPermission, org.jboss.portal.core.security.InstancePermission, org.jboss.portal.core.security.ComponentPermission The policy provider MBean name PolicyName javax.management.ObjectName The Policy attribute name on the PolicyName MBean PolicyAttributeName java.lang.String The Server Config ConfigName javax.management.ObjectName (no description) ServerConfig org.jboss.portal.server.config.ServerConfig (no description) Policy java.security.Policy (no description) inService (no description) policyContextID java.lang.String boolean (no description) getPolicyConfiguration (no description) policyContextID java.lang.String (no description) remove boolean javax.security.jacc.PolicyConfiguration start stop jboss.security:service=JaccPolicyProvider PolicyProxy portal:service=ServerConfig portal:service=SecurityProvider portal:service=SecurityProvider portal:service=PortalPermissionFactory jboss.jca:service=DataSourceBinding,name=PortalDS org.jboss.cache.JBossTransactionManagerLookup REPEATABLE_READ LOCAL portal.security true org.jboss.portal.core.security.store.HibernateCacheLoader config.location=conf/hibernate/security/hibernate.cfg.xml true false true / portal:service=TreeCache,type=persistent jboss:service=TransactionManager org.jboss.cache.JBossTransactionManagerLookup REPEATABLE_READ LOCAL portal:service=TreeCache,type=transient portal:policy=JaccPortalPolicyConfigurator portal:service=TreeCacheProvider,type=persistent portal:policy=PortalPolicyConfigService portalobject portalobject portal:policy=JaccPortalPolicyConfigurator portal:service=TreeCacheProvider,type=persistent portal:policy=PortalPolicyConfigService instance instance portal:policy=JaccPortalPolicyConfigurator portal:service=TreeCacheProvider,type=transient portal:policy=PortalPolicyConfigService component component portalobject=org.jboss.portal.core.security.PortalObjectPermission instance=org.jboss.portal.core.security.InstancePermission component=org.jboss.portal.core.security.ComponentPermission portal:service=PolicyService portal:service=Interceptor,type=Server,name=Transaction portal:service=Interceptor,type=Server,name=SessionInvalidator portal:service=Interceptor,type=Server,name=User portal:service=Interceptor,type=Server,name=Locale portal:service=Interceptor,type=Server,name=ContentType portal:service=Interceptor,type=Server,name=PolicyAssociation portal:service=Interceptor,type=Server,name=SubjectAssociation portal:service=PortalPermissionFactory portal:service=Interceptor,type=Command,name=Navigation portal:service=Interceptor,type=Command,name=PortalNode portal:service=Interceptor,type=Command,name=PolicyEnforcement portal:service=Interceptor,type=Command,name=EventBroadcaster portal:service=Interceptor,type=Component,name=Valve portal:service=Interceptor,type=Component,name=SecureTransport portal:service=Interceptor,type=Component,name=ContextTracker portal:service=Interceptor,type=Component,name=SessionPreDispatch portal:service=Interceptor,type=Component,name=ContextDispatcher portal:service=Interceptor,type=Component,name=SessionPostDispatch portal:service=Interceptor,type=Component,name=Bridge portal:service=Interceptor,type=Component,name=WindowStates portal:service=Interceptor,t
[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Encoding problem... Not able to store German characters
Thanks for your suggestions/comments. I have already implemented this and it is working fine. I just wanted to know the performance impact of the filter. One more clarification: When I tried to DEBUG the code REQUEST object doesn't have any encoding set. "request.getCharacterEncoding()" is returning null value. But where as REQUEST object of WAS has the encoding the value set to "UTF-8". So what I am feeling is there might be a property which might can set the REQUEST object encoding. The reason behind this thought is "Even WAS uses the apache as a webserver internally and what is the equivalent property that is setting the request objects encoding state to "UTF-8". When WAS is providing such an option why not JBOSS is providing? Your suggestions are always appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953096#3953096 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953096 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - MySQL Errors
Hi, I am currently running JBoss 4.0.4 GA (installed with EJB 3.0 Profile), and JBoss Seam 1.0.1 GA, with MySQL 4.1.20 (tried also 5.1). I wanted to exchange the default HQSQL database for a MySQL, and removed the hqsqldb-jdbc2-service file, put the mysql-jdbc-service file in place (like the article about jboss & mysql suggests) but am still getting errors when deploying the examples. The registration example doesn't let me save anything: javax.servlet.ServletException: Error calling action method of component with id _id0:_id6 ... javax.faces.FacesException: Error calling action method of component with id _id2:_id14 org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:74) ... and neither does the booking and the blog doesn't work at all. I discovered in the deploy/jms folder another hqsql file (hsqldb-jdbc-state-service.xml) which may cause some troubles, since I removed the hsqldb-ds.xml... Is there a jdbc-state-service specifically for mysql? What else could cause the errors? Any ideas? Thanks a lot flo View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953095#3953095 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953095 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Explicit conversation ID redirect question
When resuming an existing conversation with the same explicit id, it would be nice to have some control over the view ID that the conversation is redirected to. Right now of course it redirects to whatever view ID is set on the conversation. Typically I'm finding that when resuming a conversation via these explicit ids (not JBPM resuming), I'd like it to start at a known view ID "starting point" every time, regardless of what view ID it happens to be on. Think of this as a "home page" specific to that explicit conversation ID, which may be different than whatever view the conversation happens to be on. Again, I'm not using JBPM but just conversations + stateless nav. Ideas? Ryan View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953094#3953094 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953094 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Invoking one service after another causing exception in jbpm
I deployed 2 JSR 181 web services, and I am trying to use jbpm bpel to orchestrate the 2 web services. Both web services accept an input string and return it as the output, and they are individually tested and working fine. Below is my .bpel content: | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | As you can see, the process accept an input string, hands it over to the first service, then the output of the first service is fed into the second service, and the output of the second service will be returned to the caller. For some reason I am getting the following exception when I am testing the bpel service: | 13:46:39,152 ERROR [StartListener] could not start process instance | java.lang.reflect.InvocationTargetException | at sun.reflect.GeneratedMethodAccessor262.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:585) | at org.hibernate.proxy.pojo.javassist.JavassistLazyInitializer.invoke(JavassistLazyInitializer.java:208) | at org.jbpm.bpel.def.Receive_$$_javassist_24.accept(Receive_$$_javassist_24.java) | at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:82) | at org.jbpm.bpel.def.Sequence.accept(Sequence.java:84) | at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:29) | at org.jbpm.bpel.def.BpelDefinition.messageReceived(BpelDefinition.java:110) | at org.jbpm.bpel.relation.jms.StartListener.onMessage(StartListener.java:94) | at org.jboss.mq.SpyMessageConsumer.run(SpyMessageConsumer.java:694) | at java.lang.Thread.run(Thread.java:595) | Caused by: org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.bpel.def.Activity.enter(Activity.java:88) | at org.jbpm.graph.def.Transition.take(Transition.java:119) | at org.jbpm.graph.def.Node.leave(Node.java:382) | at org.jbpm.bpel.def.Activity.leave(Activity.java:148) | at org.jbpm.bpel.def.ProcessInstanceStarter.visit(ProcessInstanceStarter.java:43) | at org.jbpm.bpel.def.Receive.accept(Receive.java:64) | ... 12 more | Caused by: org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.bpel.def.Activity.enter(Activity.java:88) | at org.jbpm.graph.def.Transition.take(Transition.java:119) | at org.jbpm.graph.def.Node.leave(Node.java:382) | at org.jbpm.bpel.def.Activity.leave(Activity.java:148) | at org.jbpm.bpel.def.Assign.execute(Assign.java:41) | at org.jbpm.bpel.def.Activity.enter(Activity.java:83) | ... 17 more | Caused by: org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.bpel.def.Activity.enter(Activity.java:88) | at org.jbpm.graph.def.Transition.take(Transition.java:119) | at org.jbpm.graph.def.Node.leave(Node.java:382) | at org.jbpm.bpel.def.Activity.leave(Activity.java:148) | at org.jbpm.bpel.def.Invoke.execute(Invoke.java:29) | at org.jbpm.bpel.def.Activity.enter(Activity.java:83) | ... 22 more | Caused by: org.jbpm.graph.def.DelegationException | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:349) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.raiseException(GraphElement.java:343) | at org.jbpm.graph.def.GraphElement.rai
[JBoss-user] [JBoss jBPM] - Re: redeploying processDef problem
anonymous wrote : ProcessDefinition procDef = ProcessDefinition.parseXmlResource(mapName); Sounds like that mapName is being incorrectly specified, or is pointing to the old xml? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953084#3953084 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953084 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework
Hi, Following is the listener am using to initialiaze the spring context in my web.xml | | org.springframework.web.context.ContextLoade rListener | | I have set the following for the dataSource in my applicationContext.xml | | | javax.sql.DataSource | | | The DataSource details are there in the oracle-ds.xml which has the following entry | | | CcpiDS | jdbcracle:thin:@cpddbs2.eng.vodafone-us.com:1530:coredev | oracle.jdbc.driver.OracleDriver | CHANDRAS_CCPI | CHANDRAS_CCPI | org.jboss.resource.adapter.jdbc.vendor.Oracle ExceptionSorter | 2 | 5 | | | When the JBoss Server comes up, it tries to load the listener first and the listener tries to invoke the JNDI name which is not even created by this time, coz of which my app is not getting deployed. I want to make sure that the oracle-ds.xml is read first and the DataSource is created and JNDI is available. Am not sure how to control this. I tried so many options by setting the lazy-init property in the bean etc, and also tried to control the deployment order in JBoss, still no luck. Have anybody has any clue, pls help me out. Thanks Siraj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953083#3953083 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953083 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss/Spring Integration] - Re: issue with lazy loading of springframework
Hi, Am not really sure where to post this but since its a spring issue, am posting here. Thanks Following is the listener am using to initialiaze the spring context in my web.xml org.springframework.web.context.ContextLoade rListener I have set the following for the dataSource in my applicationContext.xml javax.sql.DataSource The DataSource details are there in the oracle-ds.xml which has the following entry CcpiDS jdbcracle:thin:@cpddbs2.eng.vodafone-us.com:1530:coredev oracle.jdbc.driver.OracleDriver CHANDRAS_CCPI CHANDRAS_CCPI org.jboss.resource.adapter.jdbc.vendor.Oracle ExceptionSorter 2 5 When the JBoss Server comes up, it tries to load the listener first and the listener tries to invoke the JNDI name which is not even created by this time, coz of which my app is not getting deployed. I want to make sure that the oracle-ds.xml is read first and the DataSource is created and JNDI is available. Am not sure how to control this. I tried so many options by setting the lazy-init property in the bean etc, and also tried to control the deployment order in JBoss, still no luck. Have anybody has any clue, pls help me out. Thanks Siraj View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953082#3953082 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953082 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - 1.4 Client talking to 5.0 Server?
Hi, I'm not sure if my question fits into this forum but I wonder if it's possible to have a stand alone client running on Java 1.4.2 accessing beans on a JBoss running in Java 5. Of course my ejb client classes have to be 1.4 compatible so I may not be able to use EJB 3. Thanks, Alex View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953081#3953081 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953081 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - How to get a SOAP header value from a context
Hi everyone, I'm trying to figure out how to add suport in my EJB webservice (JSR-109) to get a value from a header passed on by the webservice invoker. Is it possible to get the header value by using the EJB context? Putting a breakpoint at the setContext() method of the EJB and peeking into the SessionContext, I can see that there is a soapContext but this is null. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953080#3953080 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953080 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Cannot get connection to Progress 10.0B DB
We're trying to use JBoss 4.0.4.GA and EJB3 to connect to a Progress database, which is supported according to the example progress-ds.xml file I found in the examples. We're using Progress 10.0B and have tried their type 3 and type 4 JDBC drivers and consistently get the same errors. Here's my progress-ds.xml file: | | | | Sports2000PROGRESSDS | | jdbc:jdbcprogress:T:localhost:3805:sports2000 | com.progress.sql.jdbc.JdbcProgressDriver | myuser | | | | | PostgreSQL 7.2 | | | | | Here's my persistence.xml file: | | | java:/Sports2000PROGRESSDS | | | | | | | | | | Here's the exception we get when deploying the .ear app into JBoss: | . | 11:10:28,630 INFO [ConnectionFactoryBindingService] Bound ConnectionManager 'jboss.jca:service=DataSourceBinding,name=Sports2000PROGRESSDS' to JNDI name 'java:Sports2000PROGRESSDS' | . | 11:11:05,298 INFO [Ejb3Configuration] found EJB3 Entity bean: com.mydomain.model.Customer | 11:11:05,308 WARN [Ejb3Configuration] Persistence provider caller does not implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() is null. | 11:11:05,449 INFO [Configuration] Reading mappings from resource: META-INF/orm.xml | 11:11:05,449 INFO [Ejb3Configuration] [PersistenceUnit: sports2000] no META-INF/orm.xml found | 11:11:05,599 INFO [AnnotationBinder] Binding entity from annotated class: com.mydomain.model.Customer | 11:11:05,689 INFO [EntityBinder] Bind entity com.mydomain.model.Customer on table pub.Customer | 11:11:06,060 INFO [ConnectionProviderFactory] Initializing connection provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider | 11:11:06,080 INFO [InjectedDataSourceConnectionProvider] Using provided datasource | 11:11:06,140 WARN [JBossManagedConnectionPool] Throwable while attempting to get a new connection: null | org.jboss.resource.JBossResourceException: Could not create connection; - nested throwable: (org.jboss.resource.JBossResourceException: Wrong driver class for this connection URL) | at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.createManagedConnection(LocalManagedConnectionFactory.java:177) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.createConnectionEventListener(InternalManagedConnectionPool.java:539) | at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.getConnection(InternalManagedConnectionPool.java:228) | at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BasePool.getConnection(JBossManagedConnectionPool.java:417) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManagedConnection(BaseConnectionManager2.java:324) | at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedConnection(TxConnectionManager.java:301) | at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:379) | at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812) | at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88) | at org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:69) | at org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:73) | at org.hibernate.cfg.Configuration.buildSettings(Configuration.java:1928) | at org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1211) | at org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:631) | at org.hibernate.ejb.Ejb3Configuration.createEntityManagerFactory(Ejb3Configuration.java:760) | at org.hibernate.ejb.Ejb3Configuration.createContainerEntityManagerFactory(Ejb3Configuration.java:350) | at org.hibernate.ejb.HibernatePersistence.createContainerEntityManagerFactory(HibernatePersistence.java:119) | at org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:264) | Obviously, there's a glaring message in there, "Wrong driver class for this connection URL" - however this can't be. I can create jdbc connections w/ this class, no problem. I'm also using it in my database manager in eclipse and that was the class it chose to use. So, I suppose the question is; is Progress 10.x or greater even supported by Hibernate currently? We need to know if JBoss will fit as an app server at one of our companies for future projects and everything they've built in-house is sitting on Progress 10.0+ databases. Any help would be greatly appreciated, th
[JBoss-user] [EJB 3.0] - Problem with EAR and PersistenceContext in Jboss 4.0.4GA
Hi, I'm currently trying to migrate from Jboss 4.0.4RC1 to 4.0.4 GA, and I have some problems with EJB3 stuffs migration. I followed the migration wiki pages, but i still have a problem when using EntityManager from stateless beans ; it seems that the persistence context is not found correctly. Here's my application structure: entities.jar includes entitities POJO + persistence.xml sessions.jar includes stateless EJB Both files are packaged in a ear file. in my stateless bean i have: | @PersistenceContext(unitName="escapeKRepository") | protected static EntityManager em; | where escapeKRepository is the name of the persistence-unit. All this was working well with 4.0.4RC1, but now I get : | Caused by: javax.persistence.TransactionRequiredException: EntityManager must be access within a transaction | at org.jboss.ejb3.entity.ManagedEntityManagerFactory.verifyInTx(ManagedEntityManagerFactory.java:149) | at org.jboss.ejb3.entity.TransactionScopedEntityManager.persist(TransactionScopedEntityManager.java:174) | when i first call a bean method. I read on the wiki pages that there was a special syntax to use in PersistenContext when persistence is not in the same jar, but i don't know how to do it ... To be sure, i tried to create a new jar file containing all my classes (POJO + EJB) and the persistence.xml : this worked fine !! So , how should i write the @PersistenceContext ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953078#3953078 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953078 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method
I think the wildcard trumps all. Good question though. I'll have to look into that sometime. later, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953076#3953076 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953076 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - How to execute stored Procedure
Can someone explain me how to execute a stored procedure in seam using hibernate. I defined the annotation @SqlResultSetMapping and @NamedNativeQuery in entity bean . I tried calling the native query using enityManager in stateful bean. It throws null pointer exception. thanks, newbie. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953075#3953075 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953075 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Re: Help me!How to use Xdoclet's code assistant when the key
If you select window -> preferences, and then on the left select the General -> Keys tree items, you can change your hotkeys for various features. Good luck finding a new code-completion hotkey ;) View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953074#3953074 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953074 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JSF + Sun Java Studio Creator + JBoss
I am developing a small application to run on JBoss/Oracle, using Sun Java Studio Creator. I've made the required changes to both JBoss and my .war file, by doing the following: 1. Copied jstl.jar and standard.jar from my JSC installation into /server//deploy/jbossweb-tomcat55.sar. 2. Removed jsf-api.jar and jsf-impl.jar from the application .war file. 3. Added the following lines to web.xml org.apache.myfaces.webapp.StartupServletContextListener My datasource is correctly configured in oracle-ds.xml, and the application can read from the DB. I am running on Java 1.5.0_06, JBoss 4.0.4, and Oracle 9i. The app is being developed in Java Studio Creator 2. I am using the DataDirect JDBC driver for Oracle. Now, on to the problem. The app .war file deploys without issue. The first page of the app loads properly, displaying the data from Oracle that I expect to see. However, when I click on any form element that sends data to the server, I get the following stack trace: javax.servlet.ServletException | javax.faces.webapp.FacesServlet.service(FacesServlet.java:125) | com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | | root cause | | java.lang.NullPointerException | javax.faces.component.UIComponentBase.getRenderer(UIComponentBase.java:524) | javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:136) | javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:129) | javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:129) | javax.faces.component.UIComponentBase.getClientId(UIComponentBase.java:129) | com.sun.rave.web.ui.component.TableRowGroup.getProperties(TableRowGroup.java:1804) | com.sun.rave.web.ui.component.TableRowGroup.restoreState(TableRowGroup.java:1490) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:511) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | javax.faces.component.UIComponentBase.processRestoreState(UIComponentBase.java:502) | org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreComponentState(JspStateManagerImpl.java:129) | org.apache.myfaces.application.jsp.JspStateManagerImpl.restoreView(JspStateManagerImpl.java:185) | org.apache.myfaces.application.jsp.JspViewHandlerImpl.restoreView(JspViewHandlerImpl.java:255) | com.sun.rave.web.ui.appbase.faces.ViewHandlerImpl.restoreView(ViewHandlerImpl.java:337) | org.apache.myfaces.lifecycle.LifecycleImpl.restoreView(LifecycleImpl.java:124) | org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:66) | javax.faces.webapp.FacesServlet.service(FacesServlet.java:106) | com.sun.rave.web.ui.util.UploadFilter.doFilter(UploadFilter.java:194) | org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96) | | Any suggestions on how to proceed here? I am a bit new to JBoss and JSF, so I may be missing something fairly obvious to the more seasoned users out there. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953071#3953071 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953071 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: ListBox & unexpected wrong validation
It was my BIG fault. The equals was wrong, I checked for an instance of another bean (Category). | | public boolean equals(Object other) | { | if (other == null || !(other instanceof B3)) | { | return false; | } | | B3 otherB3 = (B3) other; | | return (getId().longValue() == otherB3.getId().longValue()); | } | | This mistake made me crazy . Be carefull ... Ragards Fabrizio View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953070#3953070 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953070 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method
"j2ee_junkie" wrote : I think this might by your problem... | | | | | | | | | | UserEJB | | Remote | | * | | | | | | | | cgriffithOh! A lot of time lost because of my carelessness =(( Thanks!!! Btw, shouldn't more specific declarations override less specific? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953069#3953069 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953069 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam Booking example does not sorport chinese character
"If needed" is a bit hard to define though, since this type of filter should never be needed if all else is working properly. Seam will then need a mechanism for setting the charset on a per page basis. Certainly can be done, but is non-trivial and opens a can of worms. If you specify web-app wide settings you get enhancement requests from folks needing to change the charset for a few pages. So you then provide an override mechanism (in pages.xml maybe). Then folks have more than just a few overrides, and don't want to have to (or can't) enumerate (think a large number of generated help files with MS encoding). Another enhancement for glob or regex matching. I won't stop anyone from writing the best charset filter around. However I agree with the initial assessments. There are other ways to tell a browser what charset to use. Having a webapp wide filter can introduce complexity and bugs to those using these mechanisms (how is Seam going to be able to detect my meta tag?). Including this filter in the codebase as a utility is one thing. Enabling it by default is another. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953068#3953068 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953068 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method
I think this might by your problem... | | | | UserEJB | Remote | * | | | cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953066#3953066 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953066 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Problem creating service jboss.system:Service=MainDeploy
Hi THANKS for the quick response. As with so many such alleged brick-walls, this problem was dispensed after the instructions were located that explained how to get the JDK, unpacked, into position, and locatable. Call this one CLOSED/SOLVED/RESOLVED. For the archives - the solution-trail begins at the Sun doc: "Java 2 SDK 1.4.2 Installation Notes for Linux" - Nice to know there are folks out there who actually look at htese postings. Your help is much appreciated. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953065#3953065 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953065 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB 3.0] - Re: URGENT : where to find ejb3 generated stubs
thank you [EMAIL PROTECTED] very much for your reply . your directions that you gave me was usefull and i am working with it . if you have an example that runs without a ant please tell me about it cause i dont have a good idea about ant. so i cannot use ant in my example (i need to do it in java command to run my client) . again really thank you for your reply Hassan Kbbewar View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953064#3953064 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953064 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Eclipse IDE (users)] - Help me!How to use Xdoclet's code assistant when the key com
On my os, the key combination "control + space" is for shift between English input and Chinese input,so every time i press control + space ,the code assistant will not work on eclipse.I have to type or copy words like "@web.servlet " from other place,I feel gloomy these days,please tell me how to sovle it. I am waiting for answer everyday! tks !!! View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953063#3953063 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953063 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: remote queue interruption due to network equipment maint
guess it would help to mention that it's UIL2 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953060#3953060 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953060 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss AS 4.04.GA and Portal 2.2.1 deployment
Can you please also post your jboss-service.xml content ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953058#3953058 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953058 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - CMR setter method behavior
Reading a couple of posts on this topic, I'm unclear what I should be doing when removing items from the "Many" side of my CMR (JBOSS 4.0.0) My code (pseudocode) reads like this: Collection children = parent.getChildren(); Iterator childIterator = children.iterator(); while(childIterator.hasNext()) { MyChild child = (MyChild)childIterator.next(); if(child.meetsSomeCriteriaForRemoval()) childIterator.remove(); } System.out.println("Num children: " + children.size()); parent.setChildren(children); System.out.println("Num children: " + parent.getChildren().size()); The issue is, the two println() calls output what I expect (they reflect that I removed some children). But when I commit the transaction and look in my DB, the records haven't been removed and when I start a new transaction, they are resurrected when I do my call to getChildren(); I tried adding a child.remove() but that modifies the underlying Collection and my next call to next() on my Iterator failes with an IllegalStateException because of the modification to the underlying Collection. Should I expect that a call to setChildren() should remove() records from the database for any children that are no longer in the Collection? Thanks, Dave View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953057#3953057 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953057 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: redeploying processDef problem
For clarification, what I mean is lets say one of my nodes looks like this: | | | | | So version 1 of this definition would have node name GenerateETOWorkOrder in the database. Then lets say I edit the WF XML and repeploy like this: | | | | | If I look in the database, that node should be named NEW_NODE_NAME in version 2, but its still named GenerateETOWorkOrder as it was in the previous version. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953056#3953056 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953056 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: redeploying processDef problem
For clarification, what I mean is lets say one of my nodes looks like this: So version 1 of this definition would have node name GenerateETOWorkOrder in the database. Then lets say I edit the WF XML and repeploy like this: If I look in the database, that node should be named NEW_NODE_NAME in version 2, but its still named GenerateETOWorkOrder as it was in the previous version. Any ideas? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953054#3953054 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953054 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JNDI/Naming/Network] - Re: Remote / LocalHome Interface issue - How smart is JBoss?
This is not a definitive answer since I have not looked at the JBoss code for this, but in my testing I have found that whether I am using LocalHome or RemoteHome to access EJBs on the same server that the performance is that same, so my guess is that JBoss does perform "magic" under the covers. Also, I vaguely recall someone from JBoss mentioning that this was the case. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953053#3953053 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953053 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss AS 4.04.GA and Portal 2.2.1 deployment
Environment JBOSS 4.04 GA Portal 2.2.1 STACK TRACE 2006-06-23 11:45:54,530 DEBUG [org.jboss.system.ServiceController] starting service portal:policy=PortalPolicyConfigStore,type=Component 2006-06-23 11:45:54,530 DEBUG [org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl] Starting portal:policy=PortalPolicyConfigStore,type=Component 2006-06-23 11:45:54,540 DEBUG [org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl] Starting failed portal:policy=PortalPolicyConfigStore,type=Component java.lang.IllegalArgumentException: No transaction manager provided at org.jboss.portal.common.transaction.Transactions.applyBefore(Transactions.java:72) at org.jboss.portal.security.impl.store.TreeCacheAdapter.start(TreeCacheAdapter.java:146) at org.jboss.portal.security.impl.store.JBossTreeCacheStore.startService(JBossTreeCacheStore.java:68) at org.jboss.portal.security.impl.JBossPortalPolicyConfigStoreImpl.startService(JBossPortalPolicyConfigStoreImpl.java:264) at org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289) at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196) at org.jboss.portal.common.system.AbstractJBossService.start(AbstractJBossService.java:86) at sun.reflect.GeneratedMethodAccessor12.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995) at $Proxy0.start(Unknown Source) at org.jboss.system.ServiceController.start(ServiceController.java:417) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at org.jboss.system.ServiceController.start(ServiceController.java:435) at sun.reflect.GeneratedMethodAccessor11.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy4.start(Unknown Source) at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1007) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:808) at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771) at sun.reflect.GeneratedMethodAccessor17.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:585) at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155) at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) at org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142) at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) at $Proxy6.deploy(Unknown Source) at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421) at org.jboss.deployment.scanner.URLDeploymentScanner.sc
[JBoss-user] [JBoss jBPM] - redeploying processDef problem
I am deploying processing programatically: try/catch removed for clarity: JbpmConfiguration jbpmConfiguration; jbpmConfiguration = JbpmConfiguration.parseResource("jbpm.cfg.xml"); ProcessDefinition procDef = ProcessDefinition.parseXmlResource(mapName); JbpmContext context = jbpmConfiguration.createJbpmContext(); context.deployProcessDefinition(procDef); context.close(); My problem is that the newest version of the processDefinition in the database has old node names in the JBPM database. Is this a known bug? Am I redeploying incorrectly? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953051#3953051 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953051 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - remote queue interruption due to network equipment maintenan
All, I have a message router pattern talking to a queue on another server via remote proxy binding. It works great and has been in service for over two years now, from 3.2.3 to 4.0.2 now. However when our network crew takes a router down for maintenance, or our server admins reboot the remote server, the queue connection hangs and restarting JBoss server doing the remote connection fixes it. This maintenance occurs about twice per month during the "green zone" and of course I don't find out until our app's been down for a while and someone figures out that they need to call me. Great communication here in the company :P Is there a way, through configuration, to have jboss retry the connection until it comes back up or prevent the exception and subsequent timeout at the app server level (set PingPeriod to 0?) and let the MDB handle the connection exception when it goes to pull messages? Other than this, my app works like a swiss watch. Great job on the JMS! This only happens when the network or remote server disappears. -Neil View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953050#3953050 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953050 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: problems using jbpm 3.1 with jboss 4.0.0
Hi Koen, I already solved my problem, was not something to make a contribution in the forum, thanks in any case Regards ___ jainer quiceno View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953048#3953048 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953048 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation, Configuration & Deployment] - Re: Are env variables like $JBOSS_HOME required?
I don't have JBOSS_HOME set. I have probably a dozen installations of JBoss on my Windows XP box. I always run JBoss from the bin directory (of the version I want to run) and have never run into problems. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953046#3953046 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953046 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - JDBC Profiler Proxy
As Part of JBoss Profiler, I already created a Proxy Driver I will be using to profile query executions associated with Methods. I was wondering if it's possible to have a hook on Datasources where I could inject the driver without having to modify user's original query. If I could have this hook, it would make the configuration easier. Right now, I have to set the driver className to org.jboss.profiler.production.interceptors.JDBCInterceptor and add jbossprofiler:: If I had the hook it would be easier maybe. Clebert View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953045#3953045 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953045 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: JBossWS and a 1.4 JDK
4.0.4.GA comes with 1.0.0, so you don't need to build it. If you want to build it, then yes the instructions have changed slightly. You need both the ejb3 profile and the jdk 4 one to produce a jdk 4 build. This is because the code is actually written in Java 5, and must be bytecode altered to run on Java 4. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953044#3953044 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953044 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: change in run-time the soap:address location of wsdl.
"[EMAIL PROTECTED]" wrote : Yes jboss-client.xml works but I have potentially up to a 1000 of endpoints for the same service. And they come and go. And the approach of | | Stub stub = (Stub)port; | stub._setProperty(Stub.ENDPOINT_ADDRESS_PROPERTY, this.TARGET_ENDPOINT_ADDRESS); | | doesn't seem to work. Any other suggestions for the 1.0.0GA? This should work, if it doesn't it is a bug. We actually have an internal client that uses this feature (the jboss portal wsrp), so I am not sure how it could not be working. If you can make a simple test case that proves this and create a jira issue with it attached we can take a look at fixing it. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953043#3953043 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953043 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method
Ooops. It got truncated. Here is downloadable version: http://slil.ru/22867564 View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953042#3953042 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953042 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss AS 4.04.GA and Portal 2.2.1 deployment
Stacktrace ? Environment ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953041#3953041 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953041 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: Bug in SimpleTypeBindings marshallTimeZone
We are in the process of separating various components of JBoss AS into individual subprojects. So eventually the AS source tree will contain only code that is specific to it, and all other modules will be binary releases from the various sub probjects. So you will have to get the source for each subproject you are interested in. During this transition, some of the modules still have their source in jboss-head. So the binary produced from the jbossxb module in head was used for the 4.0.4.GA release. The source thats in the 4.0.x branch is still there for backwards compatibility. Sorry for the confusion, but if you bare with us, the system will be much improved. If you look at the thirdparty/jboss directory from a source checkout, you can see the various binary modules (and versions) that we pull in from subprojects. -Jason View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953039#3953039 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953039 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Portal] - Re: JBoss AS 4.04.GA and Portal 2.2.1 deployment
Tried whatever is suggested in the other thread. That doesn't seem to help. I am still getting the same error. Any other suggestions ? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953038#3953038 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953038 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence, JBoss/CMP, Hibernate, Database] - "Cannot transliterate" problem with interclient driver to in
Hello, I have a problem with JBoss 4.0.3sp1 running on Linux and talking to Interbase 7.5 via interclient driver. When JBoss is started on Windows everything works perfectly well. But when JBoss is started on Linux there are times while updating rows when an error appears: java.sql.SQLException: [interclient][interbase]arithmetic exception, numeric overflow, or string truncation [interclient][interbase]Cannot transliterate character between character sets at interbase.interclient.Statement.remote_EXECUTE_UPDATE_STATEMENT(Unknown Source) at interbase.interclient.PreparedStatement.remote_EXECUTE_PREPARED_UPDATE_STATEMENT(Unknown Source) at interbase.interclient.PreparedStatement.executeUpdate(Unknown Source) at interbase.interclient.PreparedStatement.executeUpdate(Unknown Source) at org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:227) Database is each time the same and set to use UNICODE_FSS My interbase-ds.xml stored in $JBOSS_HOEM/server/default/deploy looks like: // ... jdbc:interbase:// interbase.interclient.Driver < password>< /password> < charset>UTF8< /charset> 1 2 0 // Already have tried diffferent setting for charSet - nothing helped. The strange thing is that sometimes exactly the same method with exactly the same data invoked, of cource exeactly the same way - so sometimes it works and sometimes it doesn't. It was checked about 40 times till now. I was checking maybe JBoss passes different representations of the same String to prepared statement - it is not the case. |In 99% it is not a problem of not valid character set set - there are cases when everything works ok and after a minute, the problem appears again. It seems that cases when problematic functionality works well occur just after, and some time after server restart. Later the methods that worked well just after restart start to throw "Cannot transliterate " ecexption. I suspect that maybe some Connections (the initial ones ) are created in a different way then the rest. Probably because of the misconfiguration of database access form JBoss to Interbase - interclient does not catch the "UTF8" encoding ( tried already with "UTF-8" and "UNICODE-FSS" ). But I am not sure it it is that way. The strange thing is that on WIndows machines everytyhing is always ok. Maybe "default encoding of interclient matches default encoding under Windows ? ... Anybody knows solution to this problem ?? Regards, Incasmin View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953035#3953035 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953035 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - jboss4.03 to jboss 4.04
I am preparing the move from jboss 4.03 to jboss 4.0.4 GA. But my web services which were perfectly functioning on the previous version cannot even deploy in this new version. I know that jboss ws implementation has dramatically changed but does anyone know why a an application which was functioning exhibits now errors like org.jboss.ws.WSException: Cannot obtain method parameter mapping for message part... or [WSDL11Reader] Unsupported fault message part View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953033#3953033 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953033 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam Booking example does not sorport chinese character
We should be able to setup the encoding in Seam configuration and have Seam create and add the filter if needed. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953032#3953032 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953032 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss jBPM] - Re: Activities launching external applications?
You could just put these JSP pages into a cohesive web application, then use your servlet idea to set process variables and signal the process. I don't see why you would need to have the process spawn browsers and stuff. We have a project right now that does just this. For user input, we have pages that get submitted to a servlet where I take all the params from the page and map them to process variables, then I signal the process. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953030#3953030 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953030 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Couldn't apply method permissions to Session EJB method
I would just scrutinize your ejb-jar.xml file against the schema. If you hand edit, make sure all elements are correct and in correct order. You may also try trace logging on the deployer to see what is happening at deploy time. I think you are on the way to getting this solved. later, cgriffith View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953029#3953029 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953029 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Seam] - Re: Seam Booking example does not sorport chinese character
Adding a filter by default is not strictly a good thing. If your character set output is UTF-8 then setting the request charset to UTF-8 is the right thing. However, if your encoding isn't UTF-8, you run the risk of corrupting your output when the browser reads the content as UTF-8 when it's actually something else. There is a lot of alignment with ASCII and UTF-8, however it's not perfect in all cases. I've run across subtle bugs were UTF-8 parsers aren't able to understand some extended ASCII characters. Problems like these are hard enough to track down when the framework isn't incorrectly setting content type for you. What's the problem with properly setting charset in the page markup? The approach also scales to sites that have multiple charsets. The given filter would need to be extended to support charset/URI matching in order to support that case. I suppose if I don't like it I don't have to use the filter. Just be aware that subtle tolls live under this bridge. Don't use without thinking. View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953019#3953019 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953019 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBossWS] - Re: signing SOAP requests
How can I make my client use that handler? View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=3953018#3953018 Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3953018 Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 ___ JBoss-user mailing list JBoss-user@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jboss-user