[JBoss-user] [JBossCache] - Re: Question Re: JBossCache 1.3 (cloader chaining)

2006-02-07 Thread [EMAIL PROTECTED]
No, what you mean is *passivation*: when the cache is full, elements are 
evicted and save to a store. When accessed again, they're fetched from the 
store (removed from it) and placed into memory again.

CacheLoaderChaining is a different beast. What it provides is the ability to 
attach a cost to a store, and access the stores in order of cost; lest costly 
first, most costly last. Example: we can define 2 cache loaders in a chain, a 
ClusteredCacheLoader and then a shared JDBCCacheLoader. When an element is not 
found, the ClusteredCacheLoader tries to fetch it from the cluster (assuming a 
network round trip is faster than JDBC access), maybe a neighbor node has it. 
If found, we return. If not found, we go on and try to fetch the element from 
the DB via JDBCCacheLoader. 
So the point here is that we always try to avoid having to go to the DB, and as 
long as 1 member in the cluster has the element, we will always fetch from the 
cluster, not from the DB.
This could be taken even further by interposing a TcpDelegatingCacheLoader in 
front of the JDBCCacheLoader, so after accessing the ClusteredCacheLoader, and 
before going to the DB, we go to a remote (central) TCP server, which sits in 
front of the database, acting as a central cache for the DB. Note that if this 
guy fails, we can still go to the DB directly.
When composing these sorts of hierarchical caches, only your imagination is the 
limit ! :-)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Injecting doesn't work

2006-02-07 Thread Newlukai
Thanks Gavin. This solved my problem.
I added the annotation @Intercept(ALWAYS) to my stateless session bean.

Regards
Newlukai

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - How to share classes through wars with isolated ClassLoader

2006-02-07 Thread bgonline
Hello,

I have two web applications deployed on JBoss 4.0.1SP1 with the following 
container configuration in jboss-web.xml file :

  | 
  | 
  | c-w.com:loader=cwsoft-cwx1
  | 
  | java2ParentDelegation=true
  | 
  | 
  | 
  | 
These webapps share classes through their session.
So, I put these classes in a common package put in the lib directory of my 
jboss server configuration.
But I have a ClassNotFoundException that occured, as if the ClassLoader of my 
webapp can't have access to the parent ClassLoader, although I set the 
paremeter java2ClassLoadingCompliance to true.

Could someone help me please ?

Thanks in advance.
_ _ _ _
bgOnline

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Microcontainer] - Re: Porting application from SpringFramework to JBoss

2006-02-07 Thread bkeh12
"borisk" wrote : 
  | 
  | 2. Multiple jboss-bean.xml.
  | Is it possible to have a few config files? How to name them and where to 
place?
  | 
  | 

Like Apache Jakarta hivemind... 

The descriptor is named hivemodule.xml and is stored in the META-INF directory 
of the module ,to provide a runtime and compile-time description of each 
HiveMind module.
The root element of the descriptor is the  element.
The  element is used to identify an additional HiveMind module 
deployment descriptor. 
This is used when a single JAR file contains logically distinct packages, each 
of which should be treated as an individual HiveMind module. This can also be 
useful as a way to reduce developer conflict against a single, large, central 
module descriptor by effectively breaking it into smaller pieces. Sub-modules 
identified in this way must still have their own unique module id.


<'module>




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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Can i run JBoss only using JRE with tools.jar or i need

2006-02-07 Thread svvp
"the-gtm" wrote : I have no idea why you would do that but the best thing to do 
would be to try by yourself :)

Right, but i have to create installation for JBoss together with JDK, it is 
easy to do using install4j because it already contains ability to include JRE 
bundle but not JDK. And i need to be sure that this configuration will work 
fine(i mean JBoss+JRE). So in case you have any idea about that - please give 
me your comments. Maybe you know some useful things related to jdk 
installation: silent mode, any useful tools etc, thanx.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - How to share class through war with isolated ClassLoader ?

2006-02-07 Thread bgonline
Hello,

I have two web applications deployed on JBoss with the following container 
configuration in jboss-web.xml file :

  | 
  | 
  | dot.com:loader=unique-archive-name
  | 
  | java2ParentDelegation=true
  | 
  | 
  | 
  | 
These webapps share classes through their session.
So, I put the shared classes in a common package put in the lib directory of my 
jboss server configuration.
But I have a ClassNotFoundException that occured.

Could someone help me please ?

Thanks in advance.
 _ _ _
bgOnline

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Problem while uploading

2006-02-07 Thread ahamed_vi
Hi friends,
  I am beginner to jboss application server. I am using 
jboss- 4.0.1sp1. its working fine with .ear package, but when i am trying to 
upload a file to server path, its uploaded to 
 instead of uploading to 
. Please send your valuable 
suggesstions immediately..

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - a newbie question,please help me

2006-02-07 Thread summercobel
I build the jboss-portal-2.2 Jboss_portal_2_2_0 from CVS 
And I build the Source Successed!!

