[JBoss-user] [EJB/JBoss] - Re: Access to the Unified Class Loader
That is the correct mechanism for loading the class. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857796#3857796 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857796 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [The Lizzard's corner] - Re: commercial interest
Yes. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857797#3857797 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857797 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Using security to end a long-running request?
A jms topic listener that sets the abort state in the interceptor could work. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857798#3857798 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857798 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Error during context restart
Create a bug report with an example war that shows this problem as I have not seen this particular failure before. http://jira.jboss.com/jira/browse/JBWEB View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857799#3857799 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857799 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - JBoss 4.x fails to create JMS_XXX tables at startup
I'm observing some strange behaviour with JBossMQ when JMS persistance is configured to use MS SQL 2000 data source. Looks like org.jboss.mq.pm.jdbc2.PersistenceManager creates its tables just fine but org.jboss.mq.sm.jdbc.JDBCStateManager creates only JMS_USERS table. No errors on creation of those missing tables in the log. mssql-jdbc2-service.xml | mbean code=org.jboss.mq.pm.jdbc2.PersistenceManager | name=jboss.mq:service=PersistenceManager | depends optional-attribute-name=ConnectionManagerjboss.jca:service=DataSourceBinding,name=jdbc/ejbPool_mssql4/depends | attribute name=SqlProperties | BLOB_TYPE=BINARYSTREAM_BLOB | INSERT_TX = INSERT INTO JMS_TRANSACTIONS (TXID) values(?) | INSERT_MESSAGE = INSERT INTO JMS_MESSAGES (MESSAGEID, DESTINATION, MESSAGEBLOB, TXID, TXOP) VALUES(?,?,?,?,?) | SELECT_ALL_UNCOMMITED_TXS = SELECT TXID FROM JMS_TRANSACTIONS | SELECT_MAX_TX = SELECT MAX(TXID) FROM JMS_MESSAGES | SELECT_MESSAGES_IN_DEST = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE DESTINATION=? | SELECT_MESSAGE = SELECT MESSAGEID, MESSAGEBLOB FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? | MARK_MESSAGE = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE MESSAGEID=? AND DESTINATION=? | UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? | UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? | UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? | UPDATE_MESSAGE = UPDATE JMS_MESSAGES SET MESSAGEBLOB=? WHERE MESSAGEID=? AND DESTINATION=? | UPDATE_MARKED_MESSAGES = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? | UPDATE_MARKED_MESSAGES_WITH_TX = UPDATE JMS_MESSAGES SET TXID=?, TXOP=? WHERE TXOP=? AND TXID=? | DELETE_MARKED_MESSAGES_WITH_TX = DELETE FROM JMS_MESSAGES WHERE TXID IN (SELECT TXID FROM JMS_TRANSACTIONS) AND TXOP=? | DELETE_TX = DELETE FROM JMS_TRANSACTIONS WHERE TXID = ? | DELETE_MARKED_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXID=? AND TXOP=? | DELETE_TEMPORARY_MESSAGES = DELETE FROM JMS_MESSAGES WHERE TXOP='T' | DELETE_MESSAGE = DELETE FROM JMS_MESSAGES WHERE MESSAGEID=? AND DESTINATION=? | CREATE_MESSAGE_TABLE = CREATE TABLE JMS_MESSAGES (MESSAGEID INTEGER NOT NULL, DESTINATION VARCHAR(150) NOT NULL, TXID INTEGER, TXOP CHAR(1), MESSAGEBLOB IMAGE, PRIMARY KEY (MESSAGEID, DESTINATION)) | CREATE_TX_TABLE = CREATE TABLE JMS_TRANSACTIONS (TXID INTEGER) | CREATE_TABLES_ON_STARTUP = TRUE | /attribute | /mbean | mssql-jdbc-state-service.xml | mbean code=org.jboss.mq.sm.jdbc.JDBCStateManager | name=jboss.mq:service=StateManager | depends optional-attribute-name=ConnectionManagerjboss.jca:service=DataSourceBinding,name=jdbc/ejbPool_mssql4/depends | attribute name=SqlProperties | CREATE_TABLES_ON_STARTUP = TRUE | CREATE_USER_TABLE = CREATE TABLE JMS_USERS (USERID VARCHAR(32) NOT NULL, PASSWD VARCHAR(32) NOT NULL, \ | CLIENTID VARCHAR(128), PRIMARY KEY(USERID)) | CREATE_ROLE_TABLE = CREATE TABLE JMS_ROLES (ROLEID VARCHAR(32) NOT NULL, USERID VARCHAR(32) NOT NULL, \ | PRIMARY KEY(USERID, ROLEID)) | CREATE_SUBSCRIPTION_TABLE = CREATE TABLE JMS_SUBSCRIPTIONS (CLIENTID VARCHAR(128) NOT NULL, \ | SUBNAME VARCHAR(128) NOT NULL, TOPIC VARCHAR(255) NOT NULL, \ | SELECTOR VARCHAR(255), PRIMARY KEY(CLIENTID, SUBNAME)) | GET_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=? | LOCK_SUBSCRIPTION = SELECT TOPIC, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=? | GET_SUBSCRIPTIONS_FOR_TOPIC = SELECT CLIENTID, SUBNAME, SELECTOR FROM JMS_SUBSCRIPTIONS WHERE TOPIC=? | INSERT_SUBSCRIPTION = INSERT INTO JMS_SUBSCRIPTIONS (CLIENTID, SUBNAME, TOPIC, SELECTOR) VALUES(?,?,?,?) | UPDATE_SUBSCRIPTION = UPDATE JMS_SUBSCRIPTIONS SET TOPIC=?, SELECTOR=? WHERE CLIENTID=? AND SUBNAME=? | REMOVE_SUBSCRIPTION = DELETE FROM JMS_SUBSCRIPTIONS WHERE CLIENTID=? AND SUBNAME=? | GET_USER_BY_CLIENTID = SELECT USERID, PASSWD, CLIENTID FROM JMS_USERS WHERE CLIENTID=? | GET_USER = SELECT PASSWD, CLIENTID FROM JMS_USERS WHERE USERID=? | /attribute | /mbean | Any ideas? Am I missing something? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857801#3857801 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857801 --- SF email is sponsored by - The IT Product Guide Read
[JBoss-user] [Beginners Corner] - EJB JNDI Binding Problem
I have been creating a simple application to help me get to used to JBoss. I am using version 4,00 with Java1.5 and MySQL. My application consists of two CMP EJB's, a Stateless Session EJB (which accesses the two CMP EJB's) and then some JSP's which access the Session EJB. When I attempt to use the JSP's I get a EJB not Bound NamingException. I have tried several different approachs but still remian mystified. The parts of the XML files of interest are: in web.xml | ejb-ref | descriptionno description/description | ejb-ref-nameejb/HashMapControllerEJB/ejb-ref-name | ejb-ref-typeSession/ejb-ref-type | homejames.examples.ejb.HashMapControllerHome/home | remotejames.examples.ejb.HashMapController/remote | ejb-linkHashMapControllerEJB/ejb-link | /ejb-ref | in ejb-jar.xml | session | descriptionMain Controller of HashMaps/description | display-nameHashMapControllerEJB/display-name | ejb-nameHashMapControllerEJB/ejb-name | homejames.examples.ejb.HashControllerHome/home | remotejames.examples.ejb.HashController/remote | ejb-classjames.examples.ejb.HashControllerBean/ejb-class | session-typeStateless/session-type |transaction-typeContainer/transaction-type |ejb-ref.../ejb-ref |ejb-ref.../ejb-ref | /session | The code doing the lookup | public HashControllerHome getHashControllerHome() throws NamingException { | InitialContext initial = new InitialContext(env); | Object objref = initial.lookup(EJBGetter.HASHMAP_CONTROLLER); | return (HashControllerHome) | PortableRemoteObject.narrow(objref, HashControllerHome.class); |} | where | private static String HASHMAP_CONTROLLER = ejb/HashMapControllerEJB; | My JNDI view contains the following: | java:comp namespace of the HashMapControllerEJB bean: | | +- env (class: org.jnp.interfaces.NamingContext) | | +- ejb (class: org.jnp.interfaces.NamingContext) | | | +- HashEJB[link - HashEJB] (class: javax.naming.LinkRef) | | | +- HashMapEJB[link - HashMapEJB] (class: javax.naming.LinkRef) | I have tried the following: | private static String HASHMAP_CONTROLLER = java:comp/ejb/HashMapControllerEJB; | private static String HASHMAP_CONTROLLER = comp/ejb/HashMapControllerEJB; | private static String HASHMAP_CONTROLLER = java/ejb/HashMapControllerEJB; | I have also attempted to treat the Session EJB as external using: jboss-web.xml | jboss-web |ejb-ref | ejb-ref-nameejb/HashMapControllerEJB/ejb-ref-name | jndi-nameHashMapControllerEJB/jndi-name |/ejb-ref | /jboss-web | and jboss.xml | jboss | enterprise-beans |session | ejb-nameHashMapControllerEJB/ejb-name | jndi-nameHashMapControllerEJB/jndi-name | /session | /enterprise-beans | /jboss | This also failed. The exception I get at the moment is: | javax.servlet.ServletException: HashMapControllerEJB not bound | with root cause | javax.naming.NameNotFoundException: HashMapControllerEJB not bound | If I use java:comp/ejb/HashMapControllerEJB I get | javax.naming.NameNotFoundException: ejb not bound | I get no exceptions at start up using the default server minus jms. I guess I am missing something small and obvious, but at the moment I am blind to it. All help will be gratefully recieved. Thank you very much!! View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857803#3857803 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857803 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: JBoss 4.x fails to create JMS_XXX tables at startup
Forgot to mention that data source is not an XA. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857802#3857802 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857802 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Session bean design questions
To your first question: if your session beans launch not Runtime exceptions and you catch them, the transaction is not rolled back. You can create your own exceptions to get this behaviour, for example... To question a): deciding on one of the two approaches is subjective... For a good design, your method should throw an application exception you have created, but when throwing and exception (and catching it too) creates overhead on your app, so it's up to you... To question b): better don't use the not supported, because if you access these session beans from a web-app, by default I think it uses a transaction, so when you call the bean it will throw an exception... But I think that with my first answer this question has no sense... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857807#3857807 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857807 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: EJB JNDI Binding Problem
You have to use the jboss-web.xml and jboss.xml files you provided, and change the HASHMAP_CONTROLLER variable to java:comp/env/ejb/HashMapControllerEJB (see that you missed the env at the begining? In the JNDI view you provided is there...) View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857809#3857809 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857809 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Configuration DynamicLoginConfig
Its not a bug. You cannot deploy a service from the conf/jboss-service.xml file and have that see classes or resources from anything but the server/lib directory and server/conf directory. The web app needs to be deployed as a war that includes a seperate service configuration for the DynamicLoginConfig service. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857810#3857810 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857810 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: preventing jsp fragments from being viewable through web
Move under a subdir of WEB-INF directory. This dir is only accessible inside the web-app, so nothing from the outside can see what it has... View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857811#3857811 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857811 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - user name and password for accessing jmx-console
I have been going through the getting started example (Bank)--for some reason it started authentication for jmx-console. I have checked both C:\jboss-4.0.0\server\default\deploy\jmx-console.war\WEB-INF\classes\jmx-console-roles.properties and jmx-console-users.properties; here is the content: admin=JBossAdmin and admin=admin The realm is XDB. Do I need to look at other config files? Thanks, Daryoush View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857812#3857812 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857812 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: how to add configuration directory
For running two JBoss instances, take a look at: http://docs.jboss.org/jbossas/admindevel326/html/ch10.html#d0e21029 View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857813#3857813 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857813 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: How to stop using session cookies - jboss-web.xml isn't
You need to upgrade to 3.2.6 where you can use a war/WEB-INF/context.xml to control the war properties, for example a jmx-console.war/WEB-INF/context.xml: | Context path=/jmx-console cookies=false override=true / | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857814#3857814 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857814 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss slow after a thread creation
Hello Scott I've got the thread dump and for my surprise, the problematic thread was the JVM GC Thread. I've tried the -Xincgc flag (sun jvm) but have no success. Have you ever experienced a situation like that? Thank you!!! Regards, Rafael PS.: When this thread begin to consume CPU (99,9%) the application performance decrease very much. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857815#3857815 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857815 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - Re: JBoss slow after a thread creation
You have a memory leak and the garbage collector is spinning trying to reclaim memory that it cannot. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857816#3857816 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857816 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Warning:WARN [TransactionImpl] Transaction TransactionI
It means you have problems with application deadlock. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857817#3857817 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857817 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Declaring local variables
Hi, I'm new to javassit and am trying to create a method with local variables. As I couldn't find any examples I tried the code below. I was just wondering whether this is the right way to do this or is there a better approach. Thanks, John. meth.setBody(null); | meth.addLocalVariable(a, CtClass.intType); | meth.insertAfter(a = 1; return a;); | View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857818#3857818 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857818 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets JSP] - Re: Fibo tutorial - HTTP 500 error javax.servlet.ServletExce
Provide the lookup code and web-app.xml and jboss-web.xml files related to the problem... But I think your problem is due to you have written somewhere java:/comp/env/ and you have to write java:comp/env (without the first /...). View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857819#3857819 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857819 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence CMP/JBoss] - Re: CMP with mySql
Did you remove the hsqldb-ds.xml file from the deploy dir and copied the MySQL JDBC drivers into the server/{yourconfig}/lib dir? View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857820#3857820 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857820 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Warning:WARN [TransactionImpl] Transaction TransactionI
I also encounted the same question.I think that the transaction is not committed. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857821#3857821 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857821 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: Warning:WARN [TransactionImpl] Transaction TransactionI
If the tx is not committing in the tm timeout period, then this will also result. You need to either increase the default timeout or use an ejb method specific increased timeout. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857823#3857823 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857823 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS JBossMQ] - Re: ReadTask and Write Task Threads in UIL2
Thanks for your suggestion genman. Right now, we are using 3.2.5. How different is 3.2.6 from 3.2.5? Probably I'll have to go through the release notes. Meanwhile, to update you, Scott, we did another round of testing with the JVM IL. The results are excellent. For my testcase, with the same load, in a LAN, the EJB roundtrip call takes around 15 millisecs and JMS call takes around 35 millisecs (on an average). I thought I'd share these with you. But these results are with the commented out code in MessageCache which tries to call validateSoftReferenceDepth function. Now, we will have to bring db into the picture and see the performance. Thanks for your suggestions. Regards, Kalyan. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857825#3857825 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857825 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: Declaring local variables
Unfortunately, no. The code should be meth.setBody({ int a = 1; return a; }); Please read Section 4.3 of the tutorial for further hints. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857826#3857826 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857826 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - how to configure jboss 3.2.3 for jdk1.5
hi all i installed jboss3.2.3 but when i am runing jboss using the command run -c useradmin i am getting error and giving message haulting jboss i am using jdk1.5 is there anything to be configured if we use jdk1.5 ? with regards ravi View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857827#3857827 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857827 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation Configuration] - Re: how to configure jboss 3.2.3 for jdk1.5
You need at least jboss-3.2.6 to use jdk1.5. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857828#3857828 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857828 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Performance Tuning] - JBoss vs. WebLogic tuning results
I've been evaluating JBoss 4.0.1RC2 and WebLogic 8.1SP2 to host an online auction application. I'm now far enough along to have a few numbers, and I thought others might be interested in the effects of different tuning operations. The test server setup is the same for both: a BigIP load balancer set to do simple round-robining of HTTP requests, a bank of three Sun Ultra T1 servers running Apache 2 with mod_jk2 and mod_weblogic (each on its own virtual host), a cluster of two Sun Enterprise 220R servers with 4GB of memory to run the app server software (Sun JVM 1.4.2_06), and a Sun Enterprise 420R running Oracle 8. The test client for this particular set of numbers is a stress-test tool that opens a bunch of simultaneous connections and requests the place a bid JSP on the same item. As soon as each JSP returns a result, it immediately opens a new connection and places another bid. Cookies are not preserved across requests, so each one is a new HTTP session. The application is a combination of JDBC, session beans, and CMP entity beans, all local. One quirk is that it has its own internal equivalent of the JBoss Cache -- when a clusterwide variable is set, the machines in the cluster make HTTP requests to each other to keep everything in sync. Placing a bid depends on either one or two such requests depending on whether you've landed on the cluster's master server or one of the slaves. (I.e., each request will cause cross-cluster traffic.) Once a bid is placed and the result is returned to the client, there is some additional background tasks such as sending E-mail notifications. But you wanted to see numbers! With no tuning whatsoever, just the default all server configuration, JBoss completes a test run of 500 bids in 4:33. With optimistic locking and instance-per-transaction on all the relevant entity beans, the same test run takes 3:43. With the PreparedStatement cache configured, it's 2:44. With interval-based rather than synchronous HTTP session replication, that drops to 2:35. With a maximum heap size specified in the JVM startup arguments (-Xmx1024m) I get a nearly 50% speedup and the run time drops to 1:21. That got knocked down to 1:10 when I modified our intra-cluster code to remember session cookies between requests (cutting down on session creation) along with a few other tweaks such as fiddling with thread priority to reduce starvation. The speed increase from the JVM memory setting really surprised me, especially since I haven't seen it mentioned in any JBoss tuning manuals. Maybe it's just considered so obvious as to not be worth mentioning, I don't know. But it made as big a difference as all the other tuning steps combined. Now to WebLogic. It started off at 2:40 with no particular tuning effort. With the code tweaks I made in the course of testing JBoss, that dropped down to 1:40, but I don't know which changes in particular accounted for which parts of that speed increase. With the JVM memory settings recommended by BEA's tuning guide, the run time dropped to 0:57. With the JDBC connection pool set to a fixed size rather than dynamically growing and shrinking, the time dropped to a blazing fast 0:37. (Fiddling with the pool size had no measurable impact on JBoss, though I did try it.) So as things stand right now, for this particular test suite on this particular application, with all the tuning tweaks I know how to do, WebLogic is a little under twice as fast as JBoss. One thing I've noticed from watching the tests run is that JBoss seems to be a lot burstier in its responses. It will crank along for 30 or 40 requests at about the same rate as WebLogic, maybe even a tad faster. Then it will pause for a few seconds, respond to another 10 or 15 requests, pause for a second, and so on. It looks like garbage collection, as there is often no activity in my debug logs during the pauses. WebLogic's results come back at a steady pace with no hiccups. The application code is exactly the same in both cases, so the app servers must be doing something very different with their memory management (assuming I'm correct about it being garbage collection.) I plan to run other benchmarks and try out any other tweaks that I can find. If I get any interesting results I'll be sure to report them here. And of course I welcome any suggestions people have based on my admittedly vague description of my setup. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857829#3857829 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857829 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing
[JBoss-user] [HTTPD, Servlets JSP] - Using taglibs with JBoss
I am using Jboss 3.2.6. Whwn i deployed struts-example application in sun one, it works fine . but the same thing does not work in Jboss.When i run a simple jsp page with tag libs, it gives me the following error. org.apache.jasper.JasperException: Unable to compile class for JSP Generated servlet error: C:\JBoss\jboss-3.2.6\server\default\work\jboss.web\localhost\cwb\org\apache\jsp\jsp\html_002dmultibox_jsp.java:117: _jspx_meth_html_form_0(javax.servlet.jsp.tagext.JspTag,javax.servlet.jsp.PageContext) in org.apache.jsp.jsp.html_002dmultibox_jsp cannot be applied to (org.apache.struts.taglib.html.HtmlTag,javax.servlet.jsp.PageContext) if (_jspx_meth_html_form_0(_jspx_th_html_html_0, _jspx_page_context)) Please let me know how to resolve this issue. View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857830#3857830 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857830 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security JAAS/JBoss] - Re: Configuration DynamicLoginConfig
Hi Scott, you misunderstood me. I do not use the conf/jboss-service.xml file to configure this. I have a file called TomcatSample-service.xml file, which is located in the deploy directory of JBoss. This file references a directory C:/jboss-4.0/TomcatSampleServlets_jboss/deploy/ where my exploded WAR-file is located. But anyway. I do not know where I can define such things as a DynamicLoginConfig service inside a WAR file. Is this really such a great idea. I mean normally a WAR file should correspond to the J2EE standard and it should not matter in which container it is running. I think, container dependent things should be defined somewhere else. Regards Karin View the original post : http://www.jboss.org/index.html?module=bbop=viewtopicp=3857831#3857831 Reply to the post : http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3857831 --- SF email is sponsored by - The IT Product Guide Read honest candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://productguide.itmanagersjournal.com/ ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user