[jboss-user] [Installation, Configuration & Deployment] - versions of third party softwares with AS

2007-03-28 Thread hsaha
Hi,
Is there a way we can find the versions of third-party softwares(e.g log4j) 
which are bundled by default in JBoss AS. Pls let me know.

Specifically, i would like to know the log4j version used in JBoss4.0.1. Any 
help would be really useful.

Regards,
Himadri

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

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


[jboss-user] [JBoss Seam] - Re: SEAM don't can find session bean !!

2007-03-28 Thread JohnBat26
Do really nobody know how resolve this trouble ?

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

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


[jboss-user] [JBoss jBPM] - Re: jBPM : Couldn't be that complicated...

2007-03-28 Thread mputz
If you are still interested in working mysql db scripts, look at this wiki 
entry http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat and the sql scripts 
I have attached to it. 

Regards,
Martin

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

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


[jboss-user] [JBossWS] - Re: Problem to trace SOAP Message when an exception occures!

2007-03-28 Thread manosurf
Thanks a lot Jason.

It works fine.

manosurf.

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

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


[jboss-user] [JBoss Seam] - Re: POJO with conversational scope

2007-03-28 Thread joris77
Henrik

Thanks for your reply. I am sorry. I think I haven't been quite clear. 

There is one method with a @Begin anotation (doSomething)  and two methods with 
an @End annotation. After the @Begin method is called and has returned to the 
client, the client does a postback (with a h:commandButton) to a method 
(doAnotherThing) on the bean. The  instance variable person (annotated as an 
entity) has the value of null in doAnotherThing while it had been set to a non 
null value in the @Begin annotated method (doSomething).

Like this

...
  | @Name("depot")
  | @Scope(ScopeType.CONVERSATION)
  | public class Depot {
  | 
  | @Logger
  | private Log log;
  | 
  | private Person person;
  | 
  | 
  |@Begin
  |public void doSomething(){
  |person = ...;
  |}
  | 
  |public String doAnotherThing(){
  |... = person; // here the value of person is null
  |}
  | 
  |@End
  |public void ..
  | 
  | ...

This is is logical when I compare this to the logging I get because the POJO is 
destroyed and recreated. But it doesn't meet my expectations for a conversation 
scoped component. I expect the component to be stored somewhere over requests.

My most important question is are my expectations correct?

Joris

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

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


[jboss-user] [JBoss jBPM] - context variables expansion in process definition

2007-03-28 Thread misu200
Hello,

I  have a context variable ...let's call it IMPORTANT

I want to pass the value of this context variable as a parameter to my action 
handler:


   
   VALUE_OF_IMPORTANT_HERE 



I've tried stuff like :
 #{contextInstance.variables.IMPORTANT} or
 {$IMPORTANT}
but it didn't work

Thanks,
Valentin














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

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


[jboss-user] [JBoss jBPM] - A number of jBPM questions

2007-03-28 Thread mr_ortega
Greetings, 

I'm currently investigating the possibility to utilize jBPM in our company's 
project. So I have a few questions regarding this framework. 


1.How does one setup a simple workflow? Describe some standard scenarios with 
examples

2.What kind of scalability does JBoss provide?

2a. Is it possible to setup multiple work item processors on a single machine?

2b. Is it possible to have the workflow setup across multiple machines or in a 
cluster?

2c. How is the deployment of multiple processors on a single machine/ across 
multiple machines managed?

3.What are the options to visualize the state/status of each work item 
processor or the work items themselves? Can custom UIs be built to display 
status?

4.Is it possible to build standalone apps that can independently pick work 
items, process them and push the results back to the workflow?

5.How are manual steps incorporated in the workflow?

6.Is there a way to remotely deploy and manage the system through a single 
console?

7.What is the CPU/memory footprint of a skeletal deployment?

8.What are the basic system requirements for a deployment?

9.What are the supported databases for the workflow and which are the most 
commonly used ones for enterprise deployments?

10.What are the standard testing strategies for a workflow?

11.What is the dependence of the JBPM to the JBoss application server?



Sorry if my questions list looks quite big, but all these questions are quite 
critical for the decision.

Thanks in advance for all your answers!

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Same problem; I can not start the Hypersonic Manager Too

2007-03-28 Thread franboeing
I am having the same problem.  I can't see the the link to the hypersonic DB in 
the JMX console.

When I try to create de tables with the ANT utility, I received these java 
errors:

db-create-table:
[java]  ScriptTool.init error: socket creation error
[java] java.sql.SQLException:socket creation error
[java]  at org.hsqldb.jdbc.Util.sqlException(Unknown Source)
[java]  at org.hsqldb.jdbc.jdbcConnection.(Unknown Source)
 etc.

The build however is succesful.

Same happens with db-insert, and db-list.
The messahges are the same socket error.
I have modified the files as it is said in the tutorial, but still..
Does somebody knows what this socket error means?

Thanks in avance



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

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


[jboss-user] [JBoss Eclipse IDE (users)] - Re: JBoss rules Eclipse plugin site

2007-03-28 Thread kranthidalai
hi, i am new to this and new to drools. we are using drools+java in our 
project. I copied drools-core,compiler,jsr94,decision table jars and drools-ide 
jar in elicpse plugin folder. And it is giving one sample drl file. But how can 
i write new drl file. Am i need to copy any other files. Plz give me suggestion 
. I am in the middle of my project.

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

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


[jboss-user] [JBoss jBPM] - Re: Problems in jbpm-3.1.4 with JBoss4.0.2

2007-03-28 Thread holly77
you got JBoss Portal installed? I had compatibility problems with JBOss Portal 
and jBPM WebConsole.
Give it a try and remove your jbpm.war from your JBoss and check out whether 
still errors occur...

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

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


[jboss-user] [Microcontainer] - Re: Acessing Microcontainer Beans in Servlet

2007-03-28 Thread obelix1998
Unfortunately I'm completely new to the microcontainer and I wasn't able to 
find any reference during my google search to a code example how to get this 
controler you are talking about. I tried the following:

bootstrap = new BasicBootstrap();
bootstrap.run();
this.tracker = 
(TrackerImp)bootstrap.getKernel().getRegistry().getEntry("trackerImplementation");

Where "trackerImplemenation" is the name of my bean in jboss-beans.xml:



   
  
  
   


   
  
  
  
  
   


   
  
  
  
   




So if you could provide a code example how to get this controller, I'd 
appreciate it very much.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.1.4 tutorial examples not working in JBPM 3.2b2?

2007-03-28 Thread sunchaohui_koko
just like this:


  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss jBPM] - Re: Tomcat 5.5 - Jbpm 3.2 - Starting failed <

2007-03-28 Thread mputz
Did you set the hibernate.dialect property in hibernate.cfg.xml?

Besides the changes you have already made, there should also be an entry for 
the dialect. Use org.hibernate.dialect.OracleDialect for Oracle 8 and earlier, 
org.hibernate.dialect.Oracle9Dialect for Oracle 9 and 10. 



  | org.hibernate.dialect.Oracle9Dialect

Regards,
Martin

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU

2007-03-28 Thread mputz
Ronald,

I've finally managed to get the wiki entry up. Feel free to make any 
additions/modifications in case I forgot something.

Regards,
Martin

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Deployment error for MDB bound to remote queue

2007-03-28 Thread rbb2007
I have found out in the meantime that the scenario works with EJB2.1 MDB. No 
deployment error, instead the server retries connecting every 10 seconds. I 
suppose the problem should be reported as a bug?


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

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


[jboss-user] [JBoss Seam] - Re: Can't get seam generate-entities to work.

2007-03-28 Thread [EMAIL PROTECTED]
hmm...the new tools should actually not care if your schema is lower or upper 
case ;(

In any case that is probably the problem.

Use WAS as your schema name. I can also be empty but then it will process the 
whole database and not just your schema (read: slower!)

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

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


[jboss-user] [JBoss jBPM] - Problems in jbpm-3.1.4 with JBoss4.0.2

2007-03-28 Thread mr.sathya
Hi Everybody,

 I am wondering if anybody can help me to solve this problem..I am using 
Jbpm-3.1.4 with Jboss 4.0.2.I have successfully built then i found the 
following error while run that in jboss 4.0.2.

09:54:43,196 INFO  [TomcatDeployer] deploy, ctxPath=/jmx-console, 
warUrl=file:/E:/jboss-4.0.2/server/jbpm/deploy/jmx-co
sole.war/
09:54:43,367 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Incompletely deployed packages ---
[EMAIL PROTECTED] { url=file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war }
  deployer: [EMAIL PROTECTED]
  status: Deployment FAILED reason: URL 
file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.war/ deployment fa
led
  state: FAILED
  watch: file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war
  altDD: null
  lastDeployed: 1175142281837
  lastModified: 1175142281806
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=WebService
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: No Attribute found with 
name: DownloadResources
  Depends On Me:
jboss.ejb:service=EJBDeployer

ObjectName: jboss.ejb:service=EJBDeployer
  State: CONFIGURED
  I Depend On:
jboss:service=TransactionManager
jboss:service=WebService

ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL 
file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL 
file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed

ObjectName: jboss:service=WebService
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: No Attribute found with 
name: DownloadResources
  Depends On Me:
jboss.ejb:service=EJBDeployer


09:54:43,492 ERROR [Server] Root deployment has missing dependencies; continuing
Incomplete Deployment listing:

--- Incompletely deployed packages ---
[EMAIL PROTECTED] { url=file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war }
  deployer: [EMAIL PROTECTED]
  status: Deployment FAILED reason: URL 
file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.war/ deployment fa
led
  state: FAILED
  watch: file:/E:/jboss-4.0.2/server/jbpm/deploy/jbpm.war
  altDD: null
  lastDeployed: 1175142281837
  lastModified: 1175142281806
  mbeans:

--- MBeans waiting for other MBeans ---
ObjectName: jboss:service=WebService
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: No Attribute found with 
name: DownloadResources
  Depends On Me:
jboss.ejb:service=EJBDeployer

ObjectName: jboss.ejb:service=EJBDeployer
  State: CONFIGURED
  I Depend On:
jboss:service=TransactionManager
jboss:service=WebService

ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL 
file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed

--- MBEANS THAT ARE THE ROOT CAUSE OF THE PROBLEM ---
ObjectName: jboss.web.deployment:id=-254946322,war=jbpm.war
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: URL 
file:/E:/jboss-4.0.2/server/jbpm/tmp/deploy/tmp22064jbpm-exp.wa
/ deployment failed

ObjectName: jboss:service=WebService
  State: FAILED
  Reason: org.jboss.deployment.DeploymentException: No Attribute found with 
name: DownloadResources
  Depends On Me:
jboss.ejb:service=EJBDeployer


at 
org.jboss.deployment.MainDeployer.checkIncompleteDeployments(MainDeployer.java:1286)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:741)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:722)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:121)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:127)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:74)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:177)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:434)
 