If the success build will copy the core/output/lib/jboss-portal.sar  and the 
../core/output/resources/setup/*-ds.xml  to the 
Jboss_home/server/default/deploy  ?? is it  automatic??

if so, why i can' t  find the jboss-portal.sar the the *-ds.xml in the deploy 
folder???

i have been defined the jboss_home in my Windows XP OS variable

Help me .
this is my build.log

  | 
  | configure:
  | 
  | configure-libraries:
  | 
  | configure-modules:
  | 
  | configure-defaults:
  | 
  | configure-tools:
  | 
  | _configure:explode:task:
  | 
  | _configure:jflex:task:
  | 
  | _configure:xdoclet:task:
  | 
  | _configure:xdoclet:ejbdoclet:
  | 
  | _configure:xdoclet:jmxdoclet:
  | 
  | _configure:xdoclet:hibernatedoclet:
  | 
  | _configure:xdoclet:webdoclet:
  | 
  | _configure:cactus:cactus:
  |  [echo] C:\work\jboss-portal-2.2/thirdparty/junit-junit/lib
  | 
  | configure-project:
  |  [echo] groups:  default
  |  [echo] modules: 
common,api,faces,server,security,format,portlet,theme,cms,bridge,core
  | 
  | _default:init:
  | 
  | init:
  | 
  | _buildmagic:modules:most:
  | 
  |  ==
  |  ==
  |  ==  Executing 'most' in module 'common'...
  |  ==
  |  ==
  | 
  | _buildmagic:init:
  | Trying to override old definition of task moduleconfig
  | Trying to override old definition of task execmodules
  | Trying to override old definition of task resolveproperties
  | Trying to override old definition of task require
  | Trying to override old definition of task propertyfilter
  | Trying to override old definition of task call
  | Trying to override old definition of task resolver
  | Trying to override old definition of task property
  | 
  | _buildmagic:init:project-local-properties:
  | 
  | configure:
  | 
  | configure-libraries:
  | 
  | configure-modules:
  | 
  | configure-defaults:
  | Overriding previous definition of reference to javac.classpath
  | 
  | configure-tools:
  | 
  | _configure:xdoclet:hibernatedoclet:
  | 
  | init:
  | 
  | generate-parsers:
  | 
  | _default:compile-classes:
  | 
  | _default:check-exists-etc:
  | 
  | _default:compile-etc:
  | 
  | _default:check-exists-resources:
  | 
  | _default:compile-resources:
  | 
  | compile:
  | 
  | output:
  |   [jar] Building jar: 
C:\work\jboss-portal-2.2\common\output\lib\test.jar
  |   [jar] Building jar: 
C:\work\jboss-portal-2.2\common\output\lib\explode.jar
  | 
  | _default:most:
  | 
  | most:
  | 
  |  ==
  |  ==
  |  ==  Finished 'most' in module 'common'.
  |  ==
  |  ==
  | 
  | 
  |  ==
  |  ==
  |  ==  Executing 'most' in module 'api'...
  |  ==
  |  ==
  | 
  | _buildmagic:init:
  | Trying to override old definition of task moduleconfig
  | Trying to override old definition of task execmodules
  | Trying to override old definition of task resolveproperties
  | Trying to override old definition of task require
  | Trying to override old definition of task propertyfilter
  | Trying to override old definition of task call
  | Trying to override old definition of task resolver
  | Trying to override old definition of task property
  | 
  | _buildmagic:init:project-local-properties:
  | 
  | configure:
  | 
  | configure-libraries:
  | 
  | configure-modules:
  | 
  | configure-defaults:
  | 
  | configure-tools:
  | 
  | _configure:xdoclet:hibernatedoclet:
  | 
  | init:
  | 
  | _default:compile-classes:
  | 
  | _default:check-exists-etc:
  | 
  | _default:compile-etc:
  | 
  | _default:check-exists-resources:
  | 
  | _default:compile-resources:
  | 
  | compile:
  | 
  | output:
  |   [jar] Building jar: 
C:\work\jboss-portal-2.2\api\output\lib\portlet-api-lib.jar
  | 
  | _default:most:
  | 
  | most:
  | 
  |  ==
  |  ==
  |  ==  Finished 'most' in module 'api'.
  |  ==
  |  ==
  | 
  | 
  |  ==
  |  ==
  |  ==  Executing 'most' in module 'faces'...
  |  ==
  |  ==
  | 
  | _buildmagic:init:
  | Trying to override old definition of task moduleconfig
  | Trying to override old definition of task execmodules
  | Trying to override old definition of task resolveproperties
  | Trying to override old definition of task require
  | Trying to override old definition of task propertyfilter
  | Trying to override old definition of task call
  | Trying to override old definition of task resolver
  | Trying to override old definition of task property
  | 
  | _buildmagic:init:project-local-properties:
  | 
  | configure:
  | 
  | configure-libraries:
  | 
  | configure-modules:
  | 
  | configure-defaults:
  | 
  | configure-tools:
  | 
  | _configure:xdoclet:hibernatedoclet:
  | 
  | init:
  | 
  | _default:co

[JBoss-user] [Beginners Corner] - Re: How to run the EJB3.0 tutrial example on MySQL?

2006-02-07 Thread chrismalan
Hi Johannes,

I looked at your join date - my mistake.

Hibernate is a way to access a database, not a database itself.  Before EJB3 
there was EJB2.1.  That was a notoriously complicated way of using a database.  
JBoss then decided to use Hibernate, which was much closer to the present (and 
future) ejb3 and much less complicated.  As ejb3 is still not finalised, they 
continue to use Hibernate for JBoss' implementation of EJB3.  Oracle uses 
Toplink in their application server for the same purposes.

BTW, Johannes, as you know, is Dutch, Afrikaans, maybe German and maybe found 
in other Nordic languages.  But Stonehenge is as English as can come.  Unusual 
combination.  I've met a Digby de Villiers and other unusual combinations in my 
time.

Regards,

Chris

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Urgent help!!!

2006-02-07 Thread gus888
Hi

I recently got a very boring problem. I use JSF and EJB3. A super entity bean 
A, and sub entity bean B extends A. When I submit data from JSF page to the B 
(throug a manage session bean), it works. However, when I submit data from JSF 
page to the A, I always get the "Error during model data update." errors on 
each field. I struggled several days, but I still did not get anwser(I am new 
on EJB). I sincerely appreciate any helps. Thank you in advance.

GUS


@Entity
@Table(name="a")
@Inheritance(strategy = InheritanceType.JOINED)
public class A implements Serializable {
}

@Entity
@Table(name="b")
@Inheritance(strategy = InheritanceType.JOINED)
public class B extends A { 
}



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding Conversations

2006-02-07 Thread chane
Gavin,

Thanks for responding and pointing me in the right direction.  It has been a 
while since I looked at EJBs (actually 2.x timeframe).  I can already tell it 
makes sense just reading section 5.6 (Persistent Contexts - in the persistence 
spec).  I now have lots of reading/learning to do in my spare time...

Thanks again,
Chris

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [J2EE Design Patterns] - Re: Multithreading using MDB

2006-02-07 Thread patrick_ibg

This is such a basic server-side threading construct, the difficulty in 
implementing in EJB shows the immaturity of the standard (IMHO).

>From what I understand, however, they might try to get asynchronous EJB3 calls 
>in the next iteration (3.1) of the spec.

In the meantime, if you don't mind doing something JBoss-specific, you could 
look at asynchronous proxies:

http://docs.jboss.org/ejb3/app-server/tutorial/asynch/asynch.html

Another JBoss extension, Service POJOs, might also help do the trick:

http://docs.jboss.org/ejb3/app-server/tutorial/service/service.html

I think for what you are trying to do, you want a "worker" SFSB that implements 
the long-running job. It will keep state internally, but it exposes getter 
methods that allow clients to peek into the state. Then, you call it via 
another "facade" SFSB via an asynchronous proxy. At least this way you protect 
the end-client from calling JBoss specific code.


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: cannot launch jboss4.0.3sp1 from within the jbosseclipse

2006-02-07 Thread cascadia4u
I've had the same issue.  I let it run and 20 minutes later, it was up and 
running.  There is something bad going on.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding Conversations

2006-02-07 Thread [EMAIL PROTECTED]
Seam-managed persistence contexts are extended pcs. As is the container-managed 
persistence context in the SFSB. Reassociation of a container-managed pc with a 
transaction always happens automatically when the the component is invoked.

In the current releases of Hibernate (and the current spec revision), 
reassociation of a Seam-managed persistence context with a transaction happens 
automatically when the EM or Session is invoked. (Actually this is changing in 
the final draft of the spec.)

I suggest you read what the EJB3 spec has to say about this stuff.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: some general and entry level questions about Jboss porta

2006-02-07 Thread davinchi
Hi ,
Following things I have tried out :

2- yes of course
4 -1 yes
2 - yes
5 - a no of them  In fact if you open http://localhost:8080/portal all views on 
the page are portlets 
from portletswap.com also you can download a no of portlets

6. ?what does the question mean?

Hope this helps
Dvinci


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding Conversations

2006-02-07 Thread chane
Sorry, yes I am talking about the Entities.  To walk through on of the 
examples, I'm looking at the exampe/hibernate.../HotelBookingAction.java.

A conversation is started when the find() method is called.  I see that the 
hotels variable is set based on a call to the persistence engine (in this case 
it is the bookingDatabase).

Then a view is returned displaying all of the hotels and the state is saved on 
the client.  When a users selects a hotel it is saved in the hotel variable.

In the bookHotel() method the booking object is created with references to a 
hotel and a user.

When the confirm() method is called to save the booking, I am trying to 
understand some of the mechanics of how this works.  Primarly, the 
persist(booking) takes the booking object and saves it to the database.

In the booking object there is a reference to a Hotel.  Somewhere during the 
http request that calls confirm(), doesn't the hotel reference have to be 
reassociated with the Session so that a TransientObjectException is not thrown.

Hope this is clearer.  I'm trying to understand how transactions work in Seam 
and how persistence is managed in a conversation.

Chris

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Understanding Conversations

2006-02-07 Thread [EMAIL PROTECTED]
I don't understand what you mean. Seam components are not transactional.

Are you talking about entities in a Seam-managed persistence context?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Understanding Conversations

2006-02-07 Thread chane
I've been picking through the Seam source code trying to understand how 
conversations are implemented.

One question I am wrestling with understanding is how conversations with state 
saved on the client work.  Looking through the code, I expected to see the 
re-created component re-associated with a transaction somewhere.

Could someone point me to the place(s) where I could pick up the program flow 
for seeing how a conversation objects are re-attached to a transaction.

Thanks in advance,
Chris

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - 3.2.8 release availabe (Repost)

2006-02-07 Thread [EMAIL PROTECTED]
JBossAS version 3.2.8 Final has been released and is available for download 
here.

The jboss-3.2.8 release for the J2EE 1.3 codebase is a bug fix and minor 
feature enhancement release.

Release Notes - JBoss Application Server - Version JBossAS-3.2.8 Final

Feature Request

[JBAS-2304] - Support Connection.prepareStatement(sql, resultSetType, 
resultSetConcurrency) in prepared statement cache
[JBAS-2371] - Specifying a bind address for Hypersonic in memory database
[JBAS-2503] - JBossMQ JDBC2 Blob workaround for Oracle 4k limit
[JBAS-2626] - Emit state change notifications from HASingletonSupport on 
startSingleton() / stopSingleton()
[JBAS-2656] - Report a Warning Message if MetricsInterceptor is being used and 
avoid memory leakage


Bug

[JBAS-1934] - J2EEDomain getparent() launch RuntimeException
[JBAS-2212] - Error caught exception removing session Transaction already 
active NestedRuntimeException
[JBAS-2429] - Clustered SSO improperly invalidated upon web application shutdown
[JBAS-2452] - The LdapLoginModule supplies the user with ALL roles from 
LDAP-server instead of constraining it by the membership.
[JBAS-2501] - Incorrect xmbean 1.1 and 1.2 dtds
[JBAS-2564] - hashCode() of org.jboss.util.id.GUID and UID appears to return 
the same value for all GUIDs created
[JBAS-2582] - JBossMQ recovery is closing result sets/statements in the wrong 
order
[JBAS-2585] - Lock contention on BasicMBeanRegistry::get
[JBAS-2601] - In JBoss 4.0.3, the installed file jar_versions.xml  contains the 
informational string ?France Telecomm R&D?. The "&" character is a xml 
violation. XML parser catches this string during xml parsing
[JBAS-2610] - Duplicate entries in SqlProperties used by JMS jdbc2 persistence 
manager
[JBAS-2629] - Double index creation for alterTable
[JBAS-2677] - Differences in target list order between servers breaks RoundRobin
[JBAS-2679] - FileURLConnection decodeFilePaths SystemProperty not retrieved 
correctly.
[JBAS-2684] - DLQHandler ExceptionListener
[JBAS-2687] - IdleRemover using "random" classloader as TCL
[JBAS-2692] - Logger needs to reinit the plugin class in setPluginClassName
[JBAS-2693] - ClusterNode equals() method throws ClassCastException
[JBAS-2718] - GUID doesn't have SerialVersionUID defined
[JBAS-2741] - PreparedStatements may not be closed when using prepared 
statement caching
[JBAS-2748] - Current 3.2.X branch won't start in an IBM 1.3.1 JVM
[JBAS-2762] - Missing StateManager configuration causes infinite loop


Task

[JBAS-1854] - Get the 3.2.8/4.0.2+ compatibility tests working
[JBAS-2608] - JMS jdbc2 service configuration for Derby database
[JBAS-2694] - HSQLDB 1.8.0.2 needs to be compiled with jdk1.3 for Branch_3_2
[JBAS-2709] - Backport org.jboss.management.j2ee.J2EETypeConstants changes to 
3.2.x
[JBAS-2720] - Backport JBAS-2216 to 3.2.x
[JBAS-2721] - Backport JBAS-2022 to 3.2.x
[JBAS-2729] - Correct/update the tomcat ROOT.war index.html links
[JBAS-2772] - org.jboss.test.jbossnet.security.SecurityUnitTestCase needs to be 
exclude if source compiled with jdk1.3


Patch

[JBAS-1366] - Alter table throws Exception when using with mysql and postgresql
[JBAS-2125] - readme.html patch



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - 3.2.8 release availabe

2006-02-07 Thread [EMAIL PROTECTED]
JBossAS version 3.2.8 Final has been released and is available for download 
here.

The jboss-3.2.8 release for the J2EE 1.3 codebase is a bug fix and minor 
feature enhancement release.

Release Notes - JBoss Application Server - Version JBossAS-3.2.8 Final

Feature Request

[JBAS-2304] - Support Connection.prepareStatement(sql, resultSetType, 
resultSetConcurrency) in prepared statement cache
[JBAS-2371] - Specifying a bind address for Hypersonic in memory database
[JBAS-2503] - JBossMQ JDBC2 Blob workaround for Oracle 4k limit
[JBAS-2626] - Emit state change notifications from HASingletonSupport on 
startSingleton() / stopSingleton()
[JBAS-2656] - Report a Warning Message if MetricsInterceptor is being used and 
avoid memory leakage


Bug

[JBAS-1934] - J2EEDomain getparent() launch RuntimeException
[JBAS-2212] - Error caught exception removing session Transaction already 
active NestedRuntimeException
[JBAS-2429] - Clustered SSO improperly invalidated upon web application shutdown
[JBAS-2452] - The LdapLoginModule supplies the user with ALL roles from 
LDAP-server instead of constraining it by the membership.
[JBAS-2501] - Incorrect xmbean 1.1 and 1.2 dtds
[JBAS-2564] - hashCode() of org.jboss.util.id.GUID and UID appears to return 
the same value for all GUIDs created
[JBAS-2582] - JBossMQ recovery is closing result sets/statements in the wrong 
order
[JBAS-2585] - Lock contention on BasicMBeanRegistry::get
[JBAS-2601] - In JBoss 4.0.3, the installed file jar_versions.xml  contains the 
informational string ?France Telecomm R&D?. The "&" character is a xml 
violation. XML parser catches this string during xml parsing
[JBAS-2610] - Duplicate entries in SqlProperties used by JMS jdbc2 persistence 
manager
[JBAS-2629] - Double index creation for alterTable
[JBAS-2677] - Differences in target list order between servers breaks RoundRobin
[JBAS-2679] - FileURLConnection decodeFilePaths SystemProperty not retrieved 
correctly.
[JBAS-2684] - DLQHandler ExceptionListener
[JBAS-2687] - IdleRemover using "random" classloader as TCL
[JBAS-2692] - Logger needs to reinit the plugin class in setPluginClassName
[JBAS-2693] - ClusterNode equals() method throws ClassCastException
[JBAS-2718] - GUID doesn't have SerialVersionUID defined
[JBAS-2741] - PreparedStatements may not be closed when using prepared 
statement caching
[JBAS-2748] - Current 3.2.X branch won't start in an IBM 1.3.1 JVM
[JBAS-2762] - Missing StateManager configuration causes infinite loop


Task

[JBAS-1854] - Get the 3.2.8/4.0.2+ compatibility tests working
[JBAS-2608] - JMS jdbc2 service configuration for Derby database
[JBAS-2694] - HSQLDB 1.8.0.2 needs to be compiled with jdk1.3 for Branch_3_2
[JBAS-2709] - Backport org.jboss.management.j2ee.J2EETypeConstants changes to 
3.2.x
[JBAS-2720] - Backport JBAS-2216 to 3.2.x
[JBAS-2721] - Backport JBAS-2022 to 3.2.x
[JBAS-2729] - Correct/update the tomcat ROOT.war index.html links
[JBAS-2772] - org.jboss.test.jbossnet.security.SecurityUnitTestCase needs to be 
exclude if source compiled with jdk1.3


Patch

[JBAS-1366] - Alter table throws Exception when using with mysql and postgresql
[JBAS-2125] - readme.html patch



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [News & Announcements] - 4.0.4RC1 release available

2006-02-07 Thread [EMAIL PROTECTED]
The 4.0.4RC1 release is available from sourceforge here: JBoss-4.0.4RC1

Full release notes with compatibility notes an highlights are included in the 
release readme. The summary for JBossAS-4.0.4RC1 is:

Release Notes - JBoss Application Server - Version JBossAS-4.0.4RC1

Feature Request

[JBAS-1091] - Allow ejb timers to persist across server restarts

[JBAS-1698] - Timed Based Eviction Support for cmp2
[JBAS-2218] - Provide basic notification-based fault management
[JBAS-2228] - PropertyEditorManagerService should probably use Thread context 
loader
[JBAS-2239] - Add support for non-JACC permissions to the DelegatingPolicy
[JBAS-2280] - MainDeployer.undeploy(URL) should log warning on unrecognised URL

[JBAS-2338] - Add support for DIGEST auth
[JBAS-2365] - support for overager-period and max-bean-age in jdbc2 pm
[JBAS-2366] - support for dynamic-ql in jdbc2 pm
[JBAS-2371] - Specifying a bind address for Hypersonic in memory database
[JBAS-2405] - Upgraded JBossCache to 1.2.4

[JBAS-2449] - Adding A Log4jService Reconfiguration MBean Notification
[JBAS-2459] - Add support for JMSXDeliveryCount to JBossMQ
[JBAS-2460] - Add support for JMSXDeliveryCount to JMS MDBs
[JBAS-2494] - Cannot override load balancing policy of HAJNDI
[JBAS-2507] - support for <, <=, > and >= comparisons for types mapped with 
user-type-mapping

[JBAS-2516] - Modify JNDIView to include HAJNDI bindings in a cluster 
environment
[JBAS-2555] - Add shutdown flag to the ServerMBean
[JBAS-2584] - CallableStatement Caching
[JBAS-2612] - Add better final log message to EARDeployer
[JBAS-2626] - Emit state change notifications from HASingletonSupport on 
startSingleton() / stopSingleton()

[JBAS-2627] - Need additional trace level logging in DatabaseServerLoginModule
[JBAS-2656] - Report a Warning Message if MetricsInterceptor is being used and 
avoid memory leakage
[JBAS-2664] - Add easy deployment/undeployment of test artifacts from 
individual cluster nodes
[JBAS-2665] - Add HA-JNDI urls to JBossClusteredTestServices
[JBAS-2666] - Add ability for RetryInterceptor to use 
NamingContextFactory.lastInitialContextEnv to establish naming environment



Bug>

[JBAS-33] - XMBean interceptors instantiated twice
[JBAS-597] - housekeeping in Main/SAR deployers
[JBAS-603] - Perform stop/destroy/remove for remaining services on 
ServiceController shutdown

[JBAS-1023] - JARDeployer accepting arbitrary deployment suffixes
[JBAS-1093] - build.xml incorrect
[JBAS-1175] - Catalina ContextConfig memoryleak @ undeployment scoped app
[JBAS-1253] - Missing org.w3c.dom.xpath.* in  JBoss
[JBAS-1306] - Can't create timer because TARGETID column is too small

[JBAS-1326] - LoaderRepositoryMbean does not display URLs properly
[JBAS-1394] - TimerService.getTimers() does not seem to work when called at 
ServletContextListener.contextInitialised time
[JBAS-1472] - createTableIfNotExists() always fails for "timer" table
[JBAS-1481] - HAPartitionImpl.viewAccepted()
[JBAS-1518] - NPE in GlobalTxEntityMap

[JBAS-1534] - required display-name in application.xml
[JBAS-1539] - EntityEnterpriseContext does not clear  ejbLocalObject
[JBAS-1626] - ClientReconnectInterceptor doesn't work
[JBAS-1663] - unsetEntityContext not called for instances released from the pool
[JBAS-1666] - Unit Test Failure: testSRPLoginWithAuxChallenge

[JBAS-1681] - ejbTimeout() shouldn't log a warning when run outside a CM 
transaction
[JBAS-1690] - Timer.cancel in a transaction never calls TimerImpl.killTimer
[JBAS-1709] - MBean attribute classes not loaded with deployment classloader
[JBAS-1926] - two timers executing at the same time in some conditions
[JBAS-1930] - Attributes appear and can be accessed remotely as operations, 
only with XMBeans

[JBAS-2188] - "jboss:service=invoker,type=http,target=HAJNDI" misconfigured in 
file httpha-invoker.sar/META-INF/jboss-service.xml
[JBAS-2270] - Cannot set cmp-field to null for entities obtained via a 
container managed relationship (CMR)
[JBAS-2273] - createDDL for timers does not take care of pk-contraint-template
[JBAS-2274] - Timer set to wrong state on rollback
[JBAS-2312] - JMS Resource Adapter throws NPE for missing configuration

[JBAS-2321] - Catalina.load() overides Log4JService's control of the System.err 
and System.out output streams
[JBAS-2336] - org.jboss.mx.metadata.XMBeanEntityResolver ignores systemId
[JBAS-2347] - Tomcat integration Java2ClassLoadingCompliance no longer working
[JBAS-2349] - In all/deploy/jbossweb-tomcat5.5.sar/meta-inf/jboss-service.xml, 
"javax.servlet" is missing from FilteredPackages attribute
[JBAS-2353] - adding  to webapp's web.xml causes ERROR 
[org.jboss.web.tomcat.tc5.session.JBossCacheManager] Snapshot mode must be 
'instant' or 'interval' - using 'instant'

[JBAS-2357] - SecurityAssociation InheritableThreadLocal not initialized 
correctly
[JBAS-2364] - Hibernate support broken (UserTransaction not bound)
[JBAS-2367] - jdbc2 pm doesn't support custom pk classes with pk-sql entity 

[JBoss-user] [Clustering/JBoss] - Re: Creating Partitions 4 Clustering

2006-02-07 Thread Rajesh.Gajula
Hi,
  Copy the all configuration and rename it what you want to have, and after 
that you just use this command to run the nodes 
 run -c  -Djboss.partition.name=,

Regards,
Rajesh.G

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Migration from v2 to v3

2006-02-07 Thread joshuayip
Hi all,

I am new to JBPM. My company has been using jbpm2 in their existing software. 
They have expressed their intention to upgrade to jbpm3 , due to some other 
technical factors. Can anyone suggest to me what are the task and resources 
involved in migrating jbpm2 to jbpm3?

I know firstly the database structure has changed. Are they in anyway, 
transferable ?

Joshua

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: can i give configuration names whatever name i want in w

2006-02-07 Thread Rajesh.Gajula
Hi,
   If you deployed your application in all configuration on both machines, you 
must specify the configuration names all/all, but what my suggestion is better 
dont use all configuration for deploying applications directly, copy that all 
and rename it as you like and give that names. And also please check the port 
no in node2 what you mention, it should be like 8109,

Regards,
Rajesh.G

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Problems!! I am trying use Struts bridge(from apache) to int

2006-02-07 Thread vodafone5574


Hi Does any one one used Struts bridge to intract /integrate Struts applciation 
with Jboss 2.2 RC1  (bundeled with latest jboss4.x) . 

I am trying to portalise the existing mail reader sample application from 
struts distrubution . I am able to deploy the portlet war and can see in 
management UI for default portal .can intianitae the instance thru mangement UI 
. But 

I am getting a jasper exception when i try to invoke thru web browser.

Following is extract from the log file (only exception part).

2006-02-07 17:31:07,647 ERROR [org.jboss.portal.server.servlet.CommandFilter] 
Exception in command invocation
org.apache.jasper.JasperException
at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:370)
at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.portal.theme.LayoutDispatcher.execute(LayoutDispatcher.java:108)
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.portal.server.servlet.CommandFilter.doFilter(CommandFilter.java:65)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at 
org.jboss.portal.theme.LayoutDispatcher.include(LayoutDispatcher.java:143)
at 
org.jboss.portal.core.command.RenderPageCommand.renderMarkup(RenderPageCommand.java:178)
at 
org.jboss.portal.core.command.RenderPageCommand.renderPortlets(RenderPageCommand.java:348)
at 
org.jboss.portal.core.command.RenderPageCommand.execute(RenderPageCommand.java:164)
at 
org.jboss.portal.core.command.ControllerCommand.dispatch(ControllerCommand.java:78)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:140)
at 
org.jboss.portal.core.aspects.controller.EventBroadcasterInterceptor.invoke(EventBroadcasterInterceptor.java:85)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.controller.PolicyEnforcementInterceptor.invoke(PolicyEnforcementInterceptor.java:168)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.controller.PortalNodeInterceptor.invoke(PortalNodeInterceptor.java:61)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.core.aspects.controller.NavigationInterceptor.invoke(NavigationInterceptor.java:58)
at 
org.jboss.portal.core.command.CommandInterceptor.invoke(CommandInterceptor.java:38)
at 
org.jboss.portal.server.invocation.Invocation.invokeNext(Invocation.java:130)
at 
org.jboss.portal.server.invocation.Invocation.invoke(Invocation.java:175)
at 
org.jboss.portal.core.command.CommandContext.execute(CommandContext.java:107)
at 
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:93)
at 
org.jboss.portal.core.command.ExecutionContext.execute(ExecutionContext.java:77)
at org.jboss.portal.core.CoreController.handle(CoreController.java:190)
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.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInte

[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Re: Hibernate Locking Problem

2006-02-07 Thread inscribe
I'm using JTA and calling getCurrentSession()

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: Problems starting JBoss for a second ou third time

2006-02-07 Thread krishnakumars
I use JBoss 4.0.3SP1. With Windows Firewall turned on, i run into the same 
problem. (Port 1098 already in use by alg.exe). 

In my case, i turned windows firewall off. 

Ideally, i would like to configure my jboss to work with the firewall. I 
briefly looked at this 
http://wiki.jboss.org/wiki/Wiki.jsp?page=UsingJBossBehindAFirewall.This refers 
to conf/jboss-service.xml. OTOH, in 4.0.3SP1 the RmiPort seems to live in 
deploy/naming-service.xml. 

Is there an updated wiki page with the files to touch for 4.0.3SP1?  [/url]

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - mulit-threading and commit transaction

2006-02-07 Thread dharraj
Hello,

I have a method to persist process instance as follows

  | 
  |   public static synchronized void persistPI(Token token)
  |   throws Exception
  |   {
  | ProcessInstance pi=token.getProcessInstance();
  | JbpmSessionFactory factory = JbpmSessionFactory.getInstance();
  | JbpmSession jbpmSession = factory.openJbpmSession();
  | jbpmSession.beginTransaction();
  | try
  | {
  |   jbpmSession.getGraphSession().saveProcessInstance(pi);
  |   jbpmSession.commitTransaction();
  | }
  | catch (Exception e)
  | {
  |   e.printStackTrace();
  |   jbpmSession.rollbackTransaction();
  |   throw e;
  | }
  | finally
  | {
  |   jbpmSession.close();
  | }
  | 
  |   }
  | 
I have multiple threads (one per child token) calling this method. I am getting 
the following exception


  | java.lang.RuntimeException: couldn't save process instance '[EMAIL 
PROTECTED]'
  | at org.jbpm.db.GraphSession.saveProcessInstance(GraphSession.java:209)
  | at jpl.mipl.pgs.jbpm.util.Helper.persistPI(Helper.java:35)
  | at jpl.mipl.pgs.jbpm.action.ForkHandler.run(ForkHandler.java:195)
  | at jpl.mipl.pgs.jbpm.action.ForkHandler.run(ForkHandler.java:223)
  | at java.lang.Thread.run(Thread.java:534)
  | Caused by: java.util.ConcurrentModificationException
  | at 
java.util.AbstractList$Itr.checkForComodification(AbstractList.java:448)
  | at java.util.AbstractList$Itr.next(AbstractList.java:419)
  | at org.jbpm.db.LoggingSession.saveLogs(LoggingSession.java:86)
  | at org.jbpm.db.GraphSession.saveProcessInstance(GraphSession.java:204)
  | ... 4 more
  | 

Any ideas.

Thanks for your help and time
Raj


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: mod_jk sticky session problem

2006-02-07 Thread Rajesh.Gajula
Hi,
  Please make sure to set the value for sticy session value to "1", and please 
check if you enter the two node names for loadbalancing among them at 
workerproperties.conf file unser "APACHE_HOME/conf".
   
   Thanks ,
   Rajesh.G

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to get default Locale in @Startup class?

2006-02-07 Thread [EMAIL PROTECTED]
Well, the other option is to get your resource bundle the oldfashioned way, 
just like the built-in Seam resourceBundle component does it. Not sure why you 
wanted to go via JSF.

AFAIK, JSF has no "startup" event, so that is why we are using a servlet 
context listener to do initialization shuff.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Enable Statistics + error on deploy, about to spring out fro

2006-02-07 Thread boerse
Hi, appart from the other post, i have another 2 questions:

1. I would like to enable the statistics, when i do a ant build.deploy.xml 
create.jbpm.configuration i read, among many other messages:

[loadidentities] 00:54:47,353 INFO  SettingsFactory : Statistics: disabled

I want to activate the logs of the process (not only the ones of the 
application) to know average times between states, mean times of processes, 
etc. Which file has to be modified?

2 When i deploy websale (lightly modified) with jbpm 3.0.2 on JBoss 4.0.3SP1, 
everything seems to be going fine, BUT when i do the final:

ant -f build.deploy.xml start.jboss i receive a loto of errors informing there 
was an error Trying to install an already existing mbean. Does anybody know how 
to solve this problem? I've searched and searched in the forum with no 
success... :( Thanks!

[startjboss] 01:38:58,245 ERROR [MainDeployer] Could not create deployment: file
  | :/C:/Server/jbpm-3.0.2/jbpm-server/server/jbpm/deploy/attrpm-service.xml
  | [startjboss] org.jboss.deployment.DeploymentException: Trying to install an 
already registered mbean: jboss:service=AttributePersistenceService
  | [startjboss]at 
org.jboss.system.ServiceCreator.install(ServiceCreator.java:7
  | 0)
  | [startjboss]at 
org.jboss.system.ServiceConfigurator.internalInstall(ServiceC
  | onfigurator.java:431)
  | [startjboss]at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigura
  | tor.java:153)
  | [startjboss]at 
org.jboss.system.ServiceController.install(ServiceController.
  | java:215)
  | [startjboss]at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  | [startjboss]at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
  | sorImpl.java:39)
  | [startjboss]at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
  | hodAccessorImpl.java:25)
  | [startjboss]at java.lang.reflect.Method.invoke(Method.java:324)
  | [startjboss]at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(Reflected
  | Dispatcher.java:141)
  | [startjboss]at 
org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | [startjboss]at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | [startjboss]at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBean
  | Invoker.java:245)
  | [startjboss]at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.ja
  | va:644)
  | [startjboss]at 
org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:176
  | )

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Grid Services in JBossWS

2006-02-07 Thread ishq
Hi,

In reference to your previous message. One cannot make transient and stateful 
webservices and service groups for its virtualization with key features like 
addressing, notification, lifetime management, monitoring etc... I agree that 
ws-i might somehow achieve these features but in  more complex ways.


IshQ,
Germany



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: jBPM incorrectly accumulating variables for child token

2006-02-07 Thread jim.mcmaster
Since no one replied to this in three weeks, I opened a bug report in Jira 
(JBPM-512).  

I have a fix coded and tested.  How do I get the code to you?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: UndeclaredThrowableException in RC5

2006-02-07 Thread [EMAIL PROTECTED]
YOu answer a lot of forum posts, so you are forgiven...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Myfaces Tomahawk Components in JBOss Portal ?

2006-02-07 Thread [EMAIL PROTECTED]
Some are. Some aren't. I don't have either list.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: CMS editor problems...

2006-02-07 Thread [EMAIL PROTECTED]
So upload your html page using the upload feature.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to get default Locale in @Startup class?

2006-02-07 Thread liudan2005
The application initialization process takes quite a while. For our demo 
project, it would take a long time to process the first operation if we don't 
put those code in @Startup class.  This is generally acceptable but not very 
nice in some situations(hard to explain here). Anyway, it's not gonna be a big 
problem. I am just a little curious to know if there's a standard way. 
Thanks Gavin.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - some general and entry level questions about Jboss portal

2006-02-07 Thread [EMAIL PROTECTED]
Hi
Thank you for reading my post.
I have some general and entry level questions about Jboss Portal which i hope 
you help me to know the answers

1-Does this portal works on tomcat ?
2-can we deploy a jsr-168 standard portlet which works inside pluto on Jboss 
portal ?
3-how is localization in jboss portal ? 
-is there RTL and LRT support in portal system ? it means that for 
example :
I localize it to Hebrew which is RTL , and then will it show texts from 
right to left and also will it decorate portlets right to left?
is there any key in its resource bundle to determine the language 
direction?
-is it possible to change the locale on-demand ? in jetspeed we have 
drop down box to select language
in StringBeans there is language bar with each locale flag.. , what is 
jboss portal facility in this issue ?
4-can the portal be configured to:
1-show an specefic home page fot not logged in users
2-show specefic home page to users which are logged in based on 
thier role ?
5-what portlets are shipped with jboss portal ? 
6-is it completely them able ?
7-is it jsr-168 TCK passed ?


Thank you


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process

2006-02-07 Thread dharraj
Hello Rainer,

The execution context is created as follows

  | new ExecutionContext(processInstance.getRootToken());
  | 

Raj


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: UndeclaredThrowableException in RC5

2006-02-07 Thread ejb3workshop
I solved the problem by forking (add fork="yes") in my ant script for the 
client task. Must have been Netbeans getting confused with the classpath.

Sorry to cause all this confusion. Now I really feel stupid :-(

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - DispatchedHttpServletRequest and related jstl fmt problem

2006-02-07 Thread l.forni
Hi all,

I found this topics:
1) http://www.jboss.com/index.html?module=bb&op=viewtopic&t=76350  (previous 
post of mine)
2) http://www.jboss.com/index.html?module=bb&op=viewtopic&t=70971 

Finally i found where is the problem... 

The following methods of 
org.jboss.portal.portlet.impl.DispatchedHttpServletRequest return null values.
Looking at the code, i saw a comment that said what they have to do. 

Modified methods:

   // Must be based on properties provided by the getProperties method of the 
PortletRequest interface

   public String getHeader(String s)
   {
  return rreq.getProperty(s);
   }

   public Enumeration getHeaders(String s)
   {
  return rreq.getProperties(s);
   }

   public Enumeration getHeaderNames()
   {
  return rreq.getPropertyNames();
   }

With this modification, jstl fmt doesn't throw NullPointerException anymore, 
but now locale is choosen by language's browser settings.

So now i have to use language preferences of the user logged in (if set it).
The first solution that i found is to modify 
org.jboss.portal.portlet.impl.PortletRequestImpl .
I'm not satisfied with this, it seems to be a workaround!! But it works!
If user logged in has a preferred language, will be used it, otherwise will be 
used default language.

Modified methods:

   // PLT.11.1.4

   public String getProperty(String name)
   {
if (name.equalsIgnoreCase("accept-language")){
 return getLocale().toString();
}
   
return requestContext.getPropertyValue(name);
   }

   public Enumeration getProperties(String name)
   {
if (name.equalsIgnoreCase("accept-language")){
   Vector v = new Vector();
   v.add(userContext.getLocale().toString());
   return v.elements();
}

return requestContext.getPropertyValues(name);
   }

   public Enumeration getPropertyNames()
   {
Set names = requestContext.getPropertyNames();
return Collections.enumeration(names);
   }

and

   public Enumeration getLocales()
   {
Vector v = new Vector();
v.add(userContext.getLocale());
return v.elements();
   }



One question: if i would like to let an anonymous user to choose a language 
different from that is shown... how can i do this? any idea?

Unfortunately i haven't much time to understand well the build process of jboss 
portal, so i can't write a Unit Test for this. (if someone has some 
documentation to point me, i'm very interested to contribute to this project!)

PS: I have setup an enviroment of JBP 2.2.1RC2 + eclipse to develop and debug 
portlet. May i write a tutorial? (if someone is interested)

Hope this helps!!

Great works! Thanx to all!!

Luca Forni

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Help with Seam Migration (from Beta 1)

2006-02-07 Thread [EMAIL PROTECTED]
"patrick_ibg" wrote : 
  | I'm sure this is something simple that I'm missing.
  | 

org.jboss.seam.core.init.jndiPattern?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Help with Seam Migration (from Beta 1)

2006-02-07 Thread [EMAIL PROTECTED]
"patrick_ibg" wrote : 
  | - what is seam-jndi.properties used for, and where should it go? (.jar or 
.ear?)
  | 

This is only needed when deploying on Tomcat.

"patrick_ibg" wrote : - I noticed that for seam-booking, jboss-seam.jar is 
actually included in the ear, not the ejb3 jar file... Is this the right way to 
do it?

Yeah, I think I prefer it this way, but you don't have to do it like that. You 
can keep doing it the old way if you like.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Help with Seam Migration (from Beta 1)

2006-02-07 Thread patrick_ibg
I'm now using a CVS snapshot (from 20060203). I've managed to get all my code 
compiling with the new EJB3-RC5 stuff.

Some things I don't quite understand:
- what is seam-jndi.properties used for, and where should it go? (.jar or .ear?)
- I noticed that for seam-booking, jboss-seam.jar is actually included in the 
ear, not the ejb3 jar file... Is this the right way to do it?

I've tweaked my build and configuration files, and can now deploy without any 
problems. However, once I make the first request, I get an error. I suspect 
this has to do with my seam-jndi.properties, or the jndiPattern parameter in 
web.xml... I copied both verbatim from the seam-booking example. Here is the 
stack trace:


  | org.jboss.seam.InstantiationException: Could not instantiate Seam component
  | at org.jboss.seam.Component.newInstance(Component.java:611)
  | at org.jboss.seam.Component.newInstance(Component.java:1093)
  | at org.jboss.seam.Component.getInstance(Component.java:1044)
  | at org.jboss.seam.Component.getInstance(Component.java:1027)
  | at 
org.jboss.seam.jsf.SeamVariableResolver.resolveVariable(SeamVariableResolver.java:43)
  | at 
com.sun.facelets.el.LegacyELContext$LegacyELResolver.getValue(LegacyELContext.java:130)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:41)
  | at com.sun.el.parser.AstValue.getValue(AstValue.java:85)
  | at com.sun.el.ValueExpressionImpl.getValue(ValueExpressionImpl.java:183)
  | at 
com.sun.facelets.el.TagValueExpression.getValue(TagValueExpression.java:71)
  | at 
com.sun.facelets.el.LegacyValueBinding.getValue(LegacyValueBinding.java:56)
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:75)
  | at 
org.apache.myfaces.renderkit.RendererUtils.getStringValue(RendererUtils.java:225)
  | at 
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.renderInput(HtmlTextRendererBase.java:131)
  | at 
org.apache.myfaces.renderkit.html.HtmlTextRendererBase.encodeEnd(HtmlTextRendererBase.java:49)
  | at 
javax.faces.component.UIComponentBase.encodeEnd(UIComponentBase.java:331)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:521)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518)
  | at 
com.sun.facelets.FaceletViewHandler.encodeRecursive(FaceletViewHandler.java:518)
  | at 
com.sun.facelets.FaceletViewHandler.renderView(FaceletViewHandler.java:447)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:352)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:107)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
  | at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | Caused by: javax.naming.NameNotFoundException: LoginActionBean not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.

[JBoss-user] [Management, JMX/JBoss] - Re: how to register a MBean using a Queue

2006-02-07 Thread mawione
Did you find a solution to your problem?
I'm having same problem.

Thanks!

Magnus

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - CMS editor problems...

2006-02-07 Thread vmarco
I'm using the JBossPortal 2.2.0 / JBoss 4.0.3sp1 bundle on MacOSX 10.4.4, and 
I'm having a problem using the CMSAdmin portlet HTML editor.  Every time I 
submit an entry I either get a hostname which removes the colon between the 
host and port of image urls, or I get URLs with a "../.." replacing the 
host:port.  Either way the images are broken and CMS is useless.

I don't care so much about the editor and would like to just load in my html 
and image files.  But it appears that the only way to load HTML is through the 
"HTML" source view inside the editor.  Why not have an "add" command allowing 
folks to not even go through the editor?

Any help greatly appreciated!!

Vince


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - BPEL - eventHandlers

2006-02-07 Thread adrian.andrei
Hi there,

I try to build an event based example. I can see the selector being built, I 
can see the event being received and the port handler in "listening for 
response:" but ... nothing happens.

I think the issue is related to JMS subscription (request listener versus port 
handler) since the onMessage event is never triggered.

Are the events implemented? Do you have a working example?

By the way, I used events with and without correlation and I see that you do 
not cover the former case. In RequestListener, buildSelector please chack for 
correlations befpre opening an iterator.

  |  [...]
  | // reception properties
  | Correlations correlations = receiver.getCorrelations();
  | if ( correlations != null )
  | {
  | Map properties = correlations.getReceptionProperties( token );
  |  [...]
  | 

Regards,
AA

PS 
Do you have a date in mind when BPEL is fully implemented in JBOSS extension?


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Re: Cannot startup webservice: NullPointerException

2006-02-07 Thread republicanjew
Thanks for your response!

My app is actually coded against J2EE 1.3, and I've confirmed that all standard 
deployment descriptors reflect this.  Does JBoss support previous versions of 
J2EE with regards to webservices?  Or does that require further configuration?  
I would have guessed that JBoss would recognize my EAR as J2EE 1.3, and 
enforced compatibility with that in mind...

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: How to get default Locale in @Startup class?

2006-02-07 Thread [EMAIL PROTECTED]
I don't understand why you have to do this in an @Startup component. Why not 
just do it lazily when the component is first needed?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - ClassLoader used in MBean does not detect newly created file

2006-02-07 Thread wsngjboss
I tried to lookup a properties file using classloader during startup of an 
MBean:

ClassLoader loader = Thread.currentThread().getContextClassLoader();
  | URL myProp = loader.getResource("myProperties.properties");

If it does not exist, I would create that properties file.  Then later on, I 
use the same code to check if the properties file should be there(it should be 
there by now), but the classloader does not seem to detect that new file.  Is 
it an expected behavior of JBoss?

Thanks,
wsng

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - How to get default Locale in @Startup class?

2006-02-07 Thread liudan2005
In the @Create method of my @Startup class, I need to pull some messages from 
my message bundle. The normal way is to use facescontext like this:
FacesContext facesContext = FacesContext.getCurrentInstance(); 
facesContext.getApplication().getMessageBundle(); 

In a @Startup class, the facesContext is null when the application is starting 
up. What I really need is the default Locale that is defined in 
faces-config.xml. Once I get the Local, I should be able to get the bundle. I 
don't wanna write my own xml parser to get the boudle infor from 
faces-config.xml.  Is there easy way to do this? 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossCache] - Question Re: JBossCache 1.3 (cloader chaining)

2006-02-07 Thread jkueser
Please bear with me for a moment, as I'm brand-spankin' new to JBossCache.

I am still busy digesting the coolness that is JBossCache 1.2.4, and am also 
trying to see what we have to look forward to in 1.3.  One of the features that 
caught my attention was (forgive me if I get this wrong, I can't find the 
article now) CacheLoader chaining.

Can someone explain to me how this is going to work?

What I would LOVE to see is the ability to set up a memory cache with a maximum 
size, and/or a maximum object size.  When that size is exceeded, the cache gets 
written to a database or file.  This sounds close to what the CacheLoader 
chaining did, but it almost sounded like when you chain a memory, file, and 
jdbc cache loader, they all get used at the same time, and I am having trouble 
figuring out the benefits of this.

Thanks for your help!

Joe

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Hibernate Dialect in EJB 3.0 RC5

2006-02-07 Thread k2shah
n EJB 3.0 RC1, I used to be able to do this to get the current SQL Dialect for 
the underlying Hibernate Session Factory...


  | ManagedEntityManagerFactory factory = (ManagedEntityManagerFactory) 
context.lookup("java:managedEntityFactories/EMSEntityManager");
  | HibernateEntityManagerFactory hemf = 
(HibernateEntityManagerFactory)factory.getEntityManagerFactory(
  | );
  | sqlDialect = ((SessionFactoryImpl)hemf.getSessionFactory()).getDialect();
  | 

In EJB 3.0 RC5, there seems to be a change in that the EntityManagerFactory is 
not bound to JNDI unless explicitly told to do so through the persistence.xml. 
However, the EntityManagerFactory that is bound is of type 
org.jboss.ejb3.entity.InjectedEntityManagerFactory. This makes it difficult for 
me to get the hibernate session factory as a result.

Any suggestions as to how I can get this bit of information?

Thanks,
Kartik

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: BPEL - receive/reply flush

2006-02-07 Thread adrian.andrei
I think I found the issue: the send reply method is not commiting after send.

You may want to change the OutstandingRequest.java, line 64 (alpha4) and add 
session.commit();:

  | finally {
  |   if (producer != null) {
  | try {
  |   producer.close();
  |   session.commit();
  | }
  | catch (JMSException e) {
  |   log.warn(e);
  | }
  |   }
  | }
  | 

Regards,
AA


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss.NET] - XSL - Add xml-stylesheet declaration to generated WSDL

2006-02-07 Thread nicke
How can I force the generated WSDL document (e.g. 
http://mydomain/jboss-net/services/MyService?wsdl) to include an xml-stylesheet 
declaration?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Management, JMX/JBoss] - Re: JNI, System.loadLibrary() and class loader interactions

2006-02-07 Thread deb99s
Got it!  I forgot to go back and change the .h files when I moved the methods.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Re: NativeQuery for caliing Stored Procedure Implementation

2006-02-07 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | 1) Are Native and or Named Queries still not implemented yet? 
  | 

Named: yes
Native: yes 
anonymous wrote : 
  |  If not, when is JBoss/EJB3.0 going to release a version that implements 
it? 
  | 

Grab RC5-PFD and upgrade JBAS-403sp1 or build JBoss 4.04-xxx yourself.

anonymous wrote : 
  | I believe that you should use NativeQuery for calling a stored procedure 
that reads in and returns a resultset, is that correect?
  | 

You may.

I recommend having a few glances at the hibernate annotations docs.  you'll 
find them pretty illuminating for most things. 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] JBoss Mail Server 1.0M4-pre2 released

2006-02-07 Thread Andrew Oliver

http://jboss.org/jbossBlog/blog/acoliver/?permalink=JBoss_Mail_Server_M4_pre2_released.txt

instructions: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=HowToInstallJBossMailServer1.0M4


webstart install: http://download.jboss.com/jbossmail/jbms-1.0m4-pre2.jnlp




---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - NativeQuery for caliing Stored Procedure Implementation

2006-02-07 Thread khoyaraaz
I am implementing a J2EE app that will go live this year using EJB3.
Currently, Native Queries are not supported, I am therefore using JDBC calls to 
access data from stored procedures in my DB (faster than sorting within my 
Session Bean).  I had a couple of questions in this regard:
1)  Are Native and or Named Queries still not implemented yet? 
2)  If not, when is JBoss/EJB3.0 going to release a version that implements it?
3)  I believe that you should use NativeQuery for calling a stored procedure 
that reads in and returns a resultset, is that correect?  

Thanks guys, am really enjoying JBoss and EJB 3.0 ... would like to get rid of 
my JDBC calls soon though :)
  

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Trouble getting SubProcessInstance in new jbpmSession

2006-02-07 Thread iterrell
I'm having a little bit of trouble accessing a subprocess instance via a 
Token's getSubProcessInstance method.

I'm using the processes:

  | 
  |
  |   
  |
  |
  |   
  |
  | 
  |   
  | 
  | 
  |
  |   
  |
  |
  | 
  | 


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

The following code creates a ProcessInstance, advances it to enter the 
subprocess, and prints out the subprocess instance in one session, and then 
loads the process and prints out the subprocess instance (using the same code) 
in a second session.


  | jbpmSession = JbpmSessionFactory.getInstance().openJbpmSession();
  | GraphSession graphSession = jbpmSession.getGraphSession();
  | 
  | ProcessDefinition pd = graphSession.findLatestProcessDefinition("Task 
Master Process");
  | ProcessInstance pi = pd.createProcessInstance();
  | graphSession.saveProcessInstance(pi);
  | 
  | long id = pi.getId();
  | Token t = pi.getRootToken();
  | pi.signal();
  | pi.signal();
  | 
System.out.println(graphSession.loadProcessInstance(id).getRootToken().getSubProcessInstance());
  | jbpmSession.close();
  | 
  | jbpmSession = JbpmSessionFactory.getInstance().openJbpmSession();
  | graphSession = jbpmSession.getGraphSession();
  | 
System.out.println(graphSession.loadProcessInstance(id).getRootToken().getSubProcessInstance());
  | jbpmSession.close();
  | 

This leads to, for example:

  | 16:39:35,213 INFO  [STDOUT] [EMAIL PROTECTED]
  | 16:39:35,229 INFO  [STDOUT] null
  | 

Now, I would very much expect to get the same process instance back even in a 
new jbpmSession.  Instead, I get null.  Can anyone shed any light on this?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - JAAS Charset

2006-02-07 Thread elywagner
Hello!

I've developed a JAAS Login Module for my application, extending the class 
AbstractServerLoginModule,  as suggested in JBoss documentation. The basics of 
my Login Module is working as expected. I can authenticate and authorize my 
users without problems. However, if a username contains a non ASCII-US 
character like ü, ä or ö,  for example, after the authentication, the method 
getCallerPrincipal() of the class SessionContext returns null. I have seen that 
my customized authentication is returning true when the passwords match, but 
something outside my code is failing to complete the authentication process. 
Probably the problem is that JBoss is not configured to use UTF-8 as charset. 
The rest of my web application is already supporting UTF-8 characters, but as 
far as I know, this configuration has no influence on JAAS. Does anyone know 
how to make this configuration for JAAS?

Best Regards

Ely

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid3432&bid#0486&dat1642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB/JBoss] - Duplicate EJB timer ids - (if target ejb timed object is dif

2006-02-07 Thread [EMAIL PROTECTED]
Hi All,

I'm using JBoss 4.0.2, with Java 5.  Creating EJBTimers and getting the 
ejbTimeout call at the appropriate time is works fine.  

I've just set myself up to have multiple timers for multiple Stateless Session 
EJBs - each bean implements TimedObject (i.e., implements ejbTimeout method).  
A timer is automatically associated to the EJB TimedObject that creates it.  I 
assume this is a function of the TimerService.  So, if EJB A creates timer A, 
when timer A expires, only EJB A will be called.  

When I start up the app and initialize my timers, the timerid's appearing in 
the TIMERS table start at 1 for each of the two different EJBs that will be 
receiving the ejbTimeout callbacks.  Here's an example of the content of TIMERS 
table (leaving off the last two columns because they're too big and not 
relevant):

TIMERID TARGETIDINITIALDATE TIMERINTERVAL
1   [target=jboss.j2ee:jndiName=cc/OTARefreshController,service=EJB]
2/7/2006 4:00:00.00 PM  360 
1   [target=jboss.j2ee:jndiName=cc/NotificationController,service=EJB]  
2/9/2006 4:00:00.00 AM  120960  
2   [target=jboss.j2ee:jndiName=cc/OTARefreshController,service=EJB]
2/8/2006 4:00:00.00 AM  8640
2   [target=jboss.j2ee:jndiName=cc/NotificationController,service=EJB]  
2/13/2006 1:00:00.00 AM 60480   

Is this safe/ok/intended?  I'd prefer TIMERID to be unique.  (Because of the 
bug with cancelTimer not killing the timer, I've been using the TimerId to 
delete a timer myself until we upgrade JBoss.)  Not sure if there is a way for 
me to control/configure this.  

Dimitris has said that a lot of timer fixes are in 4.0.3 and 4.0.4, and we'll 
probably move to 4.0.3 soon.  

Thanks,
Vick Fisher




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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Obtaining user data

2006-02-07 Thread j2ee_junkie
Oh yes, I forgot.  The CustomPrincipalValve will replace the principal stored 
in the request with the "CallerPrincipal" added to authenticated subject.

In that case, option 2 sounds better.  Look at...

${SERVER_HOME_URL}/deploy/jbossweb-tomcat55.sar/MET-INF/jboss-service.xml

In this xml file you will find a setting called "SubjectAttributeName".

Let me know if you still can not get this going...

cgriffith

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: Program execute at every hour

2006-02-07 Thread lafr
Yes. Use a Timer / TimedObject.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process

2006-02-07 Thread RAlfoeldi
Hi Raj,

first question: where do you get the executionContext from?

while (!executionContext.getToken().hasEnded())

after that we'll continue...

Greetings

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - Exception - CoyoteAdapter

2006-02-07 Thread Dornus
Is anyone else randomly getting this error too?  I have 4.0.3 with RC5 and 
Tomcat 5.5.12 on Windows XP.

  | 15:33:22,054 ERROR [CoyoteAdapter] An exception or error occurred in the 
container during the request processing
  | java.lang.IndexOutOfBoundsException: Index: 1, Size: 1
  | at java.util.ArrayList.RangeCheck(ArrayList.java:547)
  | at java.util.ArrayList.remove(ArrayList.java:390)
  | at 
org.jboss.security.SecurityAssociation$RunAsThreadLocalStack.pop(SecurityAssociation.java:623)
  | at 
org.jboss.security.SecurityAssociation.popRunAsIdentity(SecurityAssociation.java:544)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationActions$PopRunAsRoleAction.run(SecurityAssociationActions.java:113)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationActions.popRunAsIdentity(SecurityAssociationActions.java:171)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:160)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:59)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
  | at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
  | at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
  | at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
  | at java.lang.Thread.run(Thread.java:595)
  | 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - JBoss Innovation Awards

2006-02-07 Thread [EMAIL PROTECTED]
The JBoss Innovation Awards feature a special category for users of EJB3 and/or 
Seam to tell their story and get recognized.

Tell us how you are using Seam!

http://www.jbossworld.com/innovation_award.htm

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - run xdoclet tutorial

2006-02-07 Thread alessandro.pizzoleo
Hello,
I use jbosside 1.5,jdk 1.5,jboss 4.0.3
When i run Xdoclet for the jbosside tutorial's i see in the console:

BUILD FAILED
java.lang.NoSuchMethodError: 
org.apache.tools.ant.Main.getAntVersion()Ljava/lang/String;
at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.setBuiltInProperties(InternalAntRunner.java:1014)
at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.setProperties(InternalAntRunner.java:1003)
at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.run(InternalAntRunner.java:362)
at 
org.eclipse.ant.internal.ui.antsupport.InternalAntRunner.main(InternalAntRunner.java:137)

Total time: 30 milliseconds

What can i do?


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
ok.. ill check that again, thanks!

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
[img]http://www.wpg.com.py/stuff/result1058.png[/img]

result=NamingContext
  naming=NamingServer
  parser=NamingParser
   prefix=CompoundName

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread [EMAIL PROTECTED]
Ah. Then I guess your org.jboss.seam.core.init.jndiPattern is set wrong.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JBoss Eclipse IDE, Eclipse 3.1 and upcoming WTP versions

2006-02-07 Thread js8523
Hi 

Use the server defintion jar from the below url

http://www.informatik.fh-wiesbaden.de/~knauf/public/

Just put it in your plugin directory, then restart and you should see a new 
server definition which will allow you to perform all the normal wtp operations.

HTH, 

James

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
sorry Gavin, when I stop at that line the type of result is NamingContext.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: error deploying seam-booking example...

2006-02-07 Thread patrick_ibg
Thanks Gavin...

I switched strategies and decided to get 4.0.4 RC1, and that seems to be 
working fine with the Seam example code. I am now porting my old Seam code. 
Seems fairly straightforward so far, and really very easy when using Eclipse.

For others who might be attempting to check out 4.0.4 RC1 from CVS, you want to 
use the command:

cvs checkout -r JBoss_4_0_4_RC1 jboss-4.0.x

(This caused me a bit of confusion at first, trying to figure out which module, 
then which label to check out.)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread [EMAIL PROTECTED]
The line you are supposed to be stopping on is 1054, the line that throws the 
exception.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella

well result = Manager (id 10046)
  conversationIdEntryMap=null
  conversationTimeout=3000
  currentConversationId = "2"
  currentConversationIdStack=LinkedList (id=10052)
  dirty=false
   isLongRunningConversation=false

[img]http://www.wpg.com.py/stuff/result.gif[/img]
[img]http://www.wpg.com.py/stuff/result1058.png[/img]

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [EJB 3.0] - GeneratedValue field in composite key

2006-02-07 Thread sander_s
I would like one of my fields in a composite PK to be an auto_increment field.

However the @GeneratedValue annotation only seems to work if there is only one 
PK field.

A solution is to manually adjust the table. This works fine but I would like to 
see this happen automatically.

Is it possible to do this with annotations ?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Beta Relase of 2.4 Portal

2006-02-07 Thread [EMAIL PROTECTED]
I don't know about a beta version but end of April 2006 is still the due date 
for 2.4.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Installation, Configuration & Deployment] - Re: scheduler-service

2006-02-07 Thread Tyler Black
"arshadsa" wrote : I did the same way but for me, my class not even running!
  | Could you help me how to run a scheduler which has to fire an event at 
every hour!

Edit scheduler-config.xml to say
  
  | true
  | your.fully.qualified.classname.GoesHere
  | consructor param values go 
here
  | constructor param types go 
here
  | 0
  | 6
  | -1
  |   
  | 

You class must implement org.jboss.varia.scheduler.Schedulable, and have a 
constructor with the parameters you specified.

Hope this helps

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: JSP Save Not Showing

2006-02-07 Thread [EMAIL PROTECTED]
Hello, unfortunately you are doing nothing wrong =).

This is a known "drawback" at the moment, and is on our feature request list. 
You can track it/vote for it here:
http://jira.jboss.com/jira/browse/JBIDE-264

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Eclipse IDE (users)] - Re: DTMManagerDefault.getDTM(int) line: 628 source not found

2006-02-07 Thread [EMAIL PROTECTED]
Hello..

Could you provide more details about your environment so we could try to 
replicate your error?

- What version of eclipse are you running? (Are you just running the bundled 
Eclipse 3.1.1?)
- What version of the JVM is JBoss running with? Are you sure it's running with 
a JDK and not a JRE?
- What jboss configuration are you using? Is it a standard configuration? (i.e. 
default, all?)

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: error deploying seam-booking example...

2006-02-07 Thread [EMAIL PROTECTED]
I just tested the current CVS of booking app against the current (4.0.4rc1) CVS 
of JBoss, and all was working fine.

I have not tried to install the EJB3 release in JBoss 4.0.3SP1, but I 
understood that Thomas had tried that out and had no problem.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
ok  ill take a look now

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBossWS] - Which JBoss to Use for Web Services?

2006-02-07 Thread esvehla
Hi Everyone,

My team and I are trying to decide the best SOA stack to use for building our 
web services and wanted to get some guidance from the community regarding 
whether we should use JBossWS today or fall back and use JBoss 4.0.3 and 
manually integrate WSIF, jUDDI together.  We are Java based and plan to focus 
on implementing all services using Java in a J2EE environment.

We have been attempting to use JBoss 4.0.3sp1 and customize jUDDI as well as 
WSIF together to form our initial web services stack but we have been 
encountering problems integrating these technologies.  We have also noticed 
that there is not alot of documentation available on how to use WSIF together 
with jUDDI as well as for each respective technology on its own.

JBossWS looks like an attractive way to go given all of it's standards support 
and especially support for JSR-181 but we see that there are still several 
major open issues.  We can afford to start now with JBossWS assuming that there 
will be a stable production release available within the first half of 06.

Here are my specific questions:

1.  Should we use JBossWS today despite it's immaturity or continue to use 
JBoss 4.0.3sp1 and manually integrate WSIF and jUDDI together?

2.  Does JBossWS provide us an integrated collection of services components 
like jUDDI and WSIF out of the box?  Will we still need to integrate these 
tools together?

3.  Does the use of the JBoss SOAP implementation provide us advantages over 
Axis?

4.  Any suggestions on how to best integrate jUDDI and WSIF?

Thanks

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Beta Relase of 2.4 Portal

2006-02-07 Thread rvdandi
2.4 Portal realease was scheduled for April 2006. Is that the schedule and if 
so, when are you planning to release the beta version

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Tomcat, HTTPD, Servlets & JSP] - HOw to upload a servlet to JBoss container when itself is st

2006-02-07 Thread jolmedo35
I want to upload certain servlet when my JBoss applicatoin server is starting 
up. How can I do it?

Thanks for helping me.



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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread [EMAIL PROTECTED]
Can you put a breakpoint here:

Component.java:1054

and tell us what kind of object result is?

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - BPEL - abnormal end of process

2006-02-07 Thread adrian.andrei
I have a BPEL process that use to end abnormally, somewhere in the middle of a 
sequence and no reason (or exception) was logged - I can see just the process 
end event there.

The use case is:
- have a global message type variable, store the response of some invoke 
activity (the message is multi-part, each is a string)
- after an unrelated reply activity try to access a property part using 
bpel:getVariableData

You will notice in log file how end process event is sent immediately after 
assign (even though there a lot of activities that follow).

Sometimes, you may even have an exception logged, but when is not, it is very 
disturbing to see your process end without a cause - it takes a huge amount of 
time to debug.

How do I know that is the cause? Simple, immediately after the first invoke, 
store the message part in a type variable and use that instead later on. The 
process ends successfully.

Please let me know if you want more details, but I cannot share the BPEL code 
with you.

Regards,
AA


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Portal] - Re: Layout Strategy - ACTIVATED PORTLET ???????????

2006-02-07 Thread PMO
Well, this is a bug in 2.2.1 :  getTargetPortlet() returns null !!!





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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Re: Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
Sorry the Title of this post is wrong :S  Should be : Uncaught exception 
handled by Seam  O_o !! 

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss Seam] - Cannot Instantiate seam component O_o !!

2006-02-07 Thread Shinerella
I was working on a project  with jboss-4.0.3SP1 and a old version of seam (3 
month ago)  the project has some query stuff nicely working with datamodel and 
facelets, the thing is that we updated to jboss-4.0.4RC1 the last seam version  
1.0 beta 2 , to try it.

The problem now is that the action buttons of my pages cannot call the actions 
methods linked to them. So I made into the proyect a simple class with a simple 
xhtml page in order to find the trouble.  

They go like this:

The Page: 

http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
http://www.w3.org/1999/xhtml";
xmlns:ui="http://java.sun.com/jsf/facelets";
xmlns:h="http://java.sun.com/jsf/html";
xmlns:f="http://java.sun.com/jsf/core";>


TEST




  







My stateless bean


  | package py.com.caro.seam;
  | 
  | import javax.ejb.Interceptors;
  | import javax.ejb.Stateless;
  | 
  | import org.jboss.seam.annotations.*;
  | import org.jboss.seam.ejb.SeamInterceptor;
  | 
  | /**
  |  * @author carolina
  |  *
  |  */
  | @Stateless
  | @Name("test")
  | @Interceptors(SeamInterceptor.class)
  | public class TestAction implements Test
  |   {
  |   
  |   
  | public String test()
  |   {
  |return "success";
  |   }
  |   }
  | 
  | 


