[JBoss-user] [Management, JMX/JBoss] - Re: creating and deleting datasources programatically

2004-06-12 Thread vasudevk
Currently I create the *-ds.xml file dynamically and save it in the deploy dir. To 
delete, I delete the file from the deploy dir and let the hot deploy feature do the 
rest, but ultimately it has to be done programatically and need not depend on the hot 
deploy feature of jboss

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838585#3838585

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838585


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Method is not a known CMP field accessor, CMR field acce

2004-06-12 Thread vasudevk

http://www.jboss.org/j2ee/dtd/jbosscmp-jdbc_3_2.dtd";>


   
 
   

   

 

  
 RuleSet
 java:/sw-dataSource-oraclePool
 Oracle9i
 false
 false
 SW_DQ_RULESET

 
id
ID


 
name
NAME


 
description
DESCRIPTION


 
application
APPLICATION


 
applicationName
APPLICATION_NAME


 
createdDate
CREATED_DATE


 
status
STATUS


 
type
TYPE


 
forType
FOR_TYPE


 
forTypeDefault
FOR_TYPE_DEFAULT


 
screenName
SCREEN_NAME


 
profanityFilter
PROF_FILTER


 
duplicateType
DUP_TYPE


 
dupDataObjectId
DUP_DATA_OBJ_ID


 
dupDataObjectName
DUP_DATA_OBJ_NAME


 
commitType
COMMIT_TYPE


 
createdById
CREATED_BY_ID


 
createdByName
CREATED_BY_NAME


 
modifiedDate
MODIFIED_DATE


 
modifiedById
MODIFIED_BY_ID


 
modifiedByName
MODIFIED_BY_NAME


 
auditLevel
AUDIT_LEVEL


 
debuggable
DEBUGGABLE


 
scope
SCOPE


 
parentId
PARENT_ID


 
parentName
PARENT_NAME


 
superId
SUPER_ID


 
superName
SUPER_NAME





  

   

  

  RuleSet-RuleSet

  
  
SubsetIsAPartOfRuleSet
 

  
  
  RuleSetHasSubsets
 
 
   id
   PARENT_ID
 
  
  

  




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838583#3838583

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838583


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Method is not a known CMP field accessor, CMR field acce

2004-06-12 Thread vasudevk

http://java.sun.com/dtd/ejb-jar_2_0.dtd";>



   
   Generated by XDoclet

   

  
 

  
  
 

 RuleSet

 com.stalworth.dqrules.cmp.RuleSetLocalHome
 com.stalworth.dqrules.cmp.RuleSetLocal

 com.stalworth.dqrules.cmp.RuleSetCMP
 Container
 java.lang.String
 False
 2.x
 RuleSetSchema
 

id
 
 

name
 
 

description
 
 

application
 
 

applicationName
 
 

createdDate
 
 

status
 
 

type
 
 

forType
 
 

forTypeDefault
 
 

screenName
 
 

profanityFilter
 
 

duplicateType
 
 

dupDataObjectId
 
 

dupDataObjectName
 
 

commitType
 
 

createdById
 
 

createdByName
 
 

modifiedDate
 
 

modifiedById
 
 

modifiedByName
 
 

auditLevel
 
 

debuggable
 
 

scope
 
 

parentId
 
 

parentName
 
 

superId
 
 

superName
 
 id

 

   findAllInstances
   
   

Local

 
 

   findByName
   
  java.lang.String
   

Local

 
  
  

 

  
 

   

   
   
  
 RuleSet-RuleSet

 

SubsetIsAPartOfRuleSet
Many


   RuleSet


   parent

 

 
RuleSetHasSubsets
One

   RuleSet


   subSets
   java.util.Set

 

  
   

   
   
 

   

   
   
  
 RuleSet
  *
   
   Supports


   
   

   dqrulescmp_client.jar




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838584#3838584

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838584


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Method is not a known CMP field accessor, CMR field acce

2004-06-12 Thread vasudevk
Bean Src Code:
===

package com.stalworth.dqrules.cmp;

import java.io.Serializable;
import java.util.Set;


import javax.ejb.CreateException;
import javax.ejb.DuplicateKeyException;
import javax.ejb.EJBException;
import javax.ejb.EntityBean;
import javax.ejb.EntityContext;
import javax.ejb.FinderException;
import javax.ejb.NoSuchEntityException;
import javax.ejb.ObjectNotFoundException;
import javax.ejb.RemoveException;
import javax.naming.InitialContext;
import javax.naming.NamingException;
import javax.sql.DataSource;
import java.sql.Timestamp;

//import com.stalworth.dqrules.constants.*;
//import com.stalworth.fc.utils.*;


