[JBoss-user] [J2EE Compliance] - Problem with very long classname !!!
Hi, I'am using JBoss 3.2.4 with the Sun JAXB to generate a lot of classes from XML Schemas. I have an XML Schema with 7 levels of elements and JAXB generates the interfaces with inner-interfaces like this: com/company/appl/server/component/impl/IComponentConfigurationTypeImpl$SecurityActionsTypeImpl$SecurityActionTypeImpl$Unmarshaller The classpath name is > 128 characters long. When I need to use this interface to unmarshalling an XML file, a "java.lang.NoClassDefFoundError" exception occur. Is JBoss limited in its ClassLoader ? How can I resolve this problem. I have tested the same application under Apache Tomcat and its works. Please help. Thanks. StÃÂph. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846388#3846388 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846388 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - java.lang.IllegalStateException: Cannot forward after respon
HI Everyone I am facing a big problem for quite sometime now because of which I am not able to proceed further. I would really appreictae if you guys could take some time out of your precious time and help mw out. I have a servlet here but the problem is that when I run this servlet I get / package com.hill_assoc.esp; import java.util.Date; import javax.servlet.*; import javax.servlet.http.*; import java.sql.*; import java.lang.*; import java.util.*; import java.io.*; import oracle.jdbc.*; import com.hill_assoc.esp.*; import java.text.SimpleDateFormat; public class CandidateStatus extends HttpServlet { public void doPost (HttpServletRequest req, HttpServletResponse res) throws ServletException, IOException { doGet (req, res); } public void doGet (HttpServletRequest request, HttpServletResponse response) throws ServletException, IOException{ HttpSession session = null; ServletContext application = null; ServletConfig config = null; PrintWriter out = null; try{ response.setContentType ("text/html; charset=UTF-8"); application = getServletContext ( ); config = getServletConfig ( ); session = request.getSession ( ); out = response.getWriter ( ); request.setCharacterEncoding ("UTF-8"); // Set to expire far in the past. response.setHeader ("Expires", "Sat, 6 May 1995 12:00:00 GMT"); // Set standard HTTP/1.1 no-cache headers. response.setHeader ("Cache-Control", "no-store, no-cache, must-revalidate"); // Set IE extended HTTP/1.1 no-cache headers (use addHeader). response.addHeader ("Cache-Control", "post-check=0, pre-check=0"); // Set standard HTTP/1.0 no-cache header. response.setHeader ("Pragma", "no-cache"); AuthControl auth = new AuthControl ( ); auth.validate (request, response, application); String message = ""; String sSearchText = ""; String sWhereClause = " "; String sStatus = ""; String prevStatus = "Show All"; String sRedirect = "currentPage"; System.out.println ("sRedirect iun beginning=" + sRedirect); ArrayList AlResult = new ArrayList ( ); int i = 0; int pageNumber = 0; int numberOfRows = Global.MAX_RECORDS_TO_BE_DISPLAYED; SimpleDateFormat myFormat = new SimpleDateFormat ("dd-MMM-"); if (request.getMethod ( ).equals ("POST") && request.getParameter ("sFlag").equals ("0")){ if (request.getParameter ("pageNumber") != null){ pageNumber = Integer.parseInt (request.getParameter ("pageNumber").toString ( )); pageNumber++; } if (request.getParameter ( "noOfprofiles") != null && !request.getParameter ("noOfprofiles").equals ("")){ numberOfRows = Integer.parseInt (request.getParameter ("noOfprofiles")); if (request.getParameter ( "noOfprofilesChanged") != null && request.getParameter ( "noOfprofilesChanged").equals ("1")) { pageNumber = 0; } } if (request.getParameter ( "hiddenSearchText") != null && request.getParameter ("hiddenSearchText").length ( ) > 0){ sSearchText = request.getParameter ("hiddenSearchText"); if (request.getParameter ("SearchText").equals (sSearchText)) { pageNumber = 0; } sWhereClause += " INSTR(CAND_GIVEN_NAME, '" + sSearchText + "') > 0 OR INSTR(CAND_SUR_NAME, '" + sSearchText + "') > 0 OR INSTR(MIDDLE_NAME, '" + sSearchText + "') > 0 "; } if (request.getParameter ( "removeFilter") != null && request.getParameter ("removeFilter").equals ("1")){ pageNumber = 0; sWhereClause = " "; } if (request.getParameter ("hFilterBy") != null){ if (!session.getAttribute ("CandidateStatus").equals (request.getParameter ("hFilterBy"))) { pageNumber = 0; } if (request.getParameter ("hFilterBy").equals ("Report Ready")){ sStatus += " AND INSTR(TAB_SCR_CASE.STATUS, 'Report Ready') > 0 "; prevStatus = "Report Ready"; } else if (request.getParameter ("hFilterBy").equals ("Submitted")){
[JBoss-user] [Persistence & CMP/JBoss] - Changing the state of Entity beans without calling setXXX
Hi Everyone, What is the easiest way to change the state of an entity bean without calling the set methods of an CMP entity bean? The implementation class of the CMP entity bean is not generated until deployment time so you don't have access to the instance variables. I'm sure the persistence managers load the state into the CMP entity bean somehow but I haven't dug into the code to look yet. Any help is appreciated. Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846386#3846386 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846386 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - kill jobs in the queue
Hi everyone, I am just wondering whether I can kill jobs in the queue. My client often sends more than 1M data to jboss in one method call. Sometimes he doesn't have patience and wants to cancel the job during the call. Is it possible? Thanks in advance, DF View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846380#3846380 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846380 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering issue with JGroups on JBoss 3.2.5
I've found some networking issues in the environment. serverC is in a physically different location that serverA and serverB (though logically on the same LAN). I just ran a test with tcpdump and found that serverC could transmit multicast packets to serverA and serverB, but those servers could NOT transmit multicast packets to serverC. I'll update if when this network issue is resolved my JBoss issue goes away. Also, I found that the pages can't load on serverA or serverB, since the multicast packet send to serverC is synchronous. Is there a setting to make this send asynchronous since I'm only using clustering for cache invalidation and with my schema it wouldn't be the end of the world if one or two messages were lost? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846378#3846378 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846378 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: [Nukes] Theme deployment question
Hopefully this will be my last post in this topic and hopefully someone else finds value in this. The only line I needed to ad was in the output target and this line in the jar section: boy am I a putz! All is good now! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846377#3846377 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846377 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: [Nukes] Theme deployment question
Got it.. After disecting the build.xml file I needed to add a couple entries in the default build.xml I added the line in the _default:compile-bin in the compile target. | | and the following line in the output target in the jar file section. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846375#3846375 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846375 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: NoClassDefFoundError in JBoss 3.2.5 but not in 3.2.3
This issue seems to be related to the order of the JAR files listed in the Class-Path of the manifest file. We had a similar issue in 3.2.3, and reordering things in the Class-Path reolved it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846374#3846374 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846374 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: secure web console
Now that I've posted the xml I noticed what I missed! There's , it's always the little things! web-console-users.properties web-console-roles.properties it should look like this... web-console-users.properties web-console-roles.properties View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846373#3846373 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846373 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: secure web console
I added the web-console-users.properties to the web-console policy. web-console-users.properties web-console-roles.properties View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846372#3846372 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846372 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Jboss and Tomcat on same machine
Are you aware that JBoss comes bundled with a running tomcat. This is the reason, why a standalone tomcat and jboss are conflicting. Of course you could run them together and should change the ports in your $TOMCAT_HOME/conf/server.xml (e.g. search for http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846371#3846371 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846371 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Slow startup
What exactly is your problem in using the hot deploy feature? You could develop against exploded archives in your deploy directory and shouldn't need to restart. Could you please provice more information about libraries you need to change? Best regards Jan Prill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846370#3846370 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846370 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Error while creating table in CMP
Are you sure that you have deployed your mysql-ds.xml correctly? Here is a snippet that definitly creates VARCHAR with a length of 100 correctly. | createdId | FK_CREATED_ID | | VARCHAR | VARCHAR(100) | | | | changedId | FK_CHANGED_ID | | VARCHAR | VARCHAR(100) | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846369#3846369 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846369 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Where does JBoss keep its services at hard drive?
Hi, Question, if you want to stay conform to the J2EE spec, you should make yourself familiar with EJB, especially CMP and CMR. This means Container Managed Persistence and Container Managed Relationship. Using these techniques you get a Object-Relational Mapping from JBoss, which in it's 4.0 Release now officially conforms to J2EE 1.4. For your example you will define a CMP Entity-Bean that persists to your User-Table in MS SQL. As datasource you will deploy a MSSQL-DS.xml to JBOSS. You'll find examples in $JBOSS_HOME/docs/examples/jca. While I was beginning to enter this terrain myself I found a series of tutorials of Rick Hightower very useful. You'll find one of them under http://www-106.ibm.com/developerworks/edu/ws-dw-wscomp-i.html and the sequels over a google research. Right now they are a little outdated since the EJB-Spec went to 2.1, but they will do a pretty good job anyway. In addition you'll get free Doco on this site (Community > Documentation). Finally you should have a look at persistence frameworks like Hibernate and JDO. To understand which framework fits your needs you want come along without learning about their strategies. Best regards Jan Prill View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846368#3846368 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846368 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: [Nukes] Theme deployment question
When I moved the images into the bin directory and ran the build.sh the binary directory does not make it into the output directory and consequently doesn't make it into the .sar file. The build script is pulled out of the current nukes cvs tree. Is there something more that I need to do to the build file so that ant knows to pick up this directory? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846367#3846367 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846367 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: how to secure passwords in login-config.xml ?
I studied docs and your link about securing datasource passwords. Tried to make as written, but it doesn't works in my situation. IDEA: Client is authentificated using DB via "DatabaseServerLoginModule" Client sends plain password but on server it is hashed in compared with passwd field value that also is hashed I need hide password in -ds.xml. Client App logins to server using Security domain "IBAuthDomain" user name and password is stored in DB in hashed view. This configs works fine while datasource not using IBSimpleDomain but use sysdba masterkey in -ds.xml. If I comment in -ds.xml sysdba | masterkey uncomment Error occures because principal = null Whats wrong ? Thanks. FILE: D:\JAVA\jboss-3.2.5\server\all\conf\login-config.xml | | # | | | | | sysdba | 667f11fbdfef90b6d7b145018f031a36 | jboss.jca:servce=LocalTxCM,name=IBAuthDS1 |true | | | | | | | | | MD5 | base64 | java:/IBAuthDS1 | select USER_PASS from USERS u where u.USER_NAME=? | |SELECT ROLE_NAME, 'Roles' |FROM USERS U, USERS_GROUPS UG, GROUPS G, |GROUPS_ROLES GP, ROLES R |WHERE U.USER_ID = UG.USER_ID AND UG.GROUP_ID = G.GROUP_ID AND | G.GROUP_ID = GP.GROUP_ID AND GP.ROLE_ID = R.ROLE_ID | AND U.USER_NAME = ? | | true | | | | | | | # | | FILE: D:\JAVA\jboss-3.2.5\server\all\deploy\ibauth-ds.xml | | # | | | | | | | | | IBAuthDS1 | | Firebird Database Connector | localhost/3050:D:/JWORK/db/jfina.fdb |sysdba |masterkey | | 5 | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846366#3846366 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846366 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Jboss 3.2.4 slooooooow compared to 2.4.4
Wrong: read-only getters are executed in the context of the transaction. I do agree it is impossible to help somebody that doesn't give ANY useful information. This usually shows a lack of a understanding of the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846365#3846365 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846365 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Closing a connection for you. Please close them yoursel
I don't know. The main release is due out in a couple of weeks. If you want the old behaviour just add to your -ds.xml false But then you leak statements, see the FAQ. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846364#3846364 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846364 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: what does NOTYETINSTALLED mean when i config jca?
NOTYETINSTALLED == Does not exist. The rest of your question is in the FAQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846363#3846363 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846363 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: SMNP startup error
Oops, thats SNMP - Typo View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846362#3846362 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846362 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Jboss 3.2.4 slooooooow compared to 2.4.4
I don't think read-only getters are a good idea. AFAIU this executes code outside of transactions, effectively requireing DB reads. If this does not hurt your performance, then your transaction boundaries are probably not well chosen. Which commit option are you using. Could Commit option A or else D be used in your case? Check you DB access. Enable debug log for the cmp stuff to see which SQL queries are executed. Most likely you will see some problems there. If so, ask some specific questions, "it is slow" only allows guesswork. Joachim View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846360#3846360 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846360 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - SMNP startup error
Im trying to get the server running on Suse 9.1 and when I run the Suse shell script I get an Exception thrown in my log file: Its under the SMNP label and its a HostNotFoundException. It shows the computer IP address with one small error: Instead of listing 136.159. it lists d136.159.. Can anyone point me in the direction of where this potential buggy code might be reading the IP address from? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846361#3846361 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846361 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - what does NOTYETINSTALLED mean when i config jca?
I got such exception when i tried to config my jca examples on jboss4.0 RC1. 16:41:03,359 ERROR [URLDeploymentScanner] Incomplete Deployment listing: MBeans waiting for other MBeans: ObjectName: jboss.jca:service=NoTxCM,name=NoTransFS state: CONFIGURED I Depend On: jboss.jca:service=ManagedConnectionPool,name=NoTransFS jboss.jca:service=CachedConnectionManager Depends On Me: jboss.jca:service=ConnectionFactoryBinding,name=NoTransFS ObjectName: jboss.jca:service=ManagedConnectionPool,name=NoTransFS state: CONFIGURED I Depend On: jboss.jca:service=ManagedConnectionFactory,name=NoTransFS Depends On Me: jboss.jca:service=NoTxCM,name=NoTransFS ObjectName: jboss.jca:service=ManagedConnectionFactory,name=NoTransFS state: CONFIGURED I Depend On: jboss.jca:service=RARDeployment,name='FSA' Depends On Me: jboss.jca:service=ManagedConnectionPool,name=NoTransFS ObjectName: jboss.jca:service=ConnectionFactoryBinding,name=NoTransFS state: CONFIGURED I Depend On: jboss.jca:service=NoTxCM,name=NoTransFS Depends On Me: MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM: ObjectName: jboss.jca:service=RARDeployment,name='FSA' state: NOTYETINSTALLED I Depend On: Depends On Me: jboss.jca:service=ManagedConnectionFactory,name=NoTransFS I have no idea why it says not yet installed. what am i supposed to install. I have already put my FSA.rar and fsa.xml under the deploy directory. Can anybody shed some light on this? Thanks in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846358#3846358 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846358 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Clustering issue with JGroups on JBoss 3.2.5
I also sometimes see serverC (the last server up) spit out this error after receiving the proper cluster view, but then still hang for a while: 2004-08-26 17:20:54,393 INFO [org.jboss.ha.framework.interfaces.HAPartition.ProductionPartition] Fetching state (will wait for 6 milliseconds): 2004-08-26 17:20:54,401 INFO [ProductionPartition:ReplicantManager] Dead members: 0 2004-08-26 17:21:21,926 ERROR [org.jgroups.protocols.pbcast.GMS] [mateso-webapp2:32819 (additional data: 17 bytes)] received view <= current view; discarding it (current vid: [mateso-webapp3:32796 (additional data: 17 bytes)|3], new vid: [mateso-webapp3:32796 (additional data: 17 bytes)|2]) 2004-08-26 17:21:22,469 WARN [org.jgroups.stack.UpHandler] UpHandler (STABLE) exception: java.lang.NullPointerException 2004-08-26 17:21:22,469 ERROR [STDERR] java.lang.NullPointerException 2004-08-26 17:21:22,470 ERROR [STDERR] at org.jgroups.protocols.pbcast.Digest.toString(Digest.java:374) 2004-08-26 17:21:22,470 ERROR [STDERR] at java.lang.String.valueOf(String.java(Inlined Compiled Code)) 2004-08-26 17:21:22,470 ERROR [STDERR] at java.lang.StringBuffer.append(StringBuffer.java(Compiled Code)) 2004-08-26 17:21:22,470 ERROR [STDERR] at org.jgroups.protocols.pbcast.STABLE.handleStabilityMessage(STABLE.java:518) 2004-08-26 17:21:22,470 ERROR [STDERR] at org.jgroups.protocols.pbcast.STABLE.up(STABLE.java:222) 2004-08-26 17:21:22,471 ERROR [STDERR] at org.jgroups.stack.UpHandler.run(Protocol.java:59) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846359#3846359 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846359 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Jboss team must provide a doc on nukes
The article was written a while ago and may be a little bit outdated but still read it again as there are lot of useful things in it, all the basics are there and didn't change http://www.onjava.com/pub/a/onjava/2003/06/04/nukes.html The best thing to do for you is to look at the existing modules, BB is a good one but might be too big, why not starting with the RSS module for instance ? Copy the directory and play with it, you will see that writing Hello World in a block is not hard if you are familiarized with J2ee, but you may find this step very useful. From that point everything can be done. Of course a documentation would be great, i would suggest that while you do the Hello World, please take some notes and provide a documentation, or write a Wiki page about it to help developers after you. That's the way Open Source Software grows. Thanks. PS: i am not part of JBoss team so whatever i say may be in contradiction with JBoss "spirit" View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846356#3846356 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846356 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Clustering issue with JGroups on JBoss 3.2.5
I'm running a cluster on JBoss 3.2.5 and am having issues with my instances joining. It seems to only happen when starting up a 3rd or 4th instance to join the cluster. For example, say I have instance A and B running already, and go to start instance C: 1. serverA will acknowledge serverC as a member and update its cluster view properly 2. serverB will spit out the following warning: 2004-08-26 16:52:38,999 WARN [org.jgroups.protocols.pbcast.NAKACK] [serverC:32794 (additional data: 17 bytes)] discarded message from non-member serverC:32799 (additional data: 17 bytes) 3. serverC will hang at this point Why does serverB think serverC is a non-member, when serverA is cool with serverC? And when serverB and serverA are in the same cluster...makes me thing that it's not a config issue. Is there any way to hardcode who your members are to avoid this issue? I found that the issue doesn't happen when using TCP rather than multicast, but it is way too slow in comparison (just clicking around as a single user on my site I saw the page load times go up 3 seconds or so). Any help/suggestions would be greatly appreciated. I've included the jgroups settings for one of my servers below: View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846355#3846355 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846355 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available
"ksbeattie" wrote : In the hopes that this will nudge someone in the know to post a suggestion or solution to this problem: I too am experiencing this same 'Failed to start database manager' issue. | | TIA... I'll add that the the rest of the app works, it is just the HSQL Database Manger Tool that isn't working. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846354#3846354 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846354 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Jboss team must provide a doc on nukes
Hi all, I am very new to nukes and jboss. Since last 7 days i was busy try to set Nukes with Jboss and Eclipse. At last today i got succedded to setup and no error was shown. Now i want to build my website using nukes. I went through whole web search, google but not able to find a single doc which guide me to develop a application in nukes. Can't creators of nuke place a descent doc. One article on O Rilleys by Nukes lead was of no use. thanks, vebs View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846352#3846352 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846352 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: can jboss generate a different primarykey per bean using
The entity-command oracle-sequence has a attribute named sequence which takes the name of the used sequence. I my EB I have this tags for XDoclet: * @jboss.entity-commandname="oracle-sequence" * @jboss.entity-command-attribute name="sequence" value="afpos_seq" This goes to jbosscmp-jdbc.xml as: afpos_seq View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846349#3846349 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846349 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Problem with classpath when cuztomizing Nukes Modules to
Ok, i will try to help but the build is pretty complex: You don't have to modify anything but the build.xml of your project I think (i could and proably am wrong but it may worth the try if you couldn't fix your problem) that you just have to add your library to the target "configure" it the "library.classpath" path. Let me know if it worked, otherwise i will try to look closer. Or maybe someone else can tell you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846347#3846347 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846347 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Using PrefixDeploymentSorter with http urls
I am able to use PrefixDeploymentSorter to get the desired order while deploying local resources (war. ejb etc). Is it possible to use PrefixDeploymentSorter to specify something like, deploy "http://someplace/resource.xml"; after deploying "local.sar"? Essentially, I want to know how do I put the digit prefix for http urls. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846346#3846346 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846346 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms hangs by a large number of messages
There are a large number of bugs fixed since 3.0.0 release. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846345#3846345 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846345 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Failed to find HAPartition with PartitionName=DefaultPar
Add a PartitionName attribute to all/deploy/deploy-hasingleton-service.xml | | jboss:service=DefaultPartition | jboss.system:service=MainDep | loyer | XYZ | deploy | ${jboss.server.home.url}/deplo | y-hasingleton | undeploy | ${jboss.server.home.url}/deploy | -hasingleton | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846344#3846344 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846344 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: DeploymentException: Error compiling EJB-QL for Roster a
That worked. Thanks for your help Daniels. But now I am getting the following error : WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=local/LeagueEJB,service=EJBRuntimeErrorException: java.lang.NoSuchMethodError Cause: java.lang.NoSuchMethodError at org.jboss.mx.server.ReflectedDispatcher.handleInvocationExceptions(ReflectedDispatcher.java:99) Possibly this is some simple problem and I may need to look into the code - but please let me know if you know offhand the cause and/or solution. Again, appreciate the help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846343#3846343 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846343 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Jboss jdbc local resource adapter
Thanks for your reply Adrian. Even the Firebird resource adapter does not seem to implement the CCI. I can guess the reason - because JDBC is already a standard, it may not make sense to implement CCI on top of that. However, taking advantage of the J2EE pooling facilities and using them alongwith JDBC makes sense and that is probably what the JDBC-JCA local resource adapter seeks to achieve. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846342#3846342 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846342 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: DB-Independent configuration
Have you tried Hibernate? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846341#3846341 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846341 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Closing a connection for you. Please close them yoursel
Is there going to be a RC2 that has the ConcurrentModificationException fix in it? Chad View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846340#3846340 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846340 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Problem with classpath when cuztomizing Nukes Modules to use
Hi All, I have this module GetAttrs that extends ModuleSupport; it's been successfully deployed. The compilation is done using the build.xml provided by the source, "nukes-1.1.0-RC3-src/nukes/build.xml". Nukes |-nukes/src/main | |- org.jboss.nukes.addons.modules.linkmodule ||-GetAttrs.java | |- nukes/build.xml | |- ldapjdk.jar I have written an LDAP client class; it's successfully compiled and run. The librariy I use is ldapjdk.jar. When I merge the code and compile using the "nukes/build.xml", I got these error messages: [javac] Nukes/nukes/src/main/org/jboss/nukes/addons/modules/linkmodule/GetAttrModule.java:9: package netscape.ldap does not exist [javac] import netscape.ldap.*; [javac] ^ [javac] Nukes/nukes/src/main/org/jboss/nukes/addons/modules/linkmodule/GetAttrModule.java:23: cannot resolve symbol [javac] symbol : class LDAPConnection [javac] location: class org.jboss.nukes.addons.modules.linkmodule.GetAttrModule [javac] LDAPConnection ld = null; [javac] ^ I have added ldapjdk.jar to my Nukes java build path and the directory "netscape/ldap" exists in the ldapjdk.jar. When I use init.verbose=true, the target in ant shows the following: buildmagic:init:show-environment: [echo] build.compiler: ${build.compiler} [echo] java.home: /usr/local/opt/j2sdk/j2sdk1.4.2_04/jre [echo] java.class.path: /usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-antlr.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-apache-bsf.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-apache-resolver.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-commons-logging.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-commons-net.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-icontract.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jai.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-bcel.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-log4j.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-oro.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jakarta-regexp.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-javamail.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jdepend.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jmf.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-jsch.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-junit.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-launcher.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-netrexx.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-nodeps.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-starteam.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-stylebook.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-swing.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-trax.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-vaj.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-weblogic.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-xalan1.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-xalan2.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.apache.ant_1.6.1/lib/ant-xslp.jar:/usr/local/opt/ide/eclipse-SDK-3.0/plugins/org.eclipse.ant.ui_3.0.0/lib/remoteAnt.jar:/usr/local/opt/j2sdk/j2sdk1.4.2_04/lib/tools.jar [echo] java.version:1.4.2_04 [echo] java.vendor: Sun Microsystems Inc. [echo] java.vm.version: 1.4.2_04-b05 [echo] java.vm.name:Java HotSpot(TM) Client VM [echo] java.vm.info:mixed mode So the ldapjdk.jar is not in the ${java.class.path}, can somebody help point out where is this variable specified? I read through buildmagic.ent and the dependent files, but I saw no part that calls this variable. May have missed something here. I guess I need to modify the classpath. So I've gone to "Nukes/tools/etc/buildfragments" and modified ${classpath} in task.properties but it doesn't work. I tweaked some classpath variables but I still got the error message. So here I am posting the message to the forum. Has somebody met this problem? Is it possible to create our own module with our own libraries without modifying the build scripts that come with the source? This will make the module hard to maintain with the subsequent releases of Nukes. Vi
[JBoss-user] [Persistence & CMP/JBoss] - Persist after ejbcreate
Hi there! I have the following scenario: I create an entity using ejbCreate(params). Soon after, I send a message to a queue, consumed by a mdb. This mdb, peforms some business rules (not it, I have other classes to do so :P ) and then updates data in the entity. Problem is Sometimes, It hadn't been persisted (no ejbPostCreate() called yet) so I can't find the bean. I know there's a way to do this, all I found till now is that I gotta set this params in jboss.xml But I confess I'm not sure what configurations are, and if is it possible to change for a specific bean only. thanks Vinicius View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846337#3846337 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846337 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Resetting The Cache
Programmatically: 1) You'll need somesort of threshold that would define when to flush the cache 2) When that threshold is reached, use the JMX calls to flush the cache. If you want to automate it, you could schedule a job or start your own MBean Service(a worker thread) that periodically checks the threshold. For simplicity, develop a tool that uses the JMX layer to flush the cache. Depending on your expected response time to flush the cache, you may want to do it. On-Demand(mid tx) Soon(post to a MDB) Convenience(background schedule thread) For a large application, creating a backdoor with a special "Flush current state" may be a good idea. In that fashion, you can change your current configuration in many places without affecting the current running system. Then when everything is set/ready, you can push the "magic button" and the configuration becomes part of the application. I use to do this for online trading services to reroute trades without disrupting our live clients. It was seamless and effective. Good luck, -Ivan View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846336#3846336 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846336 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Closing a connection for you. Please close them yoursel
That's because 3.0.4 didn't check for unclosed statements. The CCME has already been fixed. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846338#3846338 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846338 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - Re: Failed to find HAPartition with PartitionName=DefaultPar
I too have the exact same problem... Could some one help? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846335#3846335 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846335 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Closing a connection for you. Please close them yourself:
I do not understand why I am getting the following exceptions. I am using JBoss4.0RC1 with j2sdk1.4.1_03 on Windows XP. The code works fine with JBoss 3.0.4. Code logic: MDB { EJB = GetEJB(); EJB.doDataBaseStuff(); { DS = GetDataSource(); Conn = DS.getConnection(); Conn.executeSQL(); Conn.close(); } } EJB is a stateless session bean with requires a Transaction. 13:39:48,760 INFO [CachedConnectionManager] Closing a connection for you. Please close them yourself: [EMAIL PROTECTED] java.lang.Exception: STACKTRACE at org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:322) at org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:477) at org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:838) at org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:102) at com.appiq.service.system.database.ConnectionMgr.createConnection(ConnectionMgr.java:101) at com.appiq.service.system.database.ConnectionMgr.createConnection(ConnectionMgr.java:59) at com.appiq.service.base.BaseSessionBean.createConnection(BaseSessionBean.java:91) at com.appiq.service.system.cmdProcessor.CmdProcessorBean.execute(CmdProcessorBean.java:161) at com.appiq.service.system.cmdProcessor.CmdProcessorBean.execute(CmdProcessorBean.java:265) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.jboss.invocation.Invocation.performCall(Invocation.java:345) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:214) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:113) at org.jboss.webservice.server.ServiceEndpointInterceptor.invoke(ServiceEndpointInterceptor.java:51) at org.jboss.ejb.plugins.CallValidationInterceptor.invoke(CallValidationInterceptor.java:48) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:105) at org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:316) at org.jboss.ejb.plugins.TxInterceptorCMT.invoke(TxInterceptorCMT.java:149) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:128) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.SessionContainer.internalInvoke(SessionContainer.java:625) at org.jboss.ejb.Container.invoke(Container.java:871) at sun.reflect.GeneratedMethodAccessor124.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) 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:230) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:642) at org.jboss.invocation.local.LocalInvoker.invoke(LocalInvoker.java:101) at org.jboss.invocation.InvokerInterceptor.invoke(InvokerInterceptor.java:90) at org.jboss.proxy.TransactionInterceptor.invoke(TransactionInterceptor.java:46) at org.jboss.proxy.SecurityInterceptor.invoke(SecurityInterceptor.java:45) at org.jboss.proxy.ejb.StatelessSessionInterceptor.invoke(StatelessSessionInterceptor.java:97) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:86) at $Proxy60.execute(Unknown Source) at com.appiq.service.system.scheduler.SchedulerTask.updateSchedule(SchedulerTask.java:219) at com.appiq.service.system.scheduler.SchedulerTask.run(SchedulerTask.java:100) at java.util.TimerThread.mainLoop(Timer.java:432) at java.util.TimerThread.run(Timer.java:382) 13:39:48,792 ERROR [TxConnectionManager] Error while closing connection handle! org.jboss.resource.JBossResourceException: Error in delist!; - nested throwable: (java.lang.IllegalStateException: Already rolled back. TransactionImpl
[JBoss-user] [Installation & Configuration] - Classpath question
I guess in web logic and web sphere there is the ability to set a classpath for a web app in side the container i.e. Add a specific dir only for web app x, that way web app y wont be able to see that dir. Is there a way to do some thing similiar in JBoss? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846333#3846333 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846333 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available
"darranl" wrote : JBoss version? [Server] Release ID: JBoss [WonderLand] 3.2.5 (build: CVSTag=JBoss_3_2_5 date=200408041031) and in case this helps... [ServerInfo] Java version: 1.4.2-p6,Sun Microsystems Inc. [ServerInfo] Java VM: Java HotSpot(TM) Client VM 1.4.2-p6-root_12_mar_2004_14_24,Sun Microsystems Inc. [ServerInfo] OS-System: FreeBSD 4.10-RELEASE-p2,i386 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846332#3846332 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846332 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: [Nukes] Theme deployment question
Thank you! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846331#3846331 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846331 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms hangs by a large number of messages
I'm sorry, but I can't decide when to use the new version of jboss. Is my problem a common problem with version 3.0.0? Is it eliminated in version 3.2.5? I don't have this problem in every run. Is there a reason for this? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846330#3846330 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846330 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: Jboss 3.2.4 slooooooow compared to 2.4.4
I know that this would give you some extra work, but it's just an idea. I'm writting JBossProfiler. JBossProfiler works with the concept of LogFiles. Every event is sent to a Log.gz file, and you can analyze it later, or even sent it over the network. You could run your application with JbossProfiler. You would Activate it before some test-case. (The profiler stays sleeping until you activate it) Do the same procedure in both environments. (2.3 and 3.0) Compare the results between both versions. You would have to add some filter in your application. I would recommend you to download jboss-profiler over JBoss's CVS. Add the -XrunjbossInspector:c:\temp\,ignore=org.apache,start= into your run.bat. (Make sure you don't have Debug parameters activated. The profiler wouldn't work) Add the jboss-profiler-noAOP.sar in your deployment directory. Use the MBean to start the data-capture before your testcase, and after the loading. Stop after you have some data to analyze. If you need any help, I'll be glad to help. Clebert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846328#3846328 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846328 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS and HTTPServerILService
Change the "properties" on the jms provider to use jndi over https. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846329#3846329 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846329 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS and HTTPServerILService
"[EMAIL PROTECTED]" wrote : DefaultJMSProvider | uses jnp not https by default when accessing jndi. I had suspected this may be part of the problem. However, despite significant searching, I cannot seem to find any documentation or example that would suggest what this (or anything else that needs to be changed) should be changed to. What does it need to be changed to? I would greatly appreciate it if you would be able to let me know what this needs to be changed to and/or point me to a working sample so that I can figure it out myself. I'm perfectly happy to dig into this; however, despite significant digging (perhaps in the wrong places) I'm coming up totally empty handed with regards to how to make this work. Once I get this working, I will be happy to add my config mods to Wiki for all else to benefit from. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846327#3846327 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846327 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do I destroy a TemporaryQueue on the server?
anonymous wrote : I don't see how this answers my questions. Well one of your questions was: - anonymous wrote : Should I call tempQueue.delete () at all, or simply close all senders/receivers and hope that some sort of reference counting mechanism will destroy the queue? Partly you were asking if there is anything that will automatically delete the queue. anonymous wrote : Creates a TemporaryQueue object. Its lifetime will be that of the QueueConnection unless it is deleted earlier. The extract from the API tells you that the queue will be automatically deleted. So that is how it answers one of your questions. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846325#3846325 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846325 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Problems with mbeans, if JBOSS runs under isolated....
I uncomment the in the jboss-service.xml the attribute isolated. After that i cant see my MBeans. I know that there are two different ways to register or create MBeans. I must use the create-method. Can someone help me? regards Pierre View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846324#3846324 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846324 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: A CMR collection may only be used within the transction
This is caused by, well, usually, executing some method that obtains a collection of entities within the context of a transaction, and then another method (possibly the calling method) using that collection within * a transaction (if the collection was obtained without a transaction) * no transaction (if the collection was obtained with a transaction) * a transaction (if the collection was obtained with a different transaction) What you need to do is first to figure out where exactly in your code that this is happening. Then, you need to figure out, right before your error, what your transactional status is. You can use this helper class to aid you: | import javax.naming.InitialContext; | import javax.transaction.Status; | import javax.transaction.TransactionManager; | | | /** | * @author Collin VanDyck | * | */ | public class TransactionInfo { | | public static final boolean inActiveTransaction() | { | try | { | TransactionManager tm = (TransactionManager) new InitialContext().lookup("java:/TransactionManager"); | int status = tm.getStatus(); | if (status == Status.STATUS_ACTIVE) | { | return true; | } | } | catch (Exception e) | { | e.printStackTrace(); | } | return false; | } | | public static final int getTransactionStatus() | { | try | { | TransactionManager tm = (TransactionManager) new InitialContext().lookup("java:/TransactionManager"); | int status = tm.getStatus(); | return status; | } | catch (Exception e) | { | e.printStackTrace(); | return -1; | } | } | | public static final String getTransactionInformation() | { | String result = ""; | | try | { | TransactionManager tm = (TransactionManager) new InitialContext().lookup("java:/TransactionManager"); | int status = tm.getStatus(); | | switch (status) | { | case Status.STATUS_ACTIVE: | result = "ACTIVE"; | break; | case Status.STATUS_COMMITTED: | result = "COMMITTED"; | break; | case Status.STATUS_COMMITTING: | result = "COMMITTING"; | break; | case Status.STATUS_MARKED_ROLLBACK: | result = "MARKED_ROLLBACK"; | break; | case Status.STATUS_NO_TRANSACTION: | result = "NO_TRANSACTION"; | break; | case Status.STATUS_PREPARED: | result = "PREPARED"; | break; | case Status.STATUS_PREPARING: | result = "PREPARING"; | break; | case Status.STATUS_ROLLEDBACK: | result = "ROLLEDBACK"; | break; | case Status.STATUS_ROLLING_BACK: | result = "ROLLING_BACK"; | break; | case Status.STATUS_UNKNOWN: | result = "UNKNOWN"; | break; | default: | result = "UNDEFINED"; | } | } | catch (Exception e) | { | result = "ERROR: could not get tx status: " + e.getMessage(); | } | | return result; | } | | } | Using this class, you should be able to figure out more about what's going on.l View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846323#3846323 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846323 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Inconsistencies of CMR collections
How are you deleting the associations? If your entity container configuration specifies commit option A, then deleting the associations from outside the container (using an SQL query) would cause this behavior. However, if you are iterating through each person entity and setting the associations that way... | for (Iterator persons = personHome.findAll().iterator(); persons.hasNext();) | { | Person p = (Person)persons.next(); | p.setHouses(new ArrayList()); | } | Then the container should reflect the disassociation. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846321#3846321 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846321 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - classloading isolation
Greetings, I'm trying to isolate my web app as described in http://www.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration. The classloader's SourceCode is a good way to verify it. But another good test to verify it is using log4j inside my web application file (WEB-INF/lib/log4j.jar and WEB-INF/classes/log4j.xml). Depending of the classloader, the global configuration or the local configuration is used, and we can see how it's working. If I set in $jboss_home/server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml the following attributes to false: | false | false | I works just fine, just I expect (isolation is OK). However, I would like to let them to true by default, and to set it only the applications I require to be independent using the following syntax: | | |teste:loader=v1.war | | java2ParentDelegation=false | | | | | | | | | teste:loader=v1.war | java2ParentDelegation=false | | | | The isolation isn't achieved. I mean, log4j is loaded by global jboss classloader (log4j-boot.jar) and consequently, the logger configuration used is the jboss log4j. However, I can see that a domain "teste" is created for (teste:loader=v1.war). It appears that only the configuration defined in jboss web sar ($jboss_home/server/all/deploy/jbossweb-tomcat50.sar/META-INF/jboss-service.xml ) is valid and the jboss descriptors in EAR or WAR are ignored. What is the behavior of the classloading in jboss? Can't I use the jboss descriptors to overried the jboss web SAR? I'm using jboss 3.2.5. Regards, Pedro Salazar. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846320#3846320 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846320 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Clustering/JBoss] - HAJNDI Replication time (blocking bind?)
We are currently using HAJNDI and are wondering if there were any data integrity issues that were possible as data is replicated across a cluster. For example, if an object is retrieved from HAJNDI, modified, and rebound, does the rebind return before or after the data has been replicated across the cluster? If a new bind into HAJNDI occurs, does the bind call block until the data has been replicated, or immediately after it has been bound locally? Is there a configuration setting that allows this to behavior to be altered to a synchronous vs. asynchronous call? This question is also posted in Clusters on JBoss (Clusters/JBoss). Thanks in advance for your assistance. Andy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846319#3846319 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846319 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - XDoclet jbossnet generates web-service.xml with error
Hello everyone. I`m trying to use the XDoclet tag to generate my web-service.xml file, but something is wrong. The XML file generated don`t have the service name, neigther the homeInterfaceName parameter, and puts the wrong provider, as shown bellow: | | | | | | | | It`s important to say that I`ve already put the @jboss-net:web-service urn="Hello" for my class, as shown bellow: /** | * The typical Hello Session Bean this time as a web-service. | * | * @author jung | * @author Andrew C. Oliver | * @version $Revision: 1.1.2.1 $ | * @ejb.bean name="Hello" display-name="Hello World Bean" type="Stateless" view-type="remote" jndi-name="Hello" | * | * @ejb.interface remote-class="org.jboss.examples.ws.hello.Hello" extends="javax.ejb.EJBObject" | * @ejb.home remote-class="org.jboss.examples.ws.hello.HelloHome" extends="javax.ejb.EJBHome" | * @ejb.transaction type="Required" | * | * | * @jboss-net:web-service urn="Hello" | * | */ | public class HelloBean implements javax.ejb.SessionBean { | | | public void ejbActivate() throws EJBException, RemoteException { | // TODO Auto-generated method stub | | } | public void ejbPassivate() throws EJBException, RemoteException { | // TODO Auto-generated method stub | | } | public void ejbRemove() throws EJBException, RemoteException { | // TODO Auto-generated method stub | | } | public void setSessionContext(SessionContext ctx) throws EJBException, | RemoteException { | // TODO Auto-generated method stub | | } | /* | * @jboss-net.web-method | * @ejb.interface-method view-type="remote" | */ | public String hello(String name) { | return "Hello " + name + "!"; | } | | /** | * @ejb.create-method view-type = "remote" | */ | public void ejbCreate() throws CreateException { | // TODO Auto-generated method stub | | } | /** | * @jboss-net.web-method | * @ejb.interface-method view-type="remote" | */ | public Object[] complexHello(Object[] query) { | Object[] reply = new Object[query.length]; | for (int n = 0; n < query.length; n++) { | HelloObj hello = (HelloObj) query[n]; | reply[n] = new HelloReplyObj(n + ": " + hello.getMsg()); | } | return reply; | } | } Please, anyone knows what`s going on? Thank`s a lot. Leonardo Cardoso View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846317#3846317 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846317 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: delivery mode
Give an example, I still don't understand your question. If you are trying to achieve the following in a single transaction it is not possible: sender.send(message); // Send to a queue reciever.receive(); // Try to receive that message session.commit(); // The send is not done until here! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846315#3846315 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846315 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: purpose of Session.setMessageListener(...)
Quoting the javadoc: anonymous wrote : This is an expert facility not used by regular JMS clients View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846312#3846312 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846312 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How to setup DefaultJMSProvider
http://www.jboss.org/wiki/Wiki.jsp?page=ConfigJMSProvider View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846310#3846310 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846310 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Jboss 3.2.4 slooooooow compared to 2.4.4
Hi: I have an application that I have migrated from Jboss 2.4.4 Tomcat 4.0.1 to Jboss 3.2.4 and to my surprise not jboss starts up slower (even build ing up from the minimal server and adding services till my application worked) but also it runs MUCH MUCH slower... around 3 times. I have gone through all the (very few published) tricks to make the thing run faster... read only gettters, read.ahead, container commit-options, undeploy services not used, use the Oracle OCI drivers, disable all logs in log4j.xml, even rewrite some code (that anyway it used to rock&roll on jboss 2.4.4) but I can't get the thing to run not even half fast than in 2.4.4 on the same database. I mean ... Is it that difficult??? I am seriously considering to quit jboss after 3 years of bliss... Any ideas on how not to despair? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846311#3846311 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846311 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do I destroy a TemporaryQueue on the server?
You cannot delete a temporary destination while is has subscribers/listeners. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846308#3846308 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846308 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: jms hangs by a large number of messages
Try JBoss-3.2.5 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846309#3846309 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846309 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: HA-JMS & Transactions
HA-JMS has nothing to do with transactions. It is about making the jms administered objects available on a separate machine in the event of a failure. In the event of a failure during a transaction you have to "roll it back" (in practice discard it - using connection.close()), and retry with a new connection. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846307#3846307 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846307 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss.NET] - Re: Which WS Toolkit to use with Jboss 3.2.4?
Thanks for the reply. We've considered moving to Jboss 4.0 to take advantage of JbossWS, but are not certain when the production release date is. Anyone know for certain? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846305#3846305 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846305 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Durable MDB Issue Null or empty subscription
The error messages says it is not using the jboss.xml snippet you post. Hard to tell why not without further information. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846304#3846304 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846304 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JMS and HTTPServerILService
DefaultJMSProvider uses jnp not https by default when accessing jndi. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846306#3846306 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846306 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: New timeout blocking call
Because I made some fixes in this area. Additionally, you'll find you won't get much help unless you can reproduce the problem with the latest stable release. Nobody wants to waste time analyzing problems that have already been fixed. Off Topic, advice: If you cannot reproduce a production problem in your staging environment, your staging environment isn't very useful. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846303#3846303 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846303 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: TransactionManager - error in delist; already committed
THis has been fixed for 3.2.6. The example given by somebody else on a different thread (where the full stacktrace is available) shows that it is just noise in the logs and has no detrimental affect. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846302#3846302 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846302 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem with Transaction Manager and closing datasource
The delist message is just noise. You seem to have selectively ignored the key point in my previous post. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846301#3846301 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846301 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Jboss jdbc local resource adapter
JBoss's jdbc resource adapters do NOT implement CCI View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846300#3846300 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846300 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: connection pooling : connection release for further use
Moderated: This has been discussed so many times before. It depends upon the number concurrent of transactions. Use search details. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846299#3846299 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846299 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Slow startup
I'm in a developing step of a big J2EE applications, with (at now) more that 35 jar each one with some EJB inside. I've JBoss 3.2.3 and at now on my P4 1.5Mh it needs something like 1 minute and 20 seconds to start. Since I need to change my EJB very often, and the hot deploy feature is not so nice when you change libraries, I have to restart it many times a day. Is there a way to obtain a faster start-up? Caching something from the previous deploy, maybe? I also use orion, which needs about 10 seconds to start ... because he deploys EJB only when they change, and I change only 1 EJB at a time, not all of the 35 jar ... Can anybody help me please Regards Alessandro View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846298#3846298 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846298 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Fiberbird XATransaction error: Could not enlist in trans
5:13:30,795 ERROR [JDBCExceptionReporter] Cannot open connection View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846297#3846297 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846297 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: how to deploy MBeans
http://www.jboss.org/wiki/Wiki.jsp?page=JBossService View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846293#3846293 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846293 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - jboss 3.0 + mssql2000
1, index.jsp Context ic = new InitialContext(); DataSource ds = (DataSource) ic.lookup("java:/testdb"); Connection con = ds.getConnection(); String sql = "select top 5 * from tbnewsphoto "; 2, mssql-xa-service.xml MSSQLXaDS ServerName=localhost;DatabaseName=MyData;SelectMethod=cursor com.microsoft.jdbcx.sqlserver.SQLServerDataSource jboss.jca:service=RARDeployment,name=Minerva JDBC XATransaction ResourceAdapter 3, mssql-service.xml testdb jdbc:microsoft:sqlserver://localhost:1433;DatabaseName=MyData com.microsoft.jdbc.sqlserver.SQLServerDriver sa 4. when i run jboss 3.0 Incompletely deployed packages: [EMAIL PROTECTED] { url=file:/C:/JBOSS/server/defaul t/deploy/mssql-service.xml } deployer: [EMAIL PROTECTED] status: null state: FAILED watch: file:/C:/JBOSS/server/default/deploy/mssql-service.xml lastDeployed: 1093518248968 lastModified: 1093518248921 mbeans: , [EMAIL PROTECTED] { url=file:/C:/JBOSS/server/defau lt/deploy/mssql-xa-service.xml } deployer: [EMAIL PROTECTED] status: null state: FAILED watch: file:/C:/JBOSS/server/default/deploy/mssql-xa-service.xml lastDeployed: 1093518249046 lastModified: 1093518249031 mbeans: ]MBeans waiting for classes: MBeans waiting for other MBeans: 19:04:11,765 INFO [URLDeploymentScanner] Started 19:04:11,765 INFO [MainDeployer] Deployed package: file:/C:/JBOSS/server/defaul t/conf/jboss-service.xml 19:04:11,765 INFO [Server] JBoss (MX MicroKernel) [3.0.8 (CVSTag=JBoss_3_0_8 Da te=200306050849)] Started in 0m:8s:719ms 5, browser looks like this HTTP ERROR: 500 testdb not bound View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846290#3846290 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846290 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - how to deploy MBeans
hi, just outing myself as noob i fear... i have my MBean class and interface - but how do i deploy them? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846287#3846287 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846287 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: finder exception is not thrown
When will the cmp engine will throw a finder exception (in case of finder that returns a collection) ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846286#3846286 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846286 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: finder exception is not thrown
What makes you think that the home interface says that the exception should be thrown if no results are found. Having no data returned from a query is a valid response, it says that there was nothing that matched the search criteria. It is only in the context of your application that you can decide if this is an error situation. >From the EJB specification: - The Container throws the FinderException (or subclass of FinderException) from the implementation of a finder or select method to indicate an application-level error in the finder or select method. If the finder method was only supposed to return a single value and multiple were returned this would be a situation that an application error needs reporting. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846283#3846283 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846283 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Design Patterns] - Re: DAO or EJB
Hi Puneet, Alternatively, if you want ease of development and neat code (therefore, easy to debug code). You should use: 1. Vanilla Hibernate 2. BMP (replace JDBC with Hibernate) 3.Session Beans with Hibernate Trust me, you'll save yourself a lot of trouble steering away from JDBC and CMP beans. 99% of the time, you don't need to code JDBC, except in certain batch processing scenarios. Take the red pill ---> http://www.hibernate.org/ -Great Imhotep _/"""\_/"""\_/"""\_ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846282#3846282 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846282 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [Performance Tuning] - Re: Memory problems?
are you using the Oracle JDBC driver? This driver has memory leak probabily. In the release notes of 10g version has a comment about this. Mateus -Original Message- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] Behalf Of clebertsuconic Sent: quarta-feira, 25 de agosto de 2004 23:59 To: [EMAIL PROTECTED] Subject: [JBoss-user] [Performance Tuning] - Re: Memory problems? Why you guys don't try to use jboss-profiler. It's a new project inside JBoss, but I have worked on this for one year now, and it's pretty stable. I know that the front-end (which is based on a Web application) doesn't have the best design approach, but it has all information you might need. For example, you can find where your memory are being created, and what methods are not releasing the memory initially allocated. The only problem now, is that you have to download it directly from CVS but it's easy to compile it. It requires ant+Java only, and it takes 1 minute to compile it. I can help over this forum or jboss-profiler forum with issues about it. Clebert View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846238#3846238 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846238 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - NoClassDefFoundError
Hi, I have deployed a bean, which try to use some classes from a jar. The jar exists in the ear file. After making a request, the server throws a java.lang.NoClassDefFoundError exception. I have copied the jar file to the server/default/lib directory, but the server still can not find the class in the jar. I have modified the run.bat file and I have included this file into JBOSS_CLASSPATH, but still nothing. Do you have any suggestion where to copy this jar file to can be visible by the JBoss app server ? (I am using the RC1 release) Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846280#3846280 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846280 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: finder exception is not thrown
I know that, the question is should jboss throw a finder exception in this situation (hint: the HomeInterface says it should) | public Collection findByName(String name) throws FinderException; | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846281#3846281 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846281 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Durable MDB Issue Null or empty subscription
Hi All, I am having problems with have an MDB registering as a Durable Topic Subscriber. I am getting the following problem WARN [JMSContainerInvoker] JMS provider failure detected: javax.jms.JMSException: Null or empty subscription at org.jboss.mq.SpyConnection.createDurableConnectionConsumer(SpyConnection.java:112) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.innerCreate(JMSContainerInvoker.java:586) at org.jboss.ejb.plugins.jms.JMSContainerInvoker.startService(JMSContainerInvoker.java:674) Here is the snippet of the jboss xml file EmvolveLogBean topic/testDurableTopic john needle DurableSubscriberExample Tester In my client class that publishes to the topic TopicConnectionFactory factory = (TopicConnectionFactory) ctx.lookup("java:/ConnectionFactory"); Topic topic = (Topic) ctx.lookup("topic/testDurableTopic"); TopicConnection connection = factory.createTopicConnection("john","needle"); TopicSession session = connection.createTopicSession(true, TopicSession.AUTO_ACKNOWLEDGE); connection.start(); TopicPublisher sender = session.createPublisher(topic); TextMessage message = session.createTextMessage(); message.setText("Did u get me "); sender.publish(message); session.commit(); session.close(); connection.close(); I have made sure that the roles are correct but there is one issue I have.. In the jbossmq-state.xml the DurableSubscriptions element is empty, should I need to have some entry in here example DurableSubscriberExample Tester testDurableTopic I am using Jboss-3.2.3 But If i add this I get problems with the AS complaining it depends on other modules. Any help is greatly appreicated danny View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846278#3846278 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846278 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JBoss Getting Started Documentation] - Re: No database manager available
JBoss version? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846277#3846277 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846277 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: can jboss generate a different primarykey per bean using
Hi Shai, Why not use Hibernate? -Imho View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846276#3846276 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846276 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Where does JBoss keep its services at hard drive?
is it possible to use org.apache.axis.client.Call to call JBoss services? or it is used to call someting else? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846275#3846275 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846275 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Inconsistencies of CMR collections
Hi! I have to Entities, say house and person. The relation is many-to-many. I made some associations so that every person has one or more houses- So far the preconditions. I deleted all associations and then tried to find all persons without houses (which should return all persons). For this i used a my-sql finder query SELECT p FROM person p where p.houses IS EMPTY. (JBoss >= 3.2.4) or SELECT p FROM person p , IN (p.houses) here p.houses IS EMPTY. (JBoss < 3.2.4) The finder method returns not a single person. It seems like the deletion of the association is not applied to the database immediatly or the finder-mthod did not recognize the change. Anyone elready encountered this problem? Greets, Matthias View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846272#3846272 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846272 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Error while creating table in CMP
Hi, I am using (My)Eclipse, XDoclet and MySQL for developing my EJBs. I have an entity bean whose corresponding table requires to be created in the database. All my compiles and deployment goes through fine - but MySQL throws an error complaining the max column size for a VARCHAR field is 256. My jbosscmp-jdbc.xml shows correct details : | | Composer | Composer | | | composerName | composerName | | VARCHAR | varchar(50) | | | | genre | genre | | VARCHAR | varchar(60) | | | | | | | The errror thrown is : | :36:19,596 WARN [ServiceController] Problem starting service jboss.j2ee:jndiName=Composer,service=EJB | MBeanException: org.jboss.deployment.DeploymentException: Error while creating table Composer; - nested throwable: (java.sql.SQLException: Syntax error or access violation message from server: "Too big column length for column 'composerName' (max = 255). Use BLOB instead") | | Cause: org.jboss.deployment.DeploymentException: Error while creating table Composer; - nested throwable: (java.sql.SQLException: Syntax error or access violation message from server: "Too big column length for column 'composerName' (max = 255). Use BLOB instead") | >From the JBoss log : | 2004-08-26 15:36:19,507 DEBUG [org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.Composer] Executing SQL: CREATE TABLE Composer (composerName VARCHAR(256), definitiveFilm VARCHAR(256), CONSTRAINT pk_Composer PRIMARY KEY ()) | Why is it trying to create a table with column size varchar(256) when it has been specified to be much lower ? I attempted a number of XDoclet tag changes and manipulations but none worked. Any inputs on this ? Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846274#3846274 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846274 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes 1.1RC2 available
The propose of a ddl is to keep everything synchronized, it's already a pain to keep everything synchronized between mysql/postgresql and oracle, adding another support is just not maintanable. We are looking for a better way to be generic but it's not as easy as it seems. Anyway, the installer must be able to create/modify the tables and so Nukes do. You need to give all privileges to a user (nukes by default) to a database (nukes by default) I wrote something about doing that in the wiki pages, on a linux machine using mysql. Make sure you can connect to the server by typing: (first nukes is the username, second is the database name) mysql -u nukes -p nukes It will ask for password. Depending on how your box is configured you may want to add access from your machine, by using your hostname (if you don't know how to do, ask again) Try: mysql -u nukes -p nukes -h `hostname` View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846271#3846271 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846271 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Where does JBoss keep its services at hard drive?
I have to write a service for JBoss to work with MS SQL Server... I've never did it before... How to do it, and where will my service be kept at the hard drive? Service should be like this: User --- clicks button "Show Users" ---> JBoss --- SELECT * FORM Users ---> MSSQL Server --- ResultSet ---> JBoss View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846270#3846270 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846270 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: [Nukes] Theme deployment question
You need to put the binary files in the bin directory and create the same path as in src /cvs/nukes/mytheme/src/bin/org/jboss/nukes/addons/themes/mytheme/images View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846268#3846268 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846268 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Resetting The Cache
First use JMX and twiddle to make a list of all local EJBs (I.e. in my case all the entities) by ./twiddle.sh -s localhost:1299 invoke 'jboss:service=JNDIView' listXML | grep local | sort | uniq >flush.sh Then edit flush.sh to include a flush command for each entity i.e.: ./twiddle.sh -s localhost:1299 invoke 'jboss.j2ee:jndiName=local/[YOUR_FIRST_ENTITY_NAME],plugin=cache,service=EJB' flush ./twiddle.sh -s localhost:1299 invoke 'jboss.j2ee:jndiName=local/[YOUR_SECOND_ENTITY_NAME],plugin=cache,service=EJB' flush ...and so on then you could flush all the entity caches by ./flush.sh Of course this could be improved a lot with more clever shell scripting the two commands above could be combined to always flush the deployed entites, then I guess it should be possible to do from Java as well, I'm looking into that now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846267#3846267 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846267 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Flush commit option A's cache
Is it really that obvious no one care to answer, it can't be too hard could it? Anyway I found a solution that work: First use JMX and twiddle to make a list of all local EJBs (I.e. in my case all the entities) by ./twiddle.sh -s localhost:1299 invoke 'jboss:service=JNDIView' listXML | grep local | sort | uniq >flush.sh Then edit flush.sh to include a flush command for each entity i.e.: ./twiddle.sh -s localhost:1299 invoke 'jboss.j2ee:jndiName=local/[YOUR_FIRST_ENTITY_NAME],plugin=cache,service=EJB' flush ./twiddle.sh -s localhost:1299 invoke 'jboss.j2ee:jndiName=local/[YOUR_SECOND_ENTITY_NAME],plugin=cache,service=EJB' flush ...and so on then you could flush all the entity caches by ./flush.sh Of course this could be improved a lot with more clever shell scripting the two commands above could be combined to always flush the deployed entites, then I guess it should be possible to do from Java as well, I'm looking into that now. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846266#3846266 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846266 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: javax.naming.NameNotFoundException: StoreAccessBean not
Thanks Vishal, but the proplem is not found in that thread. The problem is that the tutorial was set up for jboss-3.2.1 and I am using version jboss-3.2.5. with jboss jboss321all.server a ejbGenerate file is generated with jboss325all.server a xdoclet file is generated. And I have a feeling its how the DataAccessObject is accesed, if I remover the DAO tag from StoreAccessBean.java the StoreAccessBean is picked up ok. Do you know of any other tutorials, this is a good tutorial but I have the feeling that I will spend so much time trying to get it work that I will not get any real benefit in learning how the J2EE components work with JBoss. Thanks Tony View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846265#3846265 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846265 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: cannot switch from hypersonic to oracle
"FearlessSpiff" wrote : could you fix it? I have exactly the same problem. But my jbosscmp-jdbc.xml is ok. All mapped nicely. What i could see is, that the jbosscmp-jdbc.xml is ignored by JBoss! Don't know why, but i can change what i like, the file isn't read by JBoss... I use the same software versions as you, maybe this is a problem? yes i could: the following source works for XDoclet generating the correct settings (i have other problems but at least i have my database) /* * Project name : ofas * File name: Server.java * * Created on Aug 16, 2004 * Author : itteerde * * History: * * Last Editor DateComment * * itteerde Aug 16, 2004created */ package com.bbraun.ofas.persistence.figuretable.ejb; import java.rmi.RemoteException; import javax.ejb.EJBException; import javax.ejb.EntityBean; import javax.ejb.EntityContext; import javax.ejb.RemoveException; /** * @ejb.bean name="FigureTable" * display-name="Name for FigureTable" * description="Description for FigureTable" * jndi-name="ejb/FigureTable" * type="CMP" * cmp-version="2.x" * view-type="local" * * @ejb.bean primkey-field = "guid" * * @todo should extend AbstractEntityBean * * @jboss.persistence * datasource = "java:ofas" * datasource-mapping = "Oracle9i" * table-name = "OFAS.OFAS_FIGURETABLES" * create-table = "false" */ public abstract class FigureTableBean implements EntityBean { /** * */ public FigureTableBean() { super(); // TODO Auto-generated constructor stub } /* (non-Javadoc) * @see javax.ejb.EntityBean#setEntityContext(javax.ejb.EntityContext) */ public void setEntityContext(EntityContext ctx) throws EJBException, RemoteException { // TODO Auto-generated method stub } /* (non-Javadoc) * @see javax.ejb.EntityBean#unsetEntityContext() */ public void unsetEntityContext() throws EJBException, RemoteException { // TODO Auto-generated method stub } /* (non-Javadoc) * @see javax.ejb.EntityBean#ejbRemove() */ public void ejbRemove() throws RemoveException, EJBException, RemoteException { // TODO Auto-generated method stub } /* (non-Javadoc) * @see javax.ejb.EntityBean#ejbActivate() */ public void ejbActivate() throws EJBException, RemoteException { // TODO Auto-generated method stub } /* (non-Javadoc) * @see javax.ejb.EntityBean#ejbPassivate() */ public void ejbPassivate() throws EJBException, RemoteException { // TODO Auto-generated method stub } /* (non-Javadoc) * @see javax.ejb.EntityBean#ejbLoad() */ public void ejbLoad() throws EJBException, RemoteException { // TODO Auto-generated method stub } /* (non-Javadoc) * @see javax.ejb.EntityBean#ejbStore() */ public void ejbStore() throws EJBException, RemoteException { // TODO Auto-generated method stub } /** * Getter for CMP Field guid * * @ejb.pk-field * @ejb.persistent-field * @ejb.interface-method view-type="local" * * @jboss.column-name name = "ID" * @jboss.jdbc-type type = "VARCHAR" * @jboss.sql-type type = "CHAR(32)" */ public abstract String getGuid(); /** * Setter for CMP Field guid * * @ejb.interface-method view-type="local" */ public abstract void setGuid(String value); /** * Returns the figure table's name. This is usually the operating figure's name. * * @return figure table's name * * @ejb.interface-method * view-type = "both" * * @jboss.column-name name = "NAME" * @jboss.jdbc-type type = "VARCHAR" * @jboss.sql-type type = "VARCHAR2(255)" */ public abstract String getName(); /** * Sets the figure table's name. You usually should use the operating figure's name. * * @param name figure table's name * * @ejb.interface-method * view-type = "both" * */ public abstract void setName(String name); /** * Returns the unique id of the system this figure table belongs to * * @return unique id of the system this figure table belongs to
[JBoss-user] [Installation & Configuration] - Jboss and Tomcat on same machine
Hi, I want to run Tomcat and Jboss on same machine. While running these 2 servers i encountered a problem. I think the problem arises because, both Tomcat and Jboss use same 8080 port. First I run the Jboss and then started the tomcat. At this stage Jboss gives following error. 12:37:56,392 INFO [Engine] StandardHost[localhost]: MAPPING configuration error Is there any configuration file in Jboss to change this port numbers or any other way to solve my problem? If so what are they and what entries need to be made? Thanks in advanced Thilina View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846261#3846261 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846261 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: How do I destroy a TemporaryQueue on the server?
I'm aware of that, but I don't see how this answers my questions. I was trying to show that _I am_ trying to delete this topic earlier then closing the queue connection, but getting an exception. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846164#3846164 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846164 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - can jboss generate a different primarykey per bean using ora
I have my system configured with an entity - command using oracle secuemce to generate the Primary-Key for my cmp beans. The way it is now is one sequence for all beans. I wan't to use a different sequence for each bean, can I configure Jboss to do so? Thanks Shai View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846260#3846260 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846260 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Want to support more concurrent accesses to JBoss, How to?
My web application is required to support more concurrent access, for example, 500. I find the following definition in server.xml: Is it OK if I only change the value of maxThreads? Thnak you very much. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3846259#3846259 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3846259 --- SF.Net email is sponsored by Shop4tech.com-Lowest price on Blank Media 100pk Sonic DVD-R 4x for only $29 -100pk Sonic DVD+R for only $33 Save 50% off Retail on Ink & Toner - Free Shipping and Free Gift. http://www.shop4tech.com/z/Inkjet_Cartridges/9_108_r285 ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user