[jboss-user] [jBPM Users] - Put a task back in a group

2009-08-27 Thread sravyts
I read the forum topic about reassigning a task to a group when it was already 
taken by a user: taskService.assign(taskId, groupId)
But how can you know which groupId to use ?

Suppose the user that has currently taken the task belongs to two groups. 
How do you know to which group this task belongs?


Is there a way to retrigger the assignment rules for the task or to figure out 
who were the originally assigned user(s)/group(s) for this task? 

(fi. the user is ill and his workload needs to be reassigned back to the group 
so someone else can take over his tasks).

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

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


[jboss-user] [Datasource Configuration] - Datasource DB name problem

2009-08-27 Thread sedavnikh
Hello!

I have the following problem:
I have 2 datasources for DB1 and DB2. I also have query that used some data 
from DB1 and from DB2 (stored procedure calls from DB2). When I executes the 
query using connection based on DB1 datasource and SQLExeption happens on query 
exeqution (error hapens in the procedure) all other connection based on DB1 
datasource has wrong database name (DB2 instead of DB1).

I use JBoss 4.0.5 and MySQL 5.0.51.

Any ideas?


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

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


[jboss-user] [Installation, Configuration & Deployment] - Problem in web application accessing files kept in JBoss5.0.

2009-08-27 Thread gautam1.k
Hi All,

We migrated our project from JBoss.5.0.0.Beta1 to Jboss.5.0.1.GA, via 
our application we access certain files kept inside application folder in 
deploy directory.

Ealier we didnt used to face the problem in accessing files via 
relative URL of location like 

   http::8080/// for which an example can be :

   http://172.20.48.90:8080/ABCApplication/Cache/ABCNameDetails.csv
   Please let me know the solution for the problem. in case any more 
information required please let me know.

Thanks In Advance

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

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


[jboss-user] [Installation, Configuration & Deployment] - JBoss 5.1.0.GA bootstrap problem

2009-08-27 Thread meinholz
I have a new install of JBoss 5.1.0.GA on Ubuntu 9.04. I have tried the jdk6 
zip with Sun jdk-1.6.0_16 and the jdk5 zip with Sun jdk-1.5.0_20. I have the 
same error with both versions. I have also tried on a Windows installation and 
received the same problems. These errors occur with no modification to the 
default configuration.

The application server seems to work, but I get a couple of errors in the 
boot.log that concern me. The both seem to have to do with bootstrap processes 
(logging and vfs). Here are the exceptions:

javabilities/conf/bootstrap/logging.xml installed=true 
beanfactories=[abstractbeanmetad...@fb1135{name=logbridgehandler 
bean=org.jboss.logbridge.LogBridgeHandler properties= constructor=null 
autowireCandidate=true}]}
org.jboss.deployers.spi.DeploymentException: Error deploying: 
file:/opt/jboss/jboss-5.1.0.GA/server/javabilities/conf/bootstrap/logging.xml
at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433)
at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250)
at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: ClassLoader has not been set
at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
... 6 more

and

22:10:00,899 DEBUG [ProfileServiceBootstrap] Failed to build ManagedDeployment 
for: 
abstractkerneldeploym...@12f8a84{name=file:/opt/jboss/jboss-5.1.0.GA/server/javabilities/conf/bootstrap/vfs.xml
 installed=true beanfactories=[abstractbeanmetad...@2ee7e5{name=vfscache 
bean=null properties=[realCache, permanentRoots] 
constructor=abstractconstructormetad...@f8395f{parameters=[null] 
factoryClass=org.jboss.virtual.spi.cache.VFSCacheFactory 
factoryMethod=getInstance} autowireCandidate=true 
start=abstractlifecyclemetad...@7e9ce2{ 
whenrequired=controllerst...@17aaa0e{start} parameters= }}, 
abstractbeanmetad...@328c40{name=vfsnamesexceptionhandler 
bean=org.jboss.virtual.plugins.context.helpers.NamesExceptionHandler 
properties= 
constructor=abstractconstructormetad...@95ef17{parameters=[java.lang.string]} 
autowireCandidate=true}]}
org.jboss.deployers.spi.DeploymentException: Error deploying: 
file:/opt/jboss/jboss-5.1.0.GA/server/javabilities/conf/bootstrap/vfs.xml
at 
org.jboss.deployers.spi.DeploymentException.rethrowAsDeploymentException(DeploymentException.java:49)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:136)
at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.initBootstrapMDs(ProfileServiceBootstrap.java:433)
at 
org.jboss.system.server.profileservice.ProfileServiceBootstrap.start(ProfileServiceBootstrap.java:250)
at 
org.jboss.bootstrap.AbstractServerImpl.start(AbstractServerImpl.java:461)
at org.jboss.Main.boot(Main.java:221)
at org.jboss.Main$1.run(Main.java:556)
at java.lang.Thread.run(Thread.java:595)
Caused by: java.lang.IllegalStateException: ClassLoader has not been set
at 
org.jboss.deployers.structure.spi.helpers.AbstractDeploymentUnit.getClassLoader(AbstractDeploymentUnit.java:154)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.addBeanComponent(BeanMetaDataFactoryVisitor.java:60)
at 
org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataFactoryVisitor.deploy(BeanMetaDataFactoryVisitor.java:126)
... 6 more

Does anyone have any ideas or pointers in how to resolve this? Thanks,

Lloyd


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

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


[jboss-user] [EJB 3.0 Users] - Re: Are Transient Fields empty in @PreUpdate functions?

2009-08-27 Thread schamarthi
i hav same problem. this got resolved ?

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

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


[jboss-user] [jBPM Users] - Re: JobScheduler going crazy - ignoring wait

2009-08-27 Thread rachel.primrose
Actually, I'll wait for 4.1 (due 1/9 I believe) and make sure I can reproduce 
it with that version.

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

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


[jboss-user] [jBPM Users] - Re: JobScheduler going crazy - ignoring wait

2009-08-27 Thread rachel.primrose
I'll try to re-create the problem and if I can I'll post a full bug report.  
I'll let you know next week if I've managed to repeat the problem or not.  

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

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


[jboss-user] [jBPM Users] - Re: how to differentiate different ends ?

2009-08-27 Thread rams.rapo
JBPM4_HIST_PROCINST table has ENDACTIVITY_ which refers to end state reached. 
You can fire custom query to get the details.

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

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


[jboss-user] [JBoss Portal Users] - Re: Assign default portal to a user role.

2009-08-27 Thread pathuri
Sorry! for asking this without going thru all the posts. I think I have got 
what I need to try from other posts related to this. Will try it out.

Thanks

"pathuri" wrote : Hi,
  | 
  | We are also trying this taking the lead from vivek_saini07. 
  | 
  | Would you mind sharing the details on what specific changes you have made 
to CustomizationManagerService for this feature work?
  | 
  | Thanks
  | 
  | "jber...@hotmail.com" wrote : Hello,
  |   | 
  |   | Thanks to all and in particular to vivek_saini07. His advice helped me 
to solve this issue.
  |   | 
  |   | Regards,

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

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


[jboss-user] [JBoss Portal Users] - Re: Assign default portal to a user role.

2009-08-27 Thread pathuri
Hi,

We are also trying this taking the lead from vivek_saini07. 

