[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread hosierdm
I don't think there is any way, currently, to make this stick.  I was thinking 
it would be nice to be a per process definition thing, that every time you 
change that information it saved it maybe in the gpd.xml.  Same with the Show 
Grid setting.  The grid is so helpful, but it's quite tedious to have to keep 
enabling it.  That one could be a global setting, something like "Always use 
grid?".  Maybe some JIRA enhancement requests are in order.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959021
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: Accessing jBoss 4.0.4 with Java 1.3 client

2006-07-18 Thread jaikiran
Have a look at:

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossVsJavaJDKVersionMatrix



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959020
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How can i implement themes in my application like in Jbo

2006-07-18 Thread anurudh
Thanks Peter.!!!
 I will try to implement themes in my application. Please tell me one more 
thing. How can i change the URL of my Portal. I am working on jboss portal and 
to invoke my application i give the path like
httt://localhost:8080/portal/portal/SubscriberPortal.
Is there any way to remove these /portal/portal or atleast one /portal so that 
my url becomes http://localhost:8080/portal/SubscriberPortal


Thanks.!!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959019
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Accessing jBoss 4.0.4 with Java 1.3 client

2006-07-18 Thread vvmikho
Hi there,

Can anybody tell me whether it is possible to have Java 1.3 client to JBoss 
4.0.4??
When using INITIAL_CONTEXT_FACTORY we specify 
"org.jnp.interfaces.NamingContextFactory" and this means that some jboss client 
side jars are required.

Now, when using client jars from jboss 4 we get "unsupported JVM" complain (as 
jboss 4 is built for Java 1.4 or newer)

When using client jars from jBoss 3.2.3 we getting serialisation problems on 
JBoss specific classes.

Can it work at all?

Thanks,

Viktor

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959017
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread brado
Thanks guys -- now here's a question -- is there any way to get the new path to 
stay once you enter it? Every time I restart Eclipse I have to retype the host, 
port, and path info. It gets to be a little bit of a nuisance because of some 
version numbers in WAR names.

But you guys did help me around the problem. Thanks.

Brad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - Re: ejb deployment in jboss4

2006-07-18 Thread jaikiran
anonymous wrote : [EMAIL PROTECTED] { url=file:/C:/jboss-4.0.4/jboss-4. 
  | 0.4.GA/server/default/deploy/META-INF/jboss.xml } 

Looks like you have placed the META-INF directory, directly under the deploy 
folder. This META-INF directory(and its contents) should be placed in your 
day05_Signon.jar.

How is your day05_Signon.jar packaged? Run the following command from your 
prompt and post the output:

jar -tf day05_Signon.jar

This command will display the contents of your jar file.





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959012
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - JBoss App Server Sizing

2006-07-18 Thread gagangandhi
Hi,
Is there a guide or a high level guideline to do the Sizing of a JBoss 
application server?
I understand there can hardly be any thumb rule for sizing - but if there is 
something that gives an approximate idea of the resource requirement 
(CPU/Memory) on a per user or per request basis - that would help.
Can someone pls provide links to case studies etc with details of the server 
size used and the load volume handled by the application?

Thanks in anticipation

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959010
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [News & Announcements] - Re: jBPM 3.1.2 released

2006-07-18 Thread kukeltje
Again, as with the 3.0.10 release of the GPD, what are the changes in there?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959009
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread kukeltje
Correct David.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959007
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - Re: MDBs don't work after jms recovery

2006-07-18 Thread genman

I'm not sure what the use case is for redeploying the JMS subsystem. This may 
be something not supported by JBossMQ.

If you can create a test case (unit test) and provide a patch, it can be fixed 
in an upcoming release.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959008
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - ejb deployment in jboss4

2006-07-18 Thread seemap
 I am learning EJB from one of the book and got stuck on the deployment of 
first EJB . It is stateful Session Bean 
the jboss.xml is 

 
  |  
  | 
  |  
  |   
  | 
  |SignOnEJB
  |day05/SignOnHome
  |
  | 
  |  
  | 


ejb-jar.xml is 


  |  
  | http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  |   
  | 
  |SignOnEJB
  |day05.SignOnHome
  |day05.SignOn
  | day05.SignOnEJB
  | Stateless
  | Container
  | 
  |  student
  | java.lang.String
  | password
  | 
  | 
  |  student1
  | java.lang.String
  | password1
  | 
  | 
  |  
  | 
  |  
  |  


This book is using Jboss 3 and I am using JBoss 4.0.4

when I deploy my ejb jar file (day05-signon.jar) which is having all class file 
and Meta-INf
I got error message

--- Incompletely deployed packages ---
[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.4/jboss-4.
0.4.GA/server/default/deploy/day05_Signon.jar }
deployer: MBeanProxyExt[jboss.ejb:service=EJBDeployer]
status: null
state: FAILED
watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/day05_Signon.
jar
altDD: null
lastDeployed: 1153249201578
lastModified: 1153249201546
mbeans:

[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.4/jboss-4.
0.4.GA/server/default/deploy/META-INF/ejb-jar.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/ejb-
jar.xml
altDD: null
lastDeployed: 1153249202656
lastModified: 1153249202656
mbeans:

[EMAIL PROTECTED] { url=file:/C:/jboss-4.0.4/jboss-4.
0.4.GA/server/default/deploy/META-INF/jboss.xml }
deployer: null
status: null
state: INIT_WAITING_DEPLOYER
watch: file:/C:/jboss-4.0.4/jboss-4.0.4.GA/server/default/deploy/META-INF/jbos
s.xml
altDD: null
lastDeployed: 1153249202656
lastModified: 1153249202656
mbeans:


12:00:03,031 INFO [Http11BaseProtocol] Starting Coyote HTTP/1.1 on http-0.0.0.0
-8080
12:00:03,265 INFO [ChannelSocket] JK: ajp13 listening on /0.0.0.0:8009
12:00:03,390 INFO [JkMain] Jk running ID=0 time=0/172 config=null
12:00:03,406 INFO [Server] JBoss (MX MicroKernel) [4.0.4.GA (build: CVSTag=JBos


Pls help . 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959005
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Getting Started Documentation] - ejb in jboss

2006-07-18 Thread seemap
I am new to ejb2 and Jboss I have downloaded the Jboss 4 and created the 
session stateful bean in day05 folder p

day05/SignOn.java
 / SignOnHome.java
 /SignOnEJB.java
 / InvalidLoginException.java
 / ejb-jar.xml
/jboss.xml

The codes of ejb-jar.xml



  | 
  | http://java.sun.com/dtd/ejb-jar_2_0.dtd";>
  | 
  |   
  | 
  |SignOnEJB
  |day05.SignOnHome
  |day05.SignOn
  | day05.SignOnEJB
  | Stateless
  | Container
  | 
  |  student
  | java.lang.String
  | password
  | 
  | 
  |  student1
  | java.lang.String
  | password1
  | 
  | 
  | 
  | 
  | 
  | 

the codes for jboss.xml

  | 
  | 
  |  
  |   
  | 
  |SignOnEJB
  |day05/SignOnHome
  |
  | 
  | 
  | 
  | 

I dont know how to deploy in jboss Can anybody guide me step by step?



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959002
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam mailer component

2006-07-18 Thread supernovasoftware.com
I would be fantastic to have a Seam Cookbook that contained real world examples 
and solutions using the Seam Framework.

I would like to see something more detailed a focued than the current examples.

The current documentation is good, but I would like to see some recipes.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959003
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Sean and Hibernate validation

2006-07-18 Thread [EMAIL PROTECTED]
Yes, Seam uses Hibernate Validator directly, it does not need integration with 
the ORM layer. And then if Hibernate is the underlying EJB3 persistence 
provider, the constraints are also enforced when writing to/from the database.

Actually it is also possible to integrate HV with other EJB3 persistence 
providers. We should probably make that integration a standard feature but we 
did not get around to it yet.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959001
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Sean and Hibernate validation

2006-07-18 Thread hchafi
I would like to start using Seam. Since I am starting a new project, I would 
like to just start using EJB3. However Hibernate seems to be the standard ORM 
solution out there with support for validation. 

How can I combine using EJB3 and leveraging the hibernate validation 
capabilities?

-hc

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3959000
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent

2006-07-18 Thread [EMAIL PROTECTED]
The jboss server view's event log is inside the jboss server view, which is 
found under window -> show view -> other -> server -> jboss server view. 

That view is the main view for the server plugin. A screenshot of the event log 
and the information I'd like you to either screenshot or summarize is shown 
below. 

[img]http://oxbeef.net/image/code/jbsv_w_properties_7_18_06.JPG[/img]

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958999
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Function for process definition export

2006-07-18 Thread matafy
I'd like to know this answer too.
I deploy a process programmly and call getFileDefinition function, it returns 
null.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958997
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - The wiki is misleading...

2006-07-18 Thread poswald
I know this is sort of a FAQ but I've read a lot of things and I'm still not 
sure I know what the right answer is.

When installing 4.0.4.GA using the graphical installer I feel like the all 
configuration should include everything that all of the others do. After 
picking that and installing I notice that the ejb3.deployer is missing. I went 
back through and tried it again with ejb3 and sure enough, I get new/different 
deployers. For instance, the ejb3.deployer is missing from the all config. This 
seems to contradict what the trailblazer says:

http://jira.jboss.com/jira/browse/JBINSTALL-44

anonymous wrote :  Each configuration installs a different set of programming 
APIs, libraries, and deployers. The all, ejb3, and ejb3-cluster configurations 
support EJB 3.0.

So does all support ejb3 or not? If so then why is it missing these deployers? 
I feel like this should mention that all is not really everything. Really I 
feel like all should be changed to be everything or perhaps renamed.

Sorry if this is all laid out somewhere I didn't find.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958995
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Messaging, JMS & JBossMQ] - MDBs don't work after jms recovery

2006-07-18 Thread kinlunwong
Hi, I'm seeing this behavior on jboss 4.0.1.
We have an MDB that listens for jms messages of a topic,
so that messages are processed using the MDB's onMessage()
method (as is standard usage). We found however  that
if the jms service is restarted (e.g. by touching the
jms service.xml file to cause jms services to be redeployed),
then even though our sender program recovers, all
messages that are sent after the recovery do not trigger
any MDB actions, it's as though no MDBs are triggered at all.
To cause MDBs to work again, I actually have to redeploy
the ear file. I dont' think this is acceptable behavior. What
am I missing?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958994
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat?

2006-07-18 Thread jboss-Nth-Fan
"[EMAIL PROTECTED]" wrote : Tomcat hotdeploy is basically completely broken and 
AFAIK can't be made to work reliably.
  | 
  | 

Sorry for xposting, 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86515
but can you elaborate more on what it is that badly broken?

Thx


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958993
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [News & Announcements] - jBPM 3.1.2 released

2006-07-18 Thread rrajesh
jBPM version 3.1.2 and jBPM Process Designer version 3.0.11 have been released. 
These releases and the changelog can downloaded from the following sourceforge 
location:

http://sourceforge.net/project/showfiles.php?group_id=70542 

JBoss jBPM - Version  jBPM 3.1.2

Changes:
** Bug
* [JBPM-555] - Bad exception message
* [JBPM-593] - suspend() and resume() failing in JBPM 3.1
* [JBPM-637] - exception-handler can't use exception-class attribute with 
script-thrown exceptions
* [JBPM-645] - task is not blocking after save of process-instance
* [JBPM-654] - Cancelling a TaskInstance "performs" the task
* [JBPM-663] - Incorrect resolution of process variable values in script 
when variable is defined (or redefined) in sub-token context
* [JBPM-665] - JVM hangs because of inappropriate error handling
* [JBPM-667] - jBPM unable to pass null variables to bsh scripts
* [JBPM-673] - JbpmConfiguration.close() does not remove the instance from 
the internal map of instances
* [JBPM-678] - jbpm el expression exceptions are masked
* [JBPM-696] - Field Instanciator problems


** Feature Request
* [JBPM-664] - add documentation for configuration properties
* [JBPM-671] - add logs for sub process bindings
* [JBPM-684] - added getXxxx for database loadXxxx methods

** Task
* [JBPM-658] - correct equals comparison
* [JBPM-659] - added JbpmConfiguration.close()
* [JBPM-666] - report expression exception properly
* [JBPM-683] - enlarged length of message exception property

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958992
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Continuously server restarting

2006-07-18 Thread jboss-Nth-Fan
Further to my question and after additional searching, I found this,

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

Would this then be possible??

Thanks any help appreciated..

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958991
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - jBPM expert needed ASAP Part Time Denver, CO or Dallas, TX

2006-07-18 Thread qqchuck
I need a jBPM expert (now part of JBoss -- but I NEED a jBPM expert) for a 
limited engagement -- 8-24hrs of consulting to do work on a prototype.  This 
can be done during business hours or after, but must be done in person in 
either Denver, CO or Dallas, TX.  If you're expert enough, I might be willing 
to pay for travel expenses.

In the first 3-6 sentences of your response, you need to convince me that you 
have ACTUAL experience using jBPM in a non trivial(prototype) application.  
This experience is VERY important.  Also please attach a copy of your resume 
and a proposed hourly rate in your email.  If you don't have actual experience 
using jBPM, please do not respond.

You can email me at: [EMAIL PROTECTED](dot)com

Thanks,

Chuck

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958990
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly

2006-07-18 Thread CptnKirk
Nth-Fan, maybe the SeamGen utility would be something you'd be interested in.

http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen

Although, talk about this and other issues are off topic for the thread.  If 
you have questions about the SeamGen util, ask them in this topic.

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

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Continuously server restarting

2006-07-18 Thread jboss-Nth-Fan
I suppose you mean to not use jars, and instead import the code from these into 
the eclipse web project ?

Which would be the JARs I would need to explode v.s. the ones I can keep as 
JARs?

Some I can think of:
jboss-ejb3-all.jar
jboss-seam*.jar
mc-conf.jar

Thanks for your help

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958988
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Problem accessing EJB unchecked method from a servlet (with

2006-07-18 Thread Plukh
Hello, I'm stuck at the following problem. I have one EJB module and two web 
apps inside a single ear. Relevant parts of configuration files follow:

>From jboss.xml:

  | java:/jaas/db_store
  | 

>From ejb-jar.xml:

  | 
  | 
  | 
  | ModerEJB
  | Home
  | create
  | 
  | 
  | 

>From jboss-web.xml #1:

  | java:/jaas/db_store
  | 

>From jboss-web.xml #2:

  | java:/jaas/other
  | 

>From login-config.xml:

  | 
  |   
  | 
  | 
  |   
  | DS/Standard
  |   
  |   
  | SELECT usr_password FROM users WHERE usr_login = ?
  |   
  |   
  | SELECT 'CommonUser', 'Roles' FROM users WHERE usr_login = ?
  |   
  |   SHA1
  |   hex
  |   true
  |   nobody
  | 
  |   
  | 
  | 
  | 
  |
  |   
  |   nobody
  |   
  |
  | 
  | 

The bean itself is constructed by a helper (BeanHelper), located inside the ejb 
module - don't know if it makes a difference.

Now, on to the problem. I have a servlet in web app #2, which tries to create a 
bean (by calling an unchecked create() method). Only authorised users have 
access to the servlet (through BASIC authorization, if it matters). When the 
call to create() is made, it fails with the following exception (parts skipped 
for clarity):


  | java.rmi.AccessException: SecurityException; nested exception is:
  | javax.security.auth.login.FailedLoginException: No matching 
username found in Principals
  | at 
org.jboss.ejb.plugins.LogInterceptor.handleException(LogInterceptor.java:388)
  | at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:136)
  | ...
  | at ru.singlecity.ejb.BeanHelper.getModerBean(BeanHelper.java:216)
  | ...
  | Caused by: javax.security.auth.login.FailedLoginException: No matching 
username found in Principals
  | at 
org.jboss.security.auth.spi.DatabaseServerLoginModule.getUsersPassword(DatabaseServerLoginModule.java:152)
  | at 
org.jboss.security.auth.spi.UsernamePasswordLoginModule.login(UsernamePasswordLoginModule.java:206)
  | ...
  | at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at 
javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | at 
javax.security.auth.login.LoginContext.login(LoginContext.java:579)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
  | at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
  | at 
org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)
  | ... 47 more
  | 

So - what am I doing wrong? The principal is already set (by the web app) and 
access to the method of the bean is set to unchecked...  If the principal 
wasn't passed on to the EJB, it would've caused a different exception (see item 
#1 in the FAQ), but it hadn't. Any help would be greatly appreciated!

With best regards,
Victor Denisov.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958987
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly

2006-07-18 Thread jboss-Nth-Fan
"[EMAIL PROTECTED]" wrote : Note that none of these questions have anything to 
do with Seam. Now, I don't mind if you discuss your JSF problems here. But if 
you are going to talk about bugs and use italics and exclamation points and 
multiple question marks, please consider taking this to the correct place which 
would be the MyFaces forum.
  | 
  | OTOH, if you wish to continue this discussion here, that is fine by me, but 
please lay off of the "bug or incompatibility" talk. Thanks.

Hi Gavin,

Here is a twist to the topic: 
I've came to appreciate the power and strengths of JSF, and I really love the 
way Seam takes over in the places where JSF really needed some help.
(s:Link with actions, nicely formated exception stack trace, pages.xml, etc etc)

Now from having seen colleagues to struggle with JSF somewhat non-obvious ways 
of doing things (or presenting errors, misconfig, etc..)

Wouldn't this be another case where seam can improve things?
It looks to me like some sort of "auto-converter" could alliviate the need to 
look into JSF non-friendly details.

Just my $0.02

Yeyo

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958986
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI/Naming/Network] - Re: javax.naming.CommunicationException [Root exception is j

2006-07-18 Thread benoitx
Hi

I just faced the same issue moving from 4.0.3RC2 to 4.0.4.GA.

After much much fiddling, I noticed that my client would work with 
jbossall-client.jar but not with my subset of jars.  Something obviously had 
been removed from a jar or new dependencies added...

So... here is a list of jar that would work for a java client using rmi over 
https and JBoss MQ to communicate with server:

j2ee-1.4.jar
jboss-common-client-4.0.4.GA.jar
jbosssx-client-4.0.4.GA.jar
jboss-client-4.0.4.GA.jar
jbossmq-4.0.4.GA.jar
concurrent-4.0.4.GA.jar
jnp-client-4.0.4.GA.jar
jboss-transaction-client-4.0.4.GA.jar
jboss-serialization-4.0.4.GA.jar **NEW**
jboss-remoting-4.0.4.GA.jar **NEW**

The version numbers are mine as I use Maven to build.

I hope this helps!

Benoit

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958982
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Beginners Corner] - entities, clients, eager vs lazy fetch (ejb3)

2006-07-18 Thread jeff plummer
I have a newbie question that is probably so common there is probably a 
"pattern" that answers it.

I am building an app where the client code will allow the operator to 
display/edit an object's data.  In order to do that the client must have access 
somehow to all the object's data, atleast depending on the "view" the client is 
displaying.

I can setup relationships to be "eager", but that seems like hitting a 
finishing nail with a sledge hammer.  A client view really only needs acess to 
a subset of all the data associated with an object.

I can have several session bean methods that provide different "fetch-join" 
combinations - one for each client view.  But this also seems inefficient.  

What I really want is the session bean gets a subset of the data (entity and 
some of the related objects) and returns it to the client.  Then somehow, 
whenever the client needs more data (i.e. calls entity.getWidgets(), when 
related widgets were not pre-fetched) it goes back to the database and gets 
those widgets.  

Whats the proper way to do this?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958985
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam 1.0.1 GA seems to be missing ehcache

2006-07-18 Thread [EMAIL PROTECTED]
That class is only loaded by reflection. So there is no problem, assuming you 
have default.persistence.properties in your classpath.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958984
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Re: Problem with SOAP Attachments using EJB 2.1 Web Service

2006-07-18 Thread mnorthu
FYI - this is the code in the Handler

package com.rtn.ejb;

import java.io.*;
import java.util.*;
import java.util.logging.*;

import javax.activation.*;
import javax.xml.namespace.*;
import javax.xml.rpc.handler.*;
import javax.xml.rpc.handler.soap.*;
import javax.xml.soap.*;

import com.rtn.util.*;

public final class AttachmentHandler extends GenericHandler
{
private static QName[] EMPTY = new QName[0];

/**
 * Returns an empty array of headers.
 * 
 * @return an empty array of headers.
 */
public QName[] getHeaders()
{
return EMPTY;
}

@Override
public boolean handleResponse( MessageContext context )
{
SOAPMessageContext mctx = ( SOAPMessageContext )context;

try
{
String dataFileStr = ( String )mctx.getProperty( 
"PRODUCT_ATTACHMENT_FILE_NAME" );
String cid = ( String )mctx.getProperty( "PRODUCT_ATTACHMENT_CID" );

if ( dataFileStr == null || cid == null )
{
LOGGER.info( "No attachment detected." );
return true;
}

FileInputStream dataFileIn = new FileInputStream( dataFileStr );
DataHandler dataHandler = new DataHandler( new ByteArrayDataSource(
dataFileIn, "text/xml" ) );

AttachmentPart att = mctx.getMessage().createAttachmentPart(
dataHandler );
att.setContentId( "<" + cid + ">" );

mctx.getMessage().addAttachmentPart( att );

//doesn't seem to make a difference...
//mctx.getMessage().saveChanges();

 // this is for logging only...
 java.io.ByteArrayOutputStream out = new ByteArrayOutputStream();
 mctx.getMessage().writeTo( out );
 LOGGER.info( "Message content: " + out.toString() );
}
catch ( Exception e )
{
LOGGER.warning( "Exception in handleResponse: " + e.getMessage() );
LOGGER.info( "Returning false..." );
return false;
}

LOGGER.info( "Returning true..." );
return true;
}

private static final String CLASSNAME = AttachmentHandler.class.getName();
private static final Logger LOGGER = Logger.getLogger( CLASSNAME );
}


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958980
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Seam 1.0.1 GA seems to be missing ehcache

2006-07-18 Thread dbatcn
In Seam's hibernate-all.jar, org/hibernate/cache/EhCacheProvider.class has 
references to various classes in net.sf.ehcache, but it's not part of that JAR 
file.  When I look at the latest (6/6/06) version of the source for 
org.hibernate.cfg.SettingsFactory, I see that the textual reference to 
EhCacheProvider passed have been removed.  Is it a correct inference that the 
current release of Seam is missing ehcache?  I found this because I was trying 
to write a unit test (using TestNG from Eclipse) and got a NoClassDefFoundError 
emanating from SettingsFactory.createCacheProvider() called via 
javax.persistence.createEntityManagerFactory().

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958981
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly

2006-07-18 Thread niesar
Hi, petemuir!

thanks a lot for taking a second look at my problem. I really appreciate 
that!!! 

"petemuir" wrote : 1) No, the issue is most likely with your code.  Having you 
tried cleaning and rebuilding from scratch.
Well, I kind of started from scratch. However. my real worls starting point was 
kind of complicated. So I had to reduce complexity step by step and finally 
ended in the ClassA/ClassE test case I showed you before.