/**
 * @ejbgen:entity
 *   ejb-name =  RuleSet
 *   table-name = SW_DQ_RULESET
 *   data-source-name = sw-dataSource-oraclePool
 *   concurrency-strategy = Database
 *   prim-key-class = java.lang.String
 *   max-beans-in-cache = 500
 *   abstract-schema-name = RuleSetSchema
 *   reentrant = False
 *   delay-database-insert-until = ejbPostCreate
 *   default-transaction = Supports
 *
 *
 * @ejbgen:jndi-name
 *local = com.stalworth.dqrules.cmp.RuleSetHome
 *
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findAllInstances ()"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o ORDERBY o.name ASC"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByName (java.lang.String name)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.name = ?1"
 *
 * @ejbgen:finder
 *   signature = "RuleSetLocal findByMasterNameAndApplication (java.lang.String 
name,java.lang.String app)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.name = ?1 AND 
o.application = ?2 AND o.type = 0"
 *
 * @ejbgen:finder
 *   signature = "RuleSetLocal findBySubsetName (java.lang.String 
name,java.lang.String pid)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.name = ?1 AND 
o.parentId = ?2 AND o.type <> 0"
 *
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByApplicationAndOwner (java.lang.String 
app,java.lang.String owner_id)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.application = ?1 AND 
o.createdById = ?2"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByApplication (java.lang.String cid)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.application = ?1"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByApplicationScope(java.lang.String cid,int 
sc)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.application = ?1 AND 
o.scope = ?2"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByApplicationAndOwnerScope 
(java.lang.String app,java.lang.String owner_id,int sc )"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.application = ?1 AND 
o.createdById = ?2 AND o.scope = ?3"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByOwner (java.lang.String owner_id)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.createdById = ?1"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByMaster (java.lang.String 
app,java.lang.String owner_id,java.lang.String pId)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.application = ?1 AND 
o.createdById = ?2 AND o.parentId = ?3"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByApplicationAndOwnerMaster 
(java.lang.String app,java.lang.String owner_id)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.application = ?1 AND 
o.createdById = ?2 AND o.type = 0"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByOwnerMaster (java.lang.String owner_id)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.createdById = ?1 AND 
o.type = 0"
 *
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByMasterOrdered()"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.type = 0 ORDERBY 
o.name ASC"
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByMasterInteractive(java.lang.String 
screenName)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.type = 0 AND o.forType 
= 1 AND o.screenName = ?1 ORDERBY o.name ASC"
 *
 *
 * @ejbgen:finder
 *   signature = "java.util.Collection findByMasterInteractiveDefault(java.lang.String 
screenName)"
 *   ejb-ql = "SELECT OBJECT(o) FROM RuleSetSchema AS o WHERE o.type = 0 AND o.forType 
= 1 AND o.screenName = ?1 AND o.forTypeDefault = 1 ORDERBY o.name ASC"
 *
 *
 * @ejbgen:relation
 *   name = RuleSet-CSRules
 *   role-name = RuleSetHasCSRules
 *   multiplicity = one
 *   target-ejb = CSRuleEJB
 *   cmr-field = cSRules
 *
 * @ejbgen:relation
 *   name = RuleSet-SRRules
 *   role-name = RuleSetHasSRRules
 *   multiplicity = one
 *   target-ejb = SRRuleEJB
 *   cmr-field = sRRules
 *
 * @ejbgen:relation
 *   name = RuleSet-DIRules
 *   role-name = RuleSetHasDIRules
 *   multiplicity = one
 *   target-ejb = DIRuleEJB
 *   cmr-field = dIRules
 *
 * @ejbgen:relation
 *   name = RuleSet-S

[JBoss-user] [Persistence & CMP/JBoss] - Method is not a known CMP field accessor, CMR field accessor

2004-06-12 Thread vasudevk
Hi,

I am getting this error when ejbPostCreate is called and is trying to setParent.

I have a Bean RuleSet which has a self relationship. I am getting this error when i 
create the subset which belongs to a RuleSet.

I will be attaching my full bean code and the xml generated by xdoclet.

Any help is appreciated:.

TIA

Vasu

   /**
* @ejbgen:cmr-field
* @ejbgen:local-method
*
* @ejb.interface-method
*view-type="local"
*
* @ejb.value-object
*   compose="com.stalworth.dqrules.vobj.RuleSetValue"
*   compose-name="SubSet"
*   members="com.stalworth.dqrules.cmp.RuleSetLocal"
*   members-name="RuleSet"
*   relation="external"
*   type="java.util.Set"
*
* @ejb.relation
*   name="RuleSet-RuleSet"
*   role-name="RuleSetHasSubsets"
*   target-ejb="RuleSet"
*   target-role-name = "SubsetIsAPartOfRuleSet"
*
* @jboss.target-relation
*  fk-column = "PARENT_ID"
*  related-pk-field = "id"
*  sql-type="VARCHAR2"
*  jdbc-type="VARCHAR"
*
*/
abstract public Set getSubSets();
   /**
* @ejbgen:local-method
*
* @ejb.interface-method
*view-type="local"
*/
abstract public void setSubSets(Set val);

   /**
* @ejbgen:cmr-field
* @ejbgen:local-method
*
*
* @ejb.interface-method
*view-type="local"
*
* @ejb.value-object
*   compose="com.stalworth.dqrules.vobj.RuleSetValue"
*   compose-name="Parent"
*   members="com.stalworth.dqrules.cmp.RuleSetLocal"
*   members-name="RuleSet"
*   relation="external"
*
*
* @ejb.relation
*   name="RuleSet-RuleSet"
*   role-name="SubsetIsAPartOfRuleSet"
*   cascade-delete="yes"
*
*
* @jboss.relation
*   related-pk-field="id"
*   fk-column="PARENT_ID"
*   sql-type="VARCHAR2"
*   jdbc-type="VARCHAR"
*
*/
abstract public RuleSetLocal getParent();
   /**
* @ejbgen:local-method
*
* @ejb.interface-method
*view-type="local"
*
*/
abstract public void setParent(RuleSetLocal val);


The stacktrace is follows:

avax.ejb.EJBException: Method is not a known CMP field accessor, CMR field accessor, 
or ejbSelect method: methodName=setParent
at 
org.jboss.ejb.plugins.cmp.bridge.EntityBridgeInvocationHandler.invoke(EntityBridgeInvocationHandler.java:106)
at org.jboss.proxy.compiler.Runtime.invoke(Runtime.java:59)
at com.stalworth.dqrules.cmp.RuleSetCMP$Proxy.setParent()
at com.stalworth.dqrules.cmp.RuleSetEJB.ejbPostCreate(RuleSetEJB.java:1122)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.postCreateEntity(CMPPersistenceManager.java:240)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.postCreateEntity(CachedConnectionInterceptor.java:277)
at org.jboss.ejb.EntityContainer.postCreateLocalHome(EntityContainer.java:595)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invoke(EntityContainer.java:1084)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCRelationInterceptor.invoke(JDBCRelationInterceptor.java:72)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invoke(EntitySynchronizationInterceptor.java:282)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invoke(CachedConnectionInterceptor.java:185)
at 
org.jboss.ejb.plugins.EntityReentranceInterceptor.invoke(EntityReentranceInterceptor.java:114)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invoke(EntityInstanceInterceptor.java:163)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invoke(EntityLockInterceptor.java:89)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:44)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:88)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:297)
at org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:98)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:92)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:120)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFacto

[JBoss-user] [Persistence & CMP/JBoss] - Re: Mapping Entity Beans to Database Tables

2004-06-12 Thread abcolson
Hi Alexey,

It worked.  The JBoss version 3.2.4RC1 does fix the quote problem and my database test 
application works as expected.

Thanks to all who helped me.

Alexey, email me at [EMAIL PROTECTED]  I have something I would like to tell you 
privately.

Cheers Everybody

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838580#3838580

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838580


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Performance Tuning] - how to keep alive the connect between standalone Tomcat and

2004-06-12 Thread yong_jiao
Here is my configuration:
  standalone Tomcat 4.1.30,
  JBoss 3.2.2RC3,
  jbossall-client.jar in Tomcat shared/lib/,

My Tomcat works as an EJB client to call JBoss. I also cached EJB home on the Tomcat.
It is understandable that the 1st EJB invocation is slow. However the 2nd EJB 
invocation is almost as slow as the first time if the interval between the 1st and 2nd 
invocation is greater than, say, 1 minute(even shorter).
It is fast if the invocation interval is serveral seconds.

My guess is the connection between Tomcat and JBoss is closed after some wating time.
I am just wondering whether JBoss supports such a feature as Http1.1 connecdtion 
Keep-Alive.

Another strange thing is if I put the jbossall-client.jar into my web application LIB 
directory, each invocation is much slower.












View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838579#3838579

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838579


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - How to get involved in the developers network

2004-06-12 Thread Salil
Hello Friends,
I wanted to contribute to JBoss as a developer. I wanted to know how I could do 
this. I read the overview page but it just says that one should join the mailing list 
and solve bugs etc. I wanted to know whether there is any place where one should 
register and would be assigned work etc. Or does one just join the mailing list solve 
issues and then get assigned work. Which mailing list should I join. Even in the 
'JBoss Application server' forum there are a no. of sub forums.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838578#3838578

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838578


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Rank beginner trying to get anything working ...

2004-06-12 Thread sheepdog
I am working through the JBoss 3.0 Quick Start Guide simply attempting to compile and 
run the JBoss provided template application.  After many adjustments it does compile 
without errors.  However, when I run the client I get the 
errorjavax.naming.NameNotFoundException: ejb not boundon the line TestSessionHome 
lHome = (TestSessionHome) lContext.lookup( "ejb/test/TestSession" );The generated 
TestSession seems correct:public interface TestSessionHome
  |extends javax.ejb.EJBHome
  | {
  |public static final String COMP_NAME="java:comp/env/ejb/test/TestSession";
  |public static final String JNDI_NAME="ejb/test/TestSession";
  | 
  |public test.interfaces.TestSession create()
  |   throws javax.ejb.CreateException,java.rmi.RemoteException;
  | 
  | }and here is the jboss-web.xml file:   
  |   ejb/webtest/TestSession
  |   ejb/test/TestSession
  |
  | If I do a  NamingEnumeration ne = lContext.listBindings("");just after 
initializing the context and list out each item I don't see any "ejb" anywhere.

I'm out of ideas and about to try Websphere instead.  Anyone have any suggestions I 
might try first?  Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838576#3838576

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838576


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: EJB-QL Finder method error

2004-06-12 Thread pumuckel
Sorry that I waited that long for an answer (I did not notice your answer loubyansky)

The output  in DEBUG mode is as follows :

  | 2004-06-12 23:00:52,057 DEBUG [org.apache.struts.action.RequestProcessor]  Looking 
for Action instance for class moduledb.actions.ModStudAction
  | 2004-06-12 23:00:52,057 DEBUG [org.apache.struts.action.RequestProcessor]   
Creating new Action instance
  | 2004-06-12 23:00:52,067 TRACE [org.jboss.system.Registry] lookup 
-1275511181=jboss.j2ee:jndiName=moduledb/ModuleManager,service=EJB
  | 2004-06-12 23:00:52,067 TRACE [org.jboss.system.Registry] lookup 
-1275511181=jboss.j2ee:jndiName=moduledb/ModuleManager,service=EJB
  | 2004-06-12 23:00:52,077 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.ModuleBean#findByPrimaryKey] 
Executing SQL: SELECT id FROM ModuleBean WHERE id=?
  | 2004-06-12 23:00:52,107 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCLoadEntityCommand.ModuleBean] Executing SQL: 
SELECT name, description, ectsCredits, content, grade, link, literature, objectives, 
semester, abbreviation, remarks, activityConfirmation, examType, learnType FROM 
ModuleBean WHERE (id=?)
  | 2004-06-12 23:00:52,207 TRACE [org.jboss.system.Registry] lookup 
