[JBoss-dev] [EJB on JBoss] - Re: Transaction rollback doesn't work for EJB CMP with MySQL

2004-09-17 Thread canghel
Hi,

after further investigations I noticed that the problem also occurs in case of store. 
So it seems that transaction rollback doesn't work for CMP EJB when MySQL is used for 
the database. 

I changed the DB to Hypersonic and the rollback worked fine.

Has anyone any idea why the rollback doesn't work for MySQL. Are there any special 
settings to be done? Is anyone using CMP EJB and MySQL ?

thanks,
Claudiu

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [EJB on JBoss] - Re: Transaction rollback doesn't work for EJB CMP with mysql

2004-09-17 Thread distributed
hello ppl,

I am having exactly the same problem.. in fact three different people have encountered 
it here at my company. so you r not alone, Claudiu. :)

The problem:
Transactions are just not rolledback when using CMP and CMT (with attr 'Required') 
with mysql.

I have a simple Entity bean being created through a session bean func. .. Now after 
creating the entityobject in the session func i am throwing a EJBException... which 
should cause the entity creation to rollback... but it doesnt. (with hypersonicDB it 
does a perfect rollback)

Maybe there is something in the mysql datasource configuration that i left out. If it 
would be useful.. i can upload my code and the xmls on the net.

Does not using a XADatasource have anything to do with this ?

i am using Jboss 3.2.3 with mysql 4.0.14 with the 3.0.15 jdbc connectors for mysql.

any ideas ? anyone..
vik
PS: Claudiu.. should we post this under JCA/JBoss topic also ?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [EJB on JBoss] - Re: Transaction rollback doesn't work for EJB CMP remove

2004-09-17 Thread loubyansky
Not a JBoss problem. Read MySql docs and post to user forums.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [EJB on JBoss] - Re: Transaction rollback doesn't work for EJB CMP remove

2004-09-17 Thread distributed
oops !
i am really sorry. didnt notice that Claudiu had posted to the devel forum.
my mistake.
vik

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [EJB on JBoss] - Re: Transaction rollback doesn't work for EJB CMP remove

2004-09-17 Thread canghel
I am also sorry for posting this on a wrong forum. But the problem is still there 
I think we should move the discussion on the user forum. Vik, thanks for your 
response. Let us hope that we can find something on the MySQL docs (Alexey in case you 
know more please tell us ... on the user forum of course)

Thanks again and please accept my apologies for using a wrong forum,
Claudiu

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - New CacheLoader: DelegatingCacheLoader

2004-09-17 Thread bela
I added a new CacheLoader, which allows for hierarchical caches, e.g. a first-level 
cache delegates to a second-level cache. Below is some sample code. There is also a 
unit test (DelegatingCacheLoaderTest) for reference.



  | TreeCache firstLevel, secondLevel;
  | DelegatingCacheLoader cache_loader;
  | 
  | // create and configure firstLevel
  | firstLevel=new TreeCache();
  | 
  | // create and configure secondLevel
  | secondLevel=new TreeCache();
  | 
  | // create DelegatingCacheLoader
  | cache_loader=new DelegatingCacheLoader(secondLevel);
  | 
  | // set CacheLoader in firstLevel
  | firstLevel.setCacheLoader(cache_loader);
  | 
  | // start secondLevel
  | secondLevel.startService();
  | 
  | // start firstLevel
  | firstLevel.startService();
  | 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [EJB on JBoss] - Re: Transaction rollback doesn't work for EJB CMP remove

2004-09-17 Thread distributed
discussion continued at:
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=54234

vik

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-head build.177 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-head?log=log20040917060250Lbuild.177
BUILD COMPLETE - build.177Date of build: 09/17/2004 06:02:50Time to build: 16 minutes 18 secondsLast changed: 09/17/2004 05:32:56Last log entry: added example for DelegatingCacheLoader




    Unit Tests: (0) 
 Modifications since last build: (1)1.19modifiedbelabancache/docs/TreeCache.xmladded example for DelegatingCacheLoader



[JBoss-dev] [JBossWS] - EJB Service example (using XDoclet)?

2004-09-17 Thread tperrigo
Is there currently a way, using ant and XDoclet, to generate the appropriate files for 
an EJB web service?  Specifically, since I'm using XDoclet to generate deployment 
descriptors, is there a way to add the "xmlns", "xmlns:xsi", etc, attributes and the 
"service-endpoint" elements to the generated deployment descriptor?  It would also be 
great if there was a way to generate the jax-rpc mapping file and the webservice.xml 
file.

Any assistance would be appreciated!

Tim

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Placing break-points in the instrumented code

2004-09-17 Thread rkadayam
Hello

We are trying to run debugging tools on our AOPized Session beans but we seem to be 
having trouble with setting even function break-points inside these beans primarily 
because the line-number information seems to have been lost/alered because of the 
instrumentation which I guess is un-avoidable. 