Would you mind sharing the details on what specific changes you have made to 
CustomizationManagerService for this feature work?

Thanks

"jber...@hotmail.com" wrote : Hello,
  | 
  | Thanks to all and in particular to vivek_saini07. His advice helped me to 
solve this issue.
  | 
  | Regards,

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

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


[jboss-user] [JNDI and Naming] - Unable to override JNDI name for session bean

2009-08-27 Thread keigwin
I'm using JBossAS 5.1.0 and have just upgraded the Eclipse projects for an 
existing application to support EJB3.  I then converted one of the session 
beans in the app to an EJB3-style declaration.  I've been able to successfully 
call this bean if I use JBoss' default JNDI name for the bean. 

Now I need to override the JNDI name and have had no luck doing this.  The 
mappedName attribute in the @Stateless annotation seems to have no effect on 
the name the bean is bound to.  For example, with the bean declared this way:

@Stateless(mappedName="com.sellcore.service.GeographyService")
  | public class GeographyService implements GeographyServiceLocal
  | {

the JBoss management console shows it is still bound to the default name:

  +- UnitTestsEAR (class: org.jnp.interfaces.NamingContext)
  |   |   +- GeographyService (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- local-com.sellcore.facade.common.GeographyServiceLocal (class: 
Proxy for: com.sellcore.facade.common.GeographyServiceLocal)
  |   |   |   +- local (class: Proxy for: 
com.sellcore.facade.common.GeographyServiceLocal)

where UnitTestsEAR is the EAR containing the bean and its client WAR.

The appserver logs show that the new name is found by JBoss:

15:12:13,249 INFO  [JBossASKernel] Added 
bean(jboss.j2ee:ear=UnitTestsEAR.ear,jar=SellCoreService.jar,name=PrintApplication,service=EJB3)
 to KernelDeployment of: SellCoreService.jar
  | 15:12:13,249 INFO  [JBossASKernel] installing bean: 
jboss.j2ee:ear=UnitTestsEAR.ear,jar=SellCoreService.jar,name=GeographyService,service=EJB3
  | 15:12:13,249 INFO  [JBossASKernel]   with dependencies:
  | 15:12:13,249 INFO  [JBossASKernel]   and demands:
  | 15:12:13,249 INFO  [JBossASKernel]  jboss.ejb:service=EJBTimerService
  | 15:12:13,249 INFO  [JBossASKernel]   and supplies:
  | 15:12:13,249 INFO  [JBossASKernel]  
jndi:UnitTestsEAR/GeographyService/local-com.sellcore.facade.common.GeographyServiceLocal
  | 15:12:13,249 INFO  [JBossASKernel]  jndi:UnitTestsEAR/GeographyService/local
  | 15:12:13,249 INFO  [JBossASKernel]  
jndi:com.sellcore.service.GeographyService
  | 15:12:13,249 INFO  [JBossASKernel]  
Class:com.sellcore.facade.common.GeographyServiceLocal

But the value I specified as the mappedName is not used at binding time, as 
shown later in the log:

15:12:13,937 INFO  [SessionSpecContainer] Starting 
jboss.j2ee:ear=UnitTestsEAR.ear,jar=SellCoreService.jar,name=GeographyService,service=EJB3
  | 15:12:13,937 INFO  [EJBContainer] STARTED EJB: 
com.sellcore.service.common.GeographyService ejbName: GeographyService
  | 15:12:13,952 INFO  [JndiSessionRegistrarBase] Binding the following Entries 
in Global JNDI:
  | 
  | UnitTestsEAR/GeographyService/local - EJB3.x Default Local Business 
Interface
  | 
UnitTestsEAR/GeographyService/local-com.sellcore.facade.common.GeographyServiceLocal
 - EJB3.x Local Business Interface

I know I'm probably doing something really ignorant, but I can't figure out 
what.  I'd really appreciate any assistance!

Thanks,

K-

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

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


[jboss-user] [EJB 3.0 Users] - Getting the ejbName inside an interceptor

2009-08-27 Thread pete.m...@jboss.org
This is for JBoss EJB 3 integration code, so we can use JBoss interfaces, not 
just EJB standard interfaces.

Inside an interceptor instance, I need access to the ejbName of the EJB being 
intercepted (so I can use this as a unique key to look up other info on the 
EJB). Currently I am doing this ugly hack:

  try {
  |  guidField = 
StatefulSessionContextImpl.class.getDeclaredField("containerGuid");
  |  guidField.setAccessible(true);
  |   } catch (Exception e) {
  |  throw new RuntimeException(e);
  |   }
  | 
  |   ...
  | 
  |   try {
  |  String guid = (String) guidField.get(sessionContext);
  |  Container container = Ejb3Registry.getContainer(guid);
  |  return container.getEjbName();
  |   } catch (Exception e) {
  |  throw new RuntimeException(e);
  |   }

Any suggestions on how to improve?

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

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


[jboss-user] [JBoss Web Services Users] - Jboss and Jboss WS jar files conflict

2009-08-27 Thread yonghongb
We are using jboss and jboss ws for our one application. We are facing jar 
files conflict. 
We have our other apps jar files , jboss and jboss ws jar files.
Some of them are duplicated/triplicate.  Even the order can case problem.

Any idea how to figure out ?

Thanks

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

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


[jboss-user] [jBPM Users] - Re: jBPM4 Hello World example - null pointer exception

2009-08-27 Thread dw...@memc.com
I am trying the directions from the above suggestion ... "Refer this link ... 
http://twger.blogspot.com/2009/08/jbpm-4.html "

In Eclipse I do not have the option to create a new "JBoss jBPM - Process 
Project".  The only option that is available under JBoss jBPM is "jBPM 4 
Process Definition".  Any suggestions on what could be wrong with my Eclipse 
that would not allow me to select a Process Project for jBoss jBPM?
Thanks!
 


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

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


Re: [jboss-user] [Installation, Configuration & Deployment] - Jbossas + mod_proxy_ajp = VERY SLOW

2009-08-27 Thread Aurelio Costa
On this way you're not using mod_proxy_ajp just mod_proxy

ProxyPassReverse /admin-console http://192.168.0.10:8080/admin-console
ProxyPass /admin-console http://192.168.0.10:8080/admin-console


Try this configuration

ProxyPassReverse /admin-console
ajp://192.168.0.10:8009/admin-console
ProxyPass /admin-console
ajp://192.168.0.10:8009/admin-console


Any way i have no idea about broken images and CSS.

2009/8/27 interchange 

> Hi,
>
> I'm doing everything here inside my local network, thus the NAT IP's.
>
> I have Jbossas setup on 192.168.0.10 and if i access it using my browser it
> works just fine if i go http://192.168.0.10:8080
>
> I have apache 2.2 setup on 192.168.0.5
>
> My Proxy config looks like this:
>
> ProxyPassReverse /admin-console http://192.168.0.10:8080/admin-console
> ProxyPass /admin-console http://192.168.0.10:8080/admin-console
>
> The issue is, when I go to http://192.168.0.5/admin-console
>  - it takes a long time. Upwards of 30 seconds or more
>  - the images and CSS seem quite broken
>  - login doesn't work.
>
> Ideas?
>
> View the original post :
> http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252090#4252090
>
> Reply to the post :
> http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&p=4252090
> ___
> jboss-user mailing list
> jboss-user@lists.jboss.org
> https://lists.jboss.org/mailman/listinfo/jboss-user
>



-- 
Aurélio R. Costa
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - Re: Role based landing page/portal for user

2009-08-27 Thread pathuri
Hi vivek_saini07,

I wish I had known this issue 4 months ago to ask for help :-) We are new to 
portal and are working our way thru.

We are on to building a large CRM based application using JBoss Portal and came 
across this issue only few days ago.

Thanks a lot for the lead. I think these details are valuable and we will see 
if we can make the necessary changes and make it to work.

Thanks again.

"vivek_saini07" wrote : Well... 4 months old thread!! what made u posting here 
after so long time??
  | 
  | Had you asked me it four months back, I would have told u this in more 
detail as I had lots of time (and energy) at that time.
  | 
  | In short, we did it by modifying customizationManagerService. There are 
number of threads in this forum explaining how to do this.
  | 
  | In that class somewhere it is written that a portal named "Template" would 
always be copied to dashboard of logged in user.
  | 
  | U can change that piece, some conditional tweak... on certain 
condition copy this portal otherwise copy some other portal.
  | 
  | We maintained a table in DB that had mapping between users and their portal.
  | 
  | And after doing all this, there is a property in property file of "conf" 
folder (this is documented in reference guide) by setting that property user 
will always land to his dashboard after log-in instead of (public)portal.
  | 
  | Hope this would help.

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

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


[jboss-user] [EJB 3.0 Users] - Re: Unable to inject EJBs into an MDB listening to a remote

2009-08-27 Thread k.k.ramachandran
I think the problem may have been that i had a jar with a jndi.properties file 
in my class path. That seems to screw a lot of things up. 

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

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


[jboss-user] [EJB 3.0 Users] - Re: MDBs and -b option.

2009-08-27 Thread k.k.ramachandran
So it turned out the problem was there was a jndi.properties in my classpath. 
Which set localhost. 



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

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


[jboss-user] [EJB] - Accessing EJB 2.1 in a isolated EARs

2009-08-27 Thread gjeudy
Hi,

I'm trying to access EJBs in isolated EARs in JBoss 4.2.2.GA in the same server 
instance. Is it possible to only enable Call by Value semantics for 1 EJB and 
not for all EJBs deployed in an EAR?

I tried countless combinations and the only one that seemed to work is the 
below:

I have EJBA in ear1 access EJBB in ear2 both are isolated using 
loader-repository in their jboss-app.xml:

  | 
  |   loader=ear1
  | 
  | 
  | 
  |   loader=ear2
  | 
  | 

enable call by value in the ear-deployer.xml:


  | true
  | 

EJBA code to access EJBB:


  | Context testcontext = new InitialContext();
  | EJBBHome objref = 
(EJBBHome)testcontext.lookup("jnp://localhost:1299/ejb/EJBB");
  | log.info("Looked up ejbb:" + objref);
  | objref.create().doSomething();
  | 

The call succeeds but as soon as I set CallByValue=false, I get:


  | 2009-08-27 15:25:00,401 ERROR [org.jboss.ejb.plugins.LogInterceptor] 
TransactionRolledbackException in method: public abstract 
testearisolation.ear2.EJBB testearisolation.ear2.EJBBHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException, causedBy:
  | javax.ejb.EJBException: Invalid invocation, check your deployment 
packaging, method=public abstract testearisolation.ear2.EJBB 
testearisolation.ear2.EJBBHome.create() throws 
javax.ejb.CreateException,java.rmi.RemoteException
  | 

I could use my working solution but then if I understand correctly it means all 
EJBs for all EARs under this server instance will use Call By Value semantics 
regardless if its 2 EJBs talking to each other in the same EAR... 

Please correct me if im wrong.

Thanks
-Guillaume

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Isolation woes...

2009-08-27 Thread frankgrimes97
Sorry, I meant:

deploy/shared.ear (directory)
deploy/shared.ear/webapp1.war (file)
deploy/shared.ear/webapp2.war (file) 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Isolation woes...

2009-08-27 Thread frankgrimes97
Have you tried to put the war files inside the ear, but as an exploded 
directory?

e.g.

deploy/shared.ear (directory)
deploy/webapp1.war (file)
deploy/webapp2.war (file)

I'm not sure if the JBoss deployment scanner is smart enough to redeploy a 
webapp contained in an ear, but it's worth a shot as it would give you the 
isolation you require.

Also, even if the deployment scanner can't do it, there might be a way to do it 
through a script which calls JBoss JMX management beans.

Cheers,

Frank Grimes

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

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


[jboss-user] [jBPM Users] - Re: Exit from fork without join

2009-08-27 Thread JimDwyer
Why not;

fork, 

set a variable, 

join, 

act on the variable, 

exit gracefully.

I am sure you could get this to work with exiting in a fork but why?  My 
feeling has always been if the picture doesn't look right and balanced the 
process probably is not right.  Its like looking at sheet music; the great 
music looks good on the paper.



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

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


[jboss-user] [jBPM Users] - Jbpm integration transaction problem

2009-08-27 Thread eliseu.cartaxo
Jbpm 4
Jboss AS 5.0.0GA
Oracle Database 10G


I'm integration my application with jbpm using the example from the dev-guide

this.processEngine = (ProcessEngine) ctx
  | .lookup("java:/ProcessEngine");

The jbpm-oracle-ds


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | JbpmDS
  | 
  | 
  | false
  | 
oracle.jdbc.xa.client.OracleXADataSource
  |   jdbc:oracle:thin:@:1521:devdb2
  |  
  | xxx
  | xxx
  | 240
  | 
  | 

  | 
  | 
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
  | 
  | 
  | 
  |   
  |   
  |  Oracle9i
  |   
  |   
  |   
  | xeo_nojta
  | false
  | jdbc:oracle:thin:@xxx:1521:devdb2
  | 

  | oracle.jdbc.driver.OracleDriver
  | xxx
  | xxx
  | 240
  | 
org.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter
  |   
  |  Oracle9i
  |   
  |   
  |   
  |   
  |   
  | jboss:service=TransactionManager
  |   
  | 
  | 
  | 

But i'm getting the following error

Stack trace :

19:36:31,656 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.xastart] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.xastart] 
TransactionImple.enlistResource - xa_start  - caught: XAException.XA_RETRY for 
< 131075, 27, 25, 
4945455110253999710158999897585297575410049534858569945511025399971015899989758529757541004953485856101
 >
  | 19:36:31,656 ERROR [STDERR] oracle.jdbc.xa.OracleXAException
  | 19:36:31,656 ERROR [STDERR] at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:882)
  | 19:36:31,656 ERROR [STDERR] at 
oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:221)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:213)
  | 19:36:31,656 ERROR [STDERR] at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:889)
  | 19:36:31,656 ERROR [STDERR] at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:500)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:908)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:662)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:403)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:625)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:499)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:941)
  | 19:36:31,656 ERROR [STDERR] at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:89)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.connection.DatasourceConnectionProvider.getConnection(DatasourceConnectionProvider.java:92)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:446)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:167)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:161)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.loader.Loader.prepareQueryStatement(Loader.java:1573)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.loader.Loader.doQuery(Loader.java:696)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:259)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.loader.Loader.doList(Loader.java:2228)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2125)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.loader.Loader.list(Loader.java:2120)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:401)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:361)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:196)
  | 19:36:31,656 ERROR [STDERR] at 
org.hibernate.impl.SessionImpl.list(SessionImpl.java:1148)
  | 19:36

[jboss-user] [JBoss Tools Users] - Re: Jboss Seam Mavenized fails on deploy

2009-08-27 Thread snjeza
I can't reproduce this issue. Could you send your configuration and log 
(Help>About Eclipse SDK>Installation Details>Configuration/View Error Log) ?

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Unauthenticated caller null N sqlException

2009-08-27 Thread PeterJ
The db2-ds.xml file goes into the server/xxx/deploy directory.