And its interface


  | 
  | package py.com.caro.seam;
  | 
  | import javax.ejb.Local;
  | 
  | @Local
  | public interface Test
  |   {
  | 
  |   public String test();
  | 
  |   }
  | 


And as in all the others pages, I get this error when I try to execute that 
action button:


ERROR [SeamExceptionFilter] uncaught exception handled by Seam
javax.servlet.ServletException: Error calling action method of component with 
id _id0:test
at javax.faces.webapp.FacesServlet.service(FacesServlet.java:121)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:23)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:44)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:54)
at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:174)
at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:74)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:868)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:663)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:595)


14:58:30,625 INFO  [SeamExceptionFilter] killing transaction


14:58:30,625 ERROR [[Faces Servlet]] Servlet.service() for servlet Faces 
Servlet threw exception
javax.faces.FacesException: Error calling action method of component with id 
_id0:test
at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:79)
at javax.faces.component.UICommand.broadcast(UICommand.java:106)
at 
javax.faces.component.UIViewRoot._broadcastForPhase(UIViewRoot.java:90)
at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:164)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:316)
at 
org.apache.myfaces.lifecycle.LifecycleImpl.

[JBoss-user] [Beginners Corner] - ScheduleManager Bug

2006-02-07 Thread jdoble
This may not be a good posting for "Beginners Corner", but I sure wasn't able 
to find another forum that seemed like a good fit. Here goes.