But was wondering if any of you have any tips or strategies to share that would enable 
successfully debugging of the instrumented session beans.

Thanks in advance
Rajiv

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Placing break-points in the instrumented code

2004-09-17 Thread kabkhan
When trying to figure out what was going on I did the following on the small examples 
in the tutorial. I realise that  this will probably be totally unpractical on a real 
project due to the number of classes. Anyhow, here it goes:

1) Compile classes
2) Precompile classes
3) Decompile classes, and save over original sourcefiles (you might need to fiddle a 
bit to make them compile)
4) Compile source files created in 3)
5) Run (the classes are AOP'ed)

Probably not very useful for what you want, but the only way I have found...

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Placing break-points in the instrumented code

2004-09-17 Thread kabkhan
PS in 2) I mean run the aop compiler

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Fqn

2004-09-17 Thread norbert
I did some brainstorming about this. I'm not satisfied with the design of Fqn as it is.

While components of the Fqn may be Object, if one wants to be a List be the component 
of an Fqn he would have to cast the List to Object to call the intendet constructor 
(which is not at all intuitive):

Fqn fqn = new Fqn((Object)list);

I'm not a fried of overloading Constructors or methods while keeping the number of 
arguments constant. It's not compatible with the design of generics (as they are in 
JDK5.0).

We would be better off having a default constructor and a constructor accepting an 
array of elements. To construct a Fqn from a List having an addList(List)-method would 
be better.

Since it's not taking any Object 'as is' right now, it's not a huge benefit to be 
allowed to use Object instead of String. Basically an Fqn is just a hirarchical name. 
It points to a context with bound attributes.

This lead me to the following: It might be better to adhere to standards and make 
TreeCache implement javax.naming.DirContext and Fqn implement javax.naming.Name. This 
way a TreeCache might be bound to a NamingContext in a way that all Contents of the 
TreeCache appear seamlessly within the JNDI. TreeCache could also be used as a 
high-speed distributed Namingservice for JBoss itself.

... just a few ideas I had last night

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWS] - Re: TypeMapping problem

2004-09-17 Thread manica
I'm still having trouble with a very similar problem.  I'm using an array as an input, 
rather than a return value.  I followed the type mapping described above and now I'm 
getting a "No deserializer defined for array type InventoryUpdate".  I'm confused 
because I have both the InventoryUpdate type and the ArrayOfInventoryUpdate mapped to 
a BeanDeserializer and an ArrayDeserializer respectively.

Here is the debug output from the server.log:
anonymous wrote : 
  | 2004-09-17 07:31:39,080 DEBUG [org.jboss.webservice.EngineConfigurationFinder] 
Found config at: 
file:/home/nfs/darin/dev/ehr/jboss-4.0.0RC2/server/default/deploy/jboss-ws4ee.sar/META-INF/axis-client-config.xml
  | 2004-09-17 07:31:39,486 DEBUG [org.jboss.webservice.deployment.ServiceDescription] 
Merging with ws4ee deployment meta data: 
jar:file:/home/nfs/darin/dev/ehr/deploy/ehr.ear/test.war!/WEB-INF/ws4ee-deployment.xml
  | 2004-09-17 07:31:39,490 DEBUG [org.jboss.webservice.deployment.ServiceDescription] 