This post might help in accessing it: 
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4232520#4232520

And it would help if you read the docs: 
http://www.jboss.org/file-access/default/members/jbossas/freezone/docs/Administration_And_Configuration_Guide/5/html/alternative_DBs.html

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

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


[jboss-user] [EJB 3.0 Users] - Re: Post deployment initialization.

2009-08-27 Thread jaikiran
Yes, it's available http://www.jboss.org/ejb3/ejb3_4-x_docs.html

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

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


[jboss-user] [jBPM Users] - how to differentiate different ends ?

2009-08-27 Thread npirard
[jBPM 4]

Is there a simple mean to differentiate the differente possible ends of a 
process?

For instance in the example
org.jbpm.examples.end.multiple.EndMultipleTest
that comes with the distribution, a process may have three different ends. But 
once the process is ended, how can we know what end it reached?

The Unit Test only tests that the process ended correctly, not that it reached 
the intended end ("ok", "bad request" or "internal server error") that are 
defined in the JPDL :

  | 
  | 
  | http://jbpm.org/4.0/jpdl";>
  | 
  |   
  | 
  |   
  |   
  |   
  | 
  | 
  | 
  |   
  |   
  |   
  |   
  |   
  |   
  | 
  | 


I did not find how to query about it with the API. 

here is what I tried,  in EndMultipleTest :



  | public void testEndMultipleOk() {
  | ProcessInstance processInstance = 
executionService.startProcessInstanceByKey("EndMultiple");
  | String pid = processInstance.getId();
  | processInstance = executionService.signalExecutionById(pid, 
"200");
  | assertTrue(processInstance.isEnded());
  | // end of the official test
  | 
  | 
  | assertEquals("ended", processInstance.getState());//state is 
"ended", not "ok"
  | 
  | //HistoryActivity
  | HistoryActivityInstanceQuery historyActivityInstanceQuery =  
historyService.createHistoryActivityInstanceQuery();
  | historyActivityInstanceQuery.executionId(pid);
  | List list = 
historyActivityInstanceQuery.list();
  | System.out.println("list for pid size : " + list.size());
  | for (HistoryActivityInstance historyActivityInstance : list) {
  | System.out.println("history activity for pid: " + 
historyActivityInstance.getActivityName());
  | }
  | 
  | historyActivityInstanceQuery =  
historyService.createHistoryActivityInstanceQuery();
  | historyActivityInstanceQuery.activityName("get return code");
  | list = historyActivityInstanceQuery.list();
  | System.out.println("list for \"get return code\" size : " + 
list.size());
  | for (HistoryActivityInstance historyActivityInstance : list) {
  | System.out.println("history activity for \"get return 
code\": " + historyActivityInstance.getActivityName());
  | }
  | 
  | historyActivityInstanceQuery =  
historyService.createHistoryActivityInstanceQuery();
  | historyActivityInstanceQuery.activityName("ended");
  | list = historyActivityInstanceQuery.list();
  | System.out.println("list for \"ended\" size : " + list.size());
  | for (HistoryActivityInstance historyActivityInstance : list) {
  | System.out.println("history activity for \"ended\": " + 
historyActivityInstance.getActivityName());
  | }
  | 
  | historyActivityInstanceQuery =  
historyService.createHistoryActivityInstanceQuery();
  | historyActivityInstanceQuery.activityName("ok");
  | list = historyActivityInstanceQuery.list();
  | System.out.println("list for \"ok\" size : " + list.size());
  | for (HistoryActivityInstance historyActivityInstance : list) {
  | System.out.println("history activity for \"ok\": " + 
historyActivityInstance.getActivityName());
  | }
  | 
  | 
  | //Job
  | JobQuery jobQuery = 
managementService.createJobQuery().processInstanceId(pid);
  | List listJobs = jobQuery.list();
  | System.out.println("listJobs size : " + listJobs.size());
  | for (Job job : listJobs) {
  | System.out.println("job : " + job.getId());
  | }
  | 
  | 
  | //HistoryProcessInstance
  | HistoryProcessInstanceQuery historyProcessInstanceQuery =  
historyService.createHistoryProcessInstanceQuery();
  | historyProcessInstanceQuery.state("ok");
  | List listHPI = 
historyProcessInstanceQuery.list();
  | System.out.println("IP list for \"ok\" size : " + 
listHPI.size());
  | 
  | historyProcessInstanceQuery =  
historyService.createHistoryProcessInstanceQuery();
  | historyProcessInstanceQuery.state("get return code");
  | listHPI = historyProcessInstanceQuery.list();
  | System.out.println("IP list for \"get return code\" size : " + 
listHPI.size());
  | 
  | historyProcessInstanceQuery =  
historyService.createHistoryProcessInstanceQuery();
  | historyProcessInstanceQuery.state("ended");
  | listHPI = historyProcessInstanceQuery.list();
  | System.out.println("IP list for \"end

[jboss-user] [JBoss Portal Users] - Re: Role based landing page/portal for user

2009-08-27 Thread mars76
Hi All,

  I need to implement similar feature ( changing the landing page based in User 
profile info)..

 Could some one pls post more details on how you are able to customize the 
portal code..

  I couldn't find the Class "DefaultPortalObjectCommand" in the portal source..

  I did find the class CustomizationManagerService and it is true that one need 
to override is getDashboard() to display a custom Landing Page!!

Thanks
Mars

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

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


[jboss-user] [JBoss Portal Users] - Re: Role based landing page/portal for user

2009-08-27 Thread vivek_saini07
Well... 4 months old thread!! what made u posting here after so long time??

Had you asked me it four months back, I would have told u this in more detail 
as I had lots of time (and energy) at that time.

In short, we did it by modifying customizationManagerService. There are number 
of threads in this forum explaining how to do this.

In that class somewhere it is written that a portal named "Template" would 
always be copied to dashboard of logged in user.

U can change that piece, some conditional tweak... on certain condition 
copy this portal otherwise copy some other portal.

We maintained a table in DB that had mapping between users and their portal.

And after doing all this, there is a property in property file of "conf" folder 
(this is documented in reference guide) by setting that property user will 
always land to his dashboard after log-in instead of (public)portal.

Hope this would help.

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

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


[jboss-user] [Security] - Custom Authorization

2009-08-27 Thread bacooper81
Hi.  Is it possible to take a principal that I authorize in my own servlet and 
somehow stuff it into the JBoss container (or wherever it needs to go) so that 
the user remains logged in for the duration of the session?  If so, how can 
that be done?

Basically, I'd like to bypass the FORM authentication mechanism because I have 
custom code I need to use to handle redirecting the user after logging in.

I've done a LOT of reading on this so far, and haven't found a way.  Several 
people mention creating an InitialContext, logging into it, and calling EJB 
methods with it.  The problem is that the user won't stay logged in for the 
entire session.

Thanks.



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

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


[jboss-user] [JBoss Remoting Users] - Weird port number on connection fail

2009-08-27 Thread chipschoch
We are running JBossAS 4.2.2 with JBM 1.4.4. Recently we experience a problem 
and I am trying to track it down. It appeared to be a network issue in that we 
got the following in the log:

2009-08-25 10:45:22,902 ERROR   | Thread-24| 
org.jboss.remoting.callback.ServerInvokerCa
  | llbackHandler | Error handling callback
  | org.jboss.remoting.CannotConnectException: Can not get connection to 
server. Problem establishing so
  | cket connection for InvokerLocator [bisocket://10.33.32.22
  | 
:1810191292/callback?callbackServerHost=10.33.32.22&callbackServerPort=1810191292&callbackServerProtocol=bisocket&clientMaxPoolSize=1&clientSocketClass=org.jb
  | 
oss.jms.client.remoting.ClientSocketWrapper&datatype=jms&guid=axwm-58z961-fy0jth8v-1-fy0jumsb-4y&isCallbackServer=true&onewayThreadPool=org.jboss.jms.server.r
  | 
emoting.DirectThreadPool&serverSocketClass=org.jboss.jms.server.remoting.ServerSocketWrapper]
  | at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.transport(MicroSocketClientI
  | nvoker.java:548)
  | at 
org.jboss.remoting.transport.bisocket.BisocketClientInvoker.transport(BisocketClientInvok
  | er.java:422)
  | at 
org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemoteClientInvoker.java:141)
  | at org.jboss.remoting.Client.invoke(Client.java:1858)
  | at org.jboss.remoting.Client.invoke(Client.java:718)
  | at org.jboss.remoting.Client.invokeOneway(Client.java:769)
  | at 
org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallback(ServerInvokerCall
  | backHandler.java:829)
  | at 
org.jboss.remoting.callback.ServerInvokerCallbackHandler.handleCallbackOneway(ServerInvok
  | erCallbackHandler.java:700)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.performDelivery(ServerSessionEndpoint
  | .java:1467)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.handleDelivery(ServerSessionEndpoint.
  | java:1379)
  | at 
org.jboss.jms.server.endpoint.ServerConsumerEndpoint.handle(ServerConsumerEndpoint.java:3
  | 27)
  | at 
org.jboss.messaging.core.impl.RoundRobinDistributor.handle(RoundRobinDistributor.java:119
  | )
  | at 
org.jboss.messaging.core.impl.MessagingQueue$DistributorWrapper.handle(MessagingQueue.jav
  | a:583)
  | at 
org.jboss.messaging.core.impl.ClusterRoundRobinDistributor.handle(ClusterRoundRobinDistri
  | butor.java:79)
  | at 
org.jboss.messaging.core.impl.ChannelSupport.deliverInternal(ChannelSupport.java:670)
  | at 
org.jboss.messaging.core.impl.MessagingQueue.deliverInternal(MessagingQueue.java:506)
  | at 
org.jboss.messaging.core.impl.ChannelSupport.handle(ChannelSupport.java:251)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.routeInternal(MessagingPostO
  | ffice.java:2228)
  | at 
org.jboss.messaging.core.impl.postoffice.MessagingPostOffice.route(MessagingPostOffice.ja
  | va:515)
  | at 
org.jboss.jms.server.endpoint.ServerConnectionEndpoint.sendMessage(ServerConnectionEndpoi
  | nt.java:769)
  | at 
org.jboss.jms.server.endpoint.ServerSessionEndpoint.send(ServerSessionEndpoint.java:399)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.org$jboss$jms$server$endpoint$advise
  | d$SessionAdvised$send$aop(SessionAdvised.java:87)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(
  | SessionAdvised$send_7280680627620114891.java)
  | at 
org.jboss.jms.server.container.SecurityAspect.handleSend(SecurityAspect.java:157)
  | at sun.reflect.GeneratedMethodAccessor114.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.aop.advice.PerInstanceAdvice.invoke(PerInstanceAdvice.java:121)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised$send_7280680627620114891.invokeNext(
  | SessionAdvised$send_7280680627620114891.java)
  | at 
org.jboss.jms.server.endpoint.advised.SessionAdvised.send(SessionAdvised.java)
  | at 
org.jboss.jms.wireformat.SessionSendRequest.serverInvoke(SessionSendRequest.java:95)
  | at 
org.jboss.jms.server.remoting.JMSServerInvocationHandler.invoke(JMSServerInvocationHandle
  | r.java:143)
  | at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:862)
  | at 
