[JBoss-user] [Installation Configuration] - Re: JBoss 3.2.2 abnormal termination

2004-05-30 Thread [EMAIL PROTECTED]
To show shell config
ulimit -a 

But the JVM should be trapping all signals and producing its own dump. in $PWD

If you are sure you are not exiting gracefully (I haven't seen any evidence from you
either way - e.g. tail log/server.log) it is a JVM bug or OS problem.

I do not intend to turn this forum into a Sun JVM or Linux support forum.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836869#3836869

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836869



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: how to avoid JNDI port conflicts at startup?

2004-05-30 Thread [EMAIL PROTECTED]
http://www.iana.org/assignments/port-numbers

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836870#3836870

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836870



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: how to avoid JNDI port conflicts at startup?

2004-05-30 Thread hbaxmann
If you want to have a full automatic port allocation and discovery process, than use 
and extend the ServiceBindingManager for dynamic port allocation and publish the 
StoreURL over a standardized port like LDAP or HTTP for the clients.

But I am in doubt, if this efforts are good for hiding organizational flaws.

bax

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836874#3836874

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836874



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread ironbird
Erik,
Sorry, you teach me something, but I try both and cannot see a valuable difference.

Alex,
I apologize if you don't like my comments byt I can proove what I say. The only error 
I make is that (you are right) the SQL generated for testing the entity existence is 
the same for the databases). I make this mistake because I anticipate with the error 
in this topic.
But here is it:

I have an entity bean:

  |   entity 
  |  description![CDATA[PharmaML Client]]/description
  |  display-namePhML_ClientBean/display-name
  | 
  |  ejb-namePhML_Client/ejb-name
  | 
  |  homePharmaML_EJB.interfaces.PhML_ClientHome/home
  |  remotePharmaML_EJB.interfaces.PhML_Client/remote
  |  local-homePharmaML_EJB.interfaces.PhML_ClientLocalHome/local-home
  |  localPharmaML_EJB.interfaces.PhML_ClientLocal/local
  | 
  |  ejb-classPharmaML_EJB.pkg.PhML_ClientBean/ejb-class
  |  persistence-typeContainer/persistence-type
  |  prim-key-classPharmaML_EJB.pkg.ClientPK/prim-key-class
  |  reentrantFalse/reentrant
  |  cmp-version2.x/cmp-version
  |  abstract-schema-namePhML_Client/abstract-schema-name
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliId/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliAddr/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliCode/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliCp/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliFax/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliFlagsup/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliMail/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliRsnscl/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliSiret/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliTel/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-namecliVille/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[]]/description
  | field-nameetabCode/field-name
  |  /cmp-field
  | 
  |  query
  | query-method
  |method-namefindByClientCode/method-name
  |method-params
  |   method-paramjava.lang.String/method-param
  |/method-params
  | /query-method
  | ejb-ql![CDATA[SELECT OBJECT(a) FROM PhML_Client AS a WHERE 
a.cliCode = ?1]]/ejb-ql
  |  /query
  |   !-- Write a file named ejb-finders-PhML_ClientBean.xml if you want to 
define extra finders. --
  |   /entity
  | 

My primary key class is

  | public class ClientPK implements java.io.Serializable {
  | 
  | public Long cliID;
  | 
  | public ClientPK() {
  | }
  | 
  | public ClientPK(Long id) {
  | cliID = id;
  | //cliCode = code;   
  | }
  | 
  | public int hashCode() 
  | { 
  | return String.valueOf(cliID).hashCode(); 
  | } 
  | 
  | 
  | 
  | public boolean equals(Object prod) 
  | { 
  | return ((ClientPK)prod).cliID.equals(cliID); 
  | } 
  | /**
  |  * @return
  |  */
  | public Long getCliID() {
  | return cliID;
  | }
  | 
  | /**
  |  * @param long1
  |  */
  | public void setCliID(Long long1) {
  | cliID = long1;
  | }
  | 
  | }
  | 

As you see, only one field in the primary key class.

here is the log with MSSQL2000 (trying to create a new entity, table is already 
created) : the WHERE clause is empty

  | 2004-05-30 11:16:58,821 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start 
method=create
  | 2004-05-30 11:16:58,821 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current 
transaction in MI is null
  | 2004-05-30 11:16:58,821 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED 
for create
  | 2004-05-30 11:16:58,821 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came 
in with tx null
  | 2004-05-30 11:16:58,821 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Starting 
new tx TransactionImpl:XidImpl [FormatId=257, GlobalId=bureau//27, 

[JBoss-user] [Persistence CMP/JBoss] - Re: Nulls in CMR where clause

2004-05-30 Thread hbaxmann
Uhu. Aha.

bax

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836876#3836876

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836876



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread ironbird
And I continue about compound primary key errors:
To be clear, I never use it myself (I always use normalized schemas). But I try this:

The same example as above with 
   public String cliCode;
in the primary key class (so 2 fields).

The database creation in mySQL:

  | 2004-05-30 12:23:47,844 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.PhML_Client] Executing SQL: CREATE 
