[JBoss-user] [Nukes User] - How to start user defined [HSQL]database from JBOSS 4.0.0

2005-05-29 Thread nativex
Hi, I m using JB4.0.0, I have created two seperate databases myDb1 and myDb2 using java -cp hsqldb.jar org.hsqldb.Server database.1 myDB1 and also created a server.properties file In this way, i cud create a database and also start it using the above command. How should i modify the hsqldb-ds.

[JBoss-user] [Persistence & CMP/JBoss] - Re: Sql not generating properly

2005-05-29 Thread asdesai
My mistake in earlier post, I was little confused as all other CMPs in my project does not have getter and those still works!! Anyway I tried putting getter methods in PK class but still getting same error. The query jboss is generating is missing FROM a expression before FROM. It is generating

[JBoss-user] [Clustering/JBoss] - Re: Setup document for 4.0.2

2005-05-29 Thread [EMAIL PROTECTED]
Not yet. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879406#3879406 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879406 --- This SF.Net email is sponsored by Ya

[JBoss-user] [Persistence & CMP/JBoss] - Re: Sql not generating properly

2005-05-29 Thread asdesai
Hi, can you please tell me what did you mean by getters on PK class? I'm getting the same problem and not able to find what is wrong in my query or PK class. Thanks. PK class is as follow: public class SMPPAgentProfileParmsPK implements Serializable { | //

[JBoss-user] [Installation & Configuration] - jdk1.5 oder j2sdk

2005-05-29 Thread jbossChecker
Hi! I know that jboss4.0.2 runs with jdk1.5, but in jdk1.5 there is no package where I find the nessesary classes for developing ejbs (ejb3.0) Can someone please tell me which jdk I have to use or which jars I have to put in which libs to start with ejb3.0? At the moment I'm working with jdk1.5

[JBoss-user] [Security & JAAS/JBoss] - Re: Anyway of removing the MDB username/password from jboss.

2005-05-29 Thread gray1
Extra information follows My ideal solution would be to remove these jms usernames and passwords from the jboss.xml altogether and then doing some magic in the server JAAS login config xml file to make it so that the jms identity is configured there (which meets my criteria of being outside of

[JBoss-user] [Security & JAAS/JBoss] - Anyway of removing the MDB username and password from the jb

2005-05-29 Thread gray1
Is there any way of removing the mdb-user and mdb-passwd fields from jboss.xml but my MDB still being to connect to my secure JMS destination? I have an application that contains JMS Destinations that are secured in JAAS realm I have MDBs that listen to these JMS Destinations In my EJB jar l

[JBoss-user] [Javassist user questions] - altering constructor implementation: how-to ?

2005-05-29 Thread lamontagnebleue
I'm new to the javassist library. I need to change a constructor's implementation that throws an exception. I'm accessing the CodeAttribute and CodeIterator to alter the implementation as follows: However, if i access the class after using the specified constructor, it still throws exception.

[JBoss-user] [JBoss Getting Started Documentation] - failed to build the Duke's Bank application

2005-05-29 Thread tripod123
Hi, I downloaded startguide40.zip from http://www.jboss.org/docs/index#as and had compile errors when building the Duke's Bank example. DukesBankEJBJAR seems missing from the download. Where do I find this jar? Thanks compile: [javac] Compiling 5 source files to D:\Download\JBoss\startgu

[JBoss-user] [Installation & Configuration] - Re: Config JBoss 4.0.2 for MySql 4.1.11

2005-05-29 Thread darranl
Can you provide I little more information, at the moment your question is way too vague. Do you want all JBoss services that use a database to use MySQL. For going into production it is recomended that you do move from Hypersonic but I don't think you should move until you understand JBoss mor

[JBoss-user] [Security & JAAS/JBoss] - Re: How to propagate user name

2005-05-29 Thread tcherel
Which JBoss version are you using? Any particular reason why you are not just using BASIC or FORM based authentication in your web application? With JBoss 4.0.2, with both BASIC and FORM based authentication, you do not have to write your own login logic and user identity is automatically pro

[JBoss-user] [Security & JAAS/JBoss] - Re: Insufficient method permissions

2005-05-29 Thread tcherel
If you do not want to specify any security on your EJB, then do not put any security domain in the jboss.xml file. But if you do that, then authentication is not required anymore. If you require authentication, you will need, at least, to sepcify that all your EJB operations are "unchecked" (see

[JBoss-user] [Installation & Configuration] - Config JBoss 4.0.2 for MySql 4.1.11

2005-05-29 Thread bizzru
Hi, please help to config JBoss 4.0.2 for MySql 4.1.11. View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879389#3879389 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879389

[JBoss-user] [EJB/JBoss] - Re: What is the correct way to do an update with Entity bean

2005-05-29 Thread robr
You are correct I have just obtained a reference to the EJB in the Struts action and then use the methods of the Entity bean. So I guess you are saying that this method causes a transaction for every line of code that uses a method from the entity bean. You mentioned using a session bean to wr

[JBoss-user] [EJB/JBoss] - Re: What is the correct way to do an update with Entity bean

2005-05-29 Thread darranl
Where is the code that is invoking the set methods on the entity bean? If the code that is calling the entity bean is within a struts action have you obtained a reference to the UserTransaction object and started a transaction or have you just obtained the entity bean without any transaction? I

[JBoss-user] [EJB/JBoss] - Re: What is the correct way to do an update with Entity bean

2005-05-29 Thread robr
I have done some testing. I have created a table that has 7 columns. I have created getters and setters for each column in an entity bean for the table. I have a jsp that I use to create a new record or update an existing record. I have turned sql logging on in JBOSS so I can see what is ha

[JBoss-user] [Installation & Configuration] - JBoss 3.2.7 with JDK 1.5

2005-05-29 Thread nferreira
Hi All, Is JBoss 3.2.7 certified with Jdk1.5? Thanks, View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879383#3879383 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879383 -

[JBoss-user] [Installation & Configuration] - Can't run Jetty on 4.02

2005-05-29 Thread gilkatz
i Downloaded and compile jetty 5.1.4rc0 with Jboss 4.0.2. i changed all necessary files and when i run Jboss it seems allright but when i try to access to jmx-console or web-console or what ever other application i get java.lang.NoClassDefFoundError: org/apache/catalina/core/StandardWrapperFaca

[JBoss-user] [Messaging, JMS & JBossMQ] - Re: clean queues

2005-05-29 Thread bigben
i am using jboss 3.2.6 View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879380#3879380 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879380 --- This SF.Net email is s

[JBoss-user] [Messaging, JMS & JBossMQ] - clean queues

2005-05-29 Thread bigben
hi how can i set up my queues to be clean up when i restart jboss(not persistent)? thanks View the original post : http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3879379#3879379 Reply to the post : http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3879379

[JBoss-user] [JNDI/Naming/Network] - Duke's Bank project.

2005-05-29 Thread sasi2103
Hi all, I deploy the application on JBoss-4.0.1, and i use MSSql 2000. When i login i get error of : ERROR [LogInterceptor] EJBException in method: public abstract java.util.Collection com.sun.ebank.ejb.account.AccountHome.findByCustomerId(java.lang.String) throws javax.ejb.FinderException:

[JBoss-user] [Javassist user questions] - How to execute code known only at runtime related on a class

2005-05-29 Thread aillet
Hi, I'am wondering if it's possible to generate a Filter java class on the fly using javassist. The Filter class could have a method getResult() with a code block (=code condition which tests fields of a Foo instance) and returns the result of it as given below. Other requirement is: the code c