-1275511181=jboss.j2ee:jndiName=moduledb/ModuleManager,service=EJB
  | 2004-06-12 23:00:52,207 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCFindByPrimaryKeyQuery.ModuleBean#findByPrimaryKey] 
Executing SQL: SELECT id FROM ModuleBean WHERE id=?
  | 2004-06-12 23:00:52,237 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.UserBean#findByModule] Executing SQL: 
SELECT t0_u.id FROM UserBean t0_u WHERE ((t2_u_takenModules_RELATION_TABLE.UserBean IS 
 NOT NULL AND t2_u_takenModules_RELATION_TABLE.ModuleBean=?))
  | 2004-06-12 23:00:52,297 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCEJBQLQuery.UserBean#findByModule] Find failed
  | java.sql.SQLException: General error,  message from server: "Unknown table 
't2_u_takenModules_RELATION_TABLE' in where clause"
  | at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:1905)
  | at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:1109)
  | at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:1203)
  | at com.mysql.jdbc.Connection.execSQL(Connection.java:2090)
  | 

Thanks for any help in advance

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838575#3838575

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838575


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: Erroneous Error Msg. When Hot-Deploying

2004-06-12 Thread [EMAIL PROTECTED]
yes, i have read the error message ;-)  i don't see an option to attach files to 
posts, so i guess i'm just going to be pasting it here.  there are two EJB's in 
question according to the error message - i'll just paste source code for the first 
one in order to keep things a bit more managable.

as far as i can tell, the CMP field it's complaining about, "licenseType", is 
implemented properly.

thank you for your interest.

-robin

VendorContactBean.java: 

//BEGIN

package com.eventlogic.ejb.vendor.contact;

import java.util.*;
import javax.ejb.*;

public abstract class VendorContactBean implements EntityBean {
 
public Long ejbCreate(Long guid) throws CreateException {

setGUID(guid);
return null;
}

public void ejbPostCreate(Long guid) {}

// relationship fields
public abstract Collection getVendorContactNumbers();
public abstract void setVendorContactNumbers(Collection contactNumbers);  

// persistence fields
public abstract Long getGUID();
public abstract void setGUID(Long guid);

public abstract long getVendorGUID();
public abstract void setVendorGUID(long vendorGUID);

public abstract String getLastName();
public abstract void setLastName(String lastName);

public abstract String getFirstName();
public abstract void setFirstName(String firstName);

public abstract String getMiddleInitial();
public abstract void setMiddleInitial(String middleInitial);

public abstract String getAddress1();
public abstract void setAddress1(String address1);

public abstract String getAddress2();
public abstract void setAddress2(String address2);

public abstract String getCity();
public abstract void setCity(String city);

public abstract String getState();
public abstract void setState(String state);

public abstract String getCountry();
public abstract void setCountry(String country);

public abstract String getZip();
public abstract void setZip(String zip);

public abstract String getEmail();
public abstract void setEmail(String email);

public abstract String getSSN();
public abstract void setSSN(String ssn);

public abstract String getDriversLicenseNumber();
public abstract void setDriversLicenseNumber(String driversLicenseNumber);

public abstract java.util.Date getDriversLicenseExpiration();
public abstract void setDriversLicenseExpiration(java.util.Date aDate);

public abstract String getDriversLicenseState();
public abstract void setDriversLicenseState(String driversLicenseState);

public abstract String getLicenseType();
public abstract void setLicenseType(String driversLicenseState);

public abstract String getNotes();
public abstract void setNotes(String notes);

public abstract java.sql.Timestamp getDateAdded();
public abstract void setDateAdded(java.sql.Timestamp ts);

public abstract java.sql.Timestamp getDateUpdated();
public abstract void setDateUpdated(java.sql.Timestamp ts);

// standard callback methods
public void setEntityContext(EntityContext ctx) {}
public void unsetEntityContext() {}
public void ejbActivate() {}
public void ejbPassivate() {}
public void ejbLoad() {}
public void ejbStore() {}
public void ejbRemove() {}   
}

//END


VendorContactHomeLocal.java:

//BEGIN

package com.eventlogic.ejb.vendor.contact;

import javax.ejb.*;

public interface VendorContactHomeLocal extends javax.ejb.EJBLocalHome {

public VendorContactLocal create(Long guid) throws EJBException, CreateException;
public VendorContactLocal findByPrimaryKey(Long pk) throws EJBException, 
FinderException;
}

//END

VendorLocal.java:

//BEGIN

package com.eventlogic.ejb.vendor;

import com.eventlogic.ejb.vendor.contact.*;
import javax.ejb.*;
import java.util.*;