org.jboss.remoting.transport.local.LocalClientInvoker.invoke(LocalClientInvoker.java:101)
  | 
  | at org.jboss.remoting.Client.invoke(Client.java:1858)
  | at org.jboss.remoting.Client.invoke(Client.java:718)
  | at org.jboss.remoting.Client.invoke(Client.java:706)
  | at 
org.jboss.jms.client.delegate.DelegateSupport.doInvoke(DelegateSupport.java:189)
  | at 
org.jboss.jms.client.delegate.DelegateSupp

[jboss-user] [Installation, Configuration & Deployment] - Jbossas + mod_proxy_ajp = VERY SLOW

2009-08-27 Thread interchange
Hi,

I'm doing everything here inside my local network, thus the NAT IP's.

I have Jbossas setup on 192.168.0.10 and if i access it using my browser it 
works just fine if i go http://192.168.0.10:8080

I have apache 2.2 setup on 192.168.0.5

My Proxy config looks like this:

ProxyPassReverse /admin-console http://192.168.0.10:8080/admin-console
ProxyPass /admin-console http://192.168.0.10:8080/admin-console

The issue is, when I go to http://192.168.0.5/admin-console
  - it takes a long time. Upwards of 30 seconds or more
  - the images and CSS seem quite broken
  - login doesn't work.

Ideas?

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

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


[jboss-user] [JBoss Portal Users] - Re: How to use

2009-08-27 Thread wesleyhales
Don't cross post! We will not answer your questions if you do this and it makes 
it harder for users with your same problem.
Lucky for you I am in a good mood today...
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4252087#4252087

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

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


[jboss-user] [JBoss Portal Users] - Re: different Funktionality for PortalBridge 1.0.0.B4 and CR

2009-08-27 Thread wesleyhales
First of all the PortalIdentity bridgelet is added to the booking demo using a 
profile, so you remove it by commenting out the following in the pom.xml:

sso
  | 
  | true
  | 
  | 

Both CR2 and B4 have same functionality as far as integration of components.

the cargo error occured because you were not in the right directory, cd to the 
child directory "ear"

The newer CR2 PortalIdentity only works for newer seam versions, so yes you 
have to use it.

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

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


[jboss-user] [JBoss Portal Users] - Re: different Funktionality for PortalBridge 1.0.0.B4 and CR

2009-08-27 Thread guenther.her...@softcon.de
This Problem is solved. I removed PortalIdentity.jar and download SEAM 
2.1.2.CR1 with this version I can use the old login of SEAM..

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Isolation woes...