[jboss-user] [JBoss Seam] - Re: Possible Error in Chapter 10. The Seam Application Frame

2007-03-28 Thread [EMAIL PROTECTED]
Tanks.

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

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


[jboss-user] [JBoss Seam] - Re: Default Exception Handler doesn't work

2007-03-28 Thread gingming
Thanks, that works!!!

Please remember to update the documentation in future release :D

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

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


[jboss-user] [JBoss Portal] - login by DatabaseServerLoginModule, but fail to access Porta

2007-03-28 Thread liutaiyo
Why the Role fail to set to the user?

Error Message After Login

HTTP Status 403 - Access to the requested resource has been denied



type Status report

message Access to the requested resource has been denied

description Access to the specified resource (Access to the requested resource 
has been denied) has been forbidden.

#

Here is My Trace Logs

LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule
ControlFlag: LoginModuleControlFlag: required
Options:name=rolesQuery, value=select loyalty.role.role_name as "Role", 
loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, 
loyalty.role_type where loyalty.role_type.role_type_id = 
loyalty.user.role_type_id and loyalty.role_type.role_id = 
loyalty.role.role_id andloyalty.user.username = ?
name=principalsQuery, value=select password from loyalty.user where username = ?
name=password-stacking, value=useFirstPass
name=unauthenticatedIdentity, value=guest
name=additionalRole, value=Authenticated
name=factoryJNDIName, value=java:/portal/SessionFactory
name=dsJndiName, value=java:PortalDS_postgres

2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.login.XMLLoginConfigImpl] End 
getAppConfigurationEntry(portal), authInfo=AppConfigurationEntry[]:
[0]
LoginModule Class: org.jboss.security.auth.spi.DatabaseServerLoginModule
ControlFlag: LoginModuleControlFlag: required
Options:name=rolesQuery, value=select loyalty.role.role_name as "Role", 
loyalty.role_type.role_type as "RoleGroup" from loyalty.user, loyalty.role, 
loyalty.role_type where loyalty.role_type.role_type_id = 
loyalty.user.role_type_id and loyalty.role_type.role_id = 
loyalty.role.role_id andloyalty.user.username = ?
name=principalsQuery, value=select password from loyalty.user where username = ?
name=password-stacking, value=useFirstPass
name=unauthenticatedIdentity, value=guest
name=additionalRole, value=Authenticated
name=factoryJNDIName, value=java:/portal/SessionFactory
name=dsJndiName, value=java:PortalDS_postgres

2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] initialize, [EMAIL 
PROTECTED]
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] initialize, [EMAIL 
PROTECTED]
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] Saw 
unauthenticatedIdentity=guest
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] Saw 
unauthenticatedIdentity=guest
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] 
DatabaseServerLoginModule, dsJndiName=java:PortalDS_postgres
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] 
DatabaseServerLoginModule, dsJndiName=java:PortalDS_postgres
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] principalsQuery=select 
password from loyalty.user where username = ?
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] principalsQuery=select 
password from loyalty.user where username = ?
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] rolesQuery=select 
loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" 
from loyalty.user, loyalty.role, loyalty.role_type where 
loyalty.role_type.role_type_id = loyalty.user.role_type_id and 
loyalty.role_type.role_id = loyalty.role.role_id andloyalty.user.username = 
?
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] rolesQuery=select 
loyalty.role.role_name as "Role", loyalty.role_type.role_type as "RoleGroup" 
from loyalty.user, loyalty.role, loyalty.role_type where 
loyalty.role_type.role_type_id = loyalty.user.role_type_id and 
loyalty.role_type.role_id = loyalty.role.role_id andloyalty.user.username = 
?
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendResume=true
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendResume=true
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] login
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] login
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendAnyTransaction
2007-03-29 11:38:25,656 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] suspendAnyTransaction
2007-03-29 11:38:25,656 DEBUG 
[org.jboss.resource.connectionmanager.IdleRemover] internalRegisterPool: 
registering pool with interval 90 old interval: 45
2007-03-29 11:38:25,765 TRACE 
[org.jboss.security.auth.spi.DatabaseServerLoginModule] Excuting query: select 
password from loyalty.user where username = ?, with username: use

[jboss-user] [JBoss Seam] - Re: Default Exception Handler doesn't work

2007-03-28 Thread [EMAIL PROTECTED]
No, what i mean is:

Unexpected Failure. Cause: 
#{org.jboss.seam.handledException.message}

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

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


[jboss-user] [JBoss Seam] - Re: Default Exception Handler doesn't work

2007-03-28 Thread [EMAIL PROTECTED]
You *definitely* have debug mode turned on.



And you have to use org.jboss.seam.handledException.

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

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


[jboss-user] [EJB 3.0] - CascadeType is misbehaving!

2007-03-28 Thread justinmiller
I am seeing something very weird with respect to cascading. There are really 
two problems. Let's say that I have classes A and B, and then a main method 
below that:


  | 
  | @Entity
  | @Table(name="A")
  | public class A {
  | 
  | @Column(name="ID")
  | private String id;
  | 
  | @OneToMany(cascade= {CascadeType.REMOVE, CascadeType.REFRESH, 
CascadeType.PERSIST})
  | @JoinColumn(name="PARENT_ID")
  | private Collection children;
  | 
  | 
  | public A() {
  | super();
  | }
  | 
  | public A(String id) {
  | this.id = id;
  | }
  | 
  | public Collection getChildren() {
  | return children;
  | }
  | 
  | 
  | public void setChildren(Collection children) {
  | this.children = children;
  | }
  | 
  | public String getId() {
  | return id;
  | }
  | 
  | public void setId(String id) {
  | this.id = id;
  | }
  | 
  | }
  | 


  | 
  | @Entity
  | @Table(name="B")
  | public class B implements Serializable {
  | 
  | @Column(name="ID")
  | private String id;
  | 
  | @Column(name="PARENT_ID")
  | private String parent;
  | 
  | public B() {
  | super();
  | }
  | 
  | public B(String id) {
  | this.id = id;
  | }
  | 
  | public String getId() {
  | return id;
  | }
  | 
  | public void setId(String id) {
  | this.id = id;
  | }
  | 
  | public String getParent() {
  | return parent;
  | }
  | 
  | public void setParent(String parent) {
  | this.parent = parent;
  | }
  | 
  | }
  | 

  | 
  | public class EJB3Test {
  | 
  | public static void main(String[] args) {
  | A a = new A(generateId());
  | B b = new B(generateId());
  | 
  | a.setChildren(Arrays.asLis(new B[] { b }));
  | b.setParent(a.getId());
  | 
  | //for argument's sake, let's just say SessionFacade is just a 
wrapper
  | //around EntityManager.persist/merge/remove
  | SessionFacade.persist(a);
  | 
  | a = new A(a.getId());
  | 
  | //let's say we've changed 'a' somehow, and we want those changes
  | //persisted, but we WANT it's relationship to it's children
  | //preserved.
  | SessionFacade.merge(a);
  | }
  | }
  | 

The first problem:
Notice how I don't have CascadeType.MERGE set on the relationship between A and 
it's children. Why then, when I do the merge(), will it attempt to set 
B.PARENT_ID to null? I would think that if it's not set to cascade on a merge, 
the EntityManager shouldn't even touch children. I have found however, that 
setting updatable=false on the JoinColumn causes the expected behavior.

The second problem is an extension of the first:
Let's take it one step further, assuming we set updatable=false, and right 
before we try SessionFacade.merge(a), we do this:


  | a.setChildren(Arrays.asList(new B[] { new B(someNewId) } ));
  | 
  | //then do:
  | SessionFacade.merge(a)
  | 

The merge now throws an exception, even though it's NOT set to cascade on 
merge, and children is set to updatable=false. The exception we get is an 
EntityNotFoundException stating that it can't find an object B with id: 
someNewId. Well no kidding! It's not there! I know it seems weird to NOT want 
to cascade, but I assure you - in my context, I simply need more control over 
how the children are inserted. Therefore, it makes perfect sense to have 
children that I do not want persisted until I explicitly do so. 

I shouldn't have to grab a reference to the children, null out the field in A, 
and then merge all the children.

  | Collection children = a.getChildren();
  | a.setChildren(null);
  | 
  | SessionFacade.merge(a);
  | 
  | for(B child : children)
  |  SessionFacade.merge(child);
  | 

ANY help would be greatly appreciated!!! This is driving me crazy!

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

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


[jboss-user] [JBoss Seam] - Re: Default Exception Handler doesn't work

2007-03-28 Thread gingming
Oh, true. Sorry.  I was only checking the 


  | 
  | org.jboss.seam.core.init.debug
  | true
  | 
  | 

in the web.xml file.  Thanks for your help.


So just to clarify, in order to retrieve the exception message, all the 
exception that I throw must extend org.jboss.seam.handledException?

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

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


[jboss-user] [JBoss Seam] - Re: Redirect in pages.xml using if condition

2007-03-28 Thread [EMAIL PROTECTED]
Sure, that is the right way to do it. However, note that your navigation rule 
won't be fired unless some action is called. So if you expect it to fire on a 
GET request, you need a page action. 

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

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


[jboss-user] [Beginners Corner] - Change jboss default class loading

2007-03-28 Thread kapils
I have a very specific issue.

I have two .war files with different name 
i.e first.war
 second.war

But the class files inside the web-inf/classes/ are of same name. Not only the 
classes but everything (name ) is same including library jar files.