We are using the org.jboss.varia.scheduler.ScheduleManager class, and have been 
getting ClassCastExceptions. Looking at the code, I can see why. There are a 
number of places where there is code like this:

  | Iterator i = mSchedules.entrySet().iterator();
  | while (i.hasNext()) {
  | ScheduleInstance lInstance = (ScheduleInstance) i.next();
  | ...
  | 
Unless the mSchedules map is empty, this code is going to throw a 
ClassCastException every time, because the entrySet method on a Map produces a 
set of Map.Entry objects. The code should say something line the following 
instead:

  | Iterator i = mSchedules.values().iterator();
  | while (i.hasNext()) {
  | ScheduleInstance lInstance = (ScheduleInstance) i.next();
  | ...
  | 
If you need the key and the value, you would do something like:

  | Iterator i = mSchedules.entrySet().iterator();
  | while (i.hasNext()) {
  | Map.Entry entry = (Map.Entry) i.next();
  | Integer id = (Integer) entry.getKey();
  | ScheduleInstance lInstance = (ScheduleInstance) entry.getValue();
  | ...
  | 
I would be happy to submit a bug report, if someone could (politely) point me 
to the right place to do so.

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Security & JAAS/JBoss] - Re: Obtaining user data

2006-02-07 Thread j2ee_junkie
Hello tzablock,

Two ways immediately come to mind(assuming you are using Tomcat)...

1.) per servlet spec, call HttpServletRequest's getUserPrincipal() method which 
if using Tomcat, will be an instance of 
org.apache.catalina.realm.GenericPrincipal principal.  This class has a public 
String[] getRoles() method that will give you the roles.

2.) another and in my opinion a better way, is to set the 
SecurityAssociationValves's subjectAttributeName parameter which will store the 
authenticated subject in the session under the configured name.  Then you only 
need to get subject from HttpSession.