2009-08-27 Thread bdamato
Anyone?

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

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


[jboss-user] [JBoss Portal Users] - Re: Role based landing page/portal for user

2009-08-27 Thread pathuri
Hi vivek_saini07,

Can you give some details on how this is done? We do have such a requirement 
and are wondering on how to accomplish.

Thanks

"vivek_saini07" wrote : We also required this feature in our project and we 
implemented it by making some changes in CustomizationManagerService.
  | 
  | I want to vote in favour of  this feature.

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

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


[jboss-user] [JBoss Portal Users] - Re: Creating Portal Pages Dynamically using Jboss Portal API

2009-08-27 Thread schamarthi
any jboss portal developers can help ? 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Unauthenticated caller null N sqlException

2009-08-27 Thread ravirachannavar
Hi Peter

Thanks,Its fine now..with no errors server is getting started.
Now I have one working .ear and I want to make the database connection 
also(db2) and den check for the screens coming up.

Now tell me..how I should proceed.

For database connection only changes should be done in db2-ds.xml..?
and where it should be present..?

Give me the steps with changes to be done in files along with path where should 
be placed. 


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

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


[jboss-user] [JBoss Tools Users] - Re: Jboss Seam Mavenized fails on deploy

2009-08-27 Thread mcohnen
Hi again... I still can't make this work. If I try the development Jboss Tools 
and the m2eclipse that is in the same update site, I have the problems 
described in the first post. If I use the nightly builds for JBoss Tools and 
the last dev for m2eclipse... even worst. No parent project is being created 
using the wizard

Any solution? Thank you! I know this is still a milestone, but I can't get it 
to work/test!

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

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


[jboss-user] [JBoss Portal Users] - Searching example code for custom navigation with tabs.jsp

2009-08-27 Thread BobBuilder
Hello,

after reading several docs und forum topics i came to the conclusion that 
modifying the tabs.jsp in JBoss Portal may be the best solution for me to get a 
custom navigation. 
I searched for example code that shows how a modified tabs.jsp could look like 
but could not find any.
What i expect from a custom navigation is integrated breadcrumbs and a tree 
like navigation of the subpages in a separate region of the portal (left to the 
regions "left" and "center").
I would be very grateful for any help on this.

Greetings

Bob




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

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


[jboss-user] [Tomcat Integration] - Tomcat encoding

2009-08-27 Thread jidehem
I'm using JBoss on a server with french locale.
All the pages displayed (JSP, servlets) are displaying correctly.
However, the error pages have a strange encoding (it is (correctly) interpreted 
by firefox as UTF-8).
For example, the 404 error page displays:
anonymous wrote : Etat HTTP 404 - /SIT/index.j
  | 
  | type Rapport d'�tat
  | 
  | message /SIT/index.j
  | 
  | description La ressource demand�e (/SIT/index.j) n'est pas disponible.
  | JBoss Web/2.1.3.GA

Thus it seems all pages directly generated by tomcat have the wrong encoding 
(encoded twice ?).

The logs from JBoss about tomcat shows the same behaviour:
anonymous wrote : 
  | 13:53:11,780 INFO  [Http11Protocol] D�marrage de Coyote HTTP/1.1 sur 
http-localhost%2F127.0.0.1-8080
  | 13:53:11,858 INFO  [Http11Protocol] D�marrage de Coyote HTTP/1.1 sur 
http-localhost%2F127.0.0.1-8443

Note: previewing this post, the special characters are re-interpreted and 
doesn't look the same as displayed in firefox.

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal Users] - different Funktionality for PortalBridge 1.0.0.B4 and CR2 fo

2009-08-27 Thread guenther.her...@softcon.de
I found at http://www.infoq.com/articles/jsf-ajax-seam-portlets-pt-3 a 
description for PortalBridge Version B4 that you can use the Booking 
application with SSO and without. The booking app offered for Version CR2 does 
not describe the same functionality, I guess? I tried to install the B4 with 
given maven commands, without sucess because I got:
The plugin 'org.apache.maven.plugins:maven-cargo-plugin' does not exist or no 
valid version could be found

Are there any possibilities to use the old SEAM-Security and Logon 
functionality with CR2 as shown with B4?

Kind Regards

Günther Herndl

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JNDI and Naming] - Re: JNDI lookup from JBoss embedded MQ Provider

2009-08-27 Thread moonbird79
Is this topic a JBoss JNDI bug ?

http://www.nabble.com/JNDI-with-ActiveMQ-embedded-in-JBoss-AS-td25151104.html

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

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


[jboss-user] [JBoss Web Services Users] - Cannot change the context root for web service

2009-08-27 Thread seamyong
Hi all,

  I would like to seek for help how to change the context root for the 
webservices.  From my http://localhost:8080/jbossws/services, two wsdl[s] are 
shown with the following URL.

1.**
Endpoint Name jboss.ws:context=amslogin-amslogin, endpoint=WSUserServiceImpl 
Endpoint Address 
http://AMS-WS-007:8180/amslogin-amslogin/WSUserServiceImpl?wsdl 
***


2.
Endpoint Name jboss.ws:context=amslogin,endpoint=WSUserService 
Endpoint Address http://AMS-WS-007:8180/amslogin/ws/WSUserService?wsdl 
*


However, only the first link works; the second cant be accessed.  The following 
error messages showed whenever i tried to run my web applicaton.

*
Exceptions:
*