"petemuir" wrote : 2) Yes, I do, and it works exactly as I would expect it to 
for me.
This backs Gavin's promise. I'm absolutely convinced now I'm doing something 
wrong... 

"petemuir" wrote : 
  | If you are still stuck perhaps put your runnable test case up somewhere and 
I can look at it.
That's extremely nice! Thank's a lot!!!
If you don't mind - let me come home first (I'm more or less on the other side 
of the planet by now and don't have the test code with me). If I can't solve 
the issue I will happily send you my code.

Thanks a lot for this offer, petemuir!!!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958978
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Embeddable Objects (EJB3) not working properly

2006-07-18 Thread niesar
"[EMAIL PROTECTED]" wrote : What I can absolutely definitively promise you is 
that this has nothing to do with @Embedded/@Embeddable.
Thanks again for your comment, Gavin!!!

Wow, if you even promise the embedded objects are working properly in 
combination with MyFaces, I'll take that as granted (and especially if you're 
saying "absolutely definitely" - wow!). So I'll throw in more time to find out 
what's wrong with my code. No idea yet, since I thought I just tried about 
everything, but we'll see...

My honest apologies again for causing a bad mood. Looks like using "???", 
"!!!", and italics is my way to emphasize a point (and actually I wasn't aware 
this looks strange these days). Sorry about that!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958972
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread newbie007
Which JPD version you are using? I am using 3.0.9.x and you can specify
the server port and server name during the deployment.