public interface VendorLocal extends EJBLocalObject {

// relationship fields
public abstract VendorContactLocal getPrimaryContact() throws EJBException;
public abstract void setPrimaryContact(VendorContactLocal contact) throws 
EJBException;

public abstract Collection getVendorServices() throws EJBException;
public abstract void setVendorServices(Collection vendorServices) throws 
EJBException;

public abstract Collection getVendorLicenses() throws EJBException;
public abstract void setVendorLicenses(Collection vendorLicenses) throws 
EJBException;   

public abstract Collection getVendorContainers() throws EJBException;
public abstract void setVendorContainers(Collection collContainers) throws 
EJBException;   

public abstract Collection getVendorVehicles() throws EJBException;
public abstract void setVendorVehicles(Collection vendorVehicles) throws 
EJBException;

public abstract Collection getVendorContacts() throws EJBException;
public

[JBoss-user] [Beginners Corner] - Re: Compile of Duke's Bank app failed

2004-06-12 Thread hbaxmann
your ant script environment is missing some impotent .jar files (servlet.jar in this 
case)

bax 

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838573#3838573

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838573


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Compile of Duke's Bank app failed

2004-06-12 Thread bdemeulle
I am having a difficulty and was wondering if anyone has a suggestion. When I try to 
run the "ant -f jboss-build.xml compile" command, I get the following in the console:

Buildfile: jboss-build.xml

prepare:

compile:
[javac] Compiling 55 source files to C:\j2eetutorial\bank\build
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:13: 
package javax.servlet does not exist
[javac] import javax.servlet.ServletContext;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:14: 
package javax.servlet does not exist
[javac] import javax.servlet.ServletContextEvent;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:15: 
package javax.servlet does not exist
[javac] import javax.servlet.ServletContextListener;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:19: cannot 
resolve symbol
[javac] symbol  : class ServletContextListener
[javac] location: class com.sun.ebank.web.ContextListener
[javac]implements ServletContextListener {
[javac]   ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:21: cannot 
resolve symbol
[javac] symbol  : class ServletContext
[javac] location: class com.sun.ebank.web.ContextListener
[javac]private ServletContext context = null;
[javac]^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:23: cannot 
resolve symbol
[javac] symbol  : class ServletContextEvent
[javac] location: class com.sun.ebank.web.ContextListener
[javac]public void contextDestroyed(ServletContextEvent event) {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:29: cannot 
resolve symbol
[javac] symbol  : class ServletContextEvent
[javac] location: class com.sun.ebank.web.ContextListener
[javac]public void contextInitialized(ServletContextEvent event) {
[javac]   ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:11: package 
javax.servlet does not exist
[javac] import javax.servlet.*;
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:12: package 
javax.servlet.http does not exist
[javac] import javax.servlet.http.*;
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:17: cannot 
resolve symbol
[javac] symbol  : class HttpServlet
[javac] location: class com.sun.ebank.web.Dispatcher
[javac] public class Dispatcher extends HttpServlet {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:18: cannot 
resolve symbol
[javac] symbol  : class HttpServletRequest
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doGet(HttpServletRequest request, HttpServletResponse 
response) {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:18: cannot 
resolve symbol
[javac] symbol  : class HttpServletResponse
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doGet(HttpServletRequest request, HttpServletResponse 
response) {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:58: cannot 
resolve symbol
[javac] symbol  : class HttpServletRequest
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doPost(HttpServletRequest request, HttpServletResponse 
response) {
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:58: cannot 
resolve symbol
[javac] symbol  : class HttpServletResponse
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doPost(HttpServletRequest request, HttpServletResponse 
response) {
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\taglib\DefinitionTag.java:11: 
package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.JspTagException;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\taglib\DefinitionTag.java:12: 
package javax.servlet.jsp.tagext does not exist
[javac] import javax.servlet.jsp.tagext.TagSupport;
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\taglib\DefinitionTag.java:15: 
cannot resolve symbol
[javac] symbol  : class TagSupport
[javac] location: class com.sun.ebank.web.taglib.DefinitionTag
[javac] public class DefinitionTag extends TagSupport {
[javac]^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank

[JBoss-user] [Beginners Corner] - Compile of Duke's Bank app failed

2004-06-12 Thread bdemeulle
I am having a difficulty and was wondering if anyone has a suggestion. When I try to 
run the "ant -f jboss-build.xml compile" command, I get the following in the console:

Buildfile: jboss-build.xml

prepare:

compile:
[javac] Compiling 55 source files to C:\j2eetutorial\bank\build
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:13: 
package javax.servlet does not exist
[javac] import javax.servlet.ServletContext;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:14: 
package javax.servlet does not exist
[javac] import javax.servlet.ServletContextEvent;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:15: 
package javax.servlet does not exist
[javac] import javax.servlet.ServletContextListener;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:19: cannot 
resolve symbol
[javac] symbol  : class ServletContextListener
[javac] location: class com.sun.ebank.web.ContextListener
[javac]implements ServletContextListener {
[javac]   ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:21: cannot 
resolve symbol
[javac] symbol  : class ServletContext
[javac] location: class com.sun.ebank.web.ContextListener
[javac]private ServletContext context = null;
[javac]^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:23: cannot 
resolve symbol
[javac] symbol  : class ServletContextEvent
[javac] location: class com.sun.ebank.web.ContextListener
[javac]public void contextDestroyed(ServletContextEvent event) {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\ContextListener.java:29: cannot 
resolve symbol
[javac] symbol  : class ServletContextEvent
[javac] location: class com.sun.ebank.web.ContextListener
[javac]public void contextInitialized(ServletContextEvent event) {
[javac]   ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:11: package 
javax.servlet does not exist
[javac] import javax.servlet.*;
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:12: package 
javax.servlet.http does not exist
[javac] import javax.servlet.http.*;
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:17: cannot 
resolve symbol
[javac] symbol  : class HttpServlet
[javac] location: class com.sun.ebank.web.Dispatcher
[javac] public class Dispatcher extends HttpServlet {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:18: cannot 
resolve symbol
[javac] symbol  : class HttpServletRequest
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doGet(HttpServletRequest request, HttpServletResponse 
response) {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:18: cannot 
resolve symbol
[javac] symbol  : class HttpServletResponse
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doGet(HttpServletRequest request, HttpServletResponse 
response) {
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:58: cannot 
resolve symbol
[javac] symbol  : class HttpServletRequest
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doPost(HttpServletRequest request, HttpServletResponse 
response) {
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\Dispatcher.java:58: cannot 
resolve symbol
[javac] symbol  : class HttpServletResponse
[javac] location: class com.sun.ebank.web.Dispatcher
[javac]   public void doPost(HttpServletRequest request, HttpServletResponse 
response) {
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\taglib\DefinitionTag.java:11: 
package javax.servlet.jsp does not exist
[javac] import javax.servlet.jsp.JspTagException;
[javac]  ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\taglib\DefinitionTag.java:12: 
package javax.servlet.jsp.tagext does not exist
[javac] import javax.servlet.jsp.tagext.TagSupport;
[javac] ^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank\web\taglib\DefinitionTag.java:15: 
cannot resolve symbol
[javac] symbol  : class TagSupport
[javac] location: class com.sun.ebank.web.taglib.DefinitionTag
[javac] public class DefinitionTag extends TagSupport {
[javac]^
[javac] C:\j2eetutorial\bank\src\com\sun\ebank

[JBoss-user] [Installation & Configuration] - JBoss and PropertyConfigurator of log4j

2004-06-12 Thread vivkap01
Hi
I am using log4j for logging in my j2ee application. The name of the log4j 
configuration file we are using is something like "log4j-product.properties"
when I try to set this using PropertyConfigurator in my program I get errors durng 
Jboss startup.
This is what I get
2004-06-11 16:17:33,968 INFO  [STDOUT] log4j:ERROR A 
"org.jboss.logging.util.OnlyOnceErrorHandler" object is not assignable to a 
"org.apache.log4j.spi.ErrorHandler" variable.
2004-06-11 16:17:33,968 INFO  [STDOUT] log4j:ERROR The class 
"org.apache.log4j.spi.ErrorHandler" was loaded by 
2004-06-11 16:17:33,968 INFO  [STDOUT] log4j:ERROR [WebappClassLoader
  delegate: false
  repositories:
/WEB-INF/classes/

It seems this is affecting JBoss'es logging. Is that true? Use of 
Propertyocnfiigurator may cause sideeffects on JBosse'es logging ?

--Viv

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838569#3838569

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838569


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - Re: javassist gen codes works decompiled only !

2004-06-12 Thread candide_kemmler
I have more: I generate several classes using Javassist, all with that same signature 
which seems to cause so much trouble: guess what ? Some load successfully, others 
don't... I try to find out what makes them so different.

Now I have streamlined my tests to the maximum, and the problem seems to lie right in 
the very heart of the class bytecodes:

  Class.forName ( "fractals.psychos.core.system.transfer.AddressData" 
).newInstance ();
  System.out.println ( "successfully instanciated AddressData" );
  Class.forName ( "fractals.psychos.core.system.transfer.DomainData" ).newInstance 
();
  System.out.println ( "successfully instanciated DomainData" );
  Class.forName ( "fractals.psychos.core.system.transfer.UserData" ).newInstance 
();
  System.out.println ( "successfully instanciated UserData" );
  Class.forName ( "fractals.psychos.core.system.transfer.UserInfo" ).newInstance 
();
  System.out.println ( "successfully instanciated UserInfo" );
  
  Class.forName ( "fractals.psychos.core.media.transfer.ArticleData" ).newInstance 
();
  System.out.println ( "successfully instanciated ArticleData" );
  Class.forName ( "fractals.psychos.core.media.transfer.ArticleInfo" ).newInstance 
();
  System.out.println ( "successfully instanciated ArticleInfo" );

 etc

But it stops here, i.e. the class loader has a problem with the ArticleInfo class. 
Always the same problem: it's about the saveData ( Article, Session ) method. Note 
that the previous class, which loads successfully, has the exact same method.

Well, I don't know, but it looks like a Javassist bug, doesn't it ?

Oh, and I've tried that with both the 2.6 and the 3.0beta versions. No difference.




View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838568#3838568

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838568


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - NO HTTPSESSION DISTRIBUTION

2004-06-12 Thread madadi
hai everybody,

 iam using mysql and i configured some files in jboss to access mysql databse. after 
that i deployed Registrationcmp.ear file. no deployment errors but one warning saying..

10:31:16,565 INFO  [Server] JBoss (MX MicroKernel) [3.2.1 (build: CVSTag=JBoss_3
_2_1 date=200305041533)] Started in 43s:32ms
10:31:26,519 INFO  [MainDeployer] Starting deployment of package: file:/C:/jboss
-3.2.1/server/default/deploy/Registrationcmp.ear
10:31:26,539 INFO  [EARDeployer] Init J2EE application: file:/C:/jboss-3.2.1/ser
ver/default/deploy/Registrationcmp.ear
10:31:27,731 INFO  [EjbModule] Creating
10:31:27,751 INFO  [EjbModule] Deploying RegistrationEjb
10:31:28,052 INFO  [EntityContainer] Creating
10:31:28,072 INFO  [EntityInstancePool] Creating
10:31:28,082 INFO  [EntityInstancePool] Created
10:31:28,132 INFO  [EntityContainer] Created
10:31:28,142 INFO  [EjbModule] Created
10:31:28,152 INFO  [EjbModule] Starting
10:31:28,162 INFO  [EntityContainer] Starting
10:31:32,558 INFO  [EntityInstancePool] Starting
10:31:32,558 INFO  [EntityInstancePool] Started
10:31:32,558 INFO  [EntityContainer] Started
10:31:32,558 INFO  [EjbModule] Started
10:31:32,568 INFO  [EJBDeployer] Deployed: file:/C:/jboss-3.2.1/server/default/t
mp/deploy/server/default/deploy/Registrationcmp.ear/30.Registrationcmp.ear-conte
nts/Register.jar
10:31:33,059 INFO  [jbossweb] Registered jboss.web:Jetty=0,JBossWebApplicationCo
ntext=5,context=/madadi
10:31:33,169 INFO  [jbossweb] Extract jar:file:/C:/jboss-3.2.1/server/default/tm
p/deploy/server/default/deploy/Registrationcmp.ear/30.Registrationcmp.ear-conten
ts/Registration.war!/ to C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\Jetty_0_0_0_0_8080__
madadi\webapp
10:31:34,140 WARN  [Manager] No Store. Falling back to a local session implement
ation - NO HTTPSESSION DISTRIBUTION

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838567#3838567

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838567


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Javassist user questions] - javassist gen codes works decompiled only !

2004-06-12 Thread candide_kemmler
I consistently get the following error when I try to run some javassist generated code:

java.lang.VerifyError: (class: fractals/psychos/core/system/transfer/ApplicationInfo, 
method: saveData signature: (Lfractals/psychos/core/system/entity/Application; 
Lnet/sf/hibernate/Session;)V) Incompatible argument to function...
...

I've looked into the decompiled version of that class (I use dj's JAD utility for 
that: a great tool IMO), and here's what I get:

public void saveData(Application application, Session session)
throws HibernateException
{
System.out.println("saving data...");
...

which looks fairly standard.
And indeed when use the decompiled class as input to plain javac, everything's working 
fine. But this somehow makes javassist a lot less needed...

I'd be glad to send the incriminated bytecodes to anyone interested.

any idea?

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838566#3838566

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838566


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-12 Thread bentins
OK, some progress here. It seems that I'm experiencing some kind of bean lock. Here is 
the description of the cycle:

I start a transaction calling a session bean which retireves a collection of taskbeans 
for a user. It uses a finder on taskhome looking for tasks where user.id = the userid 
passed. Each TaskBean has a many to one relationship with userbean (userbean is blind 
to it).  The first TaskBean is returned with all of it's relationship information (it 
has the userbean and everything...)When the iteration does the getUser on the second 
TaskLocal, I see the slect on all fields of the TaskBean according to the ID, I see 
theresultset being returned. Now I eas supposed to see the select for the user, but I 
don't... see the following selects generated by JBoss:
Starting from the first select stopping on the 
second:1087044981481|150|1|statement|SELECT PRIORITY, TASK_NAME, RE_ASSIGNABLE, 
RE_ASSIGNABLE_TO_VL_ID, CREATE_DATE, UPDATE_DATE, END_DATE, TIME_STAMP, STATUS_ID, 
EMI_USER_ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID=?)|SELECT PRIORITY, TASK_NAME, 
RE_ASSIGNABLE, RE_ASSIGNABLE_TO_VL_ID, CREATE_DATE, UPDATE_DATE, END_DATE, TIME_STAMP, 
STATUS_ID, EMI_USER_ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID='4')
  | 1087044981602|-1||resultset|SELECT PRIORITY, TASK_NAME, RE_ASSIGNABLE, 
RE_ASSIGNABLE_TO_VL_ID, CREATE_DATE, UPDATE_DATE, END_DATE, TIME_STAMP, STATUS_ID, 
EMI_USER_ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID='4')|PRIORITY = 3, 
RE_ASSIGNABLE_TO_VL_ID = 1, TASK_NAME = t4
  | 1087044981742|130|0|statement|SELECT ID, EMI_USER_ID FROM TASK WHERE (ID=?) OR 
(ID=?) OR (ID=?) OR (ID=?) OR (ID=?)|SELECT ID, EMI_USER_ID FROM TASK WHERE (ID='4') 
OR (ID='1') OR (ID='2') OR (ID='3') OR (ID='5')
  | 1087044981742|-1||resultset|SELECT ID, EMI_USER_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981742|-1||resultset|SELECT ID, EMI_USER_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981742|-1||resultset|SELECT ID, EMI_USER_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981742|-1||resultset|SELECT ID, EMI_USER_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981742|-1||resultset|SELECT ID, EMI_USER_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981982|130|0|statement|SELECT ID, STATUS_ID FROM TASK WHERE (ID=?) OR 
(ID=?) OR (ID=?) OR (ID=?) OR (ID=?)|SELECT ID, STATUS_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')
  | 1087044981982|-1||resultset|SELECT ID, STATUS_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981982|-1||resultset|SELECT ID, STATUS_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981982|-1||resultset|SELECT ID, STATUS_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981982|-1||resultset|SELECT ID, STATUS_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044981982|-1||resultset|SELECT ID, STATUS_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044982192|140|1|statement|SELECT OBJECT_TYPE_VL_ID, DESCRIPTION, 
INFORMATION_SOURCE_VL_ID, STATUS_TYPE_VL_ID, START_DATE, END_DATE, CREATE_DATE, 
UPDATE_DATE, TIME_STAMP, CREATOR_USER_ID, UPDATOR_USER_ID, VERSION, IS_OBSOLETE FROM 
STATUS WHERE (ID=?)|SELECT OBJECT_TYPE_VL_ID, DESCRIPTION, INFORMATION_SOURCE_VL_ID, 
STATUS_TYPE_VL_ID, START_DATE, END_DATE, CREATE_DATE, UPDATE_DATE, TIME_STAMP, 
CREATOR_USER_ID, UPDATOR_USER_ID, VERSION, IS_OBSOLETE FROM STATUS WHERE (ID='1')
  | 1087044982192|-1||resultset|SELECT OBJECT_TYPE_VL_ID, DESCRIPTION, 
INFORMATION_SOURCE_VL_ID, STATUS_TYPE_VL_ID, START_DATE, END_DATE, CREATE_DATE, 
UPDATE_DATE, TIME_STAMP, CREATOR_USER_ID, UPDATOR_USER_ID, VERSION, IS_OBSOLETE FROM 
STATUS WHERE (ID='1')|DESCRIPTION = NEW, INFORMATION_SOURCE_VL_ID = null, 
OBJECT_TYPE_VL_ID = null, STATUS_TYPE_VL_ID = NEW, VERSION = 0
  | 1087044982363|151|0|statement|SELECT ID FROM REASON WHERE (STATUS_ID=?)|SELECT ID 
FROM REASON WHERE (STATUS_ID='1')
  | 1087044982493|130|0|statement|SELECT ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID=?) OR 
(ID=?) OR (ID=?) OR (ID=?) OR (ID=?)|SELECT ID, FLOW_CONTEXT_ID FROM TASK WHERE 
(ID='4') OR (ID='1') OR (ID='2') OR (ID='3') OR (ID='5')
  | 1087044982493|-1||resultset|SELECT ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044982493|-1||resultset|SELECT ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044982493|-1||resultset|SELECT ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044982493|-1||resultset|SELECT ID, FLOW_CONTEXT_ID FROM TASK WHERE (ID='4') OR 
(ID='1') OR (ID='2') OR (ID='3') OR (ID='5')|
  | 1087044982493|-1||re

[JBoss-user] [Installation & Configuration] - get apache to work with Jboss/tomcat on linux

2004-06-12 Thread yigang
I want to get apache to work with JBoss and tomcat on linux.
linux : red hat 9
apache : 2.0.40
Jboss 3.08
tomcat 4.1
who can tell me how to do?please give the detail. thank you
if you can bind 80 to Jboss,I will thank you too.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838563#3838563

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838563


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Looking for a

2004-06-12 Thread petitpierre
Hi,

In the frame of my teaching activities, I have selected the public domain
pieces of a complete environment for the development of EJBs and 
created a plugin and some tutorials. These pieces are listed below:

- JBoss
- Eclipse with JBoss-IDE
- My own plugin, freely available, to generate files with doclets
- Pages explaining how to load these environments and how to
create servlets, beans, clients and relationships with CMP beans

See   http://ltiwww.epfl.ch/Eclipse

I would be pleased to get some feedback.

Best Regards,

Claude


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838561#3838561

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838561


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Getting Started Documentation] - Looking for a

2004-06-12 Thread petitpierre
Hi,

In the frame of my teaching activities, I have selected the public domain
pieces of a complete environment for the development of EJBs and 
created a plugin and some tutorials. These pieces are listed below:

- JBoss
- Eclipse with JBoss-IDE
- My own plugin, freely available, to generate files with doclets
- Pages explaining how to load these environments and how to
create servlets, beans, clients and relationships with CMP beans

See   http://ltiwww.epfl.ch/Eclipse

I would be pleased to get some feedback.

Best Regards,

Claude


View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838562#3838562

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838562


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-12 Thread loubyansky
The connection returned to the pool since to be no the one that was obtained.  Add a 
thread to the conversion pattern like

  |  
  | 

Try instance per transaction container to make sure it's not an EJB locking problem.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838560#3838560

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838560


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-12 Thread bentins
Sorry, I stand corrected. I've recheked my self, after a short while the questioned 
select does show on the driver log, which means it was sent to the db.

I'm left with the wonder what could casue the lock, and why does it only happen with 
3.2.4

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838559#3838559

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838559


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-12 Thread bentins
Since this code works perfectly with JBoss 3.2.3 I'm at a loss. What is your 
suggestion? what should I explore next.

More over, I'm sure that this query did not reach the database since I log all driver 
selects and this query doesn't show.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838558#3838558

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838558


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: unexplained lock in 3.2.4

2004-06-12 Thread loubyansky
It looks like the statement was executed successfully and connection was returned to 
the pool.
The stacktrace shows that tx timed out waiting for the lock to be released. So far 
nothing looks like a bug in JBoss.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838556#3838556

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838556


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence & CMP/JBoss] - Re: IllegalStateException Help!

2004-06-12 Thread bentins
Don't know if it helps but consider this explanation:

When you call upon an entity with some kind of getCollection and receive a collection 
of locals of another bean you performed a transaction. If you have not opened a 
transaction outside this call context, say in a session bean, you performed this get 
in it's own transaction which ended when you finished the get. So now when you try to 
manipulate this collection it is already outside the transaction context. So, if you 
make your entity transaction requiered it's not enough, it only states that when you 
call upon the entity you use a transaction, a transaction is opened for each call 
separatly.

If you don't want this behavior (and obviously you don't) your best bet is to open a 
transaction before you manipulate the entity bean and its relations, thus when 
operating within transaction context the container will not open a new one, and only 
close it after you finsihed everything you want to do.

The easiest way to do this is to use a session bean facade. Open the transaction on 
the session bean which will do all the work on the entities and only when it's method 
is done it will close the transaction.

View the original post : 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=3838553#3838553

Reply to the post : 
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=3838553


---
This SF.Net email is sponsored by the new InstallShield X.
>From Windows to Linux, servers to mobile, InstallShield X is the
one installation-authoring solution that does it all. Learn more and
evaluate today! http://www.installshield.com/Dev2Dev/0504
___
JBoss-user mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-user