org.jboss.ws.WSException: Cannot obtain config: SOAP Request Handler
at 
org.jboss.ws.metadata.config.JBossWSConfigFactory.getConfig(JBossWSConfigFactory.java:148)
at 
org.jboss.ws.metadata.umdm.EndpointMetaData.initEndpointConfig(EndpointMetaData.java:704)
at 
org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigNameInternal(EndpointMetaData.java:695)
at 
org.jboss.ws.metadata.umdm.EndpointMetaData.setConfigName(EndpointMetaData.java:679)
at 
org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.processEndpointConfig(JAXWSServerMetaDataBuilder.java:76)
at 
org.jboss.ws.metadata.builder.jaxws.JAXWSWebServiceMetaDataBuilder.buildWebServiceMetaData(JAXWSWebServiceMetaDataBuilder.java:137)
at 
org.jboss.ws.metadata.builder.jaxws.JAXWSServerMetaDataBuilder.setupProviderOrWebService(JAXWSServerMetaDataBuilder.java:50)
at 
org.jboss.ws.metadata.builder.jaxws.JAXWSMetaDataBuilderJSE.buildMetaData(JAXWSMetaDataBuilderJSE.java:63)
at 
org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(UnifiedMetaDataDeploymentAspect.java:66)
at 
org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy(DeploymentAspectManagerImpl.java:115)
at 
org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDeployerHook.java:97)
at 
org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInterceptor.java:90)
at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.start(SubDeployerInterceptorSupport.java:188)
at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:95)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1015)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor21.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy9.deploy(Unknown Source)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(Serv

[jboss-user] [JNDI and Naming] - Re: JNDI lookup from JBoss embedded MQ Provider

2009-08-27 Thread moonbird79
...this is what i tryed :-/ the lookup call throw no exceptions but the 
queueConnectionFactory object is null (i got the output NULL for queueC...).
STRANGE :-(

if i try to create a new queueConnection like this:

queueConnection = queueConnectionFactory.createQueueConnection();

... of course - i get a null pointer exception :-/

... i use JBoss 5.1 GA

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

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


[jboss-user] [JBoss AOP Users] - Re: jboss-aop 1.5 compiletime weaved code on jbossaop 2.1

2009-08-27 Thread afloom
OK, thanks for your quick replies!

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

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


[jboss-user] [JBoss AOP Users] - Re: jboss-aop 1.5 compiletime weaved code on jbossaop 2.1

2009-08-27 Thread kabir.k...@jboss.com
no it doesn't work

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

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


[jboss-user] [jBPM Users] - JBoss doesn't recognise jpdl file

2009-08-27 Thread mmusaji
Following the instructions under the developers guide for JBPM 4

http://docs.jboss.com/jbpm/v4.0/devguide/html_single/#jbossintegration

It seems fairly straight forward to deploy my workflow in JBoss. But nothing is 
happening. I have JBPM installed. My directory for jbpm contains a folder named 
jbpm-service.sar which contains a number of configuration files and jars. 
jbpm-enterprise.jar is another folder which only contains a 3 xml files.

My jpdl zip contains all classes and the process (jpdl.xml) file.

Is there anywhere else in JBoss that I need to change for it to pick up the 
jpdl file because there are no errors, just nothing happens! Like it is not 
recognising the file.

Thanks.

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

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


[jboss-user] [JBoss Portal Users] - How to use

2009-08-27 Thread guenther.her...@softcon.de
PostPosted: Thu Aug 27, 2009 05:56 AMPost subject: How to 
use

In component.xml is via security defined how do deal with login and what to do. 
But via the PortletBridge I have to use SSO of JBoss Portal. I found the 
folowing coment:
public boolean authenticate()
{
//This code is not used in portal environment when utilitizing the 
PortalIdentity bridgelet.

To get the UserDate to have added instead:
@In
private Credentials credentials;


So I have to define all user and relates Roles via the AdminPart of the Portal. 
I tried to use the s.hasRole('') also via the PortalBridge but I allways 
got false. All SEAM DemoExamples offered for the Bridge do not use this hasRole 
Part. How is it possible to work with the Roles via the PortletBridge?

Kind Regards
Günther Herndl
softcon

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

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

___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [jBPM Users] - Re: Where does JBPM look for DefaultDS Datasource?

2009-08-27 Thread kukeltje
from the code in 3.1.x it was DefaultDS (how to make one is basic JBoss AS 
stuff) in 3.2.x and 4 it changed to JbpmDS, 

So if you change jbpmDatasrource to DedaultDS it should work

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

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


[jboss-user] [jBPM Users] - Re: hamidreza

2009-08-27 Thread kukeltje
If you search the forum, there have been many posts on this subject. There is 
an example in the wiki (also referenced from these posts) that shows an example 
for this.

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

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


[jboss-user] [jBPM Users] - Re: jbpm 3 or jbpm 4 (regarding exception handling)

2009-08-27 Thread kukeltje
Best is to do technical exceptionhandling  IN the java classes and e.g. return 
values used for directing the process. E.g. take a transition to another node. 
Exceptionhandling in the processdefinition is not a replacement for java 
exceptionhandling. 

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

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


[jboss-user] [JBoss AOP Users] - Re: jboss-aop 1.5 compiletime weaved code on jbossaop 2.1

2009-08-27 Thread afloom
Thanks Kabir! Regarding my scenario, does that mean "no, it doesn't work" or 
"it could work, I don't know"?

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

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


[jboss-user] [JBoss Web Services Users] - Help org.jboss.web.tomcat.security.SecurityAssociationValve

2009-08-27 Thread erasmomarciano
With a  monitoring tool of java , i saw that there is a method  
anonymous wrote : 
  | void org.jboss.web.tomcat.security.SecurityAssociationValve.invoke()
  | 
that has been invoked many times.
The time of answer is too high indeed.

Everyone can help me?




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

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


[jboss-user] [jBPM Users] - Re: Where does JBPM look for DefaultDS Datasource?

2009-08-27 Thread jetztmoginimmer
resource/MyApp-dev-ds.xml


  |   ...
  |   
  | jbpmDatasource
  | true
  | ...
  |   
  | 

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

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


[jboss-user] [jBPM Users] - jbpm 3 or jbpm 4 (regarding exception handling)

2009-08-27 Thread Josh86
Hi everybody,

i am newbie at jbpm and currently i am evaluating which jbpm version i should 
use.
During my reserch i discovered, that exception handling is not integrated in 
jpdl 4 but in jpdl 3.
My question is how can i handle an exception in jbpm 4, which is potentially 
thrown in an invoked java method defined in the jpdl process description ()?
If an exception is thrown, e.g. another java method should be invoked or an an 
email should be sent, but this should be defined in the jpdl process 
description.
if am right, this can be realized in jpdl 3 but not in jpdl 4, or is there a 
way to do this?
Thanks for your answers,
Josh

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

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


[jboss-user] [jBPM Users] - couldn't get task instances list for actor pooledTaskInstanc

2009-08-27 Thread andrzejurban
Hello,

I have a problem regarding use of a pooledTaskInstanceList on my agenda. I'm 
using jBPM 3.2.2.GA and JBoss 4.2.2.GA server.

I create a new process instance using an annotated method:


@End
  | @CreateProcess(definition = "KNFExport", processKey = "#{exportId}")
  | public String saveExport() {


Then I access my agenda :


http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";
  | xmlns:s="http://jboss.com/products/seam/taglib";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:f="http://java.sun.com/jsf/core";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:a="http://richfaces.org/a4j"; template="/layout/template.xhtml"
  | xmlns:rich="http://richfaces.org/rich";>
  | #{messages['agenda.list']}
  | 
  | 
  | #{messages['agenda.ownTasks']}
  | 
  |  
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | #{messages['agenda.groupTasks']}
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 



On my agenda I can see a newly created task on a group task list.
When I use the 'assign to me' button,
instead of a rendered page I get an error:

"couldn't get task instances list for actor 'admin'"

The stack trace:



org.jbpm.JbpmException: couldn't get task instances list for actor 'admin'
  | at org.jbpm.db.TaskMgmtSession.findTaskInstances(TaskMgmtSession.java:67)
  | at org.jbpm.JbpmContext.getTaskList(JbpmContext.java:191)
  | at 
org.jboss.seam.bpm.TaskInstanceList.getTaskInstanceList(TaskInstanceList.java:40)
  | at 
org.jboss.seam.bpm.TaskInstanceList.getTaskInstanceList(TaskInstanceList.java:33)
  | at sun.reflect.GeneratedMethodAccessor579.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:56)
  | at 
org.jboss.seam.transaction.RollbackInterceptor.aroundInvoke(RollbackInterceptor.java:28)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.bpm.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.transaction.TransactionInterceptor$1.work(TransactionInterceptor.java:95)
  | at org.jboss.seam.util.Work.workInTransaction(Work.java:47)
  | at 
org.jboss.seam.transaction.TransactionInterceptor.aroundInvoke(TransactionInterceptor.java:89)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at 
org.jboss.seam.core.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:44)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:68)
  | at org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:107)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.interceptInvocation(JavaBeanInterceptor.java:185)
  | at 