Although the Urls are different, but these classes are overridden. I know that 
i have to change the UseJBossWebLoader or some changes in jboss-web.xml

But don't know exact changes. Can anyone help me out to make changes specific 
to wars...

Any help is appreciated



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

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


[jboss-user] [JBossWS] - StAX parser

2007-03-28 Thread acxjbertr
I noticed this ticket indicating that a StAX parser would be implemented in 
JBossXB for use by JBossWS.  However, I also noticed this wiki post indicating 
that JBossWS doesn't yet make use of a StAX parser.   

My questions are:
Is a StAX parser available for JBossWS?  If so, was there much performance 
gain?  If not, is one supposed to be implemented?  If so, when?
  | 
  | What are the more general plans for increasing the performance of JBossWS 
(if any)?

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

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


[jboss-user] [JBoss Portal] - Re: developing a new portal

2007-03-28 Thread PeterJ
Mallika, the build.xml file is used by the Ant tool to perform the build.  You 
will, of course, need Ant, which you can download from http://ant.apache.org/. 
The build.xml was most likely written using Eclipse, but any text editor can 
edit it.

vikas01, your best bet is to read the tutorials that come with JBossPortal. 
Also, since you are new to the Portal I recommend that you start with version 
2.4.1, the documentation for it is very good. If you try using 2.6, it is a 
beta, and so is the documentation that comes with it, so a lot of the 
documentation might not match the portal.

Also, for books to get started with see 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=88554

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

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


[jboss-user] [JBossWS] - Re: Server-side NullpointerException when using ws-security

2007-03-28 Thread PeterJ
I got this error before. It was either because I did not make the 
META-INF/standard-jaxws-client-config.xml, or I did not remove the 
configurations other than Standard WSSecurity Client from that file, or because 
I did not reference the truststores in either the jboss-wsse-clsient.xml or 
jboss-wsse-server.xml files. (It's been several days and several millions 
errors since that happened, but if the above suggestions don't solve the 
problem let me know and I will see if I can reproduce it.)

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

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


[jboss-user] [JBoss Seam] - Re: Default Exception Handler doesn't work

2007-03-28 Thread gingming
I don't have the debug mode turned on though.  Also, how do I access the 
exception message from the pages.xml page? The handledException doesn't work.

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

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


[jboss-user] [JBoss Seam] - Redirect in pages.xml using if condition

2007-03-28 Thread gingming
I'd like to redirect the user to a different page if certain condition is not 
correct.  I'm just wondering if the pages.xml is a right place to do it.  I 
tried the following but it doesn't work:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

I'd appreciate for any help given.

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

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


[jboss-user] [JBoss Seam] - Re: Default Exception Handler doesn't work

2007-03-28 Thread [EMAIL PROTECTED]
turn off debug mode

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

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


[jboss-user] [JBoss Seam] - Default Exception Handler doesn't work

2007-03-28 Thread gingming
I've the following in the pages.xml:


  | 
  | 
  | 
  | Unexpected Failure. Cause: 
#{handledException.message}
  | 
  | 
  | 

However, when exception occurred, it couldn't catch it and tries to redirect 
the user to the debug.xml page.

I then added

  | 
  | 
  | 
  | Unexpected Failure. Please check the system 
configuration. Cause: #{handledException.message}
  | 
  | 
  | 
to catch the exception throw.  It can now redirect correctly, however, it 
couldn't get the message out from the handledException object.

I've added the following filter in my web.xml:

  | 
  | SeamExceptionFilter
  | 
org.jboss.seam.servlet.SeamExceptionFilter
  | 
  | 
  | 
  | SeamExceptionFilter
  | *.xhtml
  | 
  | 

I've also tried with the org.jboss.seam.web.SeamFilter but the same problem 
occurs.

Are there still bugs in the exception handling mechanism or is my configuration 
incorrect?  I'm using Seam 1.2.1.GA, however, when it starts up, it still 
displays 

29 Mar 2007 12:32:44,389 | 0   [INFO ] {main} 
(javax.servlet.ServletContextListener) Welcome to Seam 1.2.0.PATCH1
  | 
in the Eclipse IDE Console output.

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

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


[jboss-user] [JBossWS] - Re: WS-Security: keystores and truststores

2007-03-28 Thread PeterJ
I'll add my own two cents to this (I was going to do a new post but found this 
one).

The only way that I can get WS-Security encryption to work is if I place the 
private key into the keystore in both the client and the server. If either one 
has a public key, it complains with the error:

org.jboss.ws.extensions.security.WSSecurityException: Problems retrieving 
private key: Private key (XXX) not in keystore

This appears to be a major flaw if both the client and the server have to have 
the private key available, I would think that the public key would be 
sufficient for one side. I cannot imagine a company that provides a Web service 
willingly giving out the private key for that Web service. Or a second company 
that wants to use said web service providing its private key to the first 
company. 

Any thoughts on this or am I just doing it wrong. (I will post the config files 
on request, but they are pretty much what appears at 
http://jbws.dyndns.org/mediawiki/index.php/JAX-WS_User_Guide#WS-Security, 
though substitute 'encrypt' for 'sign'. I think I tried 'sign' also and it had 
the same problem.)

I am using JBossWS 1.2.0.GA

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

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


[jboss-user] [JBoss Seam] - Re: POJO with conversational scope

2007-03-28 Thread henrik.lindberg
afaik - in order to have a long runningconversation you have to start it using 
@Begin, and then end it with @End. 

A default conversation is short.

There are plenty of examples in both the documentation and in the example code 
that shows how to use longer conversations.

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

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


[jboss-user] [JBoss Seam] - Re: cannot destroy component exception

2007-03-28 Thread henrik.lindberg
waynebagguley, you don't have to change every bean - the fix that is in the FAQ 
shows how to do it.

Problem is now gone.

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

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


[jboss-user] [JBoss Seam] - EL Enhancements dont work in facelets tag file

2007-03-28 Thread dustismo
Hello,

I'm not sure if you would consider this a bug, but it took me all day to figure 
out where the problem was.  Hopefully this will help someone out, if it is 
fixable I can attach a very simple example.

Problem: parameters passed to facelets tag files are always null when used in 
an action. 

Examlpe tag file (exampleTag.xhtml):


  | http://www.w3.org/1999/xhtml";
  | xmlns:h="http://java.sun.com/jsf/html"; >
  | 
  | Value is: #{value}
  | 
  | 
  | 
  | 
  | 

Where exBean.echo just prints the value to std out. The value is displayed 
correctly on the rendered page, but is always null when passed to the action.  
This is obviously a problem of scope.  

Here are the other files needed to reproduce..

(example.taglib.xml)


  | 
  | http://java.sun.com/dtd/web-facesconfig_1_0.dtd";>
  | 
  | 
  | http://www.example.com/tags
  | 
  | exampleTag
  | exampleTag.xhtml
  | 
  | 
  | 


usage:
(home.xhtml)

  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";
  | xmlns:ex="http://www.example.com/tags";
  | template="layout/template.xhtml">
  | 
  | 
  |   
  |  
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - POJO with conversational scope

2007-03-28 Thread joris77
I have a POJO that i want to use as a Seam bean with conversational scope and I 
have an entity "Person" that I store as an instance variable/javabean property 
on that POJO. Like this ...


  | ...
  | @Name("depot")
  | @Scope(ScopeType.CONVERSATION)
  | public class Depot {
  | 
  | @Logger
  | private Log log;
  | 
  | private Person person;
  | ...

What I expect is that if the instance variable is set after the first request 
(I do that in my code) of the conversation that it remains there until the 
conversation is ended by the @End annotation of one of depot's action methods.

Is this correct?

In reality after the first postback from the client the instance variable is 
null.

If I take a look in my logging I see that my javabean is created and destroyed 
each request:


  | 00:49:45,171 INFO  [STDOUT] Constructing depot
  | 00:49:45,171 WARN  [AbstractEntityManagerImpl] Calling joinTransaction() on 
a non JTA EntityManager
  | 00:49:45,171 INFO  [Depot] Create depot
  | 00:49:45,234 WARN  [AbstractEntityManagerImpl] Calling joinTransaction() on 
a non JTA EntityManager
  | 00:49:45,312 INFO  [STDOUT] Hibernate: select material0_.id as id4_, 
material0_.version as version4_, material0_.created_by as created3_4_, 
material0_.created_on as created4_4_, material0_.last_modified_by as last5_4_, 
material0_.last_modified_on as last6_4_, material0_.description as 
descript7_4_, material0_.blocked as blocked4_, material0_.material_type as 
material11_4_, material0_.bar_code as bar9_4_, material0_.reason_for_blocking 
as reason10_4_ from material material0_ where material0_.bar_code=?
  | 00:49:45,359 INFO  [STDOUT] Hibernate: select materialty0_.id as id5_0_, 
materialty0_.version as version5_0_, materialty0_.created_by as created3_5_0_, 
materialty0_.created_on as created4_5_0_, materialty0_.last_modified_by as 
last5_5_0_, materialty0_.last_modified_on as last6_5_0_, materialty0_.name as 
name5_0_, materialty0_.description as descript8_5_0_ from material_type 
materialty0_ where materialty0_.id=?
  | 00:49:45,406 INFO  [STDOUT] Hibernate: select checkout0_.id as id1_, 
checkout0_.version as version1_, checkout0_.created_by as created3_1_, 
checkout0_.created_on as created4_1_, checkout0_.last_modified_by as last5_1_, 
checkout0_.last_modified_on as last6_1_, checkout0_.person as person1_, 
checkout0_.material as material1_, checkout0_.checkin_date as checkin7_1_, 
checkout0_.checkout_date as checkout8_1_ from checkout checkout0_ where 
checkout0_.material=? and (checkout0_.checkin_date is null)
  | 00:49:45,453 INFO  [STDOUT] Hibernate: select person0_.id as id2_0_, 
person0_.version as version2_0_, person0_.created_by as created3_2_0_, 
person0_.created_on as created4_2_0_, person0_.last_modified_by as last5_2_0_, 
person0_.last_modified_on as last6_2_0_, person0_.last_name as last7_2_0_, 
person0_.middle_name as middle8_2_0_, person0_.initials as initials2_0_, 
person0_.bar_code as bar10_2_0_ from person person0_ where person0_.id=?
  | 00:49:45,531 WARN  [AbstractEntityManagerImpl] Calling joinTransaction() on 
a non JTA EntityManager
  | 00:49:45,562 INFO  [Depot] Destroy depot
  | 

I am afraid I am missing the point here, somebody explain me how conversations 
are supposed to work?

Do POJO conversations differ from EJB conversations?

Thanks anyway,

Joris Wijlens

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

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


[jboss-user] [JBoss Seam] - Announce: Try out better Spring+Seam PC support and give fee

2007-03-28 Thread youngm
I just checked in some better Seam Managed PC integration with Spring.  Here is 
a list of some of the features:

* Automatically makes Seam Managed PC available to spring JPA utilities like 
JpaTemplate and Spring beans using the Spring 
PersistenceAnnotationBeanPostProcessor.
* If a Seam Managed PC is accessed outside the scope of a Seam 
Lifecycle.beginCall() (because of a quartz job or something) then this will 
automatically make a Seam call available scoped to the current spring 
transaction so that the Seam Managed PC will function without having to make 
all the Spring beans that use the Seam PC into Seam components.
* It is now possible to use the Seam Managed PC with spring managed 
Transactions though long lasting conversation scoped PCs will have to manually 
be flushed rather than allowing allowing Seam to automatically flush the PC at 
conversation end.
* Paves the way for using a Seam Managed PC in a Spring typical multi tiered 
application where Seam is the view and Spring makes up the Service Layer. 

Please try it out and post comments here:
http://jira.jboss.org/jira/browse/JBSEAM-991

Thanks,
Mike

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

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


[jboss-user] [JBoss jBPM] - running jbpm with tomcat and eclipse

2007-03-28 Thread marwanos
hi,
i'm wondering if anybody can help me how to configure jbpm to be used in eclise 
and Tomcat
i'm new here and i have a serious lack of experience
i don't know how to use jbpm at all
please help me in the configuration and the exploitation of jbpm in eclipse 
with the sever tomcat
i wellcome any documentation or examples
thank u

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

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


[jboss-user] [JBoss Seam] - Re: COMPOUNDs, ATOMs & MOLECULEs - don't try this at home!

2007-03-28 Thread javalars
Hej, what are you doing? :-) Thank you!! Some people has played with this 
many-to-manay for us, is nearly perfact today!! In this new 1.2.1 nearly 
everythings work!
We spend 12 hours in day and no result in seam 1.2.0. Now everything nearly 
working in 5 minuter with molecules schemas from top in thread. You can try so 
easy alao.
Can you know how we can fix the last (9, 10)? We are thanking you again.