TABLE TD_CLIENT (CLI_ID BIGINT, CLI_ADDR VARCHAR(250) BINARY, CLI_CODE VARCHAR(250) 
BINARY NOT NULL, CLI_CP VARCHAR(250) BINARY, CLI_FAX VARCHAR(250) BINARY, CLI_FLAGSUP 
TINYINT NOT NULL, CLI_MAIL VARCHAR(250) BINARY, CLI_RSNSCL VARCHAR(250) BINARY, 
CLI_SIRET VARCHAR(250) BINARY, CLI_TEL VARCHAR(250) BINARY, CLI_VILLE VARCHAR(250) 
BINARY, ETAB_CODE VARCHAR(250) BINARY, CONSTRAINT pk_TD_CLIENT PRIMARY KEY (CLI_CODE))
  | 2004-05-30 12:23:47,924 INFO  
[org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.PhML_Client] Created table 
'TD_CLIENT' successfully.
  | 
is false (only 1 primary key).
Then I delete the table and create another manually with:

  | CREATE TABLE TD_CLIENT (CLI_ID BIGINT, CLI_ADDR VARCHAR(250) BINARY, CLI_CODE 
VARCHAR(250) BINARY NOT NULL, CLI_CP VARCHAR(250) BINARY, CLI_FAX VARCHAR(250) BINARY, 
CLI_FLAGSUP TINYINT NOT NULL, CLI_MAIL VARCHAR(250) BINARY, CLI_RSNSCL VARCHAR(250) 
BINARY, CLI_SIRET VARCHAR(250) BINARY, CLI_TEL VARCHAR(250) BINARY, CLI_VILLE 
VARCHAR(250) BINARY, ETAB_CODE VARCHAR(250) BINARY, CONSTRAINT pk_TD_CLIENT PRIMARY 
KEY (CLI_ID,CLI_CODE))
  | 
I have then my table with 2 primary keys (cliId and cliCode).

Then I create the first entity (id=25000, code=)

  | 2004-05-30 13:07:52,026 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.PhML_Client] Executing SQL: 
SELECT COUNT(*) FROM TD_CLIENT WHERE CLI_CODE=?
  | 2004-05-30 13:07:52,176 TRACE 
[org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.PhML_Client#cliCode] Set 
parameter: index=1, jdbcType=VARCHAR, value=
  | 

and the second one (id=25001,code=)
The entity exist SQL is always the same:

  | 2004-05-30 13:11:21,757 TRACE [org.jboss.ejb.plugins.LogInterceptor] Start 
method=create
  | 2004-05-30 13:11:21,757 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Current 
transaction in MI is null
  | 2004-05-30 13:11:21,757 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] TX_REQUIRED 
for create
  | 2004-05-30 13:11:21,757 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Thread came 
in with tx null
  | 2004-05-30 13:11:21,757 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] Starting 
new tx TransactionImpl:XidImpl [FormatId=257, GlobalId=bureau//23, BranchQual=]
  | 2004-05-30 13:11:21,757 TRACE [org.jboss.ejb.plugins.EntityInstancePool] Get 
instance [EMAIL PROTECTED] PharmaML_EJB.pkg.PhML_ClientBean
  | 2004-05-30 13:11:21,767 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.PhML_Client] Executing SQL: 
SELECT COUNT(*) FROM TD_CLIENT WHERE CLI_CODE=?
  | 2004-05-30 13:11:21,767 TRACE 
