[JBoss-user] [Persistence & CMP/JBoss] - Re: ORA-01786: FOR UPDATE of this query expression is not al
Thanks for your answer. Of course we use false setting. That is the reason why I do not understand what has changed between the two versions. Csaba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835630#3835630 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835630 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: How can i see the numbers of threads in runtime?
I find reason of this problem if i start new thread (demon), which successfully finished but ActiveThreadCount is not decrease. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835629#3835629 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835629 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
Consider this one fixed guys! I got a bit retarded and decided to make my CMR fields CMP fields as well. That didn't work very well. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835628#3835628 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835628 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Referencing environment variables from configuration files?
Hi Can I reference environment variables (in example dos environment variable) from within jboss-service.xml ? i.e. deploy/,file:///${JAVA_HOME} ? (I know I can access system properties...) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835627#3835627 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835627 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - General EJB relationship question
Let's say I have two Entity Beans A and B. The relashionship between them is mxn. A have a getBs() method that return a Collection of B and B have a getAs() method that return a Collection of A. No how do I add two new beans. 1) NewA = home.create() 2) NewB = home2.create() 3) Collection bs = NewA.getBs(); 4) bs.add(NewB); If this is the right way why do I have to perform step 3 & 4 Cheers Rolf bs.add(b); View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835626#3835626 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835626 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - JBoss IDE launcher problems
Hi, Using: Eclipse 2.1.3 JBoss 3.2.3 JBoss IDE I am getting this error "Launch mode run not supported for configuration type org.jboss.ide.eclipse.launcher.configuration.jboss.JBoss32XLaunchConfiguration" when I click on Preferences->JBossIDE->Launcher. Could some help me with this. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835625#3835625 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835625 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Setup startup class.Urgent!
Hi, i'm using JBoss4.0. i'm having problem iwf startup class. i need to lookup for "DatabaseManagerImpl" with is a jndi name to startup class. May i know how to bound the jndi name in the JBoss so i can lookup for it when i strat the server? Can we just bind the name in the JMX console?? This is urgent to me and i'm looking forward for any help!! Thank you View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835624#3835624 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835624 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Compliance] - Loose Deployment Descriptor Checking
JBoss does not validate the ejb-jar.xml elements and has very loose checking on method-param elements of container-transaction descriptors at runtime. The imact of this is near zero until we do periodic WebLogic builds where we have to fix all of the accumulated "errors". Can we enable more strict checking of DDs? For example, the trans-attribute is out of place here and if there was no class com.acme.Baz or even a method bar() everything would delpoy ok on JBoss. Required FooBean bar com.acme.Baz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835622#3835622 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835622 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Error Msg while installing JBoss
I suspect HL7ToQueueMsgAdapter is part of a third-party product to handle Health Level 7 XML messages. If this is the case, you should probably take this up with the vendor/project that provided your HL7 messaging capability. If HL7ToQueueMsgAdapterService is something you developed in-house, you should definitely go through the code and make sure the run() method passes a non-null Exception to every invocation of error(). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835621#3835621 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835621 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: MBean JNDI Name: Alternative to RMIAdapter?
Unless something has changed recently, MBeans are *NOT* remote objects. You can either a) use RMIAdaptor to access things via the MBean server (which you would like to avoid) b) Use HTML adaptor (not a good choice IMHO) c) Bind an RMI stub for your service to the JNDI tree My company does "c" (but in a clustered/load balanced way, so you'd need to adjust if you don't do clusters) example | HARMIServerImpl server = new HARMIServerImpl( | haPartition, //your HA partition handle | "ReplicantName", // unique name for your service, call it anything | ServiceInterface.class, //exposed interface clients use | serviceInstance, // actual MBean instance you want to access | 0, // RMI port, zero for automatic | null, // | null, // | null, // | callBackHandler //handler to be notified when other cluster members come/go | ); | new InitialContext().bind("MyService",server.createHAStub(new RoundRobin())); | Main classes to look at are: org.jboss.ha.framework.server.HARMIServerImpl org.jboss.ha.framework.interfaces.HARMIProxyCallback org.jboss.ha.framework.interfaces.RoundRobin We basically wrapped all the nastiness of creating HARMI stubs for load balanced / HA services in a simple wrapper class that takes care of the binding/rebinding as members come and go. There may be regular non-HA versions of the HARMIServerImpl that will do the trick for ya, but i wouldn't know (we require 100% of our stuff to be HA) Hope that helps, and wasn't too confusing. oh, and in case you were not aware, the JNDI tree is basically just a big map of serialized data. There's no magic there. Trying to store your MBean's "this" in that map would not really work, when the client did the lookup they'd get the entire class down at their end in the client vm. Think of it like Suspend mode on your laptop. You tell the JNDI server to store something, and he takes a snapshot in time and stores it in memory, then hands that back to all who ask. The fancy remote-magic type stuff is in the RMI (or any invoker) layer. For this reason, any RMI type stub you store in JNDI for clients to use, must be re-bound if something changes about it. Otherwise the clients get the old snapshot in time. Extremely important on HA services, as the old version might be holding a reference to a bunch of turned off servers, thereby making stuff not quite so HA. ok, too much cafine, good luck with your project View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835620#3835620 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835620 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Re: How to save JSP Page to Excel w/ JBoss 3.2.2. Help pls..
hello guys! M sori it took a while for me to check and test your ideas. I've been out of office for almost a month, I had a short vacation and after a training. Anyway, can you give me (if possible) a sample code. Should I issue clear buffer every end of the line? How would I assure that the content type of my generated java source file has been set successfully. I tried some of your scripts, still I wasn't to get my desired result. Are there any necessary configurations neede at JBoss for this matter? Thanks. maccoy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835619#3835619 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835619 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Error Msg while installing JBoss
When I posted a link on how to use the JBoss forums, I meant for you to post more information, not post in the beginners forum. Your post contains no useful information, it mentions neither a jboss error message or a jboss stacktrace. i.e. what is HL7ToQueueMsgAdaperService? - it is certainly not a part of jboss. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835618#3835618 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835618 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Invalid Transaction ID Error
Yes, I will add it for 3.2.4 (after some testing of my own). Let me know how the XA tests go. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835617#3835617 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835617 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem with rolling back transactions with JBoss 3.2.3
That is because you are still allocating the connection in ejbCreate() If you really want to do this (I don't recommend it) you need to: 1) Change deploy/transaction-service.xml to have SpecComplaint=true 2) Define a resource-ref for your ejb that has something like the following example taken from the testsuite (NOTE the Unshareable): ejb-jar.xml | ... | | | UnshareableStateful | | org.jboss.test.jca.interfaces.UnshareableConnectionStatefulLocalHome | | org.jboss.test.jca.interfaces.UnshareableConnectionStatefulLocal | | org.jboss.test.jca.ejb.UnshareableConnectionStatefulBean | | Stateful | | Bean | | jdbc/DataSource | javax.sql.DataSource | Container | Unshareable | | | | ... | jboss.xml | ... | | UnshareableStateful | | jdbc/DataSource | java:/MySQLDS | | | ... | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835616#3835616 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835616 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)
Hi again, I've deployed my personal login class in a jar file in the specified JBoss lib directory. I can see (in debug mode) that it goes throw the initilize() method, but that's all !!! No getUsersPassword() ou getRoleSets() are called ! When I try to connect, I have this error in the log file. I find very strange the calls to the "original" principalsQuery and rolesQuery... Will thoses queries be used or my personal ones ? And I don't undestand what is going wrong with this CallbackHandler... Hope someone can help me, | 2004-05-20 01:44:18,468 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] initialize | 2004-05-20 01:44:18,468 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] DatabaseServerLoginModule, dsJndiName=java:/DefaultDS | 2004-05-20 01:44:18,468 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] principalsQuery=select Password from Principals where PrincipalID=? | 2004-05-20 01:44:18,468 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] rolesQuery=select Role, RoleGroup from Roles where PrincipalID=? | 2004-05-20 01:44:47,060 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] DatabaseServerGroupLoginModule, dsJndiName=java:/DefaultDS | 2004-05-20 01:44:49,283 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] userQuery=SELECT UserId, Password FROM Users WHERE UserName = ? | 2004-05-20 01:44:53,068 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] roleQuery=SELECT R.RoleId, R.Name, G.Name FROM Roles R, GroupsRolesLink GRL, Groups G, Users_Groups_Link UGL WHERE R.RoleId = GRL.RoleId AND GRL.GroupId = G.GroupId AND G.GroupId = UGL.GroupId AND UGL.UserId = ? | 2004-05-20 01:46:06,434 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] login | 2004-05-20 01:46:06,434 TRACE [org.jboss.security.auth.spi.DatabaseServerGroupLoginModule] abort | 2004-05-20 01:46:06,444 DEBUG [org.jboss.security.plugins.JaasSecurityManager.FootBet] Login failure | javax.security.auth.login.LoginException: Error: no CallbackHandler available to collect authentication information | at org.jboss.security.auth.spi.UsernamePasswordLoginModule.getUsernameAndPassword(UsernamePasswordLoginModule.java:200) | at org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:134) | ... | Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835615#3835615 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835615 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: curious SQL-Statements when loading related data
anonymous wrote : Is this perhaps a bug ? Why is everyone so obsessed with blaming any problem on a bug at the moment? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835614#3835614 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835614 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
Thanks a lot for the help. I appreciate the time you spent on it. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835613#3835613 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835613 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
Try to add | * @jboss.persistence | * datasource-mapping="mySQL" | * table-name = [Same as the schema] | in each entity header. Anyway, even if you change the database, you must specify the correct database-mapping or you will experiment problems with data types. Good luck, I go to sleep now. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835612#3835612 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835612 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
I don't really know if I'm defining the mappings correctly or not. I'm not anywhere near experienced enough with JBoss to give a definate answer. I've used the default configurations for the mappings though. I can test this with MSDE/MSSQL and see if I have the same problem with MSSQL. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835611#3835611 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835611 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
No, I'm using MSSQL2000 (for the current test), Oracle and sometimes DB2. I'm not sure it is a MySQL issue. I'm surprise that you don't have any @jboss.persistence tag in the bean's header. Do you correctly define the datasource-mapping to "mySQL" ? Perhaps the problem is in this way, because as you says, you replace the hsqldb database with mySQL. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835610#3835610 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835610 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
I'm not quite sure which configuration you would like to see. But I also believe it's a mysql configuration issue, and not a JBoss CMP engine issue. Are you using a MySql back end with your applications? If so, how do you have your standardjbosscmp-jdbc.xml, mysqlds-jdbc2-service.xml, and your mysql-ds.xml files configured? I'm almost sure the problems I'm having have more to do with the way the database is being handled rather than the way the beans are coded. Do you know if relationships require subqueries? I know there are some transactional type things that the current version of mysql does not support. I may try to upgrade to the devel version which does support them but is not stable. The appropriate sections from ejb-jar.xml and jboss.xml are below. ejb-jar.xml | | | User Management Bean | | UserManagement | | com.janderson.interfaces.UserManagementHome | com.janderson.interfaces.UserManagement | com.janderson.ejb.UserManagementBean | Stateless | Container | | | ejb/cmptutorial/User | Entity | com.janderson.interfaces.UserLocalHome | com.janderson.interfaces.UserLocal | User | | | ejb/cmptutorial/UserInfo | Entity | com.janderson.interfaces.UserInfoLocalHome | com.janderson.interfaces.UserInfoLocal | UserInfo | | | ejb/cmptutorial/Role | Entity | com.janderson.interfaces.RoleLocalHome | com.janderson.interfaces.RoleLocal | Role | | | ejb/cmptutorial/Group | Entity | com.janderson.interfaces.GroupLocalHome | com.janderson.interfaces.GroupLocal | Group | | | | | | | User EJB | | User | | com.janderson.interfaces.UserLocalHome | com.janderson.interfaces.UserLocal | | com.janderson.ejb.UserBean | Container | java.lang.String | true | 2.x | UserBean | | | email | | | | password | | | | userInfo | | | | roles | | | | groupMembership | | email | | | |findAll | | | | | | | | | | Group EJB | | Group | | com.janderson.interfaces.GroupLocalHome | com.janderson.interfaces.GroupLocal | | com.janderson.ejb.GroupBean | Container | java.lang.String | false | 2.x | Group | | | users | | | | groupname | | | | description | | groupname | | | |findAll | | | | | | | | And the jboss.xml | | User | UserLocal | | | | Group | GroupLocal | | | | | UserManagement | ejb/cmptutorial/UserManagement | | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835609#3835609 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835609 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
anonymous wrote : | You were right about the part of the above code that comes after the else part of the if statement. That code will not set anything in the database. I just haven't gotten far enough along to fix it because I'm still working on getting this relationship right. Since the Collection of users pulled from the data source is null, this code isn't executed anyway. | It's false. A collection is never null but empty. So you must test the size or the isEmpty property. So you always falls in the else clause. I was wrong too. I read again the spec and the add method on the collection work. So you can always call "group.getUsers().add(user);" I test exactly your config and it's work fine for me. Perhaps its a transaction configuration issue. How are configured your beans ? Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835608#3835608 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835608 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: java.lang.ClassCastException
I don't know very much about CMR, I'm learning that now. But I think the ClassCastException could possibly come from these lines: Collection col = myBean.getAllDocumentByCategoryId(11); -SNIP EDocuments element = ((EDocuments) iter.next()); Unless you can guaruntee that every item in the collection returned by getAllDocumentsByCategoryId is of type Edocuments, or can be cast to type Edocuments. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835606#3835606 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835606 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - 3.2.3 IllegalAccessError on private inner class
We have an EJB that works fine under 2.4.3. I'm moving our environment to 3.2.3 (finally!). This EJB has a private inner class (tried making it public, no difference.) It compiles and deploys fine, but at runtime I get this error: 2004-05-19 17:31:24,105 ERROR [org.jboss.ejb.plugins.LogInterceptor] Unexpected Error: java.lang.IllegalAccessError: tried to access class com.masergy.ejb.billing.BillingBean$LocalTierUpdateData from class com.masergy.ejb.billing.BillingBean at com.masergy.ejb.billing.BillingBean.generateTiered95thRecords(BillingBean.java:1340) At this line of code, it is trying to construct an object of the inner class LocalTierUpdateData. I worked around this by just creating a separate public class in the same package. But why would an inner class get an illegal access error? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835607#3835607 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835607 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: NoRouteToHostException on standalone Win@K box
In case anyone's having this problem, here's how I got around it. I'm still using JBoss 4 (don't know if this fixes for JBoss 3, but I'm assuming it will). I've borrowed a hub from a friend, and basically used a network cable to connect my Win2K box and the hub. The Win2K box now happily thinks it's on the network, and can find the JBoss server. I'm assuming its a fault with Win2K, but I can live with this. Even if my friend wants his hib back, hubs are cheap. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835602#3835602 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835602 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: EJB Deployment failure in JBoss 4.0.0 DR3
OK, here are more details. I have an EAR file (bpserver.ear) which contains two jar files: bpserver.jar, containing the server code bpserver-test.jar, containing JUnit test cases and a single EJB which is used to execute the test cases within the JBoss server The application.xml looks like | http://java.sun.com/dtd/application_1_3.dtd";> | | BPlan Server | Server for the BPlan system. | | bpserver.jar | | | bpserver-test.jar | | I can include the deployment descriptors for the two JAR files, but one is fairly lengthy. So I'll provide those if asked. When I attempt to deploy my EAR file in 4.0.0 DR3, I get the following exception: 16:08:10,462 INFO [MainDeployer] Starting deployment of package: file:/D:/jboss/server/bpserver/deploy/bpserver.ear | 16:08:10,472 INFO [EARDeployer] Init J2EE application: file:/D:/jboss/server/bpserver/deploy/bpserver.ear | 16:08:11,013 INFO [EjbModule] Deploying TaskBean | 16:08:11,183 INFO [EjbModule] Deploying SubtaskAssignBean | 16:08:11,203 INFO [EjbModule] Deploying UserBean | 16:08:11,273 INFO [EjbModule] Deploying DataBean | 16:08:11,293 INFO [EjbModule] Deploying SequenceGeneratorBean | 16:08:11,313 INFO [EjbModule] Deploying AdministrationBean | 16:08:11,654 WARN [EJBDeployer] Verify failed; continuing | java.lang.NoClassDefFoundError: com/bh/bplan/ejbtest/EJBTestCase | at java.lang.Class.getDeclaredMethods0(Native Method) | at java.lang.Class.privateGetDeclaredMethods(Class.java:1647) | at java.lang.Class.getDeclaredMethod(Class.java:1254) | at org.jboss.verifier.strategy.AbstractVerifier.hasFinalizer(AbstractVerifier.java:589) | at org.jboss.verifier.strategy.EJBVerifier20.verifySessionBean(EJBVerifier20.java:1100) | at org.jboss.verifier.strategy.EJBVerifier20.checkSession(EJBVerifier20.java:92) | at org.jboss.verifier.BeanVerifier.verify(BeanVerifier.java:162) | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:483) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:810) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:672) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636) | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:168) | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:469) | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:174) | at $Proxy7.deploy(Unknown Source) | at org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:303) | at org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:477) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.loop(AbstractDeploymentScanner.java:212) | at org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.run(AbstractDeploymentScanner.java:191) | 16:08:11,744 ERROR [MainDeployer] could not create deployment: file:/D:/jboss/server/bpserver/tmp/deploy/tmp6446bpserver.ear-contents/bpserver-test.jar | org.jboss.deployment.DeploymentException: Verification of Enterprise Beans failed, see above for error messages. | at org.jboss.ejb.EJBDeployer.create(EJBDeployer.java:499) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:818) | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:810) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:672) | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:636) | at sun.reflect.GeneratedMethodAccessor18.invoke(Unknown Source) | at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) | at java.lang.reflect.Method.invoke(Method.java:324) | at org.jboss.mx.server.ReflectedDispatcher.dispatch(ReflectedDispatcher.java:74) | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:45) | at org.jboss.mx.server.Invocation.invoke(Invocation.java:70) | at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMB
[JBoss-user] [Persistence & CMP/JBoss] - Re: curious SQL-Statements when loading related data
Hi, It looks like you are playing with eager and lazy loading options. As far I as know, nobody here has seen this problem. I use myself JBoss 3.2.3 and all the fields are loaded in one shot. Give us more details about the JBoss version and perhaps your descriptors. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835600#3835600 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835600 --- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
Okay, let me try to break the problem down completely. The problem lies within these three sections of code. The addUser method: | public void addUser(String email, String password, String firstName, String middleName, | String lastName, String dept, String workPhone, String extension, | String homePhone, boolean isEmployee){ | try{ | UserLocal user = userHome.create(email,password); | UserInfoLocal info = userInfoHome.create(firstName, middleName, lastName, email, dept, | workPhone, extension, homePhone, isEmployee); | user.setUserInfo(info); | info.setUser(user); | }catch(CreateException e){ | throw new EJBException("addUser(String,String): Failed to add user " + | email +". Message: " + e.getMessage()); | } | } | Okay, forget the UserInfo stuff entirely. When the following section of code, taken from the snippet above executes, a row is created in my datasource. | UserLocal user = userHome.create(email,password); | The row this creates in my datasource looks like email= [EMAIL PROTECTED] passsword= password groupMembership= NULL For now, groupMembership is null, and this is fine because we don't have any groups created yet, and this user doesn't belong to any groups. Now we create a group with the following section of code: | | public void addGroup(String groupname, String description){ | try{ | GroupLocal group = groupHome.create(groupname, description); | }catch(CreateException e){ | e.printStackTrace(); | throw new EJBException("UserManagementBean.addGroup. The group " + groupname + " already"+ | " exitsts. Message: " + e.getMessage()); | } | } | After the create method is called there is a row added to the XGroup table of my datasource. This row looks like. groupname= group1 description= Some description string users= NULL For now the users column of this row is NULL because this group has no users assigned to it yet. That comes next. Now we add a user to the group with: | public void moveUserToGroup(String email, String groupname){ | try{ | UserLocal user = userHome.findByPrimaryKey(email); | GroupLocal group = groupHome.findByPrimaryKey(groupname); | Collection users = group.getUsers(); | if(users == null){ | ArrayList al = new ArrayList(50); | al.add(user); | group.setUsers((Collection) al); | }else{ | group.getUsers().add(user); | } | }catch(FinderException e){ | throw new EJBException("UserManagementBean.moveUserToGroup. Entity " + email +" or " + | groupname + " not found. Message: " + e.getMessage()); | } | } | This line: | Collection users = group.getUsers(); | Should return the contents of table XGroup column users of the current row. Since there are no users yet in this group, the Collection returned is null. So a new Collection is created, the specified user is added to the new collection, and the new collection is set with the line: | group.setUsers((Collection) al); | You were right about the part of the above code that comes after the else part of the if statement. That code will not set anything in the database. I just haven't gotten far enough along to fix it because I'm still working on getting this relationship right. Since the Collection of users pulled from the data source is null, this code isn't executed anyway. Anway, back to topic: Now we have created a user a group and have added a user to a group. Let's look at the database tables Table: user email =[EMAIL PROTECTED] password = password groupMemberships =NULL Table XGroup: groupname = group1 description = some description string users = ~i As we can see, a user was added to XGroup:users collection, but the relationship did not automatically update the users:groupMemberships field with the a Group object. That is the problem that I've been having. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835
[JBoss-user] [JCA/JBoss] - Re: Problem with rolling back transactions with JBoss 3.2.3
Here is the DB logs. I see an autocommit=1 and no transaction markers, so that is why it is not rolling back. Any idea why? 040519 15:43:23 17 Connect [EMAIL PROTECTED] on eCity | 17 Init DB ecity | 17 Query select round('inf'), round('-inf'), round('nan') | 17 Query SHOW VARIABLES | 17 Query SET autocommit=1 | 17 Query SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ | 17 Query Select * from test | 18 Connect [EMAIL PROTECTED] on eCity | 18 Init DB ecity | 18 Query select round('inf'), round('-inf'), round('nan') | 18 Query SHOW VARIABLES | 18 Query SET autocommit=1 | 18 Query SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ | 19 Connect [EMAIL PROTECTED] on eCity | 19 Init DB ecity | 19 Query select round('inf'), round('-inf'), round('nan') | 19 Query SHOW VARIABLES | 19 Query SET autocommit=1 | 19 Query SET SESSION TRANSACTION ISOLATION LEVEL REPEATABLE READ | 19 Query insert into test values ('test1') | 19 Query insert into test2 values ('test2') View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835579#3835579 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835579 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes-ds.xml deploy fail
i don't see anything wrong w/ that datasource (altho where did you get the driver from? that is not the default value that is generated via the build). where did you get your "jboss install"? have you modified any of the configuration files under conf? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835580#3835580 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835580 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: load-repository to a acheive ear isolation(deployment ba
Two things make me think that this error is caused by the ear: 1) I only get the error when I have the loader-repository specified in the ear 2) The error messages show up while deploying the ear | 2004.05.18 07:25:07.890 EDT INFO [org.jboss.deployment.MainDeployer] Deployed package: file:/C:/khub/JBossEval/jboss/server/lms1/deploy/deploy.last/ | | 2004.05.18 07:25:07.890 EDT INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/c:/khub/JBossEval/deploy/lms | | 2004.05.18 07:27:37.953 EDT INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/c:/khub/JBossEval/deploy/lms/dave.ear/ | | 2004.05.18 07:27:38.062 EDT INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/c:/khub/JBossEval/deploy/lms/dave2.ear/ | | 2004.05.18 07:27:38.140 EDT INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/c:/khub/JBossEval/deploy/lms/kauthor.ear/ | | 2004.05.18 07:27:38.171 EDT WARN [org.jboss.deployment.DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=LoaderRepositoryConfig(repositoryName: lmnk:loader=kauthor.ear, repositoryClassName: org.jboss.mx.loading.HeirachicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegaton=true) | | 2004.05.18 07:27:38.687 EDT INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/c:/khub/JBossEval/deploy/lms/lms.ear/ | | 2004.05.18 07:27:38.750 EDT WARN [org.jboss.deployment.DeploymentInfo] Only the root deployment can set the loader repository, ingoring config=LoaderRepositoryConfig(repositoryName: lmnk:loader=lms.ear, repositoryClassName: org.jboss.mx.loading.HeirachicalLoaderRepository3, configParserClassName: org.jboss.mx.loading.HeirarchicalLoaderRepository3ConfigParser, repositoryConfig: java2ParentDelegaton=true) | | 2004.05.18 07:27:44.734 EDT INFO [STDOUT] May 18, 2004 7:27:44 AM java.util.jar.Attributes read | | So, the question remains, what qualifies as a top level deployment? Is an ear a top level deployment? The documentation clearly states that this is the appropriate approach to getting scoped classloading. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835581#3835581 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835581 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: load-repository to a acheive ear isolation(deployment ba
Just to be clear, this is what I'm attempting to do, from page 71 of JBossBook_322.pdf: To enable an EAR specific loader repository, you need to create a META-INF/jboss-app.xml descriptor as shown in Listing 2-10LISTING 2-10. An example jboss-app.xml descriptor for enabled scoped class loading at the ear level. some.dot.com:loader=webtest.earThe value of the loader-repository element is the JMX ObjectName to assign to the repository created for the EAR. This must be unique and valid JMX ObjectName, but the actual name is not important. In doing this, I get the aforementioned error. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835582#3835582 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835582 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - using eclipse and lomboz to make EJB problem
I'm using Eclipse+lomboz develop EJB on Jboss.eclipse alway generate ejb-jar.xml and jboss.xml automatically.but I need to customaize these files.I saw somebody put /* [EMAIL PROTECTED] int the code,which can change this file.but I don't like this way.since these are configuration infomation,I don't want it mix up with source code. is there any way to edit ejb-jar.xml and jboss.xml and when generate and deploy,eclipse don't override them? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835583#3835583 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835583 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: Forums admin security and roles
Does this mean that I should create a "moderator" group, assign people to that moderator group and then update the jboss-service.xml file? | | "cooper" wrote : The group for the forums are specified in the Nukes security which is defined in the jboss-service.xml of the Core module and is saved in the database. | | For instance : | | | | | | | | It will give the moderator role on all the forums for the users in the JBoss-forums group. You can change the target category/forum in the instance pattern. Example : instance-pattern="(a|b):.*:" will specify all the forums in the category a or b. | | Obviously Nukes lacks a security rule editor, because you have to modify the security attribute through the JMX-console. | | julien View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835584#3835584 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835584 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Bean not found for relation
You can have your entities in different jars, no problem. Do you have the beans defined in different deployment descriptors? You can't have separate dds . Both beans have to be defined in the same dd if you have a cmr relationship between them. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835585#3835585 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835585 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Value object use
No you are not crazy, sorry. I looked very fast the example (1s) and I read @ejb.persistent-field everywhere (optical effect). So, the error says that nothing was generated by XDoclet (My understanding is that the value object tag will generate extra classes). Do you define a valueobject tag in the Xdoclet build file ? I use myself JBoss IDE and I can see a valueobject task in the list (XDoclet configuration). Also, I see one difference with the example: you don't give the name of the value object. anonymous wrote : If you don't use value object, how do you get the values of your entity beans in your views(JSP, etc...) ? | I use Struts for my views, so I encapsulate all my EJB's calls on a MBean component called by the action servlet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835586#3835586 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835586 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - curious SQL-Statements when loading related data
I have existing database tables for order and /line item. Orders are in Table afsta represented by EB Afsta, line items are in Table afpos represented by EB Afpos. Afsta has afstaSerial as PK, Afpos has afposSerial as PK and afstaSerial as FK. In server.log I found this lines: [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadRelationCommand.Afsta.execute] load relation SQL: SELECT afpos_serial FROM AFPOS WHERE (afsta_serial=?) [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Afpos.execute] Executing SQL: SELECT afpos_serial, var_id FROM AFPOS WHERE (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Afpos.execute] Executing SQL: SELECT afpos_serial, tst_nr FROM AFPOS WHERE (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) [org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.Afpos.execute] Executing SQL: SELECT afpos_serial, var_fam_nr FROM AFPOS WHERE (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) OR (afpos_serial=?) and so on. First the keys are ascertained and then the rows should be loaded. But every access to afpos loads only one additional field (var_id, tst_nr, var_fam_nr, ...). At the end, the whole data is there, but this is not very fast. Any ideas ? Is this perhaps a bug ? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835587#3835587 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835587 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: using eclipse and lomboz to make EJB problem
Lomboz is generating the XDoclet that prefixes your classes and methods. This is where you have to do the changes if you want to change the dd. If you don't like it you have to leave Lomboz and XDoclet behind and make the dd by hand. /Goran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835588#3835588 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835588 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: ORA-01786: FOR UPDATE of this query expression is not al
One reason for the "for update" clause would be a config line in standardjbosscmp-jdbc.xml /jbosscmp-jdbc.xml: true View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835589#3835589 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835589 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: curious SQL-Statements when loading related data
This is not a bug. It is the way JBoss is doing it. Please see, http://www.jboss.org/index.html?module=bb&op=viewtopic&t=49517 /Goran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835590#3835590 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835590 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
Hi, I'm not sure I understand all your thinking. In the first post, you say that when you insert a new collection, it works (what's your code do). I'm not sure that "group.getUsers().add(user)" works. The spec says that only the setter wil update the ejb, not the add method on the collection. And you says also that when you set the User objects GroupMembership field with a GroupLocal object, it not works (collection is empty). This is exactly the opposite of what you are saying in the last post (because your moveUserToGroup method use the users collection setter on the Group bean). If I compare my application to yours, It's like using setGroupMembership in a loop (I add each order line to the order). I add a test line on the loop getting the collection (order lines of order for me), and I verify that the collection grows according to the number of order lines I added. So, post the exact code which cause the problem. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835591#3835591 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835591 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: curious SQL-Statements when loading related data
I think you misunderstood the problem description. My problem is not the where clause of the statement. The problem is, that the first access gets the PK-field plus first additional field, the second access reads the same rows, but know the PK-field plus second additional field, and so on and so on. I expected 5 select to read the 84 rows with max 20 at a time (4x20+1x4). Instead I get 315 selects (factor 63 because of 63 additional columns in afpos). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835595#3835595 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835595 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - running jboss over nfs mounts
has anyone had any experience running jboss over nfs mounted directories? does it work well, does it cause problems, is it even recommended? i've seen some posts specific to jbossmq, but nothing else (did a search on nfs). View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835594#3835594 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835594 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
Sesques, Thank you for taking an interest in this quirky little problem. Here is some background and relevant source. To setup MySQL, I removed the $JBOSS_HOME/server/default/deploy/jms/hsqldb-jdbc2-service.xml and replace it with the mysql-jdbc2-service.xml. I changed the name= tag in the mysql file to reflect the name I wanted to give to this datasource in JNDI. I made a mysql-ds.xml file that establishes connectivity and uses the default mappings from standardjbosscmp-jdbc.xml. There is the source of the UserBean w/ XDoclet Tags. | /* | * Created on May 7, 2004 | * | * To change the template for this generated file go to | * Window>Preferences>Java>Code Generation>Code and Comments | */ | package com.janderson.ejb; | | import java.rmi.RemoteException; | | import javax.ejb.EJBException; | import javax.ejb.EntityBean; | import javax.ejb.EntityContext; | import javax.ejb.RemoveException; | import javax.ejb.CreateException; | import com.janderson.interfaces.UserInfoLocal; | | /** | * @author janderson | * | * @ejb.bean | * name = "User" | * display-name = "User EJB" | * description = "Getters and Setters for User" | * view-type = "local" | * primkey-field = "email" | * jndi-name = "ejb/cmptutorial/User" | * type = "CMP" | * cmp-version = "2.x" | * reentrant = "true" | * schema ="UserBean" | * | * | * @ejb.finder | * query = "SELECT Object(o) FROM UserBean o" | * signature = "java.util.Collection findAll()" | * unchecked = "true" | * | * | * | * To change the template for this generated type comment go to | * Window>Preferences>Java>Code Generation>Code and Comments | */ | public abstract class UserBean implements EntityBean { | | | public UserBean() { | super(); | | } | | /** | * @ejb.persistence | * @ejb.pk-field | * @ejb.interface-method | * view-type = "local" | * @return | */ | public abstract String getEmail(); | /** | * @ejb.interface-method | * view-type = "local" | * @param email | */ | public abstract void setEmail(String email); | /** | * @ejb.persistence | * @ejb.interface-method | * view-type = "local" | * @return | */ | public abstract String getPassword(); | /** | * @ejb.interface-method | * view-type = "local" | * @param password | */ | public abstract void setPassword(String password); | /** | * @ejb.interface-method | * view-type = "local" | * @ejb.persistence | * @ejb.relation | * name = "GroupsHaveUsers" | * target-ejb = "Group" | * role-name = "UsersInGroup" | * target-multiple = "yes" | * cascade-delete = "no" | * target-cascade-delete = "no" | * target-role-name = "GroupHasUsers" | * | * @jboss.relation | * related-pk-field = "groupname" | * fk-column = "groupname" | * | * | * @return | */ | public abstract com.janderson.interfaces.GroupLocal getGroupMembership(); | /** | * @ejb.interface-method | * view-type = "local" | * @param roles | */ | public abstract void setGroupMembership(com.janderson.interfaces.GroupLocal groupmembership); | /** | * @ejb.create-method | * @param email | * @param password | * @return | * @throws CreateException | */ | public String ejbCreate(String email, String password) throws CreateException{ | setEmail(email); | setPassword(password); | return null; | } | | public void ejbPostCreate(String email, String password){} | | | | public void ejbActivate() throws EJBException, RemoteException { | | } | public void ejbLoad() throws EJBException, RemoteException { | | } | | public void ejbPassivate() throws EJBException, RemoteException { | | } | public void ejbRemove() | throws RemoveException, EJBException, RemoteException { | } | public void ejbStore() throws EJBException, RemoteException { | } | public void setEntityContext(EntityContext arg0) | throws EJBException, RemoteException { | | } | public void unsetEntityContext() throws EJBException, RemoteException { | | | } | | } | Here is the code /w XDoclet tags for the GroupBean. | /* | * Created on May 12, 2004 | * | * To change the template for this generated file go to | * Window>Preferences>Java>C
[JBoss-user] [HTTPD, Servlets & JSP] - struts ClassCastException upon hot deploy
My web-app runs great when first starting JB. After making src changes to my web-app, I build, and redploy using ant. I then attempt to test my changes by going down the exact same html:link navigation as before, only to receive a ClassCastException from org.apache.util.RequestUtils.createActionForm(RequestUtils.java: 777) Any pointers would be greatly appreciated. JB 3.2.3 JDK 1.4.2 Thanks in advance View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835577#3835577 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835577 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Value object use
I am not crazy ?! | * @ejb.value-object | * name="Customer" | * match="*" | * | * @ejb.value-object | * name="CustomerLight" | * match="light" | */ | public abstract class CustomerEJB implements EntityBean { | | ... | | /** | * @ejb.interface-method | */ | public abstract CustomerValue getCustomerValue(); | | /** | * @ejb.interface-method | */ | public abstract CustomerLightValue getCustomerLightValue(); | | /** | * @ejb.interface-method | */ | public abstract void setCustomerValue(CustomerValue value); This code snippet from xdoclet example doesn't imply any CMP(ejb.persistence ?) or CMR(ejb.relation ?) fields. And this example reflects exactly what I want : get the value object of the entity bean itself. anonymous wrote : When I look at the code snippet given as example in SourceForge for the Value Object tag, I can see that each getter and setter pairs are defined as CMP or CMR fields. Yes, for the persistent fields but not for the three last methods given before. anonymous wrote : The error says that the getLanguageValue method do not correspond to a CMP or a CMR field, which is the case in your code. I know the signification of the exception but regarding the xdoclet example I have just to define this abstract methods. anonymous wrote : I never use the value object pattern, and of course the Xdoclet tag. If you don't use value object, how do you get the values of your entity beans in your views(JSP, etc...) ? Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835576#3835576 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835576 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Re: nukes-ds.xml deploy fail
Can I post mine? exactly the same problem... | | | | NukesDS | jdbc:mysql://localhost:3306/nukes | com.mysql.jdbc.Driver | nukes | nukes | | View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835575#3835575 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835575 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: Problem with rolling back transactions with JBoss 3.2.3
Thanks for the quickly reply. I put on the tracing as recommended and here is the rollback section: 2004-05-19 14:19:36,814 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] supplying ManagedConnection from pool: [EMAIL PROTECTED] 2004-05-19 14:19:36,814 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Getting connection from pool [InUse/Available/Max]: [1/3/20] 2004-05-19 14:19:36,814 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] registering connection from [EMAIL PROTECTED], connection : [EMAIL PROTECTED], key: null 2004-05-19 14:19:36,814 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] new stack for key: [EMAIL PROTECTED] 2004-05-19 14:19:36,824 TRACE [org.jboss.tm.TxManager] tx timeout is now: 0s 2004-05-19 14:19:36,824 TRACE [org.jboss.tm.TransactionImpl] Created new instance for tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=kelly//19, BranchQual=] 2004-05-19 14:19:36,824 TRACE [org.jboss.tm.TxManager] began tx: TransactionImpl:XidImpl [FormatId=257, GlobalId=kelly//19, BranchQual=] 2004-05-19 14:19:36,824 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] user tx started, key: [EMAIL PROTECTED] 2004-05-19 14:19:36,904 TRACE [org.jboss.tm.TransactionImpl] rollback(): Entered, tx=TransactionImpl:XidImpl [FormatId=257, GlobalId=kelly//19, BranchQual=] status=STATUS_ACTIVE 2004-05-19 14:19:36,904 TRACE [org.jboss.tm.TxManager] rolled back tx: TransactionImpl:XidImpl [FormatId=257, GlobalId=kelly//19, BranchQual=] 2004-05-19 14:19:36,904 INFO [STDOUT] Rollback and Closing connection 2004-05-19 14:19:36,904 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] connectionClosed called 2004-05-19 14:19:36,904 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] unregistering connection from [EMAIL PROTECTED], object: [EMAIL PROTECTED], key: [EMAIL PROTECTED] 2004-05-19 14:19:36,904 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] unregisterConnection: 0 handles left 2004-05-19 14:19:36,904 TRACE [org.jboss.resource.connectionmanager.TxConnectionManager] delisting currenttx: null, ManagedConnection: [EMAIL PROTECTED] 2004-05-19 14:19:36,904 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] putting ManagedConnection back into pool 2004-05-19 14:19:36,904 TRACE [org.jboss.resource.connectionmanager.JBossManagedConnectionPool] Returning connection to pool [InUse/Available/Max]: [0/3/20] 2004-05-19 14:19:36,904 TRACE [org.jboss.resource.connectionmanager.CachedConnectionManager] popped object: [EMAIL PROTECTED] 2004-05-19 14:19:36,904 INFO [STDOUT] closing connection 2004-05-19 14:19:36,904 ERROR [org.jboss.ejb.plugins.LogInterceptor] EJBException: javax.ejb.EJBException: Transaction failed: Invalid argument value, message from server: "Duplicate entry 'test2' for key 1" at tutorial.ejb.FiboBean.compute(FiboBean.java:82) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.ejb.StatelessSessionContainer$ContainerInterceptor.invoke(StatelessSessionContainer.java:683) at org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185) at org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:84) at org.jboss.ejb.plugins.AbstractTxInterceptorBMT.invokeNext(AbstractTxInterceptorBMT.java:144) at org.jboss.ejb.plugins.TxInterceptorBMT.invoke(TxInterceptorBMT.java:62) at org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor.invoke(StatelessSessionInstanceInterceptor.java:72) at org.jboss.ejb.plugins.SecurityInterceptor.invoke(SecurityInterceptor.java:118) at org.jboss.ejb.plugins.LogInterceptor.invoke(LogInterceptor.java:191) at org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invoke(ProxyFactoryFinderInterceptor.java:122) at org.jboss.ejb.StatelessSessionContainer.internalInvoke(StatelessSessionContainer.java:331) at org.jboss.ejb.Container.invoke(Container.java:700) at java.lang.reflect.Method.invoke(Native Method) at org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284) at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546) 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:100) at org.jboss.proxy.ClientContainer.invoke(ClientContainer.java:85) at $Proxy33.compute(Unknown Source) at tutorial.web.ComputeServlet.doPost(ComputeServle
[JBoss-user] [HTTPD, Servlets & JSP] - Re: Local JBoss http 500 Error. Web Host JBoss no Problem
I am using this URL for the local host http://localhost:8080/servlet/SmallWebAppServlet And I am using this one for the web host http://America-3.org/servlet/SmallWebAppServlet Thanks George View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835572#3835572 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835572 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)
Thanks for the quick answers ;-))) View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835571#3835571 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835571 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Bean not found for relation
Hi, Based on the PetStore I've got the following CMP EntityBeans Order & OrderItem -> both packaged in order-ejb.jar Category & Product & Item -> packaged in catalog-ejb.jar And OrderItem has a link to Item (both CMPs are in a different jar). Both jars are put into a .ear file and when I deploy it in JBoss 3.2.3 I've got the following exception: DeploymentException: Entity: ItemBean not found for relation: orderItem-item Here is part of the ejb-jar.xml file orderItem-item orderItem-refers_to-item Many OrderItemBean item item-is_refered_by-orderItems One ItemBean Because OrderItem has a link to Item which is in different jar file I've added in the classpath of the Manifest (of order-ejb.jar) the catalog.jar file. But it still doesn't work. Is there any issue due to the seperate jars ? Thanks, Antonio View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835569#3835569 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835569 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Results missing in ejb-ql in jboss 3.2.3
Hi, I think that you cannot use CMR fields for this query. Using CMR fields force the container to join the tables, so the null values are omitted. In fact, testing null values on foreign keys is similar to testing values on CMP fields. I think you have 2 major solutions: 1) Add CMP fields for all the foreign keys (choose a different name from the corresponding CMR) and test the null value on the CMP fields. 2) Try to override the EJB-QL mapping with a DeclareSQL statement (I never test it but it is designed to desperate hopeless. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835568#3835568 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835568 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Re: Extending DatabaseServerLoginModule... (urgent)
Hi, you can find DatabaseServerLoginModule class in jbosssx.jar (in /lib directory). For your second question I created a personal JAR file (with MyDatabaseServerLoginModule class + other classes) that I put in /lib directory. Then I restarted JBoss. I don't know if this is the correct way of doing it ... in any case it works :-) Moreno View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835567#3835567 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835567 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Nukes User] - Link type in Manage HTML module
Hi, I don't understand the behavior of the LINK type objet in the MANAGE HTML module. I believed that make a redirect to the designated target but NOT. Thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835566#3835566 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835566 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Issue with DTD ??
Is there an issue with the DTDs for the JBoss specific DDs? I've got an Ant XSLT task that processes them and is trying to resolve the external URI, get the following error: [xslt] E:/rates/services/generated-conf/domain/META-INF/jbosscmp-jdbc.xml:2: Fatal Error! External entity not found: "http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";. cheers Simon View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835565#3835565 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835565 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Results missing in ejb-ql in jboss 3.2.3
Hi, I have a problem with ejb-ql and IS NULL expression combined with '=' expression. What I'm trying to do in pure SQL is quite complex by here here it is: select id from article_byline where product_id=1 and (section_id is null or section_id=1) and (article_type_id is null or article_type_id=1) and (article_part_id is null or article_part_id=1); and this is the xdoclet that I'm using: * @jboss.query * signature = "java.util.Collection findByInheritance(int productId, int sectionId, int articleTypeId, int articlePartId)" * query = "SELECT OBJECT(abl) FROM ArticleByline AS abl WHERE abl.product.id = ?1 AND * (abl.section IS NULL OR abl.section.id = ?2) AND * (abl.articleType IS NULL OR abl.articleType.id = ?3) AND * (abl.articlePart IS NULL OR abl.articlePart.id = ?4) ORDER BY abl.id" which results in the following query by jboss: SELECT t0_abl.id, t0_abl.id FROM article_byline t0_abl, product t1_abl_product, section t2_abl_section, article_type t3_abl_articleType, article_part t4_abl_articlePart WHERE (t1_abl_product.id = 1 AND (t0_abl.section_id IS NULL OR t2_abl_section.id = 1) AND (t0_abl.article_type_id IS NULL OR t3_abl_articleType.id = 1) AND (t0_abl.article_part_id IS NULL OR t4_abl_articlePart.id = 1) AND t0_abl.product_id=t1_abl_product.id AND t0_abl.section_id=t2_abl_section.id AND t0_abl.article_type_id=t3_abl_articleType.id AND t0_abl.article_part_id=t4_abl_articlePart.id ) ORDER BY t0_abl.id ASC and this will miss all the rows where the column IS NULL; Could this be a bug in jboss/xdoclet or is this not possible in ejb-ql, or most likely; have I done something wrong in my ejb-ql definition? Does anyone out there have any idea? Not using a BMP-finder, that is. Many thanx in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835563#3835563 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835563 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Invalid Transaction ID Error
Hi, We are still doing testing, but initial assessment looks like your latest changes have solved the problem. We were able to use the ConnectionFactory to publish a text message from the WebLogic Bridge to JBoss. The message was received by our MDB. Your help was great. I hope that this new version of SpyMessageProducer will be included in 3.2.4. Please let me know if you plan to do this. My next task will be to publish from WebLogic using the JBoss XAConnectionFactory. But I will deal with that when the time comes. Again, Thanks for your help. You have saved the few remaining patches of my hair from being ripped out. Regards, Lyndon View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835562#3835562 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835562 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - Extending DatabaseServerLoginModule... (urgent)
Hi all, I'm trying to extend DatabaseServerLoginModule. But I can't find the JAR file where the compiled class is stored. I can find the class in the sources tree, in org.jboss.security.auth.spi, but where is the compiled one ? I've searched in jbosssx-client.jar (JBoss/Tomcat v3.2.3), and find some security classes, but no DatabaseServerLoginModule ! Another question... Do I have to put my class (DatabaseServerGroupLoginModule.java) in JBoss source tree, and re-build JBoss, or can I add it in one of my personal project package, and it will be automatically use by JAAS... Thanks for help, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835561#3835561 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835561 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - ORA-01786: FOR UPDATE of this query expression is not allowe
Hi, We have an EJB application wich is running now in JBoss-3.2.2RC3. I would like to use this on JBoss-3.2.4RC1 because I have read in the forum that there is a solution to use JOINs and SUBSELECT in querys. When we are running our application we get the: ORA-01786: FOR UPDATE of this query expression is not allowed Oracle error. When I analized the server log of 3.2.3 and 3.2.4 I found the difference. The SQL select which was generated by the previous version is the next: SELECT DISTINCT t0_d.berletId, t0_d.berletNyk, t0_d.szeriaszam, t0_d.megnevezes, t0_d.ervenyessegTol, t0_d.ervenyessegIg, t0_d.eloadasSzam FROM BERLET t0_d WHERE ((t0_d.berletNyk = ?)) OR ((t0_d.berletNyk = ?)) The new version generates the same SQL code with an FOR UPDATE at end of the SQL which command generates the ORA-1786 error. Every SQL has the same FOR UPDATE ending which comes from a finder method. I try to run this SQL in a simple SQL prompt but same situation. What has changed? Why does differ the two SQL? I have not change any configuration of JBoss? Thanks, Csaba View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835560#3835560 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835560 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [O'Reilly JBoss 3.0 Workbook] - Re: O'Reilly Enterprise JavaBeans 4th edition and JBoss 4.0
EJB Workbook for JBoss 4.0 lwill be included with EJB 4th edition in print. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835558#3835558 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835558 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Copying server then gives error in web console 3.2.3
Tried that too. Also deleting dirs, moving files and all. I even have the problem after copying the files onto a Linux server and running them there. Only solution that works for me right now is to run the code in the "all" server setting. Removing the jboss-net dir makes the problem disappear from the "default" server setting. If one looks at the timestamps of the files, then the jboss-net file is several month younger than the default files - might be part of the problem. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835557#3835557 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835557 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: How do I delete temp files in work directory?
Oops, forgot to say I am using JB3.2.4RC2 with tomcat View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835556#3835556 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835556 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?
Thanks a bunch gorano and jae77, I looked all over for a method that would generate application.xml, but couldn't find one. Now I know why I didn't find it. Using tokens looks like the best way. Thanks for the input. Itchy View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835552#3835552 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835552 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - How do I delete temp files in work directory?
Does anyone which configuration file, and which variable, I need to tweek to have jboss DELETE the compile jsp's etc. under the /server/default/work directory? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835551#3835551 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835551 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Remote Queue Receivers not pulling data
Nevermind. Problem solved. It was my problem afterall. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835550#3835550 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835550 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - configuring as windows service
I am installing JBoss for the first time..I want to start JBoss as a windows service. I got this url http://www.alexandriasc.com/software/JavaService/documentation.html But I am not sure what class path should be given? Can someone who has done this before share with me, pls.? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835549#3835549 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835549 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Problems with jboss a JCO
I'm trying to make a connection using sap JCO, but we get the following error: LOCATIONCPIC (TCP/IP) on local host ERROR max no of 100 conversations exceeded The parameter in SAP is established to 2000 !! Any suggestions? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835546#3835546 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835546 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Remote Queue Receivers not pulling data
I am using JBOSS 3.2.3 on Red Hat 9 linux with java 1.4.2 jvm. I have 3 machines (all LINUX) and have queue receivers that connect to the main machine - A. The problem is that all of the machines "look up" and "connect" to A just fine but they never pull data from the queue. Only the queue receivers from A pull from A. Machines B and C just sit there. Has anyone seen this behavior? Does the order in which they connect matter? I have pounded the queue on A but cannot get any of the receivers on B or C to pull. I have had this work on Linux just fine before but I have also seen this behavior and don't know why. Could it be a network problem? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835543#3835543 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835543 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Postgres problems
Thanks that worked a treat. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835544#3835544 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835544 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?
With a template it would be something like this: | | | | | | | /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835538#3835538 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835538 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - classloading delegation for jsp compiling
Hi, I'm had implement a jboss as plugin in eclipse solution. (It has nothing to do with the jboss ide, its about a integration solution) http://sf.net/projects/jstaff I start my jboss with a own root classloader, it is working very well. This classloader implements a getUrls method as well, since the jsp compiler should need that method. How ever this method is never invoked by jboss and a underlayerd classloader is used. This classloader has the classpath to all libraries in the configuration so default/lib/* and default/deploy/**/*.jar. So normal custom jsp pages working very well, but in case i wish to use the jboss jmx web gui it can not compile the jsp since the jboss-jmx.jar is located in JbossHome/lib/. So my question is how to extend the classpath for jsp compiling? Is it may be a bug that the classloader delegation is brocken? jboss-3.2.3_jetty-4.2.14: :05:08,185 INFO [jetty] Error compiling file: /tmp/Jetty_0_0_0_0_8080__jmx-console/inspectMBean_jsp.java [javac] Since fork is true, ignoring compiler setting. [javac] Compiling 1 source file [javac] Since fork is true, ignoring compiler setting. [javac] /tmp/Jetty_0_0_0_0_8080__jmx-console/inspectMBean_jsp.java:14: package ... does not exist ... 16:05:08,187 INFO [jetty] Info: Compile: javaFileName=/tmp/Jetty_0_0_0_0_8080__jmx-console/inspectMBean_jsp.java classpath=/Applications/eclipse3M8/workspace/org.jboss/jboss-3.2.3_jetty-4.2.14/server/all/d Thanks for any hints! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835535#3835535 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835535 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Sudden Stopping
hi marco there was a problem with older versions of jboss "using /tmp" as temporary for deployment. and redhat cronjobs clean up the /tmp dir but this isn't true anymore 3.2.3 should use server/*yourconf*/tmp just a shot in the dark... the cron jobs ? cheers lviz View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835534#3835534 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835534 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Postgres problems
Hi, The datasource mapping is PostgreSQL. You have an extra "s" in your descriptor. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835533#3835533 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835533 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [JCA/JBoss] - Re: HELP - JBoss 3.0.4/Oracle TopLink 9.0.3/JTS/Oracle (XADa
"weljo" wrote : Hi Mike, | | 3. datasource not a compound name exception: Also placed the code within the PreLogin event. weljo, what code did you put in the PreLogin event to get this to work? Can you please post the source for this class? Thanks! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835531#3835531 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835531 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Is one to many bidirectional working?
Hi, How do you test that ? it works perfectly for me in production (order lines of orders). Post your code snippet to see what's wrong. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835532#3835532 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835532 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Postgres problems
Hi, I am having some problem running postgres 7.3.2 and jboss I am trying to deploy 2 entites and the erros i am getting in JBOSS are | 2004-05-19 15:11:05,669 INFO [org.jboss.deployment.MainDeployer] Starting deployment of package: file:/opt/jboss-3.2.3/server/all/deploy/jblog.ear | 2004-05-19 15:11:05,670 INFO [org.jboss.deployment.EARDeployer] Init J2EE application: file:/opt/jboss-3.2.3/server/all/deploy/jblog.ear | 2004-05-19 15:11:06,896 INFO [org.jboss.ejb.EjbModule] Deploying Author | 2004-05-19 15:11:07,180 INFO [org.jboss.ejb.EjbModule] Deploying Story | 2004-05-19 15:11:09,375 ERROR [org.jboss.ejb.EntityContainer] Starting failed | org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping PostgresSQL not found | . | . | . | 2004-05-19 15:11:09,397 WARN [org.jboss.system.ServiceController] Problem starting service jboss.j2ee:jndiName=ejb/JBlog/Author,service=EJB | org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping PostgresSQL not found | . | . | . | 2004-05-19 15:11:09,979 ERROR [org.jboss.ejb.EntityContainer] Starting failed | org.jboss.deployment.DeploymentException: Error in jbosscmp-jdbc.xml : datasource-mapping PostgresSQL not found | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityMetaData.(JDBCEntityMetaData.java:433) | at org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCApplicationMetaData.(JDBCApplicationMetaData.java:311) | The jbosscmp-jdbc.xml file has | | | java:/PostgresDS | PostgresSQL | false | false | true | foreign-key | | I have changed standardjbosscmp-jdbc.xml in the conf folder to be | jbosscmp-jdbc> | | | java:/PostgresDS | PostgresSQL | I have postgres-ds.xml file in the deploy folder with following contents | | | | | PostgresDS | jdbc:postgresql://localhost:5432/HVCG | org.postgresql.Driver | jboss | ssl1324 | | | | | | | and i have the postgres-jdbc2-service.xml in the deploy/jms folder. I have removed hsqldb-jdbc2-service.xml. JBOSS gives no error on booting up so long as my app is not deployed. It has even connected to the database and installed its own 2 tables jms_messages and jms_transactions So do not think it is a problem with general set up and drivers. Any ideas would be most appreciated. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835528#3835528 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835528 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Value object use
Hi, I never use the value object pattern, and of course the Xdoclet tag. I can tell you that the error you get comes from the reason I give you. When I look at the code snippet given as example in SourceForge for the Value Object tag, I can see that each getter and setter pairs are defined as CMP or CMR fields. In your code, the languageValue is not a value object but a field which is undefined for the persistence manager. The value object you use concerns the LabelValue bean (label field). I cannot help you for value objects, but your implementation is not good. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835524#3835524 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835524 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: JBoss 3.2.3 installation with standalone Tomcat
If you've removed the servlet container from JBoss then you need to remove these WARs as well. The web-console only connects to the local server, so deploying it on tomcat won't help you. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835523#3835523 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835523 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Installation & Configuration] - Re: Copying server then gives error in web console 3.2.3
Delete the temp directy, might help. /G View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835521#3835521 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835521 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
RE: [JBoss-user] [Beginners Corner] - deployment big picture
Hi everyone, I've built an application in a standard j2EE format JSPs-->Struts-->Session Beans-->CMR Entity Beans. This is deployed in an exploded ear, with struts and JSPs in the war as well as the session bean interfaces. Then I have the Session Beans and CMR Entity Beans in a jar. Now I want to go to a larger environment where different developers are working on different modules, yet I still want each module to be accessable through a single point - ie, struts. Struts 1.1 has the concept of modules, allowing different struts config files per module, however, from the context of deployment I have some worries. 1) Should all my entity beans be packaged in a single jar? 2) Different modules will probably mean different session beans, jsps and struts actions. Therefore, I would really appreciate advice/experienc on packaging up an architecture like this. regards, Brian _ MSN 8 with e-mail virus protection service: 2 months FREE* http://join.msn.com/?page=features/virus --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?
i don't believe ant can do this, unless you wrote a custom task for it. you can add tokens to the file that can be replaced when a build is performed, but you still have to create the "templated" application.xml" for it to work with. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835520#3835520 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835520 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: Invalid Transaction ID Error
I have not yet tried out your last suggestion but here is a trace after trying the previous suggestion. Here is a snippet from server.log with Tracing on for org.jboss.mq category. 2004-05-19 09:34:13,701 TRACE [org.jboss.mq.server.TracingInterceptor] CALLED : addMessage 2004-05-19 09:34:13,701 TRACE [org.jboss.mq.server.TracingInterceptor] ARG: SpyTextMessage { Header { jmsDestination : null jmsDeliveryMode : 2 jmsExpiration : 0 jmsPriority : 4 jmsMessageID: ID:18-10849743965971 jmsTimeStamp: 1084973830032 jmsCorrelationID: null jmsReplyTo : null jmsType : null jmsRedelivered : true jmsProperties : {} jmsPropReadWrite: true msgReadOnly : false producerClientId: ID:18 } Body { text:Hello World } } 2004-05-19 09:34:13,701 TRACE [org.jboss.mq.server.TracingInterceptor] EXCEPTION : addMessage: java.lang.NullPointerException at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:158) at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:279) at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136) at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:242) at java.lang.Thread.run(Thread.java:536) 2004-05-19 09:34:13,701 TRACE [org.jboss.mq.server.TracingInterceptor] RETURN : addMessage 2004-05-19 09:34:13,701 WARN [org.jboss.mq.il.oil.OILServerILService] Client request resulted in a server exception: java.lang.NullPointerException at org.jboss.mq.security.ServerSecurityInterceptor.addMessage(ServerSecurityInterceptor.java:158) at org.jboss.mq.server.TracingInterceptor.addMessage(TracingInterceptor.java:279) at org.jboss.mq.server.JMSServerInvoker.addMessage(JMSServerInvoker.java:136) at org.jboss.mq.il.oil.OILServerILService$Client.run(OILServerILService.java:242) at java.lang.Thread.run(Thread.java:536) I will provide you whatever feedback you require, I'm just not sure what is helpful and what isn't. There is more logging, but the rest of server.log looks fine. Regards, Lyndon. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835518#3835518 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835518 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Value object use
Thanks for your reply, anonymous wrote : Your getter end setter for languageValue must be defined as a relation between your bean and the "LanguageValue" bean | I don't want to have a relation between Language (Bean) and LanguageValue(Value Object of the Language bean), just get the value object representation of my Language bean, as in the xdoclet documentation (http://xdoclet.sourceforge.net/valueobjects.html) where the customer bean have an abstract method (getCustomerValue()) which retrieve the value object of the customer bean. I have to do something in ejbCreate or ejbPostCreate in order to initialize the value object ? Have you a concrete example of the use of the value object with xdoclet, getting a value object of a bean. Thanks. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835517#3835517 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835517 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: application.xml created with Ant?
That shouldn't be a problem at all, most stuff can be created with Ant (apart from my coffe, but I'm working on it :-). /Goran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835516#3835516 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835516 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: JBOSS runs on Solaris 8?
Thanks a lot. That helps! View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835515#3835515 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835515 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Calling JBoss 3.2.3 from standalone Tomcat
If you used the default settings when you installed Tomcat it added a space in the path to Tomcat. Get rid of this space if you have it, otherwise it won't work. /Goran View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835514#3835514 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835514 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Security & JAAS/JBoss] - JAAS cache updating role on the fly
Hi all, I am using jboss-3.2.2RC4 and JDBCRealm (JAAS). My application has a user with Administrator role who can change the role for other users in the application. When it happens if the user logins again with updated role then this user works with the old role yet. I belive that the information is cached. I would like to know if I can refresh this information or modify this behavior. Thank you in advance. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835513#3835513 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835513 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Persistence & CMP/JBoss] - Re: Value object use
Hi, Your error got nothing to do with value objects. The error says that the getLanguageValue method do not correspond to a CMP or a CMR field, which is the case in your code. Your getter end setter for languageValue must be defined as a relation between your bean and the "LanguageValue" bean. Pascal View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835512#3835512 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835512 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [EJB/JBoss] - Re: problem with authentication domains
Hello, It seems this problem was related to the fact that Tomcat does not delete credentials(?) from a thread that served a request. Whenever a request required authentication things worked normally. If however a request did not require authentication, like in the case of a client site, the credentials from the last served request remained and confused the system. This problem seems to have been solved in JBoss 3.2.3 when we tried it. There are several posts in the Security & JAAS forum that describe this problem. Nikos View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835511#3835511 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835511 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Error Msg while installing JBoss
First time install JBoss -- Trying to store HL7 messages in a database-- Messages are received-- How ever no databasing of messages takes place-- The following error message is displayed -- 2004-05-18 12:11:55,517 [HL7ToQueueMsgAdaperService] ERROR - Error in HL7ToQueueMsgAdapterService.run: null Any ideas what the fix is? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835510#3835510 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835510 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [J2EE Compliance] - alt-dd element in application.xml
I've got an ear application which I need to deploy several times in different configurations. At the moment I facilitate a build script to generate different versions of all deployment descriptors but this is tedious. Now I tried to use the alt-dd element within the application.xml file which would let me centralize the deployment logic. However, it seems to me that jboss is ignoring this element. Assuming that I want to supply an alternativ web.xml descriptor to a webapp located within an ear app. The Alternative web-descriptor is placed within the ear on the path META-INF/conf/web.xml The webapp also contains it's original web descriptor. I wonder whether I would have to specify the URL PATH within the alt-dd element, e.g. META-INF/conf or whether I need to include the file as well, e.g. META-INF/conf/web.xml I tried out both but without success. JBoss didn't log an error or warning message but also didn't take the alternative deployment descriptor. Also, I believe that in order for the alt-dd mechanism to be useful, it should be possible to use alternative jboss-deployment descriptors as well. If I specify that I would like to use an alternative web.xml descriptor, I would most likely also want to be able to use an alternative jboss-web.xml descriptor. How would that work? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835509#3835509 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835509 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Deployment of an lib jar fails on Solaris
I refer you to my previous response. http://cvs.sourceforge.net/viewcvs.py/jboss/jboss-system/src/main/org/jboss/deployment/Attic/JBossEntityResolver.java?annotate=1.10 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835506#3835506 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835506 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS and MQ Queues
Sorry Adrain, I was not logged into the site which was causing the problem. I have downloaded the zip. Anyways thanks for the help and sorry for bothering you. Nitin View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835504#3835504 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835504 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Javassist user questions] - Re: inserting duplicated members
Are src and dest different CtClass objects? If yes, the problem is not adding copied methods. I think maybe your way of using a class loader is somewhat wrong. Can you show me the code that throws ClassFormatError? View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835505#3835505 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835505 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Beginners Corner] - Re: Deployment of an lib jar fails on Solaris
I found the mistake. We use JBoss without a direct connection to the internet and I mapped the sites java.sun.com and jboss.org to our local webserver - unfortunately there was a public id mapped to www.jboss.org in the deployment descriptor which wasn't mapped to localhost. Maybe there is an inconsistency in xdoclet. However - now it works. But a question: JBoss ships in with all DTD's needed for validation of the deployment descriptors - can't I configure JBoss to perform a lookup in its local repository first ? Thanks and regards, Marcel View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835502#3835502 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835502 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS and MQ Queues
If you are having problems downloading from sourceforge, contact their support staff. Much as I would like to spend time figuring out why you can't download from a website (not!), I have better things to do. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835501#3835501 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835501 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Management, JMX/JBoss] - Re: Hotspot Server VM crashes with JBoss 3.2.3
2 * WORKAROUNDS I had the same problem and I have noticed that the permanent generation size was reaching 99% usage although the MaxPermSize (default=64m) was higher (see below part of the dump) so I have increased the minimum permanent generation allocation and it works Try to add -XX:PermSize=64m to your JVM parameters. Anyway this is only a workaround and we still need to wait for sun to fix this. Note: this only happen on 'server' mode and not on 'client' jvm mode so this could be another workaround you may want to use (second workaround ;-). anonymous wrote : Heap at VM Abort: | Heap | def new generation total 35328K, used 15797K [0x1001, 0x1266, 0x138f) | eden space 31424K, 48% used [0x1001, 0x10ee3270, 0x11ec) | from space 3904K, 15% used [0x11ec, 0x11f5a458, 0x1229) | to space 3904K, 0% used [0x1229, 0x1229, 0x1266) | tenured generation total 310412K, used 92575K [0x138f, 0x26813000, 0x3001) |the space 310412K, 29% used [0x138f, 0x19357e38, 0x19358000, 0x26813000) | compacting perm gen total 40960K, used 40834K [0x3001, 0x3281, 0x3401) |the space 40960K, 99% used [0x3001, 0x327f0a68, 0x327f0c00, 0x3281) Have fun, Moti View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835500#3835500 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835500 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [HTTPD, Servlets & JSP] - Filtering JSP page failed
Hi all! I use JBoss 3.2.3. I'd like to write a filter that removes the new lines from the result of a JSP page. Found an excelent article concerning this topic ( http://www-106.ibm.com/developerworks/java/library/j-tomcat/?open&l=101,t=grj,p=TomcatTricks). The filter code is really simple: package com.ibm.devworks.filters; | | import java.io.*; | import javax.servlet.*; | import javax.servlet.http.*; | | | class ReplaceTextStream extends ServletOutputStream { | private OutputStream intStream; | private ByteArrayOutputStream baStream; | private boolean closed = false; | | private String origText; | private String newText; | | public ReplaceTextStream(OutputStream outStream, String searchText, String replaceText) { | intStream = outStream; | baStream = new ByteArrayOutputStream(); | origText = searchText; | newText = replaceText; | } | | public void write(int i) throws java.io.IOException { | baStream.write(i); | } | | public void close() throws java.io.IOException { | if (!closed) { | | processStream(); | intStream.close(); | closed = true; | } |} | | public void flush() throws java.io.IOException { | if (baStream.size() != 0) { | if (! closed) { | processStream(); // need to synchronize the flush! | baStream = new ByteArrayOutputStream(); | } |} | } | | public void processStream() throws java.io.IOException { | intStream.write(replaceContent(baStream.toByteArray())); | intStream.flush(); | } | | public byte [] replaceContent(byte [] inBytes) { | String retVal =""; | String firstPart=""; | | String tpString = new String(inBytes); | String srchString = (new String(inBytes)).toLowerCase(); | | int endBody = srchString.indexOf(origText); | | if (endBody != -1) { |firstPart = tpString.substring(0, endBody); |retVal = firstPart + newText + | tpString.substring(endBody + origText.length()); | | } else { | retVal=tpString; | } | | return retVal.getBytes(); | } | | } | class ReplaceTextWrapper extends HttpServletResponseWrapper { | private PrintWriter tpWriter; | private ReplaceTextStream tpStream; | | public ReplaceTextWrapper(ServletResponse inResp, String searchText, |String replaceText) throws java.io.IOException { | super((HttpServletResponse) inResp); | tpStream = new ReplaceTextStream(inResp.getOutputStream(), searchText, replaceText); | tpWriter = new PrintWriter(tpStream); | } | | public ServletOutputStream getOutputStream() throws java.io.IOException { | | return tpStream; | } | public PrintWriter getWriter() throws java.io.IOException { | | return tpWriter; | } | } | | public final class ReplaceTextFilter implements Filter { | private FilterConfig filterConfig = null; | private String searchText = "."; | private String replaceText = "."; | public void doFilter(ServletRequest request, ServletResponse response, | FilterChain chain) | throws IOException, ServletException { | | | ReplaceTextWrapper myWrappedResp = new ReplaceTextWrapper( response, searchText, replaceText); | chain.doFilter(request, myWrappedResp); | myWrappedResp.getOutputStream().close(); | | } | | public void destroy() { | } | | | public void init(FilterConfig filterConfig) { | | String tpString; | if (( tpString = filterConfig.getInitParameter("search") ) != null) |searchText = tpString; | if (( tpString = filterConfig.getInitParameter("replace") ) != null) |replaceText = tpString; | | this.filterConfig = filterConfig; | | } | | | } The filter works only when the requested page is a html. If is is renamed to jsp extension, this filter is failed. I get a | | | content. I suppose that filters work that first perform the jsp page and its result content is filtered. What's wrong? Tibor View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835499#3835499 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835499 --- This SF.Net email is sponsored by: S
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS and MQ Queues
I have downloaded the attached file and when i try to unzip it using winzip it gives me an error that it is not a valid archive and try to download again. The name of the file that gets downloaded is "download.php.zip". Please provide me the correct zip. Thanks for the help. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835498#3835498 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835498 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user
[JBoss-user] [Messaging, JMS & JBossMQ] - Re: JBOSS and MQ Queues
yes by MQ I mean MQSeries/WebsphereMQ View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3835496#3835496 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3835496 --- This SF.Net email is sponsored by: SourceForge.net Broadband Sign-up now for SourceForge Broadband and get the fastest 6.0/768 connection for only $19.95/mo for the first 3 months! http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click ___ JBoss-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-user