org.jboss.seam.intercept.JavaBeanInterceptor.invoke(JavaBeanInterceptor.java:103)
  | at 
org.jboss.seam.bpm.TaskInstanceList_$$_javassist_7.getTaskInstanceList(TaskInstanceList_$$_javassist_7.java)
  | at sun.reflect.GeneratedMethodAccessor578.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:22)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:144)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:2211)
  | at org.jboss.seam.Component.unwrap(Component.java:2237)
  | at org.jboss.seam.Component.getInstance(Component.java:2004)
  | at org.jboss.seam.Component.getInstance(Component.java:1950)
  | at org.jboss.seam.Component.getInstance(Component.java:1944)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
  | at org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
  | at org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:177)
  | at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at org.jboss.el.parser.AstEmpty.getValue(AstEmpty.java:29)
  | at org.jboss.el.ValueExpressionImpl.getValue(ValueExpres

[jboss-user] [jBPM Users] - hamidreza

2009-08-27 Thread hamidreza
Hi
I'm a new at jBPM and have a lot of problems in different field and I hope to 
improve my jBPM skill by your help.
I have a project that in its process, I wanna assign a task to more than one 
person. It means that all of the persons must do sth on it. Every one has its 
own task variables. The task will be completed when all of the persons have 
done their duties. I think that jbpm must have features for this requirement or 
at least it must be possible to define tasks dynamically (not by diagram) to 
control the number of tasks(Every task must be assigned to one employee).
Thanks. 

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

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


[jboss-user] [JBoss AOP Users] - Re: jboss-aop 1.5 compiletime weaved code on jbossaop 2.1

2009-08-27 Thread kabir.k...@jboss.com
You should weave and run with the same version of aop

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

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


[jboss-user] [JBoss AOP Users] - Re: Deploy AOP to jboss 5.1

2009-08-27 Thread kabir.k...@jboss.com
Correct, if you deploy an EJB 3 bean it constructs an EJB container without 
weaving. The configuration for these containers is in 
ejb3-interceptors-aop.xml. Calls to the ejb are done via the container and go 
through the stack of interceptors before hitting the ejb.


For example, if you deploy a stateless session bean it will use the 

  | 
  | 

which uses pointcuts to apply the different interceptors that make up the 
container. e.g. the 

  |
  | 
looks for the TransactionAttribute annotations on the different methods and 
applies the correct transactions.

You can either add to these domains in ejb3-interceptors-aop.xml in which case 
it will apply to all beans matching your pointcuts, or you can create a custom 
domain with more bindings and choose to apply it to a particular bean using the 
@AspectDomain annotation

http://www.jboss.org/ejb3/docs/tutorial/configuration/configuration.html
explains more about this. You can get there by going to 
http://www.jboss.org/community/wiki/EJB3 and then 'Tutorial' and then 'Custom 
configuration'


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

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


[jboss-user] [JBoss Messaging Users] - paging problem with orderingGroup enabled

2009-08-27 Thread mclu
Hi Howard!

I solved the orderinggroup handling by using one group and enabled it via 
connectionfactory.
But now after my Server starts up and reloads the paged messages it stops after 
the first set of messages are received.

Means:
To Test I have set fullsize to 20 and pagesize and downcache to 5.
My queue has 2000 messages.

After I received the first 20 messages the system stops. The database still 
contains messages and while debugging I also see that each 5 consumed messages 
the JDBCPersistenceManager.getPagedReferenceInfos() is called to load and add 
the next paged messages. I also saw that the internal messageRef List contains 
these reloaded messages.

But still, after the 20th message the consuming stops.

I first thought that its because of my self written transaction aware  consumer 
that also receives message in order. But after I refactored this back to 
MessageDrivenBean the same error occurs.

My setup:
Queue:

  | 
  | 
  | jboss.messaging:service=ServerPeer
  | 
  |20
  |5
  |5
  | 
  | 

MDB:

  | @MessageDriven(activationConfig = {
  | @ActivationConfigProperty(propertyName = "destinationType", propertyValue = 
"javax.jms.Queue"),
  | @ActivationConfigProperty(propertyName = "destination", propertyValue = 
IMConstants.QUEUE_INCOMINGSYNCREQUESTS),
  | @ActivationConfigProperty(propertyName = "maxSession", propertyValue = "1"),
  | @ActivationConfigProperty(propertyName = "maxMessages", propertyValue = 
"1") })
  | public class GlobalMessageDispatcherBean implements MessageListener {
  | 
  | 

CF:

  |
  |   jboss.messaging:service=ServerPeer
  |   jboss.messaging:service=Connector,transport=sslbisocket
  |   jboss.messaging:service=PostOffice
  | 
  |   
  |  
  | /ConnectionFactory
  | /XAConnectionFactory
  | java:/ConnectionFactory
  | java:/XAConnectionFactory
  |  
  |   
  |   true
  |   IMSDefaultGroup
  |
  | 

Maybe it has to do with this singleton MDB configuration but it should work 
with it too, or?

Using JBM 1.4.5 build 7766



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

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


[jboss-user] [jBPM Users] - Re: JobScheduler going crazy - ignoring wait

2009-08-27 Thread kukeltje
Could you keep us posted? Afaik, jBPM should be able to recover from this in a 
specific amount of time. If this is not your experience, please report that 
here to.


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

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


[jboss-user] [JBoss Portal Users] - Re: How to implement BreadCrumb

2009-08-27 Thread BobBuilder
"lentinig" wrote : I have created a custom tabs.jsp for my application but i 
don't know how i get the current node from the PortalNode or other. I use jboss 
portal 2.7. Can you help me please?
  | 
  | Thanks a lot
  | 

As i have the same problem i would like to know the same...

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

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


[jboss-user] [JBoss AOP Users] - jboss-aop 1.5 compiletime weaved code on jbossaop 2.1

2009-08-27 Thread afloom
Hi,

I have an application (an ejb jar) that was compiletime weaved using jboss-aop 
1.5 (1.5.5 I believe) that I'm trying to deploy on JBoss EAP 5.0 BETA (which 
contains jboss-aop 2.1.3). Should this work? I can't get it to work and I'm 
trying to figure out what the problem is.

What I have is pointcut bindings declared through xml. It is deployed 
separately together with my interceptors in an .aop file
My (aop) interceptors are not called, but other than that my application (the 
ejb) works.

A quick "this should work" or "no, it doesn't work" would be great. I found a 
thread saying that code compiletime weaved with jboss-aop 2.0 should work on 
1.5, but this is the other way around.

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

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


[jboss-user] [Security] - Re: Logging fail authorization checks

2009-08-27 Thread Wolfgang Knauf
Hi,

to activate logging of the security layer: see sticky post "FAQ" in this forum, 
question 4.
You might dig through the log to find out which category provides you with the 
failed authorizations.

Hope this is what you need ;-)

Wolfgang

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

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


[jboss-user] [jBPM Users] - Re: How to control process transition in JBPM 4.0?

2009-08-27 Thread jbarrez
Ronald has pointed out already that your process will always continue if you 
use a 'java' task. It's not for nothing the 'java' task is listed under 
automatic activitites.

If you want to halt process execution, you need to use wait states or tasks. 
These will halt your process until you trigger them to continue.

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

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