[org.jboss.ejb.plugins.cmp.jdbc.bridge.JDBCCMP2xFieldBridge.PhML_Client#cliCode] Set 
parameter: index=1, jdbcType=VARCHAR, value=
  | 2004-05-30 13:11:21,788 TRACE [org.jboss.ejb.plugins.TxInterceptorCMT] 
TxInterceptorCMT: In finally
  | 2004-05-30 13:11:21,798 TRACE [org.jboss.ejb.plugins.LogInterceptor] End 
method=create
  | 
And I have the error : Entity with primary key [EMAIL PROTECTED] already exists.
Which is false of course because my primary key is a compound one !

This is not a bug ?



 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836880#3836880

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836880



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread ironbird
Absolutly right Erik. Thanks you !
And you solve by the way the error of this topic where rberehoudougou uses a productId 
cmp field and a productID in its primary key class : the same d lower and upper 
case. Probably a bad natural reflex on the keyboard (the timing for pressing shift 
when you go fast).

I apologize for not thinking before drawing sometimes. So, don't be severe on me, just 
call back me to order when i'm in delirium.
I'm going to scourge myself in the cellar, hopping not reiterate.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836882#3836882

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836882



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: MySQL 4/JBoss 3.2.3 and CMP 2.0

2004-05-30 Thread erik777
rberehoudougou:

You did the same thing.  Your CMP field used a lower case 'd':


  | cmp-field
  | field-nameproductId/field-name
  | /cmp-field 
  | 

And your primary key class used an upper case 'D':


  |  public String productID; 
  | 

Also, I can't remember if it is a requirement as I replaced all my composite primary 
keys with sequence numbers awhile back when there was a problem with foreign keys in 
primary keys, but it couldn't hurt to add get/set access methods to your primary key 
class.

Sun's tutorial isn't very clear on what a field is in this regard, as they later say 
that the CMP bean implements the field with its access methods, but includes the 
instance variable in parenthesis:


  | In the PurchaseOrderBean class, the following access methods define the persistent 
fields (vendorId and productModel) that make up the primary key:
  | 
  | public abstract String getVendorId();
  | public abstract void setVendorId(String id);
  |
  | public abstract String getProductModel();
  | public abstract void setProductModel(String name);
  |  (http://java.sun.com/j2ee/tutorial/1_3-fcs/doc/CMP8.html#72960)

Of course, in their PK example, both the instance variable and the access methods are 
public.  The ejb-jar 2.0 DTD is equally vauge, just saying that the fields of the 
primary key class must be public needs to be public.  After you get it working with 
access methods, just for kicks, try making the instance variable private and see if 
that breaks it, then post back.  I don't have any code I can try it with, because, 
like I said, I got rid of all my composite primary keys when I upgraded to JBoss 3.0 
and implemented CMR.

It's not exactly related, but Struts actually reads a form bean's access methods, 
allowing you to use private or calculated instance data.  You'd think J2EE would do 
the same, but who knows.  



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836884#3836884

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836884



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: adding record to CMR field

2004-05-30 Thread ironbird
My address is ironbirdy40 at yahoo dot com.
I rely on you not to be victim of spamming noise.
But what happens with the new code ? the same thing or errors ?
Put both entity beans, and the client, then I can test it in my computer.





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836885#3836885

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836885



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Authentication in JBoss (login)

2004-05-30 Thread remowaller
Oh, thanks very much for your hints. 
It seems as it would work with my application. 
I've solved it with a FORM-based authentication. This authentication I would need to 
get into my application. This application is a distributed EJB-application. a user can 
register himself to get access to it. the password, choosen by the user, would be 
stored encrypted in the Database (mysql). 
Which algorithm should I take to store this password in the DB? The problem is, that 
it should be automatically decrypted for Form-based login. If the encrypt and 
decrypt-alg, doesn't match, you can never login, as you know.



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836886#3836886

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836886



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: Authentication in JBoss (login)

2004-05-30 Thread pilhuhn
If it is stored encrypted: who has the key?
The server would need the key somewhere in clear text (or protected by a pass phrase 
that the admin needs to type in everytime the server starts).
If the admin has the key, he can read the password.

What you can do (and which is supported by JBoss) is to store passwords as 
cryptographically hashed. The password entered by the user at login time is then also 
hashed. The two values are compared. I they match, the user can log in.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836887#3836887

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836887



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Messaging, JMS JBossMQ] - Re: Transactional MessageBean not responding to client submi

2004-05-30 Thread rgjawanda
Thanks, I will give it a shot.
I have read a lot on this topic on the SUN site. I didn't see anywhere an explaination 
about the commit. They only specified the change in the request to true,0.

I appreciate your help.
Ron


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836888#3836888

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836888



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - lookup datasource from java client

2004-05-30 Thread erahamim
Hi,
I am tring to look up datasource from java client using the following code:
Hashtable env = new Hashtable();
env.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
env.put (Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
env.put(Context.PROVIDER_URL, jnp://localhost:9753);
Context ctx = new InitialContext(env);
DataSource ds = (DataSource)ctx.lookup(java:/datasourceDS);

I get javax.naming.NameNotFoundException


Using this code I can look up for Ejb but not datasource.

Does anybody know what should I do ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836889#3836889

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836889



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: lookup datasource from java client

2004-05-30 Thread kabkhan
java:/ namespace is only accessible from within the same JVM

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836890#3836890

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836890



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: lookup datasource from java client

2004-05-30 Thread erahamim
So what should I do ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836891#3836891

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836891



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Index already exists in statement

2004-05-30 Thread sbocquet
Hi,

I use JBoss IDE (XDoclet) to generate my CMP EJBs, and HSQQLDB as database.
I have 2 EJBs, Groups and Roles. A groups can have many roles and a role can have many 
groups. There is a relation table between them, GroupsRolesLink.

The first time I deploy them, the container creates the tables, the contraints and the 
indexes correctly.
The second time I deploy them, I have the following error 


  | 18:16:54,811 ERROR [EntityContainer] Starting failed
  | org.jboss.deployment.DeploymentException: Error while creating table; - nested 
throwable: (java.sql.SQLException: Index already exists in statement [CREATE INDEX 
roleId_idx0 ON GroupsRolesLink (roleId)])
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createIndex(JDBCStartCommand.java:305)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createCMRIndex(JDBCStartCommand.java:527)
  | ...
  | 

Here are the descriptors generated by XDoclet.

ejb-jar.xml

  | entity 
  |  description![CDATA[Entity bean that represents a role.]]/description
  |  display-nameRoles Entity/display-name
  | 
  |  ejb-nameRoles/ejb-name
  | 
  |  homeorg.dyndns.bet4fun.interfaces.RolesHome/home
  |  remoteorg.dyndns.bet4fun.interfaces.Roles/remote
  |  local-homeorg.dyndns.bet4fun.interfaces.RolesLocalHome/local-home
  |  localorg.dyndns.bet4fun.interfaces.RolesLocal/local
  | 
  |  ejb-classorg.dyndns.bet4fun.entity.RolesCMP/ejb-class
  |  persistence-typeContainer/persistence-type
  |  prim-key-classorg.dyndns.bet4fun.interfaces.RolesPK/prim-key-class
  |  reentrantFalse/reentrant
  |  cmp-version2.x/cmp-version
  |  abstract-schema-nameRoles/abstract-schema-name
  |  cmp-field 
  | description![CDATA[Get the Id of the role]]/description
  | field-nameroleId/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[Get the name of the role]]/description
  | field-namename/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[Get the description of the role]]/description
  | field-namedescription/field-name
  |  /cmp-field
  | 
  |  query
  | query-method
  |method-namefindAll/method-name
  |method-params
  |/method-params
  | /query-method
  | ejb-ql![CDATA[SELECT OBJECT(R) FROM Roles AS R]]/ejb-ql
  |  /query
  |   !-- Write a file named ejb-finders-RolesBean.xml if you want to define 
extra finders. --
  |   /entity
  | 
  |   entity 
  |  description![CDATA[Entity bean that represents a 
Group.]]/description
  |  display-nameGroups Entity/display-name
  | 
  |  ejb-nameGroups/ejb-name
  | 
  |  homeorg.dyndns.bet4fun.interfaces.GroupsHome/home
  |  remoteorg.dyndns.bet4fun.interfaces.Groups/remote
  |  local-homeorg.dyndns.bet4fun.interfaces.GroupsLocalHome/local-home
  |  localorg.dyndns.bet4fun.interfaces.GroupsLocal/local
  | 
  |  ejb-classorg.dyndns.bet4fun.entity.GroupsCMP/ejb-class
  |  persistence-typeContainer/persistence-type
  |  prim-key-classorg.dyndns.bet4fun.interfaces.GroupsPK/prim-key-class
  |  reentrantFalse/reentrant
  |  cmp-version2.x/cmp-version
  |  abstract-schema-nameGroups/abstract-schema-name
  |  cmp-field 
  | description![CDATA[Get the Id of the group]]/description
  | field-namegroupId/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[Get the name of the group]]/description
  | field-namename/field-name
  |  /cmp-field
  |  cmp-field 
  | description![CDATA[Get the description of the group]]/description
  | field-namedescription/field-name
  |  /cmp-field
  | 
  |  query
  | query-method
  |method-namefindAll/method-name
  |method-params
  |/method-params
  | /query-method
  | ejb-ql![CDATA[SELECT OBJECT(G) FROM Groups AS G]]/ejb-ql
  |  /query
  |   !-- Write a file named ejb-finders-GroupsBean.xml if you want to define 