Addinging typeMapping: {http://inventorycontrol.ejb.ehr.com}InventoryUpdate
  | 2004-09-17 07:31:39,490 DEBUG [org.jboss.webservice.deployment.ServiceDescription] 
Replacing typeMapping: {http://inventorycontrol.ejb.ehr.com}ArrayOfInventoryUpdate
  | 2004-09-17 07:31:39,491 DEBUG [org.jboss.webservice.client.ServiceImpl] 
initService: port=null
  | 2004-09-17 07:31:39,491 DEBUG [org.jboss.webservice.client.ServiceImpl] Service 
configuration:
  |   
  | 
  |   
  | 
  |   
  |   
  | 
  |   
  |   
  | 
  | 
  | 
  | 2004-09-17 07:31:39,500 DEBUG [org.jboss.webservice.client.ServiceImpl] Register 
type mapping 
[qname={http://inventorycontrol.ejb.ehr.com}InventoryUpdate,class=com.ehr.ejb.inventorycontrol.InventoryUpdate]
  | 2004-09-17 07:31:39,501 DEBUG [org.jboss.webservice.client.ServiceImpl] Register 
type mapping 
[qname={http://inventorycontrol.ejb.ehr.com}ArrayOfInventoryUpdate,class=com.ehr.ejb.inventorycontrol.InventoryUpdate[]]
  | 2004-09-17 07:31:39,516 DEBUG [org.jboss.webservice.client.ServiceProxy] Invoke on 
jaxrpc service: getPort [interface 
com.ehr.ejb.inventorycontrol.InventoryControlEndpoint]
  | 2004-09-17 07:31:39,609 DEBUG [org.jboss.webservice.client.PortProxy] Invoke on 
service endpoint interface: submit 
[[Lcom.ehr.ejb.inventorycontrol.InventoryUpdate;@fde7ba]
  | 2004-09-17 07:31:39,621 DEBUG [org.jboss.webservice.client.CallImpl] Fixing use: 
[was=encoded,is=literal]
  | 2004-09-17 07:31:39,911 DEBUG [org.jboss.webservice.client.ClientEngine] invoke: 
[EMAIL PROTECTED]
  | 2004-09-17 07:31:39,918 DEBUG [org.jboss.webservice.handler.HandlerChainBaseImpl] 
Create a handler chain for roles: null
  | 2004-09-17 07:31:39,918 DEBUG [org.jboss.webservice.client.ClientEngine] Using 
handler chain for port: InventoryControlEndpoint
  | 2004-09-17 07:31:39,918 DEBUG [org.jboss.webservice.handler.HandlerChainBaseImpl] 
Create a handler chain for roles: null
  | 2004-09-17 07:31:39,918 DEBUG [org.jboss.webservice.client.ClientEngine] Using 
empty handler chain
  | 2004-09-17 07:31:39,918 DEBUG [org.jboss.webservice.handler.HandlerChainBaseImpl] 
init: [config=null]
  | 2004-09-17 07:31:39,951 DEBUG [org.jboss.webservice.handler.HandlerChainBaseImpl] 
Enter: doHandleRequest
  | 2004-09-17 07:31:39,951 DEBUG [org.jboss.webservice.handler.HandlerChainBaseImpl] 
Exit: doHandleRequest with status: true
  | 2004-09-17 07:31:40,589 DEBUG 
[org.jboss.web.tomcat.security.SecurityAssociationValve] Failed to determine servlet
  | java.lang.NullPointerException
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:115)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:137)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:118)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | at 
org.jboss.web.tomcat.tc5.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:122)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:102)
  | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.core.StandardValveContext.invokeNext(StandardValveContext.java:104)
  | at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:520)
  | at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:929)
  | at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:160)
  | at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:799

[JBoss-dev] [Web Services] - How do I generate the RPC stubs in jbossws

2004-09-17 Thread janilsal
I have a servlet which makes a jaxrprc call on an endpoint.   It requires stubs for 
the services to function.   The tutorial I am using uses the stubs created by 
"wscompile"  of the JWSDP.  

How do I do the same with JBossWS?  I need something that compiles to get stubs. 
Equivalent of "wscompile" from Sun.

Anil


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Caches on JBoss (Caches/JBoss)] - Re: Fqn

2004-09-17 Thread bela
"norbert" wrote : 
  | 
  | While components of the Fqn may be Object, if one wants to be a List be the 
component of an Fqn he would have to cast the List to Object to call the intendet 
constructor (which is not at all intuitive):
  | 
  | Fqn fqn = new Fqn((Object)list);
  | 
  | 

I don't think the intention is to have individual components of Fqn that are not 
primitive types (Integer, Boolean, String etc).
Since we're doing an element-by-element comparison, comparing lists would recursively 
have to go down into the list, which is slow.
The other reason for using primitives is that they can/could be used as primary keys 
in a JDBC cache loader impl. Not that we should explicitly design with relational DB 
in mind, but it is important to be able to come up with a simple mapping.



  | This lead me to the following: It might be better to adhere to standards and make 
TreeCache implement javax.naming.DirContext and Fqn implement javax.naming.Name.
  | 

I have thought about this, but I'm not a big friend of the javax.naming package. IMO 
it is overdesigned.


  | TreeCache could also be used as a high-speed distributed Namingservice for JBoss 
itself.
  | 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-1029905 ] JBoss returns incorrect ear exploded directory name

2004-09-17 Thread SourceForge.net
Bugs item #1029905, was opened at 2004-09-17 07:47
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1029905&group_id=22866

Category: JBossServer
Group: None
Status: Open
Resolution: None
Priority: 5
Submitted By: Ranjith Pillai (ranjithpillai)
Assigned to: Nobody/Anonymous (nobody)
Summary: JBoss returns incorrect ear exploded directory name

Initial Comment:
Operating system: HPUX, Windows XP
JDK 1.3
I have deployed an ear called application.ear in JBoss 
3.2.5. In one file I have - 
URL path = Thread.currentThread
().getContextClassLoader().getResource("config/" + 
instanceName + "/my-config.xml"); 
to find the relative path of some config file. Actually the 
relative path is -:/opt/websat/jboss/jboss-
3.2.5/server/tux610/tmp/deploy/tmp34401application.ear
-contents/ssa/config/tux610, 
but JBoss returns -:/opt/websat/jboss/jboss-
3.2.5/server/tux610/tmp/deploy/tmp34401application.ear
!/ssa/config/tux610 . 

If you notice the exploded ear directory name is given 
as "tmp34401application.ear!" . Actually the correct 
name is tmp34401application.ear-contents. 