1-  creates database
2-  ./seam setup
3-  ./seam new-project
4-  ./seam generate-entities
5-  ./seam deploy - IT DEPLOY NO ERROR :-) !!!
6-  got o localhost:8080/molecule - :-)
7-  make a new/search/list atom - :-)
8-  make a new/search/list compound- :-)
9-  molecule screen does shows only keys only from atom/compound (not 
descriptivs name / symbol)   :-(
10- select atom/compund add in molecule/exception to save it  :-((

23:16:51,312 INFO  [STDOUT] Hibernate: select top ? molecule0_.ATOM_ID as 
ATOM1_2_, molecule0_.COMPOUND_ID as COMPOUND2_2_, molecule0_.QUANTITY as 
QUANTITY2_ from PUBLI
23:16:54,656 INFO  [STDOUT] Hibernate: select top ? compound0_.ID_ as ID1_1_, 
compound0_.NAME as NAME1_ from PUBLIC.COMPOUND compound0_
23:17:00,187 INFO  [STDOUT] Hibernate: select top ? atom0_.ID_ as ID1_0_, 
atom0_.PT_SYMBOL as PT2_0_ from PUBLIC.ATOM atom0_
23:17:21,281 INFO  [STDOUT] Hibernate: insert into PUBLIC.MOLECULE (QUANTITY, 
ATOM_ID, COMPOUND_ID) values (?, ?, ?)
23:17:21,281 WARN  [JDBCExceptionReporter] SQL Error: 0, SQLState: null
23:17:21,281 ERROR [JDBCExceptionReporter] failed batch
23:17:21,281 ERROR [AbstractFlushingEventListener] Could not synchronize 
database state with session
org.hibernate.exception.GenericJDBCException: Could not execute JDBC batch 
update
at 
org.hibernate.exception.SQLStateConverter.handledNonSpecificException(SQLStateConverter.java:103)
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:91)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at 
org.hibernate.jdbc.AbstractBatcher.executeBatch(AbstractBatcher.java:249)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:235)
at org.hibernate.engine.ActionQueue.executeActions(ActionQueue.java:139)
at 
org.hibernate.event.def.AbstractFlushingEventListener.performExecutions(AbstractFlushingEventListener.java:298)
at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:27)
at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
at 
org.hibernate.ejb.AbstractEntityManagerImpl.flush(AbstractEntityManagerImpl.java:296)
at 
org.jboss.seam.persistence.EntityManagerProxy.flush(EntityManagerProxy.java:83)
at org.jboss.seam.framework.EntityHome.persist(EntityHome.java:49)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
at 
org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at 
org.jboss.seam.interceptors.ManagedEntityIdentityInterceptor.aroundInvoke(ManagedEntityIdentityInterceptor.java:37)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at 
org.jboss.seam.interceptors.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:34)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at 
org.jboss.seam.interceptors.TransactionInterceptor$1.work(TransactionInterceptor.java:32)
at org.jboss.seam.util.Work.workInTransaction(Work.java:37)
at 
org.jboss.seam.interceptors.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:27)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at 
org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:151)
at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:87)
at 
org.molecule.domain.MoleculeHome_$$_javassist_9.persist(MoleculeHome_$$_javassist_9.java)

[jboss-user] [JBossWS] - Re: How to register SerializerFactory and DeSerializerFactor

2007-03-28 Thread czhao07
I just upgrade JBossWS to 1.0.4, but still have the same problem:

 javax.xml.rpc.JAXRPCException: Cannot obtain serializer factory for: 