extra finders. --
  |   /entity
  | ...
  |/relationships
  |   ejb-relation 
  |  ejb-relation-nameGroupsRolesRelation/ejb-relation-name
  | 
  |  ejb-relationship-role 
  | ejb-relationship-role-nameRolesHasGroups/ejb-relationship-role-name
  | multiplicityMany/multiplicity
  | relationship-role-source 
  |ejb-nameRoles/ejb-name
  | /relationship-role-source
  | cmr-field 
  |cmr-field-namegroups/cmr-field-name
  |cmr-field-typejava.util.Collection/cmr-field-type
  |  

[JBoss-user] [Persistence CMP/JBoss] - JBoss audit fields

2004-05-30 Thread sbocquet
Hi,

I try to add audit fields on my EJBs. I've added the corresponding tags on my 
jbosscmp-jdbc.xml file for my beans.

  |   entity
  |  ejb-nameRoles/ejb-name
  |  create-tabletrue/create-table
  |  remove-tablefalse/remove-table
  |  table-nameRoles/table-name
  | 
  |  cmp-field
  | field-nameroleId/field-name
  | column-nameRoleId/column-name
  | /cmp-field
  |  cmp-field
  | field-namename/field-name
  | column-nameName/column-name
  | not-null/
  | /cmp-field
  |  cmp-field
  | field-namedescription/field-name
  | column-nameDescription/column-name
  | /cmp-field
  | audit
  | created-by
  | field-namecreatedBy/field-name
  | column-nameCreatedBy/column-name
  | /created-by
  | created-time
  | field-namecreatedTime/field-name
  | column-nameCreatedTime/column-name
  | /created-time
  | updated-by
  | field-nameupdatedBy/field-name
  | column-nameUpdatedBy/column-name
  | /updated-by
  | updated-time
  | field-nameupdatedTime/field-name
  | column-nameUpdatedTime/column-name
  | /updated-time
  | /audit
  |   /entity
  | 

I have also added security infos on my jboss-web.xml file... and the login mechanism 
is working correctly (by DatabaseLoginModule).

  | jboss-web
  |security-domainjava:/jaas/Bet4Fun/security-domain
  | ...
  | 

But when Jboss start to deploy my EJB, I have the following error


  | 18:51:34,241 ERROR [EntityContainer] Starting failed
  | org.jboss.deployment.DeploymentException: No security-domain configured but 
created-by specified
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.initGeneratedFields(JDBCAbstractCreateCommand.java:172)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.init(JDBCAbstractCreateCommand.java:85)
  | ...
  | 

The audit fields are not created in database.
Is something missing in my descriptors ? Have I forgotten something ?

Thanks for the help,

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836894#3836894

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836894



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-05-30 Thread erik777
It appears as though it creates the index the first time, but can't detect that it 
already exists the next time, since it's trying to create it again.  

I would try another database, such as MySQL, to try to determine if it's a JDBC 
problem.  If it works in MySQL or another database, then it is most likely a JDBC 
problem with HSQLDB.

If it iturns out to be a problem in other databases, and thus unlikely to be a 
specific JDBC problem, can you show the entire trace instead of just the first 3 
lines?  



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836895#3836895

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836895



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss audit fields