Also I am wondering why did it return the 
protocol "file:/" in front of URL.
 
Thanks,
Ranjith Pillai

--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1029905&group_id=22866


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBoss IDE (dev)] - Configuring JBoss3.2.5, eclipse and lomboz--Missing librarie

2004-09-17 Thread sani
Hi 
i've installed jboss3.2.5, lomboz3.0 and eclipse3.0 and after enabling lomboz, when i 
tried to create a test Lomboz J2EE project, it gave me errors saying the following 
libraries are missing,

JBOSS_HOME/lib/jboss-boot.jar
JBOSS_HOME/server/default/lib/javax-servelet.jar

These jars are not in their respective directories, i tried unzipping jboss3.2.5 again 
and it doesnt have these jar files. Can anyone suggest what might be a problem, is 
there anything i'm missing maybe in the class path. do i have to install j2ee1.4 too 
since i'm using j2se jdk only.. Thanks -s 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - jboss3.2.5 + jboss-aop

2004-09-17 Thread dannyb23
Hi

I'm trying to run jboss-aop with jboss-3.2.5 so I have downloaded a clean installation 
of jboss-3.2.5 and used the instructions found on 
:http://www.jboss.org/wiki/Wiki.jsp?page=RunningWithJBossApplicationServer

(
Please note that one thing was different than the wiki said : 

original : From the jboss-aspects32 distribution you need to copy these libraries to 
the same directory jboss-aspects.jar 

but i found this jar : jboss-aspect-library.jar in this distribution : 
jboss-aspect-library-1.0RC1.zip
)


After starting jboss up I receive this error :

18:07:08,185 ERROR [URLDeploymentScanner] Incomplete Deployment listing:
MBeans waiting for other MBeans:
ObjectName: jboss.aop:service=AspectManager
 state: CREATED
 I Depend On:
 Depends On Me:
ObjectName: jboss.aop:service=AspectDeployer
 state: CREATED
 I Depend On:
 Depends On Me:

MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM:
ObjectName: jboss.aop:service=AspectManager
 state: CREATED
 I Depend On:
 Depends On Me:
ObjectName: jboss.aop:service=AspectDeployer
 state: CREATED
 I Depend On:
 Depends On Me:


Anybody knows what to do ?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: Placing break-points in the instrumented code

2004-09-17 Thread Bill Burke
I think I know what the problem is.  I don't think Javasssist's copy method copy's 
CodeAttributes which have the line numbers.  I'll see what I can do.

Bill

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [TODO -- DEVELOPMENT] - Re: 4.0.0 Release tasks

2004-09-17 Thread microneering
I am used to various bug tracking systems.  I didn't see a menu item call bug 
tracking.  Are bugs just various postings in the forums, or is there a bug tracking 
system somewhere on this web site?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [TODO -- DEVELOPMENT] - Re: 4.0.0 Release tasks

2004-09-17 Thread [EMAIL PROTECTED]
Sourceforge:
http://sourceforge.net/tracker/?group_id=22866&atid=376685


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [ jboss-Bugs-1029905 ] JBoss returns incorrect ear exploded directory name

2004-09-17 Thread SourceForge.net
Bugs item #1029905, was opened at 2004-09-17 07:47
Message generated for change (Comment added) made by starksm
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1029905&group_id=22866

Category: JBossServer
>Group: v3.2
>Status: Closed
>Resolution: Invalid
Priority: 5
Submitted By: Ranjith Pillai (ranjithpillai)
>Assigned to: Scott M Stark (starksm)
Summary: JBoss returns incorrect ear exploded directory name

Initial Comment:
Operating system: HPUX, Windows XP
JDK 1.3
I have deployed an ear called application.ear in JBoss 
3.2.5. In one file I have - 
URL path = Thread.currentThread
().getContextClassLoader().getResource("config/" + 
instanceName + "/my-config.xml"); 
to find the relative path of some config file. Actually the 
relative path is -:/opt/websat/jboss/jboss-
3.2.5/server/tux610/tmp/deploy/tmp34401application.ear
-contents/ssa/config/tux610, 
but JBoss returns -:/opt/websat/jboss/jboss-
3.2.5/server/tux610/tmp/deploy/tmp34401application.ear
!/ssa/config/tux610 . 

If you notice the exploded ear directory name is given 
as "tmp34401application.ear!" . Actually the correct 
name is tmp34401application.ear-contents. 

Also I am wondering why did it return the 
protocol "file:/" in front of URL.
 
Thanks,
Ranjith Pillai

--

>Comment By: Scott M Stark (starksm)
Date: 2004-09-17 09:29

Message:
Logged In: YES 
user_id=175228

Our resource unit test which does the same thing shows a jar
url to the dtds/sample.dtd resource being looked for. The
url you show is completely invalid. It should be a jar:
protocol url like the following:

09:26:24,140 INFO  [ResourceTest] Looking for resource:
dtds/sample.dtd
09:26:24,140 INFO  [ResourceTest] Found dtds/sample.dtd:
jar:file:/C:/cvs/JBoss3.2/jboss-3.2/build/output/jboss-3.2.6RC2/server/default/tmp/deploy/tmp14791loadingresource.ear!/dtds/sample.dtd

The same behavior is seen with both the 1.4.2 and 1.3.1 jdks.


--

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=376685&aid=1029905&group_id=22866


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [TODO -- DEVELOPMENT] - Re: Want to contribute?

2004-09-17 Thread KOJAK77
Hello, 

I'm a keen Java programmer and I'm interested in contributing to the project.
I've been bumming around the world for some time now so I'm looking to get back on top 
of my game with something 'relatively straightfoward'. Can you suggest an area that 
would start me off on the right track?

KOJAK

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [IIOP on JBoss] - Re: Problem calling EJB using RMI/IIOP while providing IOR f

2004-09-17 Thread arouse
I am running into the same issue.  Did you ever find a solution?

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-head build.178 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-head?log=log20040917121754Lbuild.178
BUILD COMPLETE - build.178Date of build: 09/17/2004 12:17:54Time to build: 24 minutes 47 secondsLast changed: 09/17/2004 11:33:18Last log entry: now uses NodeData for state transfer




    Unit Tests: (0) 
 Modifications since last build: (2)1.12modifiedbelabancache/src/main/org/jboss/cache/loader/FileCacheLoader.javanow uses NodeData for state transfer1.1addedbelabancache/src/main/org/jboss/cache/loader/NodeData.javanew file



[JBoss-dev] [JBossWS] - Re: in RC1 my web services don't work anymore

2004-09-17 Thread darranl
jboss-net was removed and replaced with ws4ee, have a look at the Wiki - there are 
some examples of how to deploy J2EE 1.4 compatible web services on there.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: jboss3.2.5 + jboss-aop

2004-09-17 Thread Bill Burke
Seems like one of the aspect services failed to deploy.  Is there any stack traces in 
bootup?

Thanks,

Bill

BTW, I have not tested JBoss 3.2 integration with latest RC releases yet.



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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Persistence development forum] - SQL returning less number of rows than there is in the table

2004-09-17 Thread stonesnstuff
I have a very strange problem popping up every now and then.  The app is a web-centric 
one using Struts->JBoss->MySQL and I'm using the latest production release of each of 
the listed items.

The problem that I have been encountering is as follows:

A very simple SQL statement which does an equijoin between two tables and returns the 
matching rows.  Everything is fine in the beginning but after running the app for 
sometime, the query returns less number of rows than there is in the table.  I copied 
the query from the log and ran it through the mysql command line utility and it 
returns the complete set.  In some cases, I observed that recycling JBoss helps.  But, 
as of this morning, that doesn't seem to help either.  For example, there are 115 
matching rows in the table but the app when run through JBoss returns only 76, while 
the same query through mysql returns 115.

I'm investigating this by stepping through the code but was wondering if this could be 
a resource issue with JBoss and if anyone has ever encountered anything like this.

Thanks in advance for your help ... 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Clustering and dynamic AOP

2004-09-17 Thread rkadayam
I've basically built a customized tool that does a lot of dynamic AOP such as swap 
in/out interceptors, advice bindings, interceptor/advice stacks and modify default and 
method level meta-data on J2EE beans. The tool itself is exposed via a Session bean 
which essentially is a facade to the AspectManager singleton instance.

I've not thought through much how this would play out in a clustered environment. 
Would it have to be architected in a way so that the facade bean notifies every other 
node in the cluster of any dynamic AOP changes ? Since the AspectManager is not an 
"external resource" such as some Database, it becomes a challenge in trying to keep 
all of the instances in every node in Synch. 

Any tips or strategies or comments greatly appreciated.

Thanks
Rajiv 

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [AOP on JBoss (Aspects/JBoss)] - Re: jboss3.2.5 + jboss-aop

2004-09-17 Thread dannyb23
Hi!