[xmlType={http://www.w3.org/2001/XMLSchema}anyType,javaType=interface 
javax.xml.soap.SOAPElement]
at 
org.jboss.ws.soap.SOAPContentElement.getSerializerFactory(SOAPContentElement.java:377)
at 
org.jboss.ws.soap.SOAPContentElement.getXMLFragment(SOAPContentElement.java:143)
at 
org.jboss.ws.soap.SOAPContentElement.expandToDOM(SOAPContentElement.java:802)

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

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


[jboss-user] [JBoss Seam] - Re: Seam and events (really dumb one)

2007-03-28 Thread flashguru
Is this all that you have in the xhtml? Can you show your namespace 
declarations at the top of the xhtml?

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

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


[jboss-user] [JBoss Seam] - Re: Seam and events (really dumb one)

2007-03-28 Thread viniciuscarvalho
Never mind, I was packaging seam.properties inside META-INF in this project and 
not on the root of the jar... DOH!!!

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

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


[jboss-user] [JBossWS] - Re: JSR181 EJB endpoint with root contextRoot

2007-03-28 Thread joff
Okay, I removed the default ROOT.war, and changed the annotation to read 
contextRoot="ROOT", but that seems to cause it to ignore the @PortComponent 
entirely - it deploys to the default /earname-jarname/ context, with the 
default name.

btw, my application.xml is like this:

  |   MyExample
  |   
  | 
  |   example.war
  |   /
  | 
  |   
  |   
  | example.jar
  |   
  | 
There is no context root specified in the web.xml.


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

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


[jboss-user] [JBoss Seam] - Re: Deploying Jboss Seam booking application to Weblogic 10

2007-03-28 Thread mgrouch
I've just tried deploying it with jboss-seam.jar in lib/ directory of EAR file 
and got same error.

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

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


[jboss-user] [JBoss Seam] - Re: Planning to remove @Begin(id=..)? Help Needed!

2007-03-28 Thread raffaele.camanzo
anonymous wrote : 
  | This feature is not really "official" yet because it's not documented or 
demonstrated in any of the example apps. 
  | It's actually part of the groundwork we needed to do for the upcoming 
JBossWS/Seam integration in 1.3.0.
  | 

Thank you Shane for the preview, I tried it out on Seam 1.2.1GA modifying my 
test case, unfortunately I did not find a way to keep alive a long running 
conversation using that stuff. 
Anyway, you did not release it officially and then I don't want to bother you 
with my results, if you are interested I will post you the details.

anonymous wrote : 
  | I don't know why you just spent so many words on explaining me the current 
behavior. 
  | I know what the current behavior is. I know how it behaved in the test case 
you submitted. I'm happy with it.
  | 

Gavin, I spent all those words for two reasons: the former is to have a 
feedback from you on the way I use, understand (or misunderstand) the framework 
the latter is to understand if what I'm doing with Seam is reasonable and into 
the bounds of the Seam philosophy.
But probably I'm not, or not completely and about this I would like to make you 
a(nother) question, or better, I try to tell you what I would reach:
my application is really near to the Seam's workspace management, but this 
feature does not give me enough access to the conversation's list. 
I should wrap the conversationsList to render it as a tabbed view, 
unfortunately I cannot because I have to group sub-lists of conversations, 
indeed we have two levels of tabs, 
in the lower there are the actions, one per conversation, in the upper there is 
a logical grouping (tabs are grouped for functionality);
then I should have a way to access and switch to a conversation both if the 
user asks for a particular functionality (the lower tab label) 
and if the user asks for another group of tabs (the upper tab label, switching 
to the 'opened' one in that group). 
In my app there's the same logical error you found in the test case: trying to 
switch to another conversation from an already long running, but this is quite 
simple to solve, I guess: 
I avoid to propagate the current conversation (the current tab viewed) when a 
user asks for a new service (from the menu, new open tab) 
or when refers to an already opened (selecting a tab label).
I think this happens in conversationsList/conversationsStack stuff in the 
workspace management example.
There's another little big problem with the conversationsList or 
conversationsStack: I tried to render it as an unordered list (what's behind 
the tabbed view) and the list provided 
changes everytime I switch from a conversation to another; this for a tabbed 
view of services is not reasonable.
This is why I keep track of the conversations (storing the conversation 
identifier, passed as parameter to the related tab label link) to create the 
two levels tabbed view 
and use explicit conversation ids.

Hope you have the time to read this and to give me advice about.

Regards,
Raffaele Camanzo


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

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


[jboss-user] [JBoss Seam] - Can't get seam generate-entities to work.

2007-03-28 Thread kingcu
Hi everyone,

I have problem with the seam generate-entities command. After the following 
series of commands, nothing happened:

1. seam setup (enter all the configuration information)
2. seam new-project  (new project created)
3. seam generate-entities  (I am supposed to get all the CRUD files created, 
but nothing happened)

I suspect it could be the DB configuration part. I am using an Oracle database, 
username and password are correct "was"/"was". the only part I am not sure is 
the schema name, which seam setup asks for, I put in "was", same as the 
username. 

And by the way, is everyone using seam generate-entities to create the CRUD 
application code? OR is there other ways I am not aware of?

Thanks,
Tong

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

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


[jboss-user] [JBoss Seam] - Re: Deploying Jboss Seam booking application to Weblogic 10

2007-03-28 Thread [EMAIL PROTECTED]
It sounded like the WL EJB3 might require the EJB3 interceptor classes at 
certain places. You might need to declare a "lib" directory in the EAR and put 
jboss-seam.jar in it?

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

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


[jboss-user] [JBossCache] - Re: Clustered/Multiprocess shared filecacheloader reliabilit

2007-03-28 Thread jivesociety
Correct, I am planning to use a shared Solaris NFS drive to use as the shared 
filesystem. What I am trying to figure out is if I can reliably get optimistic 
locking to work between different nodes in a cluster.

For example, we have optimistic locking enabled with the following situation:
Node A gets a copy of the tree node and prepares to write some data into the 
cache.
Meanwhile, Node B gets a copy also and writes its changes before Node A does.

What I want to know, is what will Node A do? Will it fail/rollback? Can its 
internal version for the GlobalTransaction be smart enough to know that Node B 
wrote some changes before it.

Any help would be appreciated.

Ray

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

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


[jboss-user] [JBoss Seam] - Re: Deploying Jboss Seam booking application to Weblogic 10

2007-03-28 Thread mgrouch
They do not use EJB3. I wanted to use seam with EJB3 on WebLogic (WL 10 has 
EJB3). So I wanted to get booking demo (which uses EJB3) running on WebLogic 10 
to use it as starting point. Has anyone made it work with WebLogic 10? Thanks

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

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


[jboss-user] [JBoss Seam] - Seam and events (really dumb one)

2007-03-28 Thread viniciuscarvalho
Ok, this might the the dumbest question I've ever asked. But I'm really stuck 
on this.
I have other seam projects, (none using facelets tough) and they work fine.
So I have this project: I used seam-gen to create the artifacts. I have one 
simple SLSB

  | @Stateless
  | @Name("customerManager")
  | public class CustomerManagerBean implements CustomerManager {
  | 
  | @In @Out
  | private Customer customer
  | @PersistenceContext(unitName="CustomerContext")
  | private EntityManager em;
  | 
  | public String register() {
  | em.persist(customer);
  | return null;
  | }
  | }
  | 
  | @Name("customer")
  | @Entity
  | public class Customer implements Serializable{
  | @NotNull
  | private String getName()...
  | }
  | 
  | and finally my xhtml page:
  | 
  | 
  | 
  |  
  | 
  | Name  : 
  | 
  | 
  | Phone :
  | 
  | 
  | 
  | 
  | 
As you can see, simpler is impossible. Hitting the Register command button does 
not trigger the method...
I'm really embarrassed of how could a simple thing like this get me stuck... So 
I come here to call for help :(
Anyone have a clue of what's missing?

Best regards, and really sorry about the dumb question

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

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


[jboss-user] [JBoss Seam] - SEAM don't can find session bean !!

2007-03-28 Thread JohnBat26
Hello.
I have next problem with SEAM (1.2.1.GA)
---
My config:
JSF:  jsf-1.2_04-b10-p01
SEAM: 1.2.1.GA
JBoss: 4.0.5.GA
OS: Gentoo Linux (AMD64)
VM: BEA JRockIt 6.0 and Sun JVM 6.0
-
I created one entity (User) and one Session Bean (UserActionBean).
This is my ejb-jar.xml:
---

http://java.sun.com/xml/ns/javaee";
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/ejb-jar_3_0.xsd";
version="3.0">


Generated by AndroMDA EJB3 Cartridge







UserActionBean
org.it.itMail.service.UserActionRemote
org.it.itMail.service.UserActionLocal
org.it.itMail.service.UserActionBean
Stateful
Container






UserDao
org.it.itMail.domain.UserDao
org.it.itMail.domain.UserDaoImpl
Stateless
Container






org.jboss.seam.ejb.SeamInterceptor






*

org.jboss.seam.ejb.SeamInterceptor




---
When I start JBoss, EJB3Deployer install this two component properly. So they 
available from JNDI.
This part log from JBoss:
---
01:50:13,292 INFO  [JmxKernelAbstraction]   
jboss.jca:name=jdbc/itMail,service=DataSourceBinding
01:50:13,473 INFO  [Version] Hibernate EntityManager 3.2.0.GA
01:50:13,489 INFO  [Version] Hibernate Annotations 3.2.0.GA
01:50:13,508 INFO  [Environment] Hibernate 3.2.0.ga
01:50:13,514 INFO  [Environment] hibernate.properties not found
01:50:13,516 INFO  [Environment] Bytecode provider name : javassist
01:50:13,521 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
01:50:13,634 INFO  [Ejb3Configuration] found EJB3 Entity bean: 
org.it.itMail.domain.User
01:50:13,642 WARN  [Ejb3Configuration] Persistence provider caller does not 
implements the EJB3 spec correctly. PersistenceUnitInfo.getNewTempClassLoader() 
is null.
01:50:13,698 INFO  [Configuration] Reading mappings from resource: 
META-INF/orm.xml
01:50:13,701 INFO  [Ejb3Configuration] [PersistenceUnit: itMail] no 
META-INF/orm.xml found
01:50:13,893 INFO  [AnnotationBinder] Binding entity from annotated class: 
org.it.itMail.domain.User
01:50:13,915 INFO  [QueryBinder] Binding Named query: User.findAll => select 
user from User AS user
01:50:13,968 INFO  [EntityBinder] Bind entity org.it.itMail.domain.User on 
table USERS
01:50:14,345 INFO  [ConnectionProviderFactory] Initializing connection 
provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
01:50:14,348 INFO  [InjectedDataSourceConnectionProvider] Using provided 
datasource
01:50:14,700 INFO  [SettingsFactory] RDBMS: MySQL, version: 5.0.34-log
01:50:14,700 INFO  [SettingsFactory] JDBC driver: MySQL-AB JDBC Driver, 
version: mysql-connector-java-5.0.4 ( $Date: 2006-10-19 17:47:48 +0200 (Thu, 19 
Oct 2006) $, $Revision: 5908 $ )
01:50:14,729 INFO  [Dialect] Using dialect: 
org.hibernate.dialect.MySQLInnoDBDialect
01:50:14,737 INFO  [TransactionFactoryFactory] Transaction strategy: 
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
01:50:14,740 INFO  [TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
01:50:14,742 INFO  [TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
01:50:14,742 INFO  [SettingsFactory] Automatic flush during beforeCompletion(): 
disabled
01:50:14,742 INFO  [SettingsFactory] Automatic session close at end of 
transaction: disabled
01:50:14,743 INFO  [SettingsFactory] JDBC batch size: 15
01:50:14,743 INFO  [SettingsFactory] JDBC batch updates for versioned data: 
disabled
01:50:14,744 INFO  [SettingsFactory] Scrollable result sets: enabled
01:50:14,745 INFO  [SettingsFactory] JDBC3 getGeneratedKeys(): enabled
01:50:14,745 INFO  [SettingsFactory] Connection release mode: auto
01:50:14,746 INFO  [SettingsFactory] Maximum outer join fetch depth: 2
01:50:14,746 INFO  [SettingsFactory] Default batch fetch size: 1
01:50:14,746 INFO  [SettingsFactory] Generate SQL with comments: disabled
01:50:14,746 INFO  [SettingsFactory] Order SQL updates by primary key: disabled
01:50:14,747 INFO  [SettingsFactory] Query translator: 
org.hibernate.hql.ast.ASTQueryTranslatorFactory
01:50:14,749 INFO  [ASTQueryTranslatorFactory] Using ASTQueryTranslatorFactory
01:50:14,750 INFO  [SettingsFactory] Query language substitutions: {}
01:50:14,750 INFO  [SettingsFactory] JPA-QL strict compliance: enabled
01:50:14,750 INFO  [SettingsFactory] Second-level cache: enabled
01:50:14,750 INFO  [SettingsFactory] Query cache: disabled
01:50:14,751 INFO  [SettingsFa

[jboss-user] [JBoss Portal] - Re: JBoss 4.05GA + JPortal 2.4 & javascript problem

2007-03-28 Thread nollie
Probably not the solution you were looking for, but this is what I did to get 
around not being able to figure out the path to my script:

renderResponse.setProperty("HEADER_CONTENT", ""+ script +"");

Above my script has been loaded off the file system by my portlet and I inject 
the script into the head "manually".  Probably not an issue for a short script, 
but I would imagine that finding the correct path and setting that in your JSP 
is better in the long run when your server is under heavy use.



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

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


[jboss-user] [JBoss Seam] - Re: seam-pdf without seam?

2007-03-28 Thread [EMAIL PROTECTED]
You would need to use Seam.  

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

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


[jboss-user] [JBoss Seam] - Re: Deploying Jboss Seam booking application to Weblogic 10

2007-03-28 Thread [EMAIL PROTECTED]
The hibernate2 and jpa examples have weblogic build options.  You might look at 
those for inspiration.

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

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


[jboss-user] [JBossWS] - Re: How to register SerializerFactory and DeSerializerFactor

2007-03-28 Thread [EMAIL PROTECTED]
I believe this was fixed in 1.0.4. Although you can work around the issue by 
changing your mapping file and code to use a org.w3c.dom.Element instead.

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

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


[jboss-user] [JBoss Seam] - Deploying Jboss Seam booking application to Weblogic 10

2007-03-28 Thread mgrouch
How to deploy Seam booking application into weblogic 10.0?
I get the folloowing exception deploying compiled booking application which
runs fine in JBoss 4.0.5 with EJB3.0 profile

Thanks


  | 
  | Exception in AppMerge flows' progression  
  |   There are 1 nested errors: 
weblogic.j2ee.dd.xml.AnnotationProcessException: Couldn't load interceptor 
class org.jboss.seam.ejb.SeamInterceptor: java.lang.ClassNotFoundException: 
org.jboss.seam.ejb.SeamInterceptor at 
weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1171)
 at 
weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1176)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processInterceptorClass(EjbAnnotationProcessor.java:1010)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processInterceptorClasses(EjbAnnotationProcessor.java:981)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:264)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:157)
 at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lan!
 g.Object;(Unknown Source) at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source) at 