2004-05-30 Thread loubyansky
You are missing security-domain for EJB in jboss.xml. Have a look at jboss_3_2.dtd.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836896#3836896

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836896



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Stateful session bean Problem

2004-05-30 Thread neptune5
cheers Scott i'll give it another try. I did put some similar code into the doGet() 
with the httpsession . Problem was when I add the item it goes through the doPost() 
and this part lost the bean and couldn't retrieve the order no to get the order 
details. 

Does putting this code into a doRequest() get round this problem or have I got my 
design wrong. I only go thriough the doget once at the start. The form loads to add 
items to the order which then goes through the doPOst. Theres a complete button which 
then raises the status . Then we have to click a new order button, which again goes 
through doPOst().

Hope this helps too.
Regards Adrian 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836897#3836897

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836897



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: JBoss audit fields

2004-05-30 Thread sbocquet
Hi,

Thanks a lot for the quick answer...

I know this isn't the right place, but do you know if it's possible to generate those 
fields automatically with JBoss IDE (XDoclet), because I can't find a jboss specific 
tag for it ?

Cheers,

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836898#3836898

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836898



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Running JBoss with the default sandbox

2004-05-30 Thread mtedone1
Hi, I'm studying Java Security, and trying to run JBoss with the default sandbox 
parameters. 

I set several permissions so far, and now I'm getting the following exception:


  | java.security.AccessControlException: access denied 
javax.management.MBeanServerPermission: name=createMBeanServer
  | at 
java.security.AccessControlContext.checkPermission(AccessControlContext.java:269)
  | at 
java.security.AccessController.checkPermission(AccessController.java:401)
  | at java.lang.SecurityManager.checkPermission(SecurityManager.java:524)
  | at 
javax.management.MBeanServerFactory.checkPermission(MBeanServerFactory.java:189)
  | at 
javax.management.MBeanServerFactory.createMBeanServer(MBeanServerFactory.java:79)
  | at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:327)
  | 
  | 
  | Which sandbox permission should I set?
  | 
  | I've tried setting the Runtime Permission name = accessClassInPackage.javax. or 
accessClassInPackage.createMBeanServer or createMBeanServer withouth success.
  | 
  | Any help would be appreciated.
  | 
  | Marco

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836899#3836899

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836899



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - where do I get modules

2004-05-30 Thread neilk
Where do I get the extra modules?

Installed JBoss works
added nukes mysql works no extra modules to be found though

Looked in wiki 
nukes-installer/install doesnt exist neither in nukesmysql nor jbossnukes

Then installed jboss3.2.3nukes to see if extra modules are there. Can't see them.

Searched this forum 1 thread but question isn't answered.

Looked sourceforge. Nothing obvious.

Where do I get extra modules??



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836900#3836900

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836900



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
I mean the once advertised on http://www.jboss.org/products/nukesjboss

module name description origin
corecore functionnalities : component management and security   pnAPI + pnMod
useruser management pnUser + module NS-NewUser
your accountuser settings   module NS-YourAccount
jmx a friendly jmx console integrated in Nukes  none
bb  phpbb2 forums made available for Nukes  the port of the famous PHPBB2 forum
htmlall the tools enabling content creation, supports page versioning, we love it  
 module Html
newsa module where a story is submited, moderated, published and commented  
modules Topics, News, Submit News, NS-Comments, NS-AddStory, full port made by Kevin 
Viet
journal our fashion trend blog  module Journal
groups  user and group management   module NS-Groups, full port made by Noel Rocher
sectionsarticle publishing  module Sections, full port made by Kevin Viet
mp3player   broadcast your mp3 library  an original creation by Kevin Viet
templatea starting point for doing a module none
adminmessages   short messages broadcasting module NS-AdminMessages, full port 
made by Roberto Saccon
FAQ a simple FAQmodule FAQ, full port made by Noel Rocher
script  JSP integration from scratch
polls   ask your community  module Polls, full port made by Timothy Barreto
quotes  short quotes randomly displayed module Quotes, full port made by 
Timothy Barreto

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836901#3836901

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836901



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
http://www.onjava.com/pub/a/onjava/2003/06/04/nukes.html

a Google search doesnt reveal, either but loads of talk about the modules :(

Great job though .. :)) 
on the package itself 


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836902#3836902

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836902



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
jmx-console nothing, oh no, looks like I have to look in the source dist .. 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836903#3836903

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836903



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence CMP/JBoss] - Re: Index already exists in statement

2004-05-30 Thread sbocquet
Hi,

I'm trying to install mySQL to do some testing...

Here is the complte log with HSQLDB

  | 2004-05-31 00:20:36,048 WARN  [org.jboss.system.ServiceController] Problem 
starting service jboss.j2ee:jndiName=ejb/bet4fun/Evenments,service=EJB
  | org.jboss.deployment.DeploymentException: Error while creating table; - nested 
throwable: (java.sql.SQLException: Index already exists in statement [CREATE INDEX 
roleId_idx0 ON GroupsRolesLink (roleId)])
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createIndex(JDBCStartCommand.java:305)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.createCMRIndex(JDBCStartCommand.java:527)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStartCommand.execute(JDBCStartCommand.java:150)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.startStoreManager(JDBCStoreManager.java:484)
  | at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.start(JDBCStoreManager.java:388)
  | at 