let me know if I have not been clear enough, cgriffith

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - BPEL - receive/reply flush

2006-02-07 Thread adrian.andrei
Hi,

I am writing a rather complex BPEL process that expects events while is looping 
in order to perform some lengthy process.

My client times-out after 1 minute, and I was hoping to avoid that by 
responding to the receive with an early reply rather than wait for the loop to 
end. Even after I changed the BPEL code to have the reply activity before the 
lengthy loop the client is not receiving the response unless the loop ends.

I then compared with your ATM example and I noticed that onMessage follows 
closely the reply activity. After I added an artificial onMessage after the 
reply the client received the initial response (did not get the second one 
though).

I think that reply should flush the response as quickly as possible and not 
wait for another receive/onMessage activity to do that. One may want to 
implement complex, protocol-based business processes, (similar to ATM) 
therefore the response should be received promptly.

Regards,
AA


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Persistence,JBoss/CMP, Hibernate, Database] - Problem with the InformixDS mapping?

2006-02-07 Thread belingueres
Hi,

I'm using JBoss 4.0.2 running on Java 1.5. Database and JDBC driver information 
is:

Informix Dynamic Server 9.21.HC4
IBM Informix JDBC Driver for IBM Informix Dynamic Server 3.00.JC3

I want to install the EJBCA Certificate Authority and I'm in the task of 
porting the Entity beans to Informix, but I found that the default datatype 
mappings on the file standardjbosscmp-jdbc.xml to be not quite precise (I'm 
posting this to see if someone can tell me if I'm doing something wrong or not).

First, I changed the default Informix BLOB mapping that is:

 
java.lang.Object
BLOB
BLOB
 

to this:

 
java.lang.Object
VARBINARY
BLOB
 

because it throwed me NPE when trying read the data from database. This worked 
but now I have a CMP entity bean that has a boolean property but it throws me 
an exception when I want to Create it:

2006-02-07 14:49:37,027 DEBUG 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.AccessRulesData] 
Executing SQL: INSERT INTO accessrulesdata (pK, accessRule, rule, isRecursive, 
AdminGroupData_accessRules) VALUES (?, ?, ?, ?, ?)
2006-02-07 14:49:37,177 ERROR 
[org.jboss.ejb.plugins.cmp.jdbc.JDBCCreateEntityCommand.AccessRulesData] Could 
not create entity
java.sql.SQLException: No cast from boolean to smallint.
at com.informix.jdbc.IfxSqli.a(IfxSqli.java:3204)
at com.informix.jdbc.IfxSqli.E(IfxSqli.java:3518)
at com.informix.jdbc.IfxSqli.dispatchMsg(IfxSqli.java:2353)
at com.informix.jdbc.IfxSqli.receiveMessage(IfxSqli.java:2269)
at com.informix.jdbc.IfxSqli.executeCommand(IfxSqli.java:775)
at com.informix.jdbc.IfxResultSet.b(IfxResultSet.java:291)
at com.informix.jdbc.IfxStatement.c(IfxStatement.java:1253)
at 
com.informix.jdbc.IfxPreparedStatement.executeUpdate(IfxPreparedStatement.java:408)
at 
org.jboss.resource.adapter.jdbc.WrappedPreparedStatement.executeUpdate(WrappedPreparedStatement.java:316)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.executeInsert(JDBCAbstractCreateCommand.java:352)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.performInsert(JDBCAbstractCreateCommand.java:308)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCAbstractCreateCommand.execute(JDBCAbstractCreateCommand.java:138)
at 
org.jboss.ejb.plugins.cmp.jdbc.JDBCStoreManager.createEntity(JDBCStoreManager.java:572)
at 
org.jboss.ejb.plugins.CMPPersistenceManager.createEntity(CMPPersistenceManager.java:222)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.createEntity(CachedConnectionInterceptor.java:266)
at 
org.jboss.ejb.EntityContainer.createLocalHome(EntityContainer.java:612)
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:585)
at org.jboss.invocation.Invocation.performCall(Invocation.java:345)
at 
org.jboss.ejb.EntityContainer$ContainerInterceptor.invokeHome(EntityContainer.java:1113)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at 
org.jboss.ejb.plugins.EntitySynchronizationInterceptor.invokeHome(EntitySynchronizationInterceptor.java:192)
at 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor.invokeHome(CachedConnectionInterceptor.java:212)
at 
org.jboss.ejb.plugins.AbstractInterceptor.invokeHome(AbstractInterceptor.java:90)
at 
org.jboss.ejb.plugins.EntityInstanceInterceptor.invokeHome(EntityInstanceInterceptor.java:117)
at 
org.jboss.ejb.plugins.EntityLockInterceptor.invokeHome(EntityLockInterceptor.java:61)
at 
org.jboss.ejb.plugins.EntityCreationInterceptor.invokeHome(EntityCreationInterceptor.java:28)
at 
org.jboss.ejb.plugins.CallValidationInterceptor.invokeHome(CallValidationInterceptor.java:41)
at 
org.jboss.ejb.plugins.AbstractTxInterceptor.invokeNext(AbstractTxInterceptor.java:109)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.runWithTransactions(TxInterceptorCMT.java:335)
at 
org.jboss.ejb.plugins.TxInterceptorCMT.invokeHome(TxInterceptorCMT.java:146)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:116)
at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:121)
at 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor.invokeHome(ProxyFactoryFinderInterceptor.java:93)
at 
org.jboss.ejb.EntityContainer.internalInvokeHome(EntityContainer.java:508)
at org.jboss.ejb.Container.invoke(Container.java:894)
at 
org.jboss.ejb.plugins.local.BaseLocalProxyFactory.invokeHome(BaseLocalProxyFactory.java:342)
at 
o