weblogic.application.compiler.EJBModule.processAnnotations(EJBModule.java:227) 
at 
weblogic.application.compiler.EARModule.processAnnotations(EARModule.java:210) 
at weblogic.application.compiler.EJBModule.merge(EJBModule.java:129) at 
weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
 at 
weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
 at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
 at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at 
weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
 at 
weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49)
 at 
weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
 at weblogic.application.co!
 mpiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47) at weblogic.a
pplication.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
 at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at 
weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
 at weblogic.application.compiler.AppMerge.runBody(AppMerge.java:137)  
  |   There are 1 nested errors: 
weblogic.j2ee.dd.xml.AnnotationProcessException: Couldn't load interceptor 
class org.jboss.seam.ejb.SeamInterceptor: java.lang.ClassNotFoundException: 
org.jboss.seam.ejb.SeamInterceptor at 
weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addProcessingError(BaseJ2eeAnnotationProcessor.java:1171)
 at 
weblogic.j2ee.dd.xml.BaseJ2eeAnnotationProcessor.addFatalProcessingError(BaseJ2eeAnnotationProcessor.java:1176)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processInterceptorClass(EjbAnnotationProcessor.java:1010)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processInterceptorClasses(EjbAnnotationProcessor.java:981)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:264)
 at 
weblogic.ejb.container.dd.xml.EjbAnnotationProcessor.processAnnotations(EjbAnnotationProcessor.java:157)
 at 
jrockit.reflect.VirtualNativeMethodInvoker.invoke(Ljava.lang.Object;[Ljava.lang.Object;)Ljava.lan!
 g.Object;(Unknown Source) at 
java.lang.reflect.Method.invoke(Ljava.lang.Object;[Ljava.lang.Object;I)Ljava.lang.Object;(Unknown
 Source) at 
weblogic.application.compiler.EJBModule.processAnnotations(EJBModule.java:227) 
at 
weblogic.application.compiler.EARModule.processAnnotations(EARModule.java:210) 
at weblogic.application.compiler.EJBModule.merge(EJBModule.java:129) at 
weblogic.application.compiler.flow.MergeModuleFlow.compile(MergeModuleFlow.java:23)
 at 
weblogic.application.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69)
 at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
 at weblogic.application.compiler.FlowDriver.nextState(FlowDriver.java:36) at 
weblogic.application.compiler.FlowDriver$CompilerFlowDriver.compile(FlowDriver.java:96)
 at 
weblogic.application.compiler.ReadOnlyEarMerger.merge(ReadOnlyEarMerger.java:49)
 at 
weblogic.application.compiler.flow.AppMergerFlow.mergeInput(AppMergerFlow.java:94)
 at weblogic.application.co!
 mpiler.flow.AppMergerFlow.compile(AppMergerFlow.java:47) at weblogic.a
pplication.compiler.FlowDriver$FlowStateChange.next(FlowDriver.java:69) at 
weblogic.application.utils.StateMachineDriver.nextState(StateMachineDriver.java:26)
 at weblogic.applicati

[jboss-user] [Installation, Configuration & Deployment] - Re: Setting pool size for beans

2007-03-28 Thread [EMAIL PROTECTED]
To do this you would simply create multiple container configurations for each 
setting you would like to support and then assign that container to each EJB 
instance. Example:


  |  
  |   First Config Stateless SessionBean
  |   false
  |   
stateless-unified-invoker
  |   
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
  | org.jboss.ejb.plugins.LogInterceptor
  | org.jboss.ejb.plugins.SecurityInterceptor
  | 
  | org.jboss.ejb.plugins.TxInterceptorCMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | 
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | org.jboss.ejb.plugins.TxInterceptorBMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
  |   
  |   
org.jboss.ejb.plugins.StatelessSessionInstancePool
  |   
  |   
  |   
  | 100
  |   
  | 
  | 
  |  
  |   Second Config Stateless SessionBean
  |   false
  |   
stateless-unified-invoker
  |   
  | 
org.jboss.ejb.plugins.ProxyFactoryFinderInterceptor
  | org.jboss.ejb.plugins.LogInterceptor
  | org.jboss.ejb.plugins.SecurityInterceptor
  | 
  | org.jboss.ejb.plugins.TxInterceptorCMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | 
  | org.jboss.ejb.plugins.StatelessSessionInstanceInterceptor
  | org.jboss.ejb.plugins.TxInterceptorBMT
  | org.jboss.ejb.plugins.CallValidationInterceptor
  | 
org.jboss.resource.connectionmanager.CachedConnectionInterceptor
  |   
  |   
org.jboss.ejb.plugins.StatelessSessionInstancePool
  |   
  |   
  |   
  | 50
  |   
  | 
  | 

And then you would simply apply these separate configuration in your jboss.xml 
to your individual EJBs. 





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

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


[jboss-user] [JBoss Seam] - seam-pdf without seam?

2007-03-28 Thread ziller
hello,

i'm trying, without success, to use seam-pdf in an existing application (with 
Spring)
is it possible or do i need to use seam in place of spring?

regards

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

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


[jboss-user] [JNDI/Naming/Network] - Is the detached invoker compliant with different versions of

2007-03-28 Thread mtedone1
Hi, I'm architecting a JMX Distribute Agent Level application where remote 
clients will use the detached Invoker to start/stop/monitor Schedule jobs 
running on different Jboss services. My architecture consists in having the 
remote client as a war file deployed on a Tomcat s.c. and having the client to 
retrieve a JNDI Context through HttpNamingContextFactory. 

In order to do so, I'll need jbossall-client.jar in my war (for the factory to 
be found). In a scenario where I have, say:

1) Service1 --> Jboss 3
2) Service2 --> Jboss 4.0.2
3) Service3 --> JBoss 4.0.5GA

and supposing that I'll pack jbossall-client taken from JBoss 4.0.5GA, will the 
communication with the naming service on Service1 work? I mean will the proxy 
returned by the HttpInvoker be compatible between different versions?

Thanks for any reply.



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

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


[jboss-user] [JBoss Seam] - FacesContext and asynchronous methods

2007-03-28 Thread oschnaps
Hi,

I am trying to use an asynchronous method to send an email.  Email is 
configured to use a Seam mail session.  

When trying to render the email message inside an asynchronous method the 
FacesContext is not bound and as such a MockFacesContext is created.  The mock 
context throws an UnsupportedOperationException.

Per the docs the asynchronous method will only have access to the biz context.  
Any suggestions/recommendation on how to pass it the FacesContext?

thanks,
ori

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU

2007-03-28 Thread hipchic
Wich script have use for setup the database just the 
\db\jbpm.jpdl.mysql.sql ?

i try to setup my environment but i have a database error , and i currently 
using the tomcat 5.5 with oracle 10g xe.

anonymous wrote : 
  | 15:38:41,921 [JbpmJobExector:216.94.110.165:1] WARN  JDBCExceptionReporter 
: SQL Error: 923, SQLState: 42000
  | 15:38:41,931 [JbpmJobExector:216.94.110.165:1] ERROR JDBCExceptionReporter 
: ORA-00923: FROM keyword not found where expected
  | 
  | 15:38:41,931 [JbpmJobExector:216.94.110.165:1] ERROR JobSession : 
org.hibernate.exception.SQLGrammarException: could not execute query
  | 15:38:41,951 [JbpmJobExector:216.94.110.165:1] ERROR JobExecutorThread : 
exception in job executor thread. waiting 8 milliseconds
  | org.jbpm.JbpmException: couldn't get acquirable jobs
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:44)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:111)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | Caused by: org.hibernate.exception.SQLGrammarException: could not execute 
query
  | 

thks for your reply

my original post http://www.jboss.com/index.html?module=bb&op=viewtopic&t=105211

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

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


[jboss-user] [JBossWS] - Re: How to register SerializerFactory and DeSerializerFactor

2007-03-28 Thread czhao07
I am using JBossWS 1.0.3.GA.

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

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


[jboss-user] [JBossWS] - Re: How to register SerializerFactory and DeSerializerFactor

2007-03-28 Thread [EMAIL PROTECTED]
What version of JBossWS are you using? ws4ee-deployment.xml was only valid on 
jboss-ws4ee which was the older axis based stack.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU

2007-03-28 Thread kukeltje
I put a link to this post in the wiki 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmOnTomcat and this is referenced 
from the server compatibility page.

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

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


[jboss-user] [JBoss Seam] - Re: cannot destroy component exception

2007-03-28 Thread kukeltje
feel freeimo seams solves so many other issues, that this small issue is of 
so little importance to us.

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

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


[jboss-user] [JBoss Messaging] - JBoss Messaging 1.2.0 SP1 release

2007-03-28 Thread [EMAIL PROTECTED]
We have released JBoss Messaging 1.2.0 SP1 and it's available at 
http://labs.jboss.com/portal/jbossmessaging/downloads.

This is the complete list of changes we have made on this release:

http://jira.jboss.org/jira/secure/ReleaseNote.jspa?version=12311291&styleName=Html&projectId=12310061&Create=Create



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

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


[jboss-user] [JBoss Seam] - Re: Page Redirection with Seam Navigation