org.jboss.ejb.plugins.CMPPersistenceManager.start(CMPPersistenceManager.java:152)
  | at org.jboss.ejb.EntityContainer.startService(EntityContainer.java:342)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
  | at $Proxy14.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:394)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy31.start(Unknown Source)
  | at org.jboss.ejb.EjbModule.startService(EjbModule.java:331)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at sun.reflect.GeneratedMethodAccessor37.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
  | at $Proxy14.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:394)
  | at sun.reflect.GeneratedMethodAccessor8.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy12.start(Unknown Source)
  | at org.jboss.ejb.EJBDeployer.start(EJBDeployer.java:544)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:824)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
  | at sun.reflect.GeneratedMethodAccessor29.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at 

[JBoss-user] [Messaging, JMS JBossMQ] - Jboss-3.2.3 Hypersonic localDB.backup problem

2004-05-30 Thread TheImmortal
When starting JBoss (3.2.3 on Solaris 2.8), we recieve the following errors:

--
org.jboss.resource.JBossResourceException: Could not create connection; - nested
 throwable: (java.sql.SQLException: File input/output error: /opt/mc/jboss-3.2.3
/server/default/data/hypersonic/localDB.backup)
at org.jboss.resource.adapter.jdbc.local.LocalManagedConnectionFactory.c
reateManagedConnection(LocalManagedConnectionFactory.java:160)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.cr
eateConnectionEventListener(InternalManagedConnectionPool.java:477)
at org.jboss.resource.connectionmanager.InternalManagedConnectionPool.ge
tConnection(InternalManagedConnectionPool.java:213)
at org.jboss.resource.connectionmanager.JBossManagedConnectionPool$BaseP
ool.getConnection(JBossManagedConnectionPool.java:496)
at org.jboss.resource.connectionmanager.BaseConnectionManager2.getManage
dConnection(BaseConnectionManager2.java:425)
at org.jboss.resource.connectionmanager.TxConnectionManager.getManagedCo
nnection(TxConnectionManager.java:318)

-

I have removed all the files from the {jboss}/data/hypersonic directory, the 
localDB.data, .script, and .properties file are recreated however this error persists. 
  Why is it trying to access the localDB.backup ?  We had one in the directory however 
the problem persists. I removed it, did a touch localDB.backup and still the problem 
exists.   Has anyone had this problem or know how to fix it ?  Help is greatly 
appreciated.

--
localDB.properties
--
#HSQL database
#Sun May 30 18:18:12 EDT 2004
sql.strict_fk=true
readonly=false
sql.strong_fk=true
hsqldb.version=1.7.1
version=1.7.1
hsqldb.cache_scale=14
sql.compare_in_locale=false
sql.month=true
hsqldb.log_size=200
modified=yes
hsqldb.cache_version=1.7.0
hsqldb.original_version=1.7.1
hsqldb.compatible_version=1.7.0
sql.enforce_size=false


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836905#3836905

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836905



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
ok found them now in the src dist, compile ok now i just have to figure out what to 
use ear sar ejb etc. 