I have just moved the definitions of the mbeans AspectManager and AspectDeployer to 
the "beggining" of jboss-service.xml (just after classpath tag and jboss starts up 
fine!!!  (i dont think this should have any effect the order of the mbeans but it 
seems like it has...) but anyway its now fine... (if i move the definitions of the 
mbeans to the bottom of the jboss-service.xml (just above the closing /server tag then 
i get this error (there is no stack trace there...)

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [JBossWS] - Re: TypeMapping problem

2004-09-17 Thread lafr
I guess your typemapping is not correct. To get sure, I would have to see the 
wsdl-file.

I guess ArrayOf... is not an array, it conatins an array of types.

The only way we found to get this working was, to create a class for that ArrayOf.. 
type.
For ArrayOf... you need the BeanSerializer/BeanDeserializer then.


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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-3.2 Build Failed

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-3.2?log=log20040917164445
BUILD FAILEDAnt Error Message: file:/home/cruisecontrol/work/scripts/build-jboss-head.xml:89: exec returned: 1Date of build: 09/17/2004 16:44:45Time to build: 12 minutes 36 secondsLast changed: 09/17/2004 16:39:31Last log entry: merging changes from head onto 3.2 branch




    Unit Tests: (0) 
 Modifications since last build: (12)1.1.2.7deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/FilterInterceptor.javamerging changes from head onto 3.2 branch1.2.2.1modifiedsteveebersolehibernate/src/main/org/jboss/hibernate/session/HibernateContext.javamerging changes from head onto 3.2 branch1.1.2.2deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/MBeanHelper.javamerging changes from head onto 3.2 branch1.1.2.3deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/Scope.javamerging changes from head onto 3.2 branch1.1.2.11deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/SessionContext.javamerging changes from head onto 3.2 branch1.1.2.4deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/SessionContextHelper.javamerging changes from head onto 3.2 branch1.1.2.3modifiedsteveebersolehibernate/src/main/org/jboss/hibernate/session/TransactionSynch.javamerging changes from head onto 3.2 branch1.1.2.8deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/EjbInterceptor.javamerging changes from head onto 3.2 branch1.1.2.2deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/store/SessionStorage.javamerging changes from head onto 3.2 branch1.1.2.3deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/store/ThreadSessionStorage.javamerging changes from head onto 3.2 branch1.1.2.3deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/store/TransactionSessionStorage.javamerging changes from head onto 3.2 branch1.1.2.7modifiedsteveebersolehibernate/src/main/org/jboss/hibernate/jmx/Hibernate.javamerging changes from head onto 3.2 branch



[JBoss-dev] [Management on JBoss] - Re: Adding NotificationFilters to the listeners of JBossMoni

2004-09-17 Thread [EMAIL PROTECTED]
I believe it is a bit strange how the jboss monitors have been implemented.

Instead of the listeners registering themselves with the broadcaster, the broadcaster 
registers the listeners!

If you want to play with notifications take a look at:

org.jboss.monitor.services.NotificationListener and its baseclass

[url]
http://www.jboss.org/wiki/Wiki.jsp?page=ExampleMinimalNotificationListener
[/url]

You can even use this external MBean (say X) to subscribe listener MBean (L) for 
arbritrary notifications from any number of broadcasters using type filtering too, 
supporting also dynamic subscriptions/unsubscriptions (thus solving any dependency 
problems)

Regards
/Dimitris

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-head build.179 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-head?log=log20040917170033Lbuild.179
BUILD COMPLETE - build.179Date of build: 09/17/2004 17:00:33Time to build: 20 minutes 0 secondsLast changed: 09/17/2004 16:29:50Last log entry: simplified code based on assumption that session must be accessed within a jta txn




    Unit Tests: (0) 
 Modifications since last build: (13)1.5deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/EjbInterceptor.javasimplified code based on assumption that session must be accessed within a jta txn1.5deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/FilterInterceptor.javasimplified code based on assumption that session must be accessed within a jta txn1.2modifiedsteveebersolehibernate/src/main/org/jboss/hibernate/session/HibernateContext.javabranches:  1.2.2;simplified code based on assumption that session must be accessed within a jta txn1.2deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/HibernateContextHelper.javasimplified code based on assumption that session must be accessed within a jta txn1.4deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/MBeanHelper.javasimplified code based on assumption that session must be accessed within a jta txn1.4deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/Scope.javasimplified code based on assumption that session must be accessed within a jta txn1.2deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/SessionObjectFactory.javasimplified code based on assumption that session must be accessed within a jta txn1.3modifiedsteveebersolehibernate/src/main/org/jboss/hibernate/session/TransactionSynch.javasimplified code based on assumption that session must be accessed within a jta txn1.2deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/ENCNameBuilder.javasimplified code based on assumption that session must be accessed within a jta txn1.3deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/store/SessionStorage.javasimplified code based on assumption that session must be accessed within a jta txn1.3deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/store/ThreadSessionStorage.javasimplified code based on assumption that session must be accessed within a jta txn1.3deletedsteveebersolehibernate/src/main/org/jboss/hibernate/session/store/TransactionSessionStorage.javasimplified code based on assumption that session must be accessed within a jta txn1.4modifiedsteveebersolehibernate/src/main/org/jboss/hibernate/jmx/Hibernate.javasimplified code based on assumption that session must be accessed within a jta txn



[JBoss-dev] [Nukes Development] - Re: Database support

2004-09-17 Thread olutosin
For those interested in using SapDB, here is code for  JDBCSapDBCreateCommand.java, I 
can also send the ddl for nukes if any body is interested


package org.jboss.ejb.plugins.cmp.jdbc.keygen;

import java.sql.PreparedStatement;
import java.sql.Connection;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.sql.Statement;

import javax.ejb.EJBException;

import org.jboss.ejb.plugins.cmp.jdbc.JDBCIdentityColumnCreateCommand;
import org.jboss.ejb.plugins.cmp.jdbc.SQLUtil;
import org.jboss.ejb.plugins.cmp.jdbc.JDBCUtil;
import org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager;
import org.jboss.ejb.plugins.cmp.jdbc.metadata.JDBCEntityCommandMetaData;
import org.jboss.ejb.EntityEnterpriseContext;
import org.jboss.deployment.DeploymentException;

/**
 * Create command for use with SapDB, it that uses a sequence
 * and uses sequence.CURRVAL to return the generated pk value
 *
 * @author Tosin Faleye
 * 
 */
public class JDBCSapDBCreateCommand extends JDBCIdentityColumnCreateCommand
{
   private String sequence;
   private int pkIndex;
   private int jdbcType;

   public void init(JDBCStoreManager manager) throws DeploymentException
   {
  super.init(manager);
   }

   protected void initEntityCommand(JDBCEntityCommandMetaData entityCommand) throws 
DeploymentException
   {
  super.initEntityCommand(entityCommand);
  sequence = entityCommand.getAttribute("sequence");
  if (sequence == null) {
 throw new DeploymentException("Sequence must be specified");
  }
  else{
//SELECT SEQUENCE_NAME.CURRVAL AS CURRENT_VAL FROM DUAL
pkSQL = "SELECT " + sequence+".CURRVAL AS CURRENT_VAL FROM DUAL";
  }
   }

   protected void initInsertSQL()
   {
  pkIndex = 1 + insertFields.length;
  jdbcType = pkField.getJDBCType().getJDBCTypes()[0];

  StringBuffer sql = new StringBuffer();
  sql.append("INSERT INTO ").append(entity.getTableName());
  sql.append(" (");
  SQLUtil.getColumnNamesClause(pkField, sql)
 .append(", ");

  SQLUtil.getColumnNamesClause(insertFields, sql);

  sql.append(")");
  sql.append(" VALUES (");
  sql.append(sequence+".NEXTVAL, ");
  SQLUtil.getValuesClause(insertFields, sql);
  sql.append(")");
  insertSQL = sql.toString();
  
  if (debug) {
 log.debug("Insert Entity SQL: " + insertSQL);
  }
   }

   protected PreparedStatement prepareStatement(Connection c, String sql, 
EntityEnterpriseContext ctx) throws SQLException
   {
  return c.prepareCall(sql);
   }

   protected int executeInsert(PreparedStatement ps, EntityEnterpriseContext ctx) 
throws SQLException
   {
  int rows = ps.executeUpdate();
  Connection c;
  Statement s = null;
  ResultSet rs = null;
  try {
 c = ps.getConnection();
 s = c.createStatement();
 rs = s.executeQuery(pkSQL);
 if (!rs.next()) {
throw new EJBException("ResultSet was empty");
 }
 pkField.loadInstanceResults(rs, 1, ctx);
  } catch (RuntimeException e) {
 throw e;
  } catch (Exception e) {
 // throw EJBException to force a rollback as the row has been inserted
 throw new EJBException("Error extracting generated key", e);
  } finally {
 JDBCUtil.safeClose(rs);
 JDBCUtil.safeClose(s);
  }
  return rows;
   }
   
}




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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] [Tomcat] - Re: debugging with JPDA

2004-09-17 Thread JBoss
Same here (except I'm mainly using NetBeans as debugging client). Please post any 
insight into running debugging for both JBoss/Tomcat. Thx.

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

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


---
This SF.Net email is sponsored by: YOU BE THE JUDGE. Be one of 170
Project Admins to receive an Apple iPod Mini FREE for your judgement on
who ports your project to Linux PPC the best. Sponsored by IBM.
Deadline: Sept. 24. Go here: http://sf.net/ppc_contest.php
___
JBoss-Development mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/jboss-development


[JBoss-dev] jboss-head build.180 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-head?log=log20040917215911Lbuild.180
BUILD COMPLETE - build.180Date of build: 09/17/2004 21:59:11Time to build: 14 minutes 3 secondsLast changed: 09/17/2004 21:51:06Last log entry: no message




    Unit Tests: (0) 
 Modifications since last build: (3)1.18modifiedpatriot1burkethirdparty/javassist/lib/javassist.jarno message1.24modifiedpatriot1burkeaop/src/main/org/jboss/aop/AOPClassPool.javaentity bean DependentObject support1.5modifiedstarksmtestsuite/src/main/org/jboss/test/security/ejb/StatelessSessionBean4.javaCan't call getCallerPrincipal in the ejbCreate method



[JBoss-dev] jboss-4.0 build.6 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-4.0?log=log20040917222555Lbuild.6
BUILD COMPLETE - build.6Date of build: 09/17/2004 22:25:55Time to build: 14 minutes 26 secondsLast changed: 09/17/2004 22:00:28Last log entry: merge from head




    Unit Tests: (0) 
 Modifications since last build: (18)1.17.2.1modifiedpatriot1burkethirdparty/javassist/lib/javassist.jarmerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/jdk15/annotated/AnotherPOJO.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/annotated/AnotherPOJO.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/jdk15/annotated/AnnotatedTestCase.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/jdk15/annotated/AspectPerVM.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/jdk15/annotated/POJO.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/annotated/AnnotatedTestCase.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/annotated/AspectPerVM.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/test/org/jboss/test/aop/annotated/POJO.javamerge from head1.13.4.1modifiedpatriot1burkeaop/src/main/org/jboss/aop/pointcut/ast/PointcutExpressionParserTokenManager.javamerge from head1.23.2.1modifiedpatriot1burkeaop/src/main/org/jboss/aop/AOPClassPool.javamerge from head1.2.2.1modifiedpatriot1burkeaop/src/main/org/jboss/aop/AspectAnnotationLoader.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/main/org/jboss/aop/PointcutDef.javamerge from head1.15.2.1modifiedpatriot1burkeaop/src/main/org/jboss/aop/instrument/MethodExecutionTransformer.javamerge from head1.1.2.1modifiedpatriot1burkeaop/src/jdk15/org/jboss/aop/PointcutDef.javamerge from head1.2.2.1modifiedpatriot1burkeaop/docs/examples/aspect-annotated/build.xmlmerge from head1.40.2.1modifiedpatriot1burkeaop/build.xmlmerge from head1.4.16.1modifiedstarksmtestsuite/src/main/org/jboss/test/security/ejb/StatelessSessionBean4.javaCan't call getCallerPrincipal in the ejbCreate method



[JBoss-dev] jboss-4.0 build.7 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-4.0?log=log20040917230656Lbuild.7
BUILD COMPLETE - build.7Date of build: 09/17/2004 23:06:56Time to build: 16 minutes 14 secondsLast changed: 09/17/2004 22:47:40Last log entry: Fix the descriptors to conform to the dtds and remove the clustered state of the entity that only has local interfaces




    Unit Tests: (0) 
 Modifications since last build: (3)1.8.4.1modifiedstarksmtestsuite/src/resources/testbeancluster/META-INF/ejb-jar.xmlFix the descriptors to conform to the dtds and remove the clustered state of the entity that only has local interfaces1.9.4.1modifiedstarksmtestsuite/src/resources/testbeancluster/META-INF/jboss.xmlFix the descriptors to conform to the dtds and remove the clustered state of the entity that only has local interfaces1.6.2.2modifiedstarksmtestsuite/imports/server-config.xmlInclude the jboss-jdbc-metadata.sar in the cluster node config



[JBoss-dev] jboss-head build.181 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-head?log=log20040917233442Lbuild.181
BUILD COMPLETE - build.181Date of build: 09/17/2004 23:34:42Time to build: 13 minutes 56 secondsLast changed: 09/17/2004 22:54:43Last log entry: modified hibernate tests for new intg code




    Unit Tests: (0) 
 Modifications since last build: (3)1.407modifiedsteveebersoletestsuite/build.xmlmodified hibernate tests for new intg code1.5modifiedsteveebersoletestsuite/src/main/org/jboss/test/hibernate/test/HibernateEjbInterceptorUnitTestCase.javamodified hibernate tests for new intg code1.3modifiedsteveebersoletestsuite/src/resources/hibernate/ejb/META-INF/jboss.xmlmodified hibernate tests for new intg code



[JBoss-dev] jboss-head build.182 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-head?log=log20040918013459Lbuild.182
BUILD COMPLETE - build.182Date of build: 09/18/2004 01:34:59Time to build: 13 minutes 14 secondsLast changed: 09/18/2004 01:25:03Last log entry: Added unit test for List




    Unit Tests: (0) 
 Modifications since last build: (4)1.1addedbwang00testsuite/src/main/org/jboss/test/cache/test/standAloneAop/CachedListAopTest.javaAdded unit test for List1.1addedbwang00cache/src/main/org/jboss/cache/aop/AopOperationNotSupportedException.javaAdded additional support for List interfaces1.6modifiedbwang00cache/src/main/org/jboss/cache/aop/CachedListInterceptor.javaAdded additional support for List interfaces1.31modifiedbwang00cache/src/main/org/jboss/cache/aop/TreeCacheAop.javaAdded additional support for List interfaces



[JBoss-dev] jboss-4.0 build.8 Build Successful

2004-09-17 Thread rcampbell

View results here -> http://cruisecontrol.jboss.com/cc/buildresults/jboss-4.0?log=log20040918015244Lbuild.8
BUILD COMPLETE - build.8Date of build: 09/18/2004 01:52:44Time to build: 27 minutes 40 secondsLast changed: 09/18/2004 01:28:16Last log entry: Remove the duplicate service definition




    Unit Tests: (0) 
 Modifications since last build: (1)1.3.2.1modifiedstarksmtestsuite/src/resources/naming/services/jboss-service.xmlRemove the duplicate service definition