If you are using old version, you can save the .par file locally and 
deploy it programatically if you want (using 
jbpmContext.deployProcessDefinition method).

Thanks.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958969
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread brado
oopsI neglected to mention versions...sorry. I am using:

- Eclipse 3.1.2
- JBPM Plugin 3.0.9
- JBPM 3.1.1 - (and the starter's kit webapp code)

Thanks

Brad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958971
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread hosierdm
You used to be able to specify the deployer (i.e. the /jbpm part), then it was 
removed.  I complained, and it was added back starting with GPD 3.0.9.2 I 
believe.  In the Deployment tab, it's the Server Deployer field in the lower 
right-hand corner.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958977
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread brado
newbie007, 

Thanks for the tip -- at the moment I'm trying to avoid the programmatic route 
-- I'd really like to deploy from the Eclipse plugin if possible. If someone 
knows how this path can be changed, I'd really like to know!

Thnaks,

Brad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958976
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread newbie007
Unfortunately we are not deploying through the Eclipse plugin. You can use the 
code from the upload servlet to deploy your process programatically.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958975
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread hosierdm
Which version of the GPD are you using?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958968
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Please explain the Portal URL - /portal/portal

2006-07-18 Thread hamptont
Version: JBoss Portal 2.2.1SP1

When I install the portal and run it the URL looks like this

http://localhost/portal/portal/default/default

I understand part of this but not the second /portal

http://

I don't understand where the second /portal is comming from.  It's causing real 
problems for me.  I need to use the context root because I have other apps (not 
Java) running on my apache web server.  So I can't forward all traffic to JBoss.

If I change the context root / for the portal then the URL looks ok until I try 
to use some of the portlets (i.e. User Portlet).  The links in the UserPortlet 
won't have /portal in them at all.  Those link become /auth instead of 
/portal/auth.  because the context root is gone.  This means that I can't 
redirect /portal/* stuff from apache to JBoss.  /portal/auth is not the only 
url that I've noticed so I'm affraid redirecting /auth/* isn't enough.



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958974
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: How do I change the URL to which the JBPM Eclipse plugin

2006-07-18 Thread brado
Newbie007, 

Thanks for your reply. Regarding your post:

"newbie007" wrote : Which JPD version you are using? I am using 3.0.9.x and you 
can specify
  | the server port and server name during the deployment.
  | 
  | If you are using old version, you can save the .par file locally and 
  | deploy it programatically if you want (using 
jbpmContext.deployProcessDefinition method).
  | 
  | Thanks.

The problem isn't the host or the port. The problem is the web context /jbpm. 
The actual URL the test uses is:

http://localhost:8080/jbpm

I need to change the path after the host and port. If you know how to do this, 
let me know!

Thanks,

Brad


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958973
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Ajax4JSF experiences

2006-07-18 Thread [EMAIL PROTECTED]
Hi Igor, thanks. When I get a chance, I want to get some closer discussions 
going on this topic. 

My suspicion is that some of my problems relate to the MyFaces/AJAX4JSF combo, 
and some relate to problems b/w you servlet filter and my phaselistener.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958967
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - deploy ear with embedded jboss

2006-07-18 Thread editha
Hi, I'm new to JBoss and I apologize if I ask stupid questions. 

I need to deploy an ear file with jboss-EJB-3.0 embeddable.
Is this possible? And if, how do I do it?

start the container with EJB3StandaloneBootstrap.boot(null)
and then search the classpath for the ear file  with 
EJB3StandaloneBootstrap.scanClasspath() ?

Thanks in advance for your answers!

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958966
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Referencing another Bean

2006-07-18 Thread bluetrade
Hi, 
I have two Beans, wheras one is solely used within the other: 
@Stateful...
Bean1 implements Bean1If {
  @In(create=true)
  EntityManager em;

  Bean2 b2 = new Bean2();
...
}

Bean2 implements Bean2If {
  @In(create=true)
  EntityManager em;

}

now in Bean2, if I want to access the em, I always end up with a null pointer 
(for Bean1 it works), I guess I cannot just say new Bean2() - but I don't know 
how else I would instantiate the second bean...   

Thanks, 
Joey

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958965
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Joining an existing conversation

2006-07-18 Thread bluetrade
Hi, 
Thanks, the setConversationId(conversationId) worked. I was using a selfmade 
servlet. 

Thanks. 
Flo

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958963
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - How do I change the URL to which the JBPM Eclipse plugin dep

2006-07-18 Thread brado
I am trying to deploy a JBPM process to the server, but I have incorporated the 
Upload servlets into a new webapp, not the one from the starter's kit. When I 
test the connection from the jbpm Eclipse plugin to my running JBoss server, I 
see the following URL is attempted: 

http://localhost:8080/jbpm

I need to change this URL. I have looked everywhere I know to look in Eclipse, 
but cannot find anywhere where I can change this URL. Can someone tell me how 
this URL can be changed? 

Thanks,

Brad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958964
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial

2006-07-18 Thread falazar
It does not appear there is the HelloActionHandler in the path at all.. In 
eclipse I checked the path, and it is not there, but I cannot find out how to 
add it to the classpath their either.

James

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958961
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial

2006-07-18 Thread kukeltje
sorry, I mistyped is there more then one com.jbay.action.HelloActionHandler 
on the classpath?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958960
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial

2006-07-18 Thread falazar
Only the Three TestJBPM ones that it included, 
and the jBPM Library (3.1.1)

James Ratcliff

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958958
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: CLIENT-CERT configuration

2006-07-18 Thread j2ee_junkie
Adam,

see http://wiki.jboss.org/wiki/Wiki.jsp?page=BaseCertLoginModule ,
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSX
, and http://wiki.jboss.org/wiki/Wiki.jsp?page=Logging.

cgriffith

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958959
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Ajax4JSF experiences

2006-07-18 Thread ishabalov
Gavin, you are always welcome to ask any questions! So far I do not hear any of 
it, did everything start working?

Seam is a bit unusual configuration for JSF developers (yet?), however I play 
with it a few weeks ago and find it very promising. I cannot tell that I fell 
in love with annotations, but more granular state management and process engine 
is something that I always appreciate. I still need to prove this on large 
project, to make my mind, but ? again ? I?d like to try.

I think we will review our compatibility status with Seam soon. 

(3) must work. Something else is messing around, I believe.  

I can predict the first question from Alex Smirnov ? what version of Ajax4jsf 
was used, we did several RC builds last weeks, situation may change 
significantly in just a few days.

Best,
Igor Shabalov.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958962
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: HelloTest NullPointer Exception

2006-07-18 Thread ncapito
What does your directory set up look like?  Where is the hello directory 
located with respect to where you are running the test?  

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958956
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: CLIENT-CERT configuration

2006-07-18 Thread adamw
Hello,
thanks for the link, that clarified a little.

Now I'm wondering - where do I put the certificates (server ones - 
server.keystore file)? Do I bundle them with the web application or put it in 
the conf directory (I tried both, with the same effect).

I'm not sure also what does "The localhost.keystore would need this cert stored 
with an alias of CN=unit-tests-client, OU=JBoss Inc., O=JBoss Inc., 
ST=Washington, C=US and the jmx-console-roles.properties would also need an 
entry for the same entry." mean - from the manual - should I import the client 
certifiacte to server.keystore?

Finally, how do you enable trace logging of JBoss Security? I tried adding to 
log4j.xml:

  |
  |   
  |
  | 
but that didn't help :)

Thanks,
Adam

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958955
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial

2006-07-18 Thread kukeltje
do you have some other jbpm jar/sar on the classpath?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958954
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Did somebody make fileupload works with no facelets?

2006-07-18 Thread gus888
I followed the wiki Fileupload direction, and added Fileupload function to my 
seam test project with no facelets. When I deployed to JBoss4.0.4.GA, no 
exceptions about no class found -- FileUpload. However, when I run it, I got an 
exception about Cannot find taglib uri="http://myfaces.apache.org/tomahawk"; in 
lib or tag file. I understand the exception, since I put the tomahawk.lib in 
ear file not in WEB-INF/lib/. Does anybody ever experience the problem? I 
really appreciate if somebody can give me some direction. I don't know whether 
integrating tomahawk.lib into JBoss server can solve the problem. Thank you 
very much in advance.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958953
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Problem trying Class Tutorial

2006-07-18 Thread falazar
Set the classpath and moved forward 
The last part of it is throwing an error When running figure 4.8
CastException error... but I dont know why

15:30:49,146 [main] DEBUG GraphElement : event 'process-start' on 
'ProcessDefinition(TestActionClass)' for 'Token(/)'
15:30:49,149 [main] DEBUG GraphElement : event 'before-signal' on 
'StartState(start)' for 'Token(/)'
15:30:49,150 [main] DEBUG GraphElement : event 'node-leave' on 
'StartState(start)' for 'Token(/)'
15:30:49,151 [main] DEBUG GraphElement : event 'transition' on 
'Transition(to_auction)' for 'Token(/)'
15:30:49,152 [main] DEBUG GraphElement : executing action 'action[hello]'
15:30:49,161 [main] ERROR GraphElement : action threw exception: 
com.jbay.action.HelloActionHandler
java.lang.ClassCastException: com.jbay.action.HelloActionHandler
at org.jbpm.graph.def.Action.execute(Action.java:122)
at org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
at org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
at org.jbpm.graph.def.Transition.take(Transition.java:106)
at org.jbpm.graph.def.Node.leave(Node.java:382)
at org.jbpm.graph.node.StartState.leave(StartState.java:70)
at org.jbpm.graph.exe.Token.signal(Token.java:174)
at org.jbpm.graph.exe.Token.signal(Token.java:123)
at org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:217)
at com.jbay.HelloTest.testProcess(HelloTest.java:26)
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 junit.framework.TestCase.runTest(TestCase.java:154)
at junit.framework.TestCase.runBare(TestCase.java:127)
at junit.framework.TestResult$1.protect(TestResult.java:106)
at junit.framework.TestResult.runProtected(TestResult.java:124)
at junit.framework.TestResult.run(TestResult.java:109)
at junit.framework.TestCase.run(TestCase.java:118)
at junit.framework.TestSuite.runTest(TestSuite.java:208)
at junit.framework.TestSuite.run(TestSuite.java:203)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:478)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:344)
at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
1

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958952
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security & JAAS/JBoss] - Re: CLIENT-CERT configuration

2006-07-18 Thread j2ee_junkie
Adam,

First off, see my comments at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=86289.
SSL vs. CLIENT-CERT authentication are two separate issues.

That said, we would need to see some trace logging of JBoss security at the 
point when a user attempts to access secured resource to see what is going on.

cgriffith

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958950
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent

2006-07-18 Thread znbailey
Also, I am unsure how to access "the jboss server view's event log". The only 
error log I know is available via "window -> show view -> error log". That is 
where I found the previous information. If there is a more salient view, please 
direct me to it.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958949
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent

2006-07-18 Thread znbailey
Rob,

Absolutely. My configuration information is as follows:

JBoss 3.2.7, using the "default" configuration. Deploying in a flat file EAR.

The error message in the error console (and in the dialog that appears) is as 
follows:

Timeout waiting for JbossServer Cascade Server 4.x (TRUNK) to start. Server did 
not start after 450s.

The Exception Stack Trace is not available.

Here is the session data, as available from the "event details":

eclipse.buildId=M20060629-1905
  | java.version=1.5.0_05
  | java.vendor=Sun Microsystems Inc.
  | BootLoader constants: OS=win32, ARCH=x86, WS=win32, NL=en_US
  | Command-line arguments:  -os win32 -ws win32 -arch x86

My program arguments are : "--configuration=default --host=localhost"

VM arguments: "-Xms256m -Xmx512m"

Let me know if I can get you any other information.

Thanks.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958948
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime

2006-07-18 Thread kukeltje
you *have* to save the process in between these. Otherwise nothing is committed 
to the db. Tasks in different tasknodes are not supposed to be used in some 
kind of STP system.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958947
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Joining an existing conversation

2006-07-18 Thread knaas
http://docs.jboss.com/seam/1.0.1.GA/reference/en/html/remoting.html#d0e4175

For instance,


  | function callMyRemoteMethod(conversationId, otherArg)
  | {
  | Seam.Remoting.getContext().setConversationId(conversationId);
  | var callback = function() { alert('remote method done!'); };
  | 
  | var myComponent = Seam.Component.getInstance('MyComponent');
  | myComponent.myRemoteMethod(otherArg, callback);
  | }
  | 

And then in your page, make sure to call the javascript method with the 
conversationId.

For instance,


  | 
  | 


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958946
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Joining an existing conversation

2006-07-18 Thread [EMAIL PROTECTED]
I can't answer unless you tell me what "kind" of AJAX request it is. The JSF 
servlet? Your own servlet? Some AJAX framework?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958944
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime

2006-07-18 Thread abbasshah
forgot to mentioned transaction is not managed by JBPM, i am taking care of it. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958943
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime

2006-07-18 Thread abbasshah
Hope it is clear now 

 
  |   
  | < /transition> 
  |  
  |  
  |  
  | < /transition> 
  |  
  | 
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  | 
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  | 
  | < /transition> 
  |  
  | 
  |  
  |  
  |  
  |  
  | 
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  |  
  | < /transition> 
  |  
  | 
  |  
  |  
  |  
  | 
  |  
  | 
  |  

anonymous wrote : TNODE1  Task Creation Handler

public class OnNodeEnter implements ActionHandler { 
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{ 
  | System.out.println("OnNodeEnter-->- Start"); 
  | 
  | Token token = executionContext.getToken(); 
  | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); 
  | TaskNode taskNode = (TaskNode) executionContext.getNode(); 
  | 
  | 
  | Task doEAT = taskNode.getTask("TASK_EAT"); 
  | tmi.createTaskInstance(doEAT, token); 
  | 
  | Task doDrink = taskNode.getTask("TASK_DRINK"); 
  | tmi.createTaskInstance(doDrink, token); 
  | 
  | System.out.println("OnNodeEnter-->- END"); 
  | } 
  | }

anonymous wrote : TNODE2  Task Creation Handler


  | public class OnNodeEnter2 implements ActionHandler { 
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{ 
  | System.out.println("OnNodeEnter2-->- Start"); 
  | 
  | Token token = executionContext.getToken(); 
  | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance(); 
  | TaskNode taskNode = (TaskNode) executionContext.getNode(); 
  | 
  | Task doSleep = taskNode.getTask("TASK_SLEEP"); 
  | tmi.createTaskInstance(doSleep, token); 
  | 
  | System.out.println("OnNodeEnter2-->- END"); 
  | } 
  | }

anonymous wrote : ActionHandler on task-create event on all tasks 
public class OnTaskCreation implements ActionHandler { 
  | public void execute(ExecutionContext executionContext) throws Exception { 
  | System.out.println("--> TaskInstacne Id 
="+executionContext.getTaskInstance().getName()); 
  | System.out.println("--> TaskInstacne Id 
="+executionContext.getTaskInstance().getId()); 
  | } 
  | }


anonymous wrote : Process Exceution and TASK_EAT ending 

Following test is within transaction and in the end i rollback transaction, so 
that in case of exception nothing is populated in tables.

public void testRunTimeTaskCreation() {
  |   try {
  |loadProcessDefinition(processDef);
  |
  |Long processInstanceId = createNewProcessInstance();
  |ProcessInstance processInstance = 
findProcessInstance(processInstanceId);
  | 
  |Collection tasks = 
processInstance.getTaskMgmtInstance().getTaskInstances();
  | 
  | // only complete TASK_EAT which get created once process is created
  | 
  |for (TaskInstance task : tasks) {
  |System.out.println("--Task name = "+task.getName());
  |if (task.getName().equals("TASK_EAT")) {
  | 
  |assignAndStart(task);
  |task.end(); // end the task and transit to TNODE2, leave 
TASK_DIRNK as it is (uncompleted)
  |break;
  |  }
  |}
  |} catch (Exception e) {
  |e.printStackTrace();
  |fail();
  |}  
  |
  |}
  | 

anonymous wrote : OnCreation Actionhandler is giving following out put, if 
above test is run all togather in same transaction.

: 
TaskInstacne Name = TASK_EAT
TaskInstacne Id   = 700

TaskInstacne Name = TASK_DRINK
TaskInstacne Id   = 701

.
TaskInstacne Name = TASK_SLEEP
TaskInstacne Id   = 0


anonymous wrote :  if above test is divided in two test , 1. create process and 
commit trans then , 2. complete TASK_EAT is perform in different within 
separate  trans output is.


: 
TaskInstacne Name = TASK_EAT
TaskInstacne Id   = 702

TaskInstacne Name = TASK_DRINK
TaskInstacne Id   = 703
.
.
.
TaskInstacne Name = TASK_SLEEP
TaskInstacne Id   = 704



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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958942
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: SEAM CRUD application has no impact to the DB

2006-07-18 Thread markfoerstein
savana, you should be using persistence.xml to reference your jta data source 
and tell what sql dialect to use, then have a myssql-ds.xml file for the 
datasource, into your deploy folder.

hibernate.cfg.xml is only used to generate de CRUD app, not to run it.

Im not sure but I think you're confused on how hibernate gets connected to the 
database when running the app.

Cheers.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958940
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Remoting] - java.lang.ClassNotFoundException

2006-07-18 Thread yantriki
When I am making a call to client.addListener(handler,locator), I am getting 
the following error message:

this.port = port;
  | serverName = server;
  | System.out.println();
  | System.out.println("socket://" + serverName + ":" + 
String.valueOf(port));
  | locator = new InvokerLocator("socket://" + serverName + ":" + 
String.valueOf(port));
  | client = new Client(locator);
  | client.connect();
  | handler = new ClientCallbackHandler();  
  | client.addListener(handler, locator);
  | 

Error

  |  [java] socket://localhost:6034
  |  [java] Class Not found: [Ljava.lang.StackTraceElement;
  |  [java] java.lang.ClassNotFoundException: [Ljava.lang.StackTraceElement;
  |  [java] at 
org.apache.tools.ant.AntClassLoader.findClassInComponents(Ant
  | ClassLoader.java:1149)
  |  [java] at 
org.apache.tools.ant.AntClassLoader.findClass(AntClassLoader.
  | java:1090)
  |  [java] at 
org.apache.tools.ant.AntClassLoader.loadClass(AntClassLoader.
  | java:966)
  |  [java] at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
  |  [java] at 
org.jboss.remoting.loading.RemotingClassLoader.loadClass(Remo
  | tingClassLoader.java:50)
  |  [java] at 
org.jboss.remoting.loading.ObjectInputStreamWithClassLoader.r
  | esolveClass(ObjectInputStreamWithClassLoader.java:139)
  |  [java] at 
java.io.ObjectInputStream.readNonProxyDesc(ObjectInputStream.
  | java:1543)
  |  [java] at 
java.io.ObjectInputStream.readClassDesc(ObjectInputStream.jav
  | a:1465)
  |  [java] at 
java.io.ObjectInputStream.readArray(ObjectInputStream.java:15
  | 90)
  |  [java] at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
  | 1298)
  |  [java] at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
  | .java:1917)
  |  [java] at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
  | va:1841)
  |  [java] at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
  | m.java:1718)
  |  [java] at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
  | 1304)
  |  [java] at 
java.io.ObjectInputStream.defaultReadFields(ObjectInputStream
  | .java:1917)
  |  [java] at 
java.io.ObjectInputStream.readSerialData(ObjectInputStream.ja
  | va:1841)
  |  [java] at 
java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStrea
  | m.java:1718)
  |  [java] at 
java.io.ObjectInputStream.readObject0(ObjectInputStream.java:
  | 1304)
  |  [java] at 
java.io.ObjectInputStream.readObject(ObjectInputStream.java:3
  | 49)
  |  [java] at 
org.jboss.remoting.serialization.impl.java.JavaSerializationM
  | anager.receiveObject(JavaSerializationManager.java:128)
  |  [java] at 
org.jboss.remoting.marshal.serializable.SerializableUnMarshal
  | ler.read(SerializableUnMarshaller.java:66)
  |  [java] at 
org.jboss.remoting.transport.socket.SocketClientInvoker.trans
  | port(SocketClientInvoker.java:279)
  |  [java] at 
org.jboss.remoting.RemoteClientInvoker.invoke(RemoteClientInv
  | oker.java:143)
  |  [java] at org.jboss.remoting.Client.invoke(Client.java:525)
  |  [java] at org.jboss.remoting.Client.addListener(Client.java:720)
  |  [java] at org.jboss.remoting.Client.addListener(Client.java:685)
  |  [java] at 
org.vss.service.license.client.LicenseClient.(Unknown S
  | ource)
  |  [java] at 
org.vss.service.license.client.LicenseClient.(Unknown S
  | ource)
  |  [java] at TestLicense.testLicenseClient(Unknown Source)
  |  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  |  [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAcces
  | sorImpl.java:39)
  |  [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMet
  | hodAccessorImpl.java:25)
  |  [java] at java.lang.reflect.Method.invoke(Method.java:585)
  |  [java] at junit.framework.TestCase.runTest(TestCase.java:154)
  |  [java] at junit.framework.TestCase.runBare(TestCase.java:127)
  |  [java] at junit.framework.TestResult$1.protect(TestResult.java:106)
  |  [java] at 
junit.framework.TestResult.runProtected(TestResult.java:124)
  |  [java] at junit.framework.TestResult.run(TestResult.java:109)
  |  [java] at junit.framework.TestCase.run(TestCase.java:118)
  |  [java] at junit.framework.TestSuite.runTest(TestSuite.java:208)
  |  [java] at junit.framework.TestSuite.run(TestSuite.java:203)
  |  [java] at junit.textui.TestRunner.doRun(TestRunner.java:116)
  |  [java] at junit.textui.TestRunner.doRun(TestRunner.java:109)
  |  [java] at junit.textui.TestRunner.run(TestRunner.java:72)
  |  [java] at junit.textui.TestRunner.run(TestRunn

[jboss-user] [JBoss Seam] - Joining an existing conversation

2006-07-18 Thread bluetrade
Hi, 
I have an existing conversation running from a webportal and need to use AJAX 
at one point to access the SAME Bean that I had previously accessed within a 
normal (not with AJAX) Seam conversation, e.g. I am logged in through the login 
procedure as in the booking example but later on I would like to "switch" to 
the AJAX model, how can I "synchronize" these two ? 

Are there any other examples somewhere or some more docs regarding this?

Thanks so much!
Joey

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958938
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: @EJB injection gives null

2006-07-18 Thread jatsrt
Don't know if you are seeing the same problem as what we had, but we were using 
the embedded container for testing and 4.0.4 for release.  The location of the 
EJB class has changed and we did not see that, so every @EJB was giving null 
because it could not find the EJB class.

-Jake

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958937
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration & Deployment] - Re: log4j email appender not working with jboss

2006-07-18 Thread ALRubinger
Part of my application includes a mail service stateless session bean.  When 
this mail service is loaded and the following code is executed, Log4J looks for 
SMTP on Port 465 as opposed to the settings defined in conf/log4j.xml.  Seems 
Log4J is picking up a shared mail session?  

Properties props = System.getProperties();
  | 
props.put(MailServiceBean.PROPERTY_KEY_SMTP_PROTOCOL,MailServiceBean.DEFAULT_VALUE_SMTP_PROTOCOL);
  | props.put(MailServiceBean.PROPERTY_KEY_SMTP_AUTH,true);
  | 
props.put(MailServiceBean.PROPERTY_KEY_SMTP_HOST,this.getSmtpHost());
  | 
props.put(MailServiceBean.PROPERTY_KEY_SMTP_USER,this.getSmtpUsername());
  | 
props.put(MailServiceBean.PROPERTY_KEY_SMTP_PASSWORD,this.getSmtpPassword());
  | props.put(MailServiceBean.PROPERTY_KEY_SMTP_PORT,new 
Integer(this.getSmtpPort()).toString());
  | props.put("mail.smtp.socketFactory.class", 
"javax.net.ssl.SSLSocketFactory");
  | props.put("mail.smtp.socketFactory.fallback", "false");
  | props.put("mail.smtp.socketFactory.port",new 
Integer(this.getSmtpPort()).toString());
  | SmtpAuthenticator auth = new SmtpAuthenticator();
  | auth.setUsername(this.getSmtpUsername());
  | auth.setPassword(this.getSmtpPassword());
  | mailSession = Session.getInstance(props,auth);
  | 
  | 

S,
ALR


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958936
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Maven2 and JBoss Seam DVD Store demo

2006-07-18 Thread yuan_hang
Because unit test use embedded-ejb, so the configuration should like this:

  | 
  | 
  | 
  | true
  | true
  | #{ejbName}/local
  | 
  | 
  | ...
  | 
  | 
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958935
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method

2006-07-18 Thread bdaw
arf... ok. of course your right. I wrote the anwser to fast and it is wrong. 
sory for that very stupid from my side.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958934
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime

2006-07-18 Thread hosierdm
And use code tags instead of quote tags to format code snippets in your post.  
;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958933
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - org.jboss.varia.scheduler.Schedulable

2006-07-18 Thread [EMAIL PROTECTED]
I cannot find the jar file that contains this class in the 4.0.4.GA download 
after using the installer for EJB3.0. Does anyone know where it's located?

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958932
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool

2006-07-18 Thread gcowsar
and you need 


in your persistence to XML file (if you are adding the datasource in 
jboss-beans.xml).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958930
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method

2006-07-18 Thread hubertg
I may be wrong, but I think by using your suggested commands the Object o won't 
be accessible in the RenderRequest. If it were I'd happily use this method of 
sharing objects between the methods.

The only way is to use ActionResponse::setRenderParameter(String). Then the 
renderparameter is simply added to the url used for redirect 
(/portal/default/?renderparam1=value).

Render and ActionREquest are two different HTTPServletRequest and not sharing 
any objects. Thats at least what I remember from JSR 168 :-)

JSF and struts are no real alternatives because the current system is based on 
webwork 1. I used the StrutsBridge as some kind of inspiration though.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958929
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: How can i implement themes in my application like in Jbo

2006-07-18 Thread PeterJ
Download the source code for the portal and look at the source files in 
./core/src/main/org/jboss/portal/core/portlet/theme.  (2.4.0CR1)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958928
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Eclipse IDE (users)] - Re: Frequent

2006-07-18 Thread [EMAIL PROTECTED]
znbailey:

  could you please provide me with more information from the jboss server 
view's event log? Also, you can get some extra information by opening the 
properties view and clicking on various event log items to see some properties 
of them. 

Please provide as much data from there as you can. You are correct. There is a 
disconnect of some sort. What type of configuration are you using? Is it a 
modified minimal configuration or a generic standard configuration?

What JBoss version are you using?

etc etc.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958927
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception

2006-07-18 Thread [EMAIL PROTECTED]
We've not changed where the constraints are specified. Just what *triggers* the 
validation. And the reason for it is that it is MUCH better to never write 
invalid data onto your managed entity objects.


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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958926
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam mailer component

2006-07-18 Thread CptnKirk
anonymous wrote : * Might want to set user, host, password at runtime. But what 
I'm suggesting seems to require it at deploy time. 

How about including an annotation for injecting your mail component that could 
either take config information statically or via EL?  Is EL runtime 
configurable enough for everyone?  It would be nice if Seam supported JMX 
remoting of components.  I have a feeling it's someone already supports this, 
maybe JEE 5 provides an annotation or maybe this is a Spring thing (sometimes 
it's hard to keep these frameworks straight).

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958925
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Clustering/JBoss] - local beans in a cluster?

2006-07-18 Thread pedrosacosta
Hi,

1- In the clustering of JBoss, is it possible abastract a group of nodes in one 
node? 

For example, we've a group of 5 nodes, and the JBoss AS abstract this group has 
one node. A client only have to access an abstract node and then, the AS would 
contact one of the 5 nodes.

One direct consequence of this approach is demonstrated in the following 
example:

2 - Suppose that i've an application that work with session beans. It would be 
great if the application only has to use local session beans (instead of 
remotes) in the cluster of worstation. I only have to install my application in 
each workstation and the Cluster of JBoss would access each node in the way we 
wanted. Is this possible? 


Thanks,
Pedro





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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958924
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime

2006-07-18 Thread kukeltje
you mix up names and code and exampleprocesses Please post a full new set 
where all code is related.

e.g. 

Task doRecalc = taskNode.getTask("TASK_B1");  refers to a non-existent task

And also post the code where you execute the pd

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958922
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam reverse engineering tool

2006-07-18 Thread gcowsar
OK, I got it working, finally!

There were several problems - most of which have been found by others but I'll 
repeat them here. There was one problem where I seem to be the only victim (see 
2 below).

1) There once was a time when I had myfaces-api-1.1.3.jar in JBoss. I'm not 
sure how it got there :-) but it has to be named myfaces-api.jar -- I found out 
that it isn't all that version sensitive, I have 1.1.5 now which I built from 
subversion, but the jar can't have the version in the name.

2) My classes were not even in my EJB3 jar file. This is due to the code 
generator generating the wrong package name (I entered "test", it wants the 
package to be "src.test") and it also generates an incorrect exclude line in 
the build.xml.


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

The exclude line removes the classes that were just added to the ejb3 jar. You 
can't give the "Hibernate Code Generation..." tool a package name that will 
work -- you have to change the package name in the source after it is generated.

I think the exclude is intended to avoid copying the classes twice... ?

3) If you are using MySql you need a META-INF/jboss-beans.xml file like this:


  | 
  | http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="urn:jboss:bean-deployer 
bean-deployer_1_0.xsd"
  | xmlns="urn:jboss:bean-deployer">
  | 
  |
  |   org.gjt.mm.mysql.Driver
  |   jdbc:mysql://localhost:3306/test
  |   root
  |   mypassword
  | 
  |   java:/userDatasource
  |   0
  |   10
  |   1000
  |   10
  |   
  |   
  |   
  |
  | 
  |
  |   
  |  
  |   
  |
  | 
  | 

4) I think you want:



in your persistence.xml file or it will wipe out your tables if you leave it as 
"create-drop", and



5) You have to put jboss-beans.xml in the build.xml in the ejb3.root fileset:






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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958921
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer

2006-07-18 Thread kukeltje
No problem... I'm just preventing a 'jBPM is slow' situation ;-)

We've had a guy test jBPM once via the (at that time) realy slow webapp. Wrong, 
wrong, wrong... but straightening that out was lots of work... proving the core 
was fast...

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958920
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Seam mailer component

2006-07-18 Thread petemuir
Ok, so I do perhaps need to receive email ;-) and faxes, and SMS, and...

  | * I started looking at MDB and JCA message inflow, looks like a good way to 
do it. My initial idea would be to have a listener interface
  | 
  | public interface EmailListener {
  |   | public void receive(javax.mail.Message message);
  |   | }
  | 
  | which must be implemeneted by the MDB receiving email.  Then write a 
resource adaptor to receive new messages from the emailbox and deliver them.
  | 
  | * The resource adaptor would need to poll the mail box every x seconds to 
check for new email.
  | 
  | * Might want to set user, host, password at runtime.  But what I'm 
suggesting seems to require it at deploy time.
  | 
  | * Doesn't seem to be very Seam like. A thought is to tie it to component 
driven events which could solve other problems (I need to think about this)
  | 
  | * Would be a good way to send email as well i.e.
  | 
  | @In private Mailer mailer
  |   | ...
  |   | javax.mail.Message message = ...;
  |   | mailer.send(message);
  |   | ...
  |   | 
  | 
  | The Mailer component could then add in any defaults specified if not set on 
the message.
  | 
Comments, thoughts, ideas welcome (please!)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958919
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer

2006-07-18 Thread hosierdm
Right, I was just trying to simplify the example...sorry.  :)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958918
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: EJB 3.0 RC8 Preview - FD Released

2006-07-18 Thread normann
I can't believe that the some haven't fixed these problems and updated the 
official EJB 3 package (RC9?) so it works. It's over a month since the first 
user reported missing files.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958917
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Where are processes / logs typically saved?

2006-07-18 Thread brado
Ronald,

Thanks a million for the speedy reply. You are a fountain of knowledge and 
quick on the draw too!  

Cheers,

Brad

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958916
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Where are processes / logs typically saved?

2006-07-18 Thread kukeltje
don't do it in the actionhandlers, this could result in unwanted/unexpected 
behaviour. Do it in the calling code (as does the webapp)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958915
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Modeling simple process(tasks)

2006-07-18 Thread kukeltje
2

Regarding the question on adding it. I do not think it will be. This 
functionality can be achieved in other ways. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958913
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: required fields for transitions?

2006-07-18 Thread kukeltje
conditionally required variables is indeed somewhere on the list (afaik). If 
the required, write, read attribute is changed into something like 
required='true' or some EL expression with the transitionname in the 
expression, that could be realized.

Achieving this now is possible by making the variable not required in the pd, 
but checking some things with dhtml in the client. Another option is to 
implement your own taskcontroller and achieve it that way. 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958912
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: jbpmContext null pointer

2006-07-18 Thread kukeltje
but do the JbpmConfiguration.getInstance() as little as possible, since it is 
SLOW. The jBPM webapp does it once!

creating the context can be done lots of times, since it is FAST.

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958911
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Where are processes / logs typically saved?

2006-07-18 Thread brado
Hello -- I have created a simple process that contains invocations of other 
Java classes via a node's ActionHandler implementation. This is a business 
process needs to be saved on creation, and saved on completion / exit. My 
question is this: is it typical to save processes in the code invoking the 
signaling of the process (i.e. the wrapping code), or is it typical to save 
processes in the ActionHandlers and code within the process itself? Are there 
negative ramifications to saving a process withiin the code of the process 
itself? 

Thanks!

Brad 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958909
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Re: sharing data between render() and processAction() method

2006-07-18 Thread bdaw
you do ActionRequest.setAttribute(Object o) and RenderRequest.getAttribute(...)

Consider using MVC web framework that has bridge/support for portlets. JSF and 
struts has some.

And read portlet specification (jsr-168) - it's not very long and really 
readable ;)

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958908
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - application-defined resources for MDBs

2006-07-18 Thread ekrisjo
Hi all,

I have a problem understanding how (assembled and tested) ejb-archives 
containing MDBs can be deployed in multiple applications without avoiding 
resource conflicts. To my knowledge, queues are bound (either by xml or 
annotations) when assembling the module (EJB) and not when assembling the 
application (EAR)...?

Servlet context can be bound on application level, global JNDI names for SLSBs 
can be generated on application level (referencing them with ENC). 
persitence.xml file can be application-defined which isolate datasources from 
eachother and overcome conflicts for reused entity beans.

But, for MDBs i have not found any similar way of lately bind a MDB to 
application-defined queues?

Cheers,
-Kristoffer

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958906
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Problem during marshalling/unmarshalling

2006-07-18 Thread justin033
"msaeed" wrote : Hi Joachim,
  | 
  | All is good now.  Thanks for the reply.
  | 
  | Manny
  | 


can u give us the steps how to slove this problem???
Just remove the extra of hibernate jar???

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958905
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: @IfInvalid throws unhandled exception

2006-07-18 Thread davidgeary
Yes, I was missing a @Valid annotation. Thanks.

Gavin: would you care to elaborate why (I assume) you've switched from  
validation specified in model classes, ala Rails, to validation specified in 
views, ala JSF? I'd be most interested in knowing the rationale behind that 
switch.


david geary

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958904
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat?

2006-07-18 Thread [EMAIL PROTECTED]
Tomcat hotdeploy is basically completely broken and AFAIK can't be made to work 
reliably.


http://encarta.msn.com/dictionary_1861673867/fiddly.html

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958903
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: JBPM TaskCreation at RunTime

2006-07-18 Thread abbasshah
Here is the code in detial

anonymous wrote : < process-definition xmlns='' name='TestProcess'> 
  | < start-state name='start'> 
  | < transition name='' to='setup'>< /transition> 
  | < /start-state> 
  | < node name='setup'> 
  | < action class='com.sample.SetupProcessActionHandler'/> 
  | < transition name='' to='Test_Node'>< /transition> 
  | < /node> 
  | < task-node name='A' signal='never' create-tasks='false'> 
  | < event type='node-enter'> 
  | < action class='com.sample.testTask.OnNodeEnter'/> 
  | < /event> 
  | < task name='TASK_A1'> 
  | < event type='task-create'> 
  | < action class='com.sample.testTask.OnTaskCreation'/> 
  | < /event> 
  | < event type='task-end'> 
  | < action class='com.sample.testTask.OnComplete'/> 
  | < /event> 
  | < /task> 
  | < task name='TASK_A2'> 
  | < event type='task-create'> 
  | < action class='com.sample.testTask.OnTaskCreation'/> 
  | < /event> 
  | < event type='task-end'> 
  | < action class='com.sample.testTask.OnComplete'/> 
  | < /event> 
  | < /task> 
  | < transition name='on_update_msg' to='Test_Node2'>< /transition> 
  | < /task-node> 
  | 
  | < task-node name='B' signal='never' create-tasks='false'> 
  | < event type='node-enter'> 
  | < action class='com.sample.testTask.OnNodeEnter2'/> 
  | < /event> 
  | 
  | < task name='TASK_B1'> 
  | < event type='task-create'> 
  | < action class='com.sample.testTask.OnTaskCreation'/> 
  | < /event> 
  | < event type='task-end'> 
  | < action class='com.sample.testTask.OnComplete'/> 
  | < /event> 
  | < /task> 
  | < transition name='' to='end'>< /transition> 
  | < /task-node> 
  | 
  | < node name='loopback'> 
  | < transition name='' to='Test_Node'>< /transition> 
  | < /node> 
  | 
  | < end-state name='end'>< /end-state> 
  | 
  | < /process-definition> 
  | < code> 


anonymous wrote : TASKNODE A  Task creation handler 
  | public class OnNodeEnter implements ActionHandler {
  | 
  | private final static Log log = LogFactory.getLog( OnNodeEnter.class );  
 
  | 
  | public void execute(ExecutionContext executionContext) throws Exception 
{
  | 
  | System.out.println("OnCreation-->- Start");
  | 
  | Token token = executionContext.getToken();
  | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance();
  | TaskNode taskNode = (TaskNode) executionContext.getNode();
  | 
  |   
  | Task doRecalc = taskNode.getTask("TASK_A1");
  | tmi.createTaskInstance(doRecalc, token);
  | 
  | Task doRecalc3 = taskNode.getTask("TASK_A2");
  | tmi.createTaskInstance(doRecalc3, token);
  | 
  | System.out.println("OnCreation-->- END");
  | 
  | }
  | 
  | }


anonymous wrote : anonymous wrote : TASKNODE B  Task creation handler 
  |   | 
  |   | public class OnNodeEnter2 implements ActionHandler {
  |   | 
  |   | private final static Log log = LogFactory.getLog( 
OnNodeEnter2.class );   
  |   | 
  |   | public void execute(ExecutionContext executionContext) throws 
Exception {
  |   | 
  |   | System.out.println("OnCreation-->- Start");
  |   | 
  |   | Token token = executionContext.getToken();
  |   | TaskMgmtInstance tmi = executionContext.getTaskMgmtInstance();
  |   | TaskNode taskNode = (TaskNode) executionContext.getNode();
  |   | 
  |   |   
  |   | Task doRecalc = taskNode.getTask("TASK_B1");
  |   | tmi.createTaskInstance(doRecalc, token);
  |   | 
  |   |  System.out.println("OnCreation-->- END");
  |   | 
  |   | }
  |   | 
  |   | }
  | 
  | 
  | anonymous wrote : ActionHandler on task-create event on all tasks 
  |   | public class OnTaskCreation implements ActionHandler {
  |   | 
  |   | 
  |   | public void execute(ExecutionContext executionContext) throws 
Exception {
  |   | System.out.println("-->  TaskInstacne Id 
="+executionContext.getTaskInstance().getName());
  |   |   System.out.println("-->  TaskInstacne Id 
="+executionContext.getTaskInstance().getId());
  |   | }
  |   | }
  | 
  | In case of TASK_A1 and TASK_A,   OnTaskCreation  prints proper Ids
  | 
  | But In case of TASK_B1, OnTaskCreation  prints 0 
  | 
  | 
  | 
  | 
  | 

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958902
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Seam] - Re: Hot Deploy Seam Apps on Tomcat?

2006-07-18 Thread davidgeary
I'm not familiar with the English adjective "fiddly"--perhaps it comes from the 
same place that "outjection" comes from. 8-)

Anyway, thanks for the quick response: what you describe is exactly what I'm 
doing with Tomcat. I've got IDEA set up to create an exploded directory that I 
access via Tomcat. But it doesn't work.

I'd really like to stick with Tomcat instead of switching to JBoss. Is there 
any obvious reason why hot deploy should work with JBoss but not with Tomcat? 
Does it have something to do with embedded EJB?

Thanks,


david geary

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=3958900
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


  1   2   3   >