[JBoss-user] [Security & JAAS/JBoss] - Server not clearing the user authentication

2006-02-07 Thread sudhirsu
Hi, 

I have an application deployed on JBoss which makes use of JAAS for security. 
Both the web and ejb methods of my application are configured to be secured 
through the web.xml and ejb-jar.xml correspondingly. 

Currently Iam facing an issue wherein the security is working only on the first 
call and for the subsequent calls it is picking up the old values(of userid 
etc). I tried setting the value of DefaultCacheTimeout to zero but it backfired 
because now the principals were not getting passed between the web container 
and the ejb container resulting in security exception.

Can someone please tell me how to clear the authentication details between the 
two logins but it should be retained between the web and the ejb containers?

Cheers, Sudhir

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: How to suspend and resume a process

2006-02-07 Thread dharraj
Forgot to mention that the code to persist process instance starts a 
transaction, saves process instance and commits the transaction. So the signal 
is outside of transaction. I do not think this should matter as I have seen 
same problem when the signal is with in transaction.

Raj


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Clustering/JBoss] - Re: ClassNotFoundException in PrimaryKey object

2006-02-07 Thread haseen
I am sorry if I am missing something here.  The issue mentioned in the Topic 


http://www.jboss.com/index.html?module=bb&op=viewtopic&t=39881 