2007-03-28 Thread [EMAIL PROTECTED]
Yep, that is intended.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Setting pool size for beans

2007-03-28 Thread cgrahl
Hello,

Is there a way to set the pool size individually, per EJB? For example:

stateless SB example.A:
MinimunSize = 10, maximunSize=30

stateless SB example.B:
MinimunSize=30, maximunSize=50

MDB example.C:
MinimunSize=1, maximunSize=10

and so on..

I found only global settings, for all MDBs, on standardjboss.xml file

Thanks in advance,

Carlos Augusto Grahl

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

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


[jboss-user] [JBoss Seam] - Re: Page Redirection with Seam Navigation

2007-03-28 Thread trickyvail
Thank you Gavin, that was the piece of the puzzle I was missing.

My final configuration in WEB-INF/pages.xml looks like:

  | 
  | 
  | 
  | 
  | 
  | 
  | 

When you create a granular configuration file like [page_name].page.xml the 
view-id attribute does not seem to have any effect. The view-id appears to be 
determined by the path and filename of the [page_name].pages.xml file. I 
presume this is the expected behavior?

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

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


[jboss-user] [JBossWS] - How to register SerializerFactory and DeSerializerFactory fo

2007-03-28 Thread czhao07
I am implementing a WS client with JBossWS to access a third-party web service, 
one of the service operations takes a xsd:anyType type as the parameter, and it 
gets mapped to SOAPElement in the wstools generated code. When I invoke the 
service, I got this exception:

javax.xml.rpc.JAXRPCException: Cannot obtain serializer factory for: 
[xmlType={http://www.w3.org/2001/XMLSchema}anyType,javaType=interface   
javax.xml.soap.SOAPElement]

This article (http://wiki.jboss.org/wiki/Wiki.jsp?page=WS4EETypeMapping) talks 
about how to add type mappings for service endpoint, not the WS client. But 
anyway, I tried to add file ws4ee-deployment.xml to my client's META-INF folder 
with following mapping:

http://www.w3.org/2001/XMLSchema";
   serializer="org.jboss.ws.jaxrpc.encoding.ElementSerializerFactory"   
 deserializer="org.jboss.ws.jaxrpc.encoding.ElementDeserializerFactory" 
   type="java:javax.xml.soap.SOAPElement"
   encodingStyle="" />

and it didn't work. 

Does anyone know a solution to this issue?

Much thanks!


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

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


[jboss-user] [JBoss jBPM] - Re: JBPM 3.2 on tomcat which uses mysql - LOGINI UNSUCCESSFU

2007-03-28 Thread ygiriyap
Hi Martin,

Superb  Many thanks.
I could get it going smoothly now.

--Yash

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

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


[jboss-user] [JBossWS] - Re: Providing your own wsdl instead of the generated one.

2007-03-28 Thread [EMAIL PROTECTED]
Yes it makes more sense on the implementation bean than the interface. Although 
the spec unfortunately requires that we support it on the interface:

>From JAXWSWebServiceMetaDataBuilder:

  | // The spec states that WSDL location should be allowed on an SEI, although 
it
  | // makes far more sense on the implementation bean, so we ALWAYS override 
the SEI
  | // when wsdlLocation is defined on the bean
  | if (wsdlLocation.length() == 0)
  |  wsdlLocation = seiAnnotation.wsdlLocation();
  | 

-Jason

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

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


[jboss-user] [JBoss jBPM] - Re: About swimlanes

2007-03-28 Thread pedror
Sorry, the example is not correct.
It should read:

swimlane name="bank" assignment="??">
  | ...
  | 
  | 
  | ...

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

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


[jboss-user] [JBoss jBPM] - Tomcat 5.5 - Jbpm 3.2 - Starting failed <

2007-03-28 Thread hipchic
Hi, i try to deploy on my tomcat 5.5.20 jbpm 3.2, and i used oracle 10g express 
edition, my problem it is a configuration database, but i didn't find some 
scripts for resolve my problem.

SO here the steps i have followed :

- download the jbpm-jpdl-suite-3.2.GA.zip (extract)

- copy the war file C:\jbpm-jpdl-3.2.GA\deploy\jbpm-console.war in your 
$CATALINA_HOME\webapps\ 

- modify the hibernate.cfg.xml in the jbpm-console.war file (you can also find 
the file in the config directory)

These the part of file i have modified

  |  
  | oracle.jdbc.driver.OracleDriver
  | jdbc:oracle:thin:@localhost:1521:xe
  | jbpm
  | jbpm
  | 
  |  org.hibernate.transaction.JDBCTransactionFactory
  | 

- i copy all the librairies in C:\jbpm-jpdl-3.2.GA\lib\*.jar in my 
$CATALINA_HOME\webapps\jbpm-console\WEB-INF\lib
i have copy the ojdb14.jar (oracle driver) in my 
$CATALINA_HOME\webapps\jbpm-console\WEB-INF\lib


- and i run the oracle script jbpm-jpdl-3-suite.2.GA\db\jbpm.jpdl.oracle.sql in 
my sqlplus console, and all the tables have been created successfully.

- And add the jBPM specific users and roles to 
$CATALINA_HOME/conf/tomcat-users.xml


  |   
  |   
  |   
  | 
  |   
  |   
  | 

So now when i launch my tomcat, i have this error :

anonymous wrote : 
  | 15:38:41,921 [JbpmJobExector:216.94.110.165:1] WARN  JDBCExceptionReporter 
: SQL Error: 923, SQLState: 42000
  | 15:38:41,931 [JbpmJobExector:216.94.110.165:1] ERROR JDBCExceptionReporter 
: ORA-00923: FROM keyword not found where expected
  | 
  | 15:38:41,931 [JbpmJobExector:216.94.110.165:1] ERROR JobSession : 
org.hibernate.exception.SQLGrammarException: could not execute query
  | 15:38:41,951 [JbpmJobExector:216.94.110.165:1] ERROR JobExecutorThread : 
exception in job executor thread. waiting 8 milliseconds
  | org.jbpm.JbpmException: couldn't get acquirable jobs
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:44)
  | at 
org.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:111)
  | at 
org.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
  | Caused by: org.hibernate.exception.SQLGrammarException: could not execute 
query
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at org.hibernate.loader.Loader.doList(Loader.java:2214)
  | at 
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2095)
  | at org.hibernate.loader.Loader.list(Loader.java:2090)
  | at org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:388)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
  | at org.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
  | at org.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
  | at 
org.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:804)
  | at org.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
  | ... 2 more
  | Caused by: java.sql.SQLException: ORA-00923: FROM keyword not found where 
expected
  | 
  | at 
oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:145)
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
  | at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
  | at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
  | at 
oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:216)
  | at 
oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:911)
  | at 
oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1121)
  | at 
oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:962)
  | at 
oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1243)
  | at 
oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3415)
  | at 
oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3459)
  | at 
org.hibernate.jdbc.AbstractBatcher.getResultSet(AbstractBatcher.java:186)
  | at org.hibernate.loader.Loader.getResultSet(Loader.java:1778)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:662)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
  | at org.hibernate.loader.Loader.doList(Loader.java:2211)
  | ... 11 more
  | 
  | 

As you can the database is empty, so i didn't find some script for populate the 
database I check all the sql script available but there is nothing =>
http://wiki.jboss.org/wiki/Wiki.jsp?page=Jbpm

[jboss-user] [JBossWS] - Re: Getting access to X509Certificate

2007-03-28 Thread [EMAIL PROTECTED]
Currently WS-Security only supports keystore authentication, it does not yet 
fully integrate with JAAS for cert auth. This is however on the roadmap.

http://jira.jboss.com/jira/browse/JBWS-652

-Jason

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

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


[jboss-user] [JBoss jBPM] - About swimlanes

2007-03-28 Thread pedror
Hello.

I am trying to attribute task-nodes to users/groups in my jpdl.
The idea is to have a group (bank/acquirer) which is able to do each task.
The main difficulty is that each virtual group (e.g. bank) is, depending on the 
current user, bank A or bank B, each with its own set of users.

I was inspired by the source code examples of jBPM, and thought of doing 
something like:





 etc..

However, I can't find information on what the swimlane assignment expression 
can contain, nor can I find relevant information on separating the tasks 
between the users of bank A and the users of bank B, which belong to the same 
swimlane.

Any info/opinions/ideas would be greatly appreciated.
TIA

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

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


[jboss-user] [JBossWS] - Re: Package name generated by wsprovide

2007-03-28 Thread [EMAIL PROTECTED]
The spec requires that all wrappers be generated in the jaxws sub package by 
default (to avoid name conflicts). You can however control their destination 
using the RequestWrapper and ResponseWrapper annotations

  | @RequestWrapper(classname="beispiel_9.Hello");
  | 

Keep in mind though that you do not need to use wsprovide to deploy on jbossws, 
we generate all of the wrapper classes dynamically at deploy time. You only 
need them if you want your deployment to be portable to other containers.

-Jason

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

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


[jboss-user] [JBossWS] - Re: Example ProviderBeanMessage

2007-03-28 Thread [EMAIL PROTECTED]
This just means the response you returned in your provider did not conform to 
the WSDL. When you develop a provider endpoint you have to take special care to 
ensure it conforms to the WSDL.

-Jason

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

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


[jboss-user] [JBoss Seam] - Re: Seam + jBPM + JNDI

2007-03-28 Thread [EMAIL PROTECTED]
yes. they just need to share the same database.

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

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


[jboss-user] [JBossWS] - Re: WS-Security and certificate password

2007-03-28 Thread [EMAIL PROTECTED]
PeterJ,

Yes go ahead. Also if you plan on doing some improvements patches are welcome :)

-Jason

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

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


[jboss-user] [JBossWS] - Re: Using jbossws/trunk for jboss-5.0, jboss-4.2, jboss-4.0.

2007-03-28 Thread [EMAIL PROTECTED]
LOL at the Borat reference.

As to your problem, See:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBWSFAQXercesNPE

-Jason

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

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


[jboss-user] [JBoss jBPM] - Re: EL Condition failing

2007-03-28 Thread kukeltje
You need to put a converter on in the jsf page if the variable is not 
initialized in java code as a Long/Int/whatever before it is firstly used in a 
page. For this reason I'd like to have the type in the definition as well.

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

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