hope this will be a kinda docu for the unknowing like me

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836906#3836906

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836906



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - cannot get multiple realms to work with 3.2 (works well in 3

2004-05-30 Thread Eelco69
Hello,

I have searched all forums, haven't been able to find something about my problem. I 
have multiple websites in production running on a 3.0.7 JBoss Server. Everything works 
fine. However, I am now trying to get the same websites running under 3.2. Now 
something weird happens: The first realm I enter everything is well. The second realm 
however, gets a null principal. Here is the configuration: 

oracle-ds file:
 
  local-tx-datasource
jndi-namex1_datasource/jndi-name

connection-urljdbc:oracle:thin:@(description=(address=(host=myHost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=mySid)))/connection-url
driver-classoracle.jdbc.driver.OracleDriver/driver-class
user-namex1/user-name
xx

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
  /local-tx-datasource
  local-tx-datasource
jndi-namex2_datasource/jndi-name

connection-urljdbc:oracle:thin:@(description=(address=(host=myHost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=mySid)))/connection-url
driver-classoracle.jdbc.driver.OracleDriver/driver-class
user-namex2/user-name
x

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
  /local-tx-datasource
  local-tx-datasource
jndi-namex3_datasource/jndi-name

connection-urljdbc:oracle:thin:@(description=(address=(host=myhost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=mySid)))/connection-url
driver-classoracle.jdbc.driver.OracleDriver/driver-class
user-namex3/user-name
x

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
  /local-tx-datasource
  local-tx-datasource
jndi-namex4_datasource/jndi-name

connection-urljdbc:oracle:thin:@(description=(address=(host=myHost)(protocol=tcp)(port=1521))(connect_data=(SERVICE_NAME=mySid)))/connection-url
driver-classoracle.jdbc.driver.OracleDriver/driver-class
user-namex4/user-name
x

exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
  /local-tx-datasource
  


in login-config.xml i have set up application-policies:

application-policy name = xx1 
   
login-module code = org.jboss.security.auth.spi.DatabaseServerLoginModule 
flag = required 
  module-option name=dsJndiNamejava:/x1_datasource/module-option
  module-option name=principalsQueryselect wachtwoord from gebruikers 
where upper (key_gebruiker) = upper (?)/module-option 
  module-option name=rolesQueryselect key_rol, 'Roles' from 
gebruikers_rollen, gebruikers where upper (key_gebruiker) = upper (?) and 
gebruikers.id_gebruiker = gebruikers_rollen.id_gebruiker/module-option 
/login-module 
   
/application-policy

four times (for every realm one)

every jboss-web.xml shows as follows, only the jndi call is different (pointing to one 
of the above datasources)

?xml version=1.0 encoding=UTF-8?
jboss-web
context-root/xxroot/context-root
security-domainjava:/jaas/xx1/security-domain
resource-ref
res-ref-namejdbc/x1_datasource/res-ref-name
res-typejavax.sql.DataSource/res-type
jndi-namejava:/x1_datasource/jndi-name
/resource-ref
/jboss-web

and in the web.xml: (only the auth/datasource part showing here)

  resource-ref 
Datasource for x1 
res-ref-namejdbc/x1_datasource/res-ref-name 
res-typejavax.sql.DataSource/res-type 
res-authContainer/res-auth 
  /resource-ref

  security-constraint
web-resource-collection
  web-resource-nameRestricted/web-resource-name
  Declarative security tests
  url-pattern/restricted/*/url-pattern
  http-methodHEAD/http-method
  http-methodGET/http-method
  http-methodPOST/http-method
  http-methodPUT/http-method
  http-methodDELETE/http-method
/web-resource-collection
auth-constraint
  role-namerole1/role-name
/auth-constraint
user-data-constraint
  no description
  transport-guaranteeGUARANTEED/transport-guarantee
/user-data-constraint
  /security-constraint
  
  login-config
auth-methodBASIC/auth-method
realm-namexx1/realm-name
  /login-config

Now why doesn't it work in 3.2.4 anymore

Funny thing is, the first realm to do authentication will succeed after starting the 
server, every next realm will fail. 

Please help

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836908#3836908

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836908



---
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g. 
Take an 

[JBoss-user] [JCA/JBoss] - PostgreSQL - default data source

2004-05-30 Thread Bazgrus
I have problem to connect JBoss 3.2 to PostgreSQL 7.4
I have configured default ds in jbosscmp-jdbc.xml file

jbosscmp-jdbc

   
  java:/DefaultDS
  datasource-mappingDefaultDS/datasource-mapping

  create-tabletrue/create-table
  remove-tablefalse/remove-table
  read-onlyfalse/read-only
  read-time-out30/read-time-out
  row-lockingfalse/row-locking
  pk-constrainttrue/pk-constraint
  fk-constrainttrue/fk-constraint
   preferred-relation-mappingforeign-key/preferred-relation-mapping

and replaced the hyper-ds.xml file for the postgres-ds.xml:


  local-tx-datasource
jndi-nameDefaultDS/jndi-name   
connection-urljdbc:postgresql://localhost:5432/MyDataBase/connection-url
driver-classorg.postgresql.Driver/driver-class
user-nameuser/user-name
pass
check-valid-connection-sqlSELECT * FROM contacts/check-valid-connection-sql
  /local-tx-datasource


Below is the output from logs and this is from database's logs:
syntax error near CACHED  
jms_messages does not exist


2004-05-31 01:20:44,703 INFO  
[org.jboss.resource.connectionmanager.TxConnectionManager] Started 
jboss.jca:service=LocalTxCM,name=DefaultDS
  | 2004-05-31 01:20:45,114 ERROR [org.jboss.mq.pm.jdbc2.PersistenceManager] Starting 
failed
  | org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions.  Message 
recovery may not be accurate; - nested throwable: (org.postgresql.util.PSQLException: 
ERROR: relation jms_messages does not exist
  | )
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.resolveAllUncommitedTXs(PersistenceManager.java:336)
  | at 
org.jboss.mq.pm.jdbc2.PersistenceManager.startService(PersistenceManager.java:1356)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at sun.reflect.GeneratedMethodAccessor26.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
  | at $Proxy14.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:394)
  | at org.jboss.system.ServiceController.start(ServiceController.java:411)
  | at org.jboss.system.ServiceController.start(ServiceController.java:411)
  | at sun.reflect.GeneratedMethodAccessor5.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:226)
  | at org.jboss.deployment.MainDeployer.start(MainDeployer.java:832)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:642)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:605)
  | at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
  | at $Proxy6.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:302)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:476)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:201)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:274)
  | at org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:192)
  | at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.capability.ReflectedMBeanDispatcher.invoke(ReflectedMBeanDispatcher.java:284)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:546)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:976)
  | at $Proxy0.start(Unknown Source)
  |  

[JBoss-user] [HTTPD, Servlets JSP] - Re: Default page not found when precompiled

2004-05-30 Thread treespace
Found the problem. 

You cannot use a Servlet in the welcome-file-list of web.xml. 

This flaw is fixed in Tomcat 5.0 but 3.2.3 uses Tomcat 4.1. In 5.0 you can add the 
name of the servlet (not the mapping, the name) as a welcome file in your welcome file 
list.  Meanwhile we will just leave that page as a loose JSP page. 



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836910#3836910

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836910



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security JAAS/JBoss] - Re: cannot get multiple realms to work with 3.2 (works well

2004-05-30 Thread [EMAIL PROTECTED]
Without the details of what each domain is doing there is insufficient information 
here. Described the complete call sequence that is failing along with the stacktrace 
of the failed call. Every call coming into the web container needs to establish its 
security context either by being a secured web page or doing a jaas login.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836911#3836911

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836911



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Weird problem starting JBoss on linux

2004-05-30 Thread maeztro
Hi,

I'm having the strangest problem with a J2EE application that is running under 
JBoss on Linux. The application generates some graphics that are copied to a 
temp dir in JBoss directory. The application works fine IF I start it from a 
terminal _locally_  (sitting in front of the server computer), BUT, if I start it 
from a ssh session, the images aren't copied to the temp dir. Also I have 
found that if I launch a remote xterm (over ssh) from the server to my box 
and start the application from that remote xterm, the application works 
correctly.

What could be different from starting the application locally than remotely 
from an ssh session? I have looked at the enviroment variables and the 
parameters passed to the java VM to see if there's something different in 
both cases, but everything seems to be the same.

Any ideas what could be going on here

Cheers,
-- 
Juan Luis Baptiste

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836912#3836912

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836912



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Nukes User] - Re: where do I get modules

2004-05-30 Thread neilk
hmm no docu whatsoever .. although through trial and error i kinda get the poll mysql 
mod up the poll says its installed. Getting it to show as a block, doesn't work. Fails 
with the usual unusable java exception tree. 

Well its free :) 

Still hoping for some precompiled modules which tell me where to put them?

Anybody know where?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836914#3836914

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836914



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: HELP - Cant Log into Mgt Console

2004-05-30 Thread javadon
I am a newbie with JBOSS, where do I find those files?

thanks

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836913#3836913

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836913



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Problem with .jar creation

2004-05-30 Thread nikleas
Hello
Perhaps i'll pass for a newbie for this, but what the hell!

I created an application that dynamicly create classes using javassist and created the 
.jar for this appli.
The problem is, when i run the thing with java -jar myjar.jar , it creates 
successfully dynamicly the .class files, but of course, not in the .jar. So when i try 
to access, later in the program,  the newly created class, i have the usual error of 
class not found.

I guess it is just a matter of setting the good manifest jar, or calling the virtual 
machine with some other arguments, but as i'm new developer java i don't know all the 
tricks yet...
So if someone can please help me out ?
thanks :)

Nikleas
[EMAIL PROTECTED]

PS:
For the record, the application in question is a frame viewer.
I created a library to do some frame oriented language programming but in java, and 
the appli just display a frame and what it contains (slot, daemons, etc.). I used 
javassist to create the frame so they become real classes once the user instanciate 
the frame he described. I know i could very well have done such a thing without 
javassist, but it was... for the fun of it i guess :)

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836919#3836919

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836919



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - jboss starts getting slower after 150 form submissions

2004-05-30 Thread sk4567
Hi,
 I am using jboss 3.2.3 with MysqlI have a struts based application..with EJB 
1.1... I am using CMP's . I am seeing that after submitting a particular form 150 
times+ the system tends to slow down

P.S - the form whcih is getting submitted has dynamically generated rows  of text 
boxes whcih get filled up and submitted.Each row serves as an iterator which  calls 
the create() method of the entity bean in the stateless session bean (session 
facade).i.e multiple calls to create method are there in each form 
submissioncoulds be as much as 150-200 per submission..

The system tends to slow down after about 150 entries and goes into a hang. Please 
provide a solution to this problem.

Do i need to use any different approach or can i tweak any container properties to 
handle the high load


regards,
Saurabh Kedia
Espire infolabs
New Delhi,
India

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836920#3836920

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836920



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: lookup datasource from java client

2004-05-30 Thread gorano
If you have to use a datasource from your client I guess most J2EE programmers would 
agree that you have a problem with the design of your application.

Use the datasource in a session bean and do remote calls from the client.

The whole idea behind J2EE is to keep the bussiness logic on the server (including 
database access) and keep the client as thin as possible.

/Goran

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836921#3836921

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836921



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JCA/JBoss] - Re: PostgreSQL - default data source

2004-05-30 Thread gorano
You can't change database in DefaultDB without changing the JMS configuration.

/Goran 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836923#3836923

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836923



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - Re: Starting failed java.sql.SQLException: User not found: S

2004-05-30 Thread murthy_cvrs
I didn't change any settings...Just Insatalled  Jboss 4.0 and all my classpath was set 
to this installation.when I started the server...I got this error. 
Do u think I have to delete the prior Installation of Jboss 3.x on my system which was 
running successfully? 

Thanx n Rgds

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836924#3836924

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836924



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Re: Why the detail locals are not loading

2004-05-30 Thread lahirukarunatilake
Thanx for the help I figured it out. As you have said it was a database issue. After I 
changed the table types of my mysql datbase the ejb worked as normal..

Thanx again,

Lahiru.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836925#3836925

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836925



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation Configuration] - CMP2.0 bean Deployment failure with JBoss

2004-05-30 Thread Saroj
Hi,

Iam  using Jboss3.2.1, NetBeansIDE3.6.
I tried to deploy theCMP2.0 enity bean.But Deployment fails with following Exception.
Exception : Exception in CMP Enity Bean - ejb-jar.xml. Abstract schema name mustbe a 
valid Java Identifier.
I configured OracleDatasource by following steps..

1.Edited the OracleDs.xml and pasted in Server/Deploy dir
2.Pasted classes12.jar in server/lib dir

But same Exception arises...What is the wrong  with me..Please help me..
Regards,
Saroj

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=3836926#3836926

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=3836926



---
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=3149alloc_id=8166op=click
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user