is raising a similar issue.  Did we find a solution to the "ClassLoaders not 
found" for custom PK issue?  

In the topic WT has talked of three options :


1.) Stop using custom pk objects. In this case it shouldn't have any problems 
loading from the java.lang package. 

2.) Deploy the pks seperately in the server's lib/ dir. I would like our 
application to be self contained inside the ear, so this isn't ideal. 

3.) Stop using a scoped classloader. Not sure about this one. 

I deployed all my PK objects under all/lib folder and everything worked fine.  
Is there a way we can keep PK objects with regular EARs that go in all/farm so 
that these classes can also be hot deployed?

By the way, I am using JBoss 4.0.3

Please suggset.

Thanks,

Haseen

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [JBoss jBPM] - Re: 3.0.2 and hibernate configuration

2006-02-07 Thread dharraj
I am able to connect to hsql db using the hsqldb datamanager tool.

Raj


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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


[JBoss-user] [Beginners Corner] - Re: user limitations

2006-02-07 Thread grosenthal
version information if necessary:

$ /usr/sbin/httpd -version
Server version: Apache/2.0.46
Server built:   Nov  5 2004 10:58:21


jboss-3.2.3 ( tomcat came with this version of jboss. Not sure of the tomcat 
version)

Redhat LInux ASE 3

Sybase ASE 12.5.3

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

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


---
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems?  Stop!  Download the new AJAX search engine that makes
searching your log files as easy as surfing the  web.  DOWNLOAD SPLUNK!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=103432&bid=230486&dat=121642
___
JBoss-user mailing list
JBoss-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jboss-user


  1   2   >