[jboss-user] [JBoss Seam] - Re: s:layoutForm in docs, though missing in taglib (1.2.1GA)

2007-03-28 Thread petemuir
We mucked up and forgot to delete the section from the controls chapter of the 
docs.  It's not in there.  Instead take a look at the all new s:decorate in the 
booking example or in the ui example

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

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


[jboss-user] [JBoss jBPM] - Re: EL Condition failing

2007-03-28 Thread dslevine
re-reading the error message, it looks like it uses the right half of the 
expression to determine the type, and then attempts to convert the left half to 
that type.  (check the source code to confirm.)  so I'd still suggest the same 
plan -- figure out how to make the right side of the equation a double.

And please post your eventual solution for others to see who might need to do 
this eventually.  


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

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


[jboss-user] [JBossWS] - Re: Marshalling

2007-03-28 Thread [EMAIL PROTECTED]
JAXB is the way to go, make sure you are using the latest version though. The 
generated classes should only be referring to standard apis.

-Jason

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

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


[jboss-user] [JBoss jBPM] - Re: EL Condition failing

2007-03-28 Thread dslevine
Without having looked at the JBPM source code in this section, it looks like 
its doing a Double to Long comparison and getting an error.  Would 

#{ amount > 1000.00 } 

make a difference?  Or something like 

#{ amount > (Double) 1000.00 }

?  (i'm not sure of the syntax of casting in EL.)

d

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

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


[jboss-user] [JBossWS] - Re: JbossWS

2007-03-28 Thread [EMAIL PROTECTED]
So the issue here is that jbossws-wsconsume-impl.jar is not on the classpath. 
Could be a bug in the installer script.

-Jason

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

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


[jboss-user] [JBoss Seam] - s:layoutForm in docs, though missing in taglib (1.2.1GA)

2007-03-28 Thread atzbert
Ignoring my IDEs warn attempts that there is no s:layoutForm tag, I tried it on 
one of my edit screens. When even Tomcat claimed not to know anything about 
such tag I unpacked the jars and had a look into the according tag libs. And 
indeed, no layoutForm tag. Is there a way to get it? From CVS?

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

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


[jboss-user] [JBossWS] - Re: Problem to trace SOAP Message when an exception occures!

2007-03-28 Thread [EMAIL PROTECTED]
You have to implement handleFault to catch fault messages.

-Jason

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Beta 1 release

2007-03-28 Thread [EMAIL PROTECTED]
anuprash-

look at http://wiki.jboss.org/wiki/Wiki.jsp?page=CMS_Workflow

for CMS Workflow information

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: setting and accessing process variables in jpdl

2007-03-28 Thread shea.phillips
I now have my process working pretty well.  I am invoking my seam components in 
bsh inside a script element with variable elements.  This seems to work 
reasonbly well, although ultimately I would like to have less bsh.  I will be 
doing more investigation on how to enable this.

One problem I did encounter was accessing process instance variables in 
decision expressions like:


  | 
  | 
  | 
  | 
  | 

where someVar is a process instance variable with a non-null value.  In the 
above case, the 'Skip' transition would always be taken although the 'doIt' 
transition should have been.

If, however, I put an equivalent expression inside a 'condition' element on a 
specific transition, things  worked (the variable was accessible).   For 
example:


  | 
  | 
  | 
  | 
  | 
  | 
  | 

I'm not positive my problem with decision expressions was not an oversight of 
some subtle detail on my part (maybe in the EL notation or something), but this 
may be useful information for someone else.


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

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


[jboss-user] [JBoss Seam] - Re: Seam + jBPM + JNDI

2007-03-28 Thread viniciuscarvalho
"[EMAIL PROTECTED]" wrote : I don't follow you.
Me neither... Sorry for the mess
Ok, simple way:

I have "n" seam applications with separate persistence units.
I have one process deployed through jbpmconsole with its own persistence unit

How can those seam applications interact with the process? Is it possible to 
have one application start the process and others end/trigger actions?

Regards


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

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


[jboss-user] [JBossWS] - Re: Accessing a secure WSDL

2007-03-28 Thread [EMAIL PROTECTED]
This is an outstanding request to support secured wsdl on the client:
http://jira.jboss.com/jira/browse/JBWS-939

@WebContext(secureWSDLAccess) is only used for EJB3 endpoints where you do not 
have control over the web.xml file.

You can accomplish this using the war endpoints by just only securing POST and 
not GET.

Also if you are using JBoss 5, I would recommend using either the version 
included with it when you check it out of svn, or just grab jbossws trunk. Even 
though 1.2.0 should work, the APIs in 5 are not yet stable, so latest is best.

-Jason

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal Beta 1 release

2007-03-28 Thread anuprash
anonymous wrote : 
  | What's new since the 2.4 release ?
  | 
  | - Management portlet completely redone!
  | - Improvements of the dashboards with capability to edit private pages and 
copy a shared page to the dahsboard space
  | - Usability improvements : User / Role / CMS portlets redone
  | - flexible LDAP integration
  | - JMX invocation statistics of portlets
  | - CMS security improvements
  | - CMS Workflow
  | - CMS integration improved
  | - Full implementation of JSR 168 portlet caching
  | 

Can someone please point me to the CMS Workflow part of the beta release. I 
cannot find it in the documentation that is posted on the site. 

Thanks a lot for your help.

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

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


[jboss-user] [EJB 3.0] - Need some help with mapping

2007-03-28 Thread MikeDougherty
OK, I would appreciate a little help with a mapping issue I am running into. I 
have what I will call a Type table. This table looks something like this:


  | ++--+
  | | Field  | Type |
  | ++--+
  | | TABLE_NAME | varchar(25)  |
  | | ITEM_ID| varchar(10)  |
  | | ITEM_FIELD | varchar(25)  |
  | | ITEM_VALUE | varchar(255) |
  | ++--+
  | 

The TABLE_NAME, ITEM_ID, and ITEM_FIELD columns make up the primary key.

I have this table mapped to a Type object, with a TypePK @IdClass. This works 
fine. 

However, what I need to do is map certain rows in this table to a field in 
another object. For example, if my STORE table looks like:


  | ++--+
  | | Field  | Type |
  | ++--+
  | | STORE_NAME | varchar(255)  |
  | | STORE_ID| varchar(10)  |
  | | STORE_TYPE_ID | varchar(25)  |
  | ++--+
  | 

The STORE_TYPE_ID value needs to be mapped to the ITEM_ID field in the TYPE 
table where TABLE_NAME = "STORE" and an ITEM_FIELD = "STORE_TYPE".

I've tried subclassing Type (with @Inheritance, and @DiscriminatorValue 
annotations) but that does not seem to be giving me the desired result.


  | @Entity
  | @Inheritance(strategy = InheritanceType.SINGLE_TABLE)
  | @DiscriminatorColumn(name="LIST_FIELD", discriminatorType = 
DiscriminatorType.STRING)
  | @DiscriminatorValue("STORE_TYPE")
  | public class StoreType extends Type {
  | }
  | 


  |entityManager.createQuery("select storeType from StoreType storeType");
  | 

Generates the following error:


  | Caused by: java.sql.SQLException: ORA-00942: table or view does not exist
  | 

Any ideas how I might be able to annotate these objects in order to get the 
result I am looking for?


  | @Entity
  | @Table(name = "STORE")
  | public class Store implements Serializable {
  | @Id
  | @Column(name = "STORE_ID")
  | public Long getId() {
  | return id;
  | }
  | 
  | public void setId(Long id) {
  | this.id = id;
  | }
  | 
  | @OneToOne(mappedBy="id")
  | public StoreType getType() {
  | return type;
  | }
  | 
  | public void setType(StoreType type) {
  | this.type = type;
  | }
  | 
  | @Column(name = "STORE_NAME")
  | public String getName() {
  | return name;
  | }
  | 
  | public void setName(String name) {
  | this.name = name;
  | }
  | }
  | 

Thanks.

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

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


[jboss-user] [JBossWS] - WS-Security and certificate password

2007-03-28 Thread PeterJ
I just noticed what I think is a problem. If I generate a certificate and use a 
different password for it than what I used for the keystore, then I get a key 
not found error. The problem appears to be in the SecurityStore.getPrivateKey 
method, this line:

key = (PrivateKey)keyStore.getKey(alias, 
decryptPassword(keyStorePassword).toCharArray()); 

which assumes that the keystore password is also associated with the 
certificate.

I also checked jboss-ws-security_1_0.xsd to see if there was a way to provide a 
password along with the alias in the  tag, but there was none.

Should I open a JIRA?

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

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


[jboss-user] [JBoss Portal] - Re: Get user loggin

2007-03-28 Thread Antoine_h
don't understand exactly what you want to do...

If you can't do it a more simple way :
 - get the Principal of the user 
 - then use the JMX user module and role module to get all the user information 
(portal user informations).

to get the Pricipal :
 - starting from the context of invocation, you may find a way to retrieve it
 - from the ctx, or from the session etc...

just ideas... 




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

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


[jboss-user] [Security & JAAS/JBoss] - JAAS+JBOSS

2007-03-28 Thread marcelo.leite
Hi,





I've just configured a security enviroment using JAAS+JBOSS. It works well. 
I've created a login module stack with a login module dummy that is only used 
for log and a org.jboss.security.auth.spi.UsersRolesLoginModule that 
effectively execute the authentication.

Using a simple web app (only some JSPs and a session listener) i can login and 
logout without problems. The login module dummy registers the access for each 
method called in the login process and i can see it on logs. I can use it with 
SSO and it works fine.

When i execute the logout in the web app, that is, invalidate() the session, i 
can see on the log that the logout() method has been executed, but when the 
user session expires it doesn't happen. The logout() method is only executed on 
the next time that the same user try to login.

I saw that a LoginContext can only authenticate one Subject per time, this 
LoginContext is responsible to call the login module. When the session expires 
the LoginContext "dies" with this session and is it because of this the 
logout() method call doesn't happen?

Is there a way to force a call to login module to guarantee that the logout() 
method will be called?

Can someone help me?

Best Regards

Marcelo





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

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


  1   2   >