[jboss-user] [Remoting] - Re: Timeout waiting for a free socket when an ejb publish a

2009-03-01 Thread ron.si...@jboss.com
The message


  | Caused by: java.lang.IllegalStateException: Timeout waiting for a free 
socket
  |   at 
org.jboss.remoting.transport.socket.MicroSocketClientInvoker.getConnection(MicroSocketClientInv
  | oker.java:1048)
  | 

indicates that all of the pooled connections in the callback client invoker 
(the Remoting invoker on the server side that sends messages to the client 
side) are in use, and the pool has reached its maximum size.  Now, in this 
particular case, JBossMessaging explicitly configures the callback client 
invoker to have a maximum pool size of one, which they do to prevent messages 
from being delivered out of order.  So you don't have the ordinarily available 
option of increasing the pool size.

The suggestion made by Andy Taylor on the JBM thread, increasing the 
'connectionWait' parameter, is a good one, but note that it is implemented only 
in Remoting 2.4.0.GA and above.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213988#4213988

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213988
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Timeout waiting for a free socket when an ejb publish a

2009-03-01 Thread ron.si...@jboss.com
I've posted a comment on this same issue in the Remoting forum thread Timeout 
waiting for a free socket when an ejb publish a jms at 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213988#4213988.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213989#4213989

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213989
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Deployment of JBoss-4.2.2.GA on HP-UX 11i v3 (B.11.31)

2009-03-01 Thread parad
Hi

I am trying to deploy JBoss-4.2.2.GA on HP-UX 11i v3 (B.11.31), and I get the 
following error:

Caused by: java.lang.NoClassDefFoundError: 
org/jboss/security/auth/spi/UsernamePasswordLoginModule
at java.lang.ClassLoader.defineClass1(Native Method)
at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
at java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
at java.net.URLClassLoader.defineClass(URLClassLoader.java:260)
at java.net.URLClassLoader.access$100(URLClassLoader.java:56)
at java.net.URLClassLoader$1.run(URLClassLoader.java:195)
at java.security.AccessController.doPrivileged(Native Method)
at java.net.URLClassLoader.findClass(URLClassLoader.java:188)
at 
org.jboss.mx.loading.RepositoryClassLoader.findClassLocally(RepositoryClassLoader.java:682)
at 
org.jboss.mx.loading.RepositoryClassLoader.findClass(RepositoryClassLoader.java:662)
at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassLocally(RepositoryClassLoader.java:200)
at 
org.jboss.mx.loading.ClassLoadingTask$ThreadTask.run(ClassLoadingTask.java:131)
at org.jboss.mx.loading.LoadMgr3.nextTask(LoadMgr3.java:399)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClassImpl(RepositoryClassLoader.java:527)
at 
org.jboss.mx.loading.RepositoryClassLoader.loadClass(RepositoryClassLoader.java:415)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:92)
at 
org.jboss.mx.loading.LoaderRepositoryClassLoader.loadClass(LoaderRepositoryClassLoader.java:90)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at 
org.jboss.util.loading.DelegatingClassLoader.loadClass(DelegatingClassLoader.java:92)
at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
at java.lang.Class.forName0(Native Method)
at java.lang.Class.forName(Class.java:246)
at javax.security.auth.login.LoginContext.invoke(LoginContext.java:731)
at javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
at java.security.AccessController.doPrivileged(Native Method)
at javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:603)
at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:537)
at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
at 
org.jboss.ejb.plugins.SecurityInterceptor.checkSecurityAssociation(SecurityInterceptor.java:211)
at 
org.jboss.ejb.plugins.SecurityInterceptor.invokeHome(SecurityInterceptor.java:135)
at org.jboss.ejb.plugins.LogInterceptor.invokeHome(LogInterceptor.java:132)


It seems like the JBoss classes are not loaded correctly.
I have deployed already on the same machine JBoss-4.0.5.GA with no problem, and 
it is working fine.

Doe anyone has any experince with it?

Philip

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213991#4213991

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213991
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Deployment of JBoss-4.2.2.GA on HP-UX 11i v3 (B.11.31)

2009-03-01 Thread parad
I forgot to say that I am using JDK1.5

Thanks
Philip

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213992#4213992

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213992
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: TaskInstance order by in taskList.getTaskInstances() ?

2009-03-01 Thread sal.nic
Ronald, you have told the truth, 
rather than go directly on the database to do this thing just for me, I prefer 
that I give a suggestion and make it for everyone ... I'm using jbpm 3.2.3 and 
at this moment I'm in difficult to change it, where to start? 
(I'm new in the opensource world). My skills are:

JAVA: OK
DATABASE: OK (pg, oracle, mysql, sqlserver)
HIBERNATE : KO :( 
SVN : OK





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213993#4213993

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213993
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Jbpm-console problems

2009-03-01 Thread rodosa
Hello, I 've some problems witj jbpm-console. I'm usingo jbpm-jpdl 3.2.3. When 
I access at jbpm-console I get the following errors:

1) I can't see the process definition image. It could be because I export the 
process definition in a .jar not in a .war. How it works?? The exception that 
it's thrown is:


  | 13:25:19,812 WARN  [lifecycle] phase(RENDER_RESPONSE 
6,com.sun.faces.context.facescontexti...@648b64) threw exception: 
java.lang.NullPointerException null
  | 
org.jbpm.jsf.core.phase.ProcessFilePhaseListener.beforePhase(ProcessFilePhaseListener.java:102)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
  | com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:524)
  | 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | java.lang.Thread.run(Thread.java:619)
  | 

2) When I want to examine a process running its thrown this exception. But only 
when the process is running. If it's suspended nothing occurrs. All goes well.


  | java.lang.NullPointerException
  | java.lang.String.compareTo(String.java:1168)
  | java.lang.String.compareTo(String.java:92)
  | 
org.jboss.gravel.data.action.SortActionListener$ELComparator.compare(SortActionListener.java:144)
  | java.util.Arrays.mergeSort(Arrays.java:1270)
  | java.util.Arrays.sort(Arrays.java:1210)
  | java.util.Collections.sort(Collections.java:159)
  | 
org.jboss.gravel.data.action.SortActionListener.processAction(SortActionListener.java:83)
  | javax.faces.event.ActionEvent.processListener(ActionEvent.java:77)
  | 
javax.faces.component.UIComponentBase.broadcast(UIComponentBase.java:746)
  | javax.faces.component.UICommand.broadcast(UICommand.java:368)
  | 
org.jboss.gravel.action.handler.ResponseActionsHandler.onComponentPopulated(ResponseActionsHandler.java:24)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:180)
  | 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 
org.jboss.gravel.common.handler.CollectionHandler.applyNextHandler(CollectionHandler.java:155)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 
com.sun.facelets.tag.CompositeFaceletHandler.apply(CompositeFaceletHandler.java:47)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.applyNextHandler(ComponentHandler.java:314)
  | 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:169)
  | 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  

[jboss-user] [JBoss jBPM] - Re: Hightlight Jbpm process definition image

2009-03-01 Thread rodosa
I did it generating html code, using the width, height, left, right, x and y 
attributes of process diagrams and nodes.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213995#4213995

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213995
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to protect server with a Password ?

2009-03-01 Thread freejohn22
thank you peter!
john

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4213996#4213996

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4213996
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: performance limits of jbpm

2009-03-01 Thread camunda
Sorry, just a very quick answer (since I get my pile of work done and start 
vacations next week :-)): 

If you have actions which cannot be rolled back you should think about 
introducing transaction boundaries (async=true in jbpm) correctly.

For the logging I basically extended the DbLoggingService, but there where some 
tricks to get it to work with the exceptions correctly. Maybe I have time to 
blog about it after my vacations...

Cheers
Bernd

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214007#4214007

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214007
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Own DLQ for EJB3-MDB via ActivationConfigProperty doesn'

2009-03-01 Thread camunda
Hi jaikiran, thanks for the reply!

Just to keep you informed: Since I am going on vacation a colleage will have a 
look at it, maybe he comes back to you...
Cheers
Bernd

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214008#4214008

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214008
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: Error 401 in jboss Negotiation war for the secured test

2009-03-01 Thread ellis2323
i have changed my krb5.conf with :

  | [libdefaults]
  |  default_realm = SCIGEMS.ORG
  |  dns_lookup_realm = true
  |  dns_lookup_kdc = true
  |  ticket_lifetime = 24h
  |  forwardable = yes
  |  default_tkt_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
  |  default_tgs_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
  |  permitted_enctypes = des-cbc-md5 des-cbc-crc des3-cbc-sha1
  | 
But this isn't better.

  | 17:25:45,212 INFO  [STDOUT] Added server's keyKerberos Principal 
host/server1.scigems@scigems.orgkey Version 10key EncryptionKey: keyType=1 
keyBytes (hex dump)=
  | : 16 EA 98 02 F2 C4 51 9E   
  | 17:25:45,212 INFO  [STDOUT] [Krb5LoginModule] added 
Krb5Principal  host/server1.scigems@scigems.org to Subject
  | 17:25:45,212 INFO  [STDOUT] Added server's keyKerberos Principal 
host/server1.scigems@scigems.orgkey Version 10key EncryptionKey: keyType=23 
keyBytes (hex dump)=
  | : EE CF CF 55 CD 38 50 00   3E 4E 6A 7A E5 44 24 96  ...U.8P.Njz.D$.
  | 17:25:45,213 INFO  [STDOUT] [Krb5LoginModule] added 
Krb5Principal  host/server1.scigems@scigems.org to Subject
  | 17:25:45,213 INFO  [STDOUT] Added server's keyKerberos Principal 
host/server1.scigems@scigems.orgkey Version 10key EncryptionKey: keyType=16 
keyBytes (hex dump)=
  | : 68 A7 70 31 31 01 45 3D   AB 08 83 F2 20 67 EA 15  h.p11.E= g..
  | 0010: 64 FB EF 1A 97 45 4A B0   
  | 17:25:45,213 INFO  [STDOUT] [Krb5LoginModule] added 
Krb5Principal  host/server1.scigems@scigems.org to Subject
  | 17:25:45,213 INFO  [STDOUT] Added server's keyKerberos Principal 
host/server1.scigems@scigems.orgkey Version 10key EncryptionKey: keyType=17 
keyBytes (hex dump)=
  | : D8 C3 7C 67 C3 C7 60 60   56 43 31 96 67 3E 4A 53  ...g..``VC1.gJS
  | 17:25:45,213 INFO  [STDOUT] [Krb5LoginModule] added 
Krb5Principal  host/server1.scigems@scigems.org to Subject
  | 17:25:45,214 INFO  [STDOUT] Added server's keyKerberos Principal 
host/server1.scigems@scigems.orgkey Version 10key EncryptionKey: keyType=18 
keyBytes (hex dump)=
  | : 7C 7F 21 2C E9 3C 08 E7   8A 8B 36 F3 44 D6 2C 1A  ..!,.6.D.,.
  | 0010: 96 16 75 46 62 04 60 22   C8 33 3E CD 15 6C 3E D7  ..uFb.`.3..l.
  | 17:25:45,216 INFO  [STDOUT] [Krb5LoginModule] added 
Krb5Principal  host/server1.scigems@scigems.org to Subject
  | 17:25:45,217 INFO  [STDOUT] Commit Succeeded 
  | 17:25:45,282 INFO  [STDOUT] Found key for 
host/server1.scigems@scigems.org(18)
  | 17:25:45,282 INFO  [STDOUT] Found key for 
host/server1.scigems@scigems.org(1)
  | 17:25:45,283 INFO  [STDOUT] Found key for 
host/server1.scigems@scigems.org(23)
  | 17:25:45,283 INFO  [STDOUT] Found key for 
host/server1.scigems@scigems.org(16)
  | 17:25:45,284 INFO  [STDOUT] Found key for 
host/server1.scigems@scigems.org(17)
  | 17:25:45,286 INFO  [STDOUT] Entered Krb5Context.acceptSecContext with 
state=STATE_NEW
  | 17:25:45,291 INFO  [STDOUT]  EType: 
sun.security.krb5.internal.crypto.Des3CbcHmacSha1KdEType
  | 17:25:45,294 ERROR [SPNEGOLoginModule] Unable to authenticate
  | GSSException: Failure unspecified at GSS-API level (Mechanism level: 
Checksum failed)
  | at 
sun.security.jgss.krb5.Krb5Context.acceptSecContext(Krb5Context.java:757)
  | at 
sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:341)
  | at 
sun.security.jgss.GSSContextImpl.acceptSecContext(GSSContextImpl.java:285)
  | at 
org.jboss.security.negotiation.spnego.SPNEGOLoginModule$AcceptSecContext.run(SPNEGOLoginModule.java:294)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at javax.security.auth.Subject.doAs(Subject.java:357)
  | at 
org.jboss.security.negotiation.spnego.SPNEGOLoginModule.login(SPNEGOLoginModule.java:118)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
  | at java.lang.reflect.Method.invoke(Method.java:616)
  | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:784)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:203)
  | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:698)
  | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:696)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:695)
  | at javax.security.auth.login.LoginContext.login(LoginContext.java:594)
  | at 
org.jboss.security.plugins.auth.JaasSecurityManagerBase.defaultLogin(JaasSecurityManagerBase.java:552)
  | at 
org.jboss.security.plugins.auth.JaasSecurityManagerBase.authenticate(JaasSecurityManagerBase.java:486)
  | at 

[jboss-user] [JBoss/Spring Integration] - DI of spring-beans without annotations?

2009-03-01 Thread greeneagle
Is it possible to inject Spring-beans into EJB without the @Spring-annotation 
using XML-descriptor instead?

Regards,
Michael

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214013#4214013

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214013
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Tools (users)] - RESOLVED (was Re: Unsatisfied dependencies)

2009-03-01 Thread nickboldt
Now that the Ganymede SR2 updates have been published, you should be able to 
install from either of these sites w/o needing to add anything else to 
Eclipse's list of update sites:

http://download.jboss.org/jbosstools/updates/JBossTools-3.0.0.CR2/
http://download.jboss.org/jbosstools/updates/development/

I just tried it and it works fine. I started from the Eclipse Ganymede SR2 JEE 
Bundle (which includes Eclipse 3.4.2 and Web Tools 3.0.4), but you can use 
something smaller if you prefer (eg., as small as the Eclipse 3.4.2 Platform 
Runtime Binary). 

http://www.eclipse.org/downloads/packages/release/ganymede/sr2

Eclipse's Install Manager should be able to find all the requirements needed 
for JBoss Tools 3 from the Ganymede SR2 update site.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214018#4214018

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214018
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Portal] - Simple navigations in CMS - not possible??

2009-03-01 Thread ops
Hello everyone, 

I´m experimenting with JBoss Portal and I am wondering whether there is no 
simple way to build somthing like a html link menu to access several pages 
within the cms. I searched all reference manuals but found no hints to do that 
without coding a portlet. Certainly - I can build such a menu as a static html 
file and show it in the cms portlet. But what if the content shall be changed 
from another portlet window, e.g. a nav-bar in the left column? 

I found a hint to call the pages via 
/portal/MyPortal/default/Content?action=2uri=/ItemN/index.html, but this 
doesnt work for me, because JBoss always switches the portal url to things 
like: 
http://localhost:8080/portal/auth/portal/MeinPortal/Startseite/CMSWindow?action=2uri=%2Fbook%2Findex.html;

Any hints or ideas?
Thanks, 
Oliver

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214022#4214022

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214022

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


[jboss-user] [Security JAAS/JBoss] - timeoutHandler(Timer timer) calling other ejb's

2009-03-01 Thread mnouw...@future-earth.eu
I have the following issue.

I have bean that has a timeoutHandler. It will acces local methods and Entity 
beans without any problem but when accessing a method on

@EJB
private UserManagerLocal userManager = null;

Where Permitt all is set it throws 
 [TimerImpl] Error invoking ejbTimeout: javax.ejb.EJBAccessException: 
Authentication failure

the guest user is set on the security domain for unautenticated sessions

Anybody ideas on what is happening

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214025#4214025

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214025
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Security JAAS/JBoss] - Re: timeoutHandler(Timer timer) calling other ejb's

2009-03-01 Thread mnouw...@future-earth.eu
under water it trows

2009-03-01 20:40:44,423 DEBUG 
[org.jboss.ejb3.security.Ejb3AuthenticationInterceptor] Authentication failure
javax.security.auth.login.FailedLoginException: No matching username found in 
Principals

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214026#4214026

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214026
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2009-03-01 Thread jshowalter
Is there a way to tell the cache to only send notifications for certain 
operations, period?

We were able to turn cacheModeLocal on and off as needed based on whether an 
operation was supposed to notify other caches in a cluster, and on whether the 
cache is in a cluster.

But now we have a new problem: suppose a sequence of calls is made to the 
cache, all under one transaction. Some of those calls result in local faults, 
reads from the database, and local puts--which are of no interest to other 
caches--but other calls are caching of new data that is of interest to other 
caches.

If we set cacheModeLocal(true) for the first kind of operation and false for 
the second kind of operation, but both kinds of operations are performed on the 
same thread under the same transaction, then the final state of cache mode 
local is unpredictable, and it can't be right all the time for either kind of 
operation (either we wind up sending unwanted chatter to other caches in the 
cluster, or we wind up not sending necessary notifications to other caches in 
the cluster).

What we really want is to be able to say is notify only for these puts and not 
for these other puts, and have the setting for the two kinds of puts stick.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214028#4214028

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214028
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Performance Tuning] - Re: Increase jboss Memory

2009-03-01 Thread daniel.celentano
Eelshereif,

Try out with this:

JAVA_OPTS=$JAVA_OPTS -Xms4096m -Xmx4096m -XX:+UseParallelGC 
-XX:ParallelGCThreads=5 -verbose:gc

Daniel

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214029#4214029

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214029
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Cache: Core Edition] - Re: Why does TreeCache notify when putting data gotten by a

2009-03-01 Thread jshowalter
Or is this question moot if we port to 2.x and call putForExternalRead for the 
local puts we don't want to notify other caches about?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214031#4214031

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214031
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Management, JMX/JBoss] - Re: How to retreive size of JMS queue (same jboss instance,

2009-03-01 Thread lgmqy2000
By the way, using the code above, i can retreive the depth of a jms queue 
deployed within the monitoring aplication itself, but i need to get depth of 
the queues deployed on app1, app2 and app3.

Any advise would be much appreciated.

Tony

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214032#4214032

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214032
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Help in understanding deployment of war's

2009-03-01 Thread soimafreak
Hi, 

I'm pretty new to jboss, have seen and touched it and even installed it (RHEL 
systems) but other than that I don't know much else.

I know that to deploy an application I can put it in the default/deploy 
directory but I don't know much more than that, I know that on a RHEL4/5 system 
in /etc/sysconfig/ you can set the java home, jboss home directory, bind 
address etc. I know there's some sort of context path set but not sure of the 
importance of this or even where to set them. Likewise I'm not sure of the 
importance of the war file name etc etc.

I'm trying to in general increase my general awareness of jboss hence visiting 
the site to trawl through some documents.

Normally this is all taken care of our Development teams and we just deploy 
them. Which is great until you have issues.

At this moment in time I have a rather specific query.

If possible I'd like to know what might happen if file1.war was copied and 
renamed to file2.war but left within the deploy directory. Could this cause 
issues? 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214033#4214033

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214033
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Combining my persistent classes with the JBPM persistent

2009-03-01 Thread rukahammer
nobody can help me?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214038#4214038

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214038
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Re: Combining my persistent classes with the JBPM persistent

2009-03-01 Thread salaboy21
you should change the strategy of generating tables in hibernate to
hibernate.hbm2ddl.auto=update. check at hibernate documentation.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214041#4214041

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214041
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Urgent: Problem of deploy a war on JBoss 5.0

2009-03-01 Thread SARA1232007
Hi jaikiran,

It is solved as your advice.

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214046#4214046

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214046
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Does anyone deploy apache muse on JBoss successfully?

2009-03-01 Thread SARA1232007
Hi jaikiran,

It is the same issue in my other post. It is solved as your advice. 

Thanks.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214047#4214047

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214047
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: JVM container?

2009-03-01 Thread kkangsar
Hi Wolfgang,

  You are clearing my doubt. Thanks a lot

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214049#4214049

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214049
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: JBoss messaging client timeout

2009-03-01 Thread gaohoward
That's great! Thanks for the updating.


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214051#4214051

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214051
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss jBPM] - Writing to custom tables not defined by JBPM

2009-03-01 Thread joshsiaw
Hi, I'm a new user and am wondering whether it's possible to have JBPM save 
records to user-defined tables. (For example, saving fields in a form to 
separate tables) I'm guessing this can be done using handlers but am not sure 
how to go about it. Is anyone able to shed some light on this topic?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214052#4214052

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214052
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossMQ] - MQ solution

2009-03-01 Thread eng_shaheen
Hi ALL,
I am developing application that requires connectivity to multiple 3rd party 
servers ,so, some times I may lose the connection with one of those servers .

I think then message queuing must be implemented .
so, what is the best MQ tech available ?, can use JMS to implement such 
Asynchronous calls ?

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214058#4214058

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214058
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - How to configure error page for all WARs in JBoss 4.0.3

2009-03-01 Thread yeats
Hi All,

   How to configure error page for all WARs in JBoss 4.0.3!
   I hope it can detect  404  500 503etc 
   If page happen any exception or error , it can direct to common Error  
   Page for all war in the same Jboss.

   If anyone know,please help me !

 Thank you very much!

Yeats

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214059#4214059

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214059
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Starting JBoss as a Service on Windows XP has an issue

2009-03-01 Thread parag.goyal
Hi Mladen,

Thanks for the solution 

Replacing 

REM Add bin/native to the PATH if present
if exist %JBOSS_HOME%\bin\native set PATH=%JBOSS_HOME%\bin\native;%PATH%

with(As you suggested work well , Hence JBoss is able to start as a service) 

REM Add bin/native to the PATH if present
if exist %JBOSS_HOME%\bin\native set 
PATH=%JBOSS_HOME%\bin\native;%PATH%;%JBOSS_HOME%\bin

More over it is able to start with below given 2 replacements .

1 .
REM Add bin/native to the PATH if present
if exist %JBOSS_HOME%\bin\native set 
PATH=%PATH%;%JBOSS_HOME%\bin\native;(%PATH% is prefixed instead of postfix)

2. 
REM Add bin/native to the PATH if present
if exist %JBOSS_HOME%\bin\native set 
PATH=%JBOSS_HOME%\bin\native;%PATH%;(only semicolor is added at the end of path)

do u think will there be any problem due these 2 alternatives.

One more think . 
I could not understand why it is the problem of run.bat why not jbosssvc.exe ? 
Becuase i am able to run JBoss AS from run.bat directly any how with or without 
trailing slash at last of PATH enviornment variable but problem encountered 
only when we run JBoss as a service(which uses jbosssvc.exe).

Thaks,
parag

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214061#4214061

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214061
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Help in understanding deployment of war's

2009-03-01 Thread PeterJ
If you rename server/xxx/deploy/file1.war to server/xxx/deploy/file2/war, then 
the application with context /file1 would be undeployed and the application 
with context /file2 would be deployed.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214066#4214066

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214066
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBossWS] - Upgrade AS 4.2.3 WS to 3.0.5

2009-03-01 Thread chuaky
hi,

Recently i upgraded the WS module in Jboss Portal 2.7.1 (using AS 4.2.3) 
because i want to run it offline and there is this issue here:

http://www.jboss.org/community/docs/DOC-12633


Later i notice that jbossws-client.jar is missing from my AS 
installation/client folder.  It seems that jbossws-client.jar has been removed 
since jbossws-3.0.2. 

What is the new jars files after 3.0.2 that are equivalent to the old 
jbossws-client.jar.   I need them to make a standalone web service client.

Thank you.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214068#4214068

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214068
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Injection of QueueConnectionFactory and Queue from ENC i

2009-03-01 Thread jaikiran
Finally got some time to figure this out.

The application-client.xml and the jboss-client.xml provide specific elements 
for referencing message destinations (queue/topic). So instead of using a 
resource-ref for a queue, use the message-destination-ref as follows:

?xml version=1.0 encoding=UTF-8?
  | 
  | application-client id=Application-client_ID version=5
  | xmlns=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/application-client_5.xsd;
  | display-name
  | MessageClient/display-name
  | 
  | 
  | resource-ref
  |   res-ref-namejms/MBConnectionFactory/res-ref-name
  |   res-typejavax.jms.QueueConnectionFactory/res-type
  |   res-authContainer/res-auth
  |/resource-ref
  | 
  | message-destination-ref
  |   
message-destination-ref-namejms/MBQueueRef/message-destination-ref-name
  |   message-destination-typejavax.jms.Queue/message-destination-type
  | 
  | /message-destination-ref
  | 
  | 
  | /application-client
  | 
  | 

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE jboss-client PUBLIC
  |   -//JBoss//DTD Application Client 5.0//EN
  |   http://www.jboss.org/j2ee/dtd/jboss-client_5_0.dtd;
  | jboss-client
  | 
  |   jndi-nameMessageClient/jndi-name
  | 
  |   resource-ref
  |   res-ref-namejms/MBConnectionFactory/res-ref-name
  |   jndi-nameConnectionFactory/jndi-name
  |   /resource-ref
  | 
  | message-destination-ref
  |   
message-destination-ref-namejms/MBQueueRef/message-destination-ref-name
  |   jndi-namequeue/MessageBeanQueue/jndi-name
  | /message-destination-ref
  | 
  | 
  | /jboss-client
  | 

Then you can use @Resource in the application client to inject this:

  @Resource(name=jms/MBConnectionFactory)
  |   private static QueueConnectionFactory queueConnectionFactory;
  | 
  |   @Resource(name=jms/MBQueueRef)
  |   private static Queue queue;
  | 

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214070#4214070

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214070
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to configure error page for all WARs in JBoss 4.0.3

2009-03-01 Thread PeterJ
Try adding error-page/error-code entries to the 
server/xxx/deploy/jbossweb-tomcat55.sar/conf/web.xml file. This file is the 
master web.xml file applied to all web applications.

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214073#4214073

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214073
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Jboss messaging in jboss 5.0

2009-03-01 Thread svsubramanyam007
Hi 
 Am new to this messaging, recetly i have upgraded to Jboss messaging.
I read somedid necessary changes in config files and ... when deploying it 
complains abt the jndi is null. can any one tell me wher am going wrong..


My *-service.xml file is

server
  | 
  | !--
  | code=org.jboss.mq.server.jmx.Topic 
  | 
  | mbean
  | code=org.jboss.mq.server.jmx.Topic 
  | name=com.barco.event:service=Topic,name=events 
  | attribute name=JNDINametopic/events/attribute
  | attribute name=InMemorytrue/attribute
  | depends optional-attribute-name=DestinationManager
  | jboss.mq:service=DestinationManager
  | /depends
  | depends optional-attribute-name=SecurityManager
  | jboss.mq:service=SecurityManager
  | /depends
  | /mbean --
  | 
  | mbean code=org.jboss.jms.server.destination.TopicService 
name=com.barco.event:service=Topic,name=events 
xmbean-dd=xmdesc/Topic-xmbean.xml 
  | 
  | depends 
optional-attribute-name=ServerPeerjboss.messaging:service=ServerPeer/depends
  | dependsjboss.messaging:service=PostOffice/depends
  |   !--  attribute name=SecurityConfig
  |security
  | role name=guest read=true write=true/
  | role name=publisher read=true write=true create=false/
  | role name=durpublisher read=true write=true 
create=true/
  |  /security
  |   /attribute --
  |   
  | /mbean
  | /server

MDB code goes like this..

@MessageDriven(activationConfig = {...@activationconfigproperty(propertyName = 
destinationType, propertyValue = javax.jms.Topic),
  | @ActivationConfigProperty(propertyName = destination, 
propertyValue = topic/events)})
  | @Depends({com.barco.event.emitters:service=BarcoBroadcastService, 
jboss:service=Naming})
  | public class BarcoBroadcastMDB
  | implements MessageListener
  | {
  | 
  | private static Logger mLogger = 
Logger.getLogger(BarcoBroadcastMDB.class);
  | 
  | @Depends({com.barco.event.emitters:service=BarcoBroadcastService})
  | static BarcoBroadcastServiceMBean mBroadcastService;



Jboss Console  shows..

11:47:54,179 INFO  [JBossASKernel] Added 
bean(jboss.j2ee:jar=PerspectiveManagement.jar,name=PerspectiveMgtAPIImpl,service=EJB3)
 to KernelDeployment of: PerspectiveManagement.jar
  | 11:47:54,179 INFO  [JBossASKernel] installing bean: 
jboss.j2ee:jar=PerspectiveManagement.jar,name=BarcoBroadcastMDB,service=EJB3
  | 11:47:54,179 INFO  [JBossASKernel]   with dependencies:
  | 11:47:54,179 INFO  [JBossASKernel]   and demands:
  | 11:47:54,179 INFO  [JBossASKernel]  jboss.ejb:service=EJBTimerService
  | 11:47:54,179 INFO  [JBossASKernel]   and supplies:
  | 11:47:54,179 INFO  [JBossASKernel]  jndi:null
  | 11:47:54,179 INFO  [JBossASKernel]  Class:javax.jms.MessageListener
  | 11:47:54,179 INFO  [JBossASKernel] Added 
bean(jboss.j2ee:jar=PerspectiveManagement.jar,name=BarcoBroadcastMDB,service=EJB3)
 to KernelDeployment of: PerspectiveManagement.jar


Often this exception floats



  | 11:47:59,633 WARN  [JmsActivation] Failure in jms activation 
org.jboss.resource.adapter.jms.inflow.jmsactivations...@874c04(ra=org.jboss.resource.adapter.jms.jmsresourceadap...@68d0ca
 destination=topic/events destinationType=javax.jms.Topic tx=true durable=false 
reconnect=10 provider=java:/DefaultJMSProvider user=null maxMessages=1 
minSession=1 maxSession=15 keepAlive=6 useDLQ=true 
DLQHandler=org.jboss.resource.adapter.jms.inflow.dlq.GenericDLQHandler 
DLQJndiName=queue/DLQ DLQUser=null DLQMaxResent=5)
  | javax.naming.NameNotFoundException: events not bound
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:771)
  | at org.jnp.server.NamingServer.getBinding(NamingServer.java:779)
  | at org.jnp.server.NamingServer.getObject(NamingServer.java:785)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:443)
  | at org.jnp.server.NamingServer.lookup(NamingServer.java:399)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:722)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:682)
  | at javax.naming.InitialContext.lookup(InitialContext.java:392)
  | at org.jboss.util.naming.Util.lookup(Util.java:222)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setupDestination(JmsActivation.java:464)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation.setup(JmsActivation.java:352)
  | at 
org.jboss.resource.adapter.jms.inflow.JmsActivation$SetupActivation.run(JmsActivation.java:729)
  | at org.jboss.resource.work.WorkWrapper.execute(WorkWrapper.java:213)
  | at 
org.jboss.util.threadpool.BasicTaskWrapper.run(BasicTaskWrapper.java:260)
  | at 

[jboss-user] [EJB/JBoss] - Hib+EJB3+JSF = classLoader is not connected to a domain

2009-03-01 Thread anthon.r
JBoss 5.0.0.GA
Hibernate 3.3.1.GA
Annotations,EM 3.4.0.GA
MySQL 5

I've made an EAR with ejb-jar, war and datasource with it. I'm getting 
exceptions whenever my session bean is trying to invoke methods from my 
injected entity manager.

My session bean 

@Stateless
  | public class UserAccountsBean implements UserAccountsLocal, 
UserAccountsRemote {
  | 
  | @PersistenceContext(unitName=demoproj-unit)
  | private EntityManager em;   
  | 
  | // other methods
  | 
  | @TransactionAttribute(TransactionAttributeType.REQUIRED)
  | public UserAccount getUserAccountByUsername(String username)
  | throws UserDoesNotExistException
  | {
  | // I'm making things simple for debugging
  | UserAccount uat = em.find(UserAccount.class, 3L);
  | return uat;
  | }
  | }

My JSF managed bean

public class Login {
  | 
  | @EJB(
  | beanInterface=UserAccountsLocal.class,
  | mappedName=demoproj-ear/UserAccountsBean/local)
  | UserAccountsLocal uab;
  | 
  | // other props and meths
  | 
  | public String login() {
  | // Authenticate user
  | try 
  | { 
  | this.setLogin(
  | uab.getUserAccountByUsername( 
this.getUsername() ) 
  | );
  | } 
  | catch (UserDoesNotExistException e) 
  | {
  | FacesContext.getCurrentInstance().addMessage(null,
  | new FacesMessage(Invalid username or 
password));  
  | return ConstantsHelper.OUTCOME_FAILURE;
  | }
  | 
  | this.setAuthenticated(true);
  | return ConstantsHelper.OUTCOME_SUCCESS;
  | }

My hib config

?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE hibernate-configuration PUBLIC
  | -//Hibernate/Hibernate Configuration DTD 3.0//EN
  | 
http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd;
  | hibernate-configuration
  | session-factory name=MySessionFactory
  | 
  | !-- JTA Datasource config --
  | property name=hibernate.transaction.manager_lookup_class
  | org.hibernate.transaction.JBossTransactionManagerLookup
  | /property
  | property name=hibernate.transaction.factory_class
  | org.hibernate.transaction.JTATransactionFactory
  | /property
  | !-- JNDI location of Datasource --
  | property 
name=hibernate.connection.datasourcejava:/demoproj/property
  | 
  | !-- Other props --
  | property 
name=hibernate.dialectorg.hibernate.dialect.MySQL5Dialect/property
  | property name=hibernate.connection.autocommitfalse/property
  | mapping class=tonsky.demoproj.entities.PersonalInfo/
  | mapping class=tonsky.demoproj.entities.Role/
  | mapping class=tonsky.demoproj.entities.UserAccount/
  | 
  | /session-factory
  | /hibernate-configuration

My ear descriptor:

?xml version=1.0 encoding=UTF-8?
  | application xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xmlns=http://java.sun.com/xml/ns/javaee; 
xmlns:application=http://java.sun.com/xml/ns/javaee/application_5.xsd; 
xsi:schemaLocation=http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd; id=Application_ID 
version=5
  |   display-namedemoproj-ear/display-name
  |   module
  | ejbdemoproj-ejb.jar/ejb
  |   /module
  |   module
  | web
  |   web-uridemoproj.war/web-uri
  |   context-rootdemoproj/context-root
  | /web
  |   /module
  | /application

My stacktrace:

14:55:21,778 WARN  [TxConnectionManager] Connection error occured: 
org.jboss.resource.connectionmanager.txconnectionmanager$txconnectioneventliste...@600b1b[state=normal
 mc=org.jboss.resource.adapter.jdbc.local.localmanagedconnect...@da414e 
handles=1 lastUse=1235965772046 permit=true trackByTx=true 
mcp=org.jboss.resource.connectionmanager.jbossmanagedconnectionpool$onep...@5587a0
 
context=org.jboss.resource.connectionmanager.internalmanagedconnectionp...@13b3437
 
xaresource=org.jboss.resource.connectionmanager.txconnectionmanager$localxaresou...@eaee56
 txSync=null]
  | java.lang.IllegalStateException: 
baseclassloa...@1f30e51{vfszip:/C:/Software/Server/jboss-5.0.0.GA/server/default/deploy/demoproj-ear.ear}
 classLoader is not connected to a domain (probably undeployed?) for class 
java.sql.Timestamp
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClassFromDomain(BaseClassLoader.java:730)
  | at 
org.jboss.classloader.spi.base.BaseClassLoader.loadClass(BaseClassLoader.java:378)
  | at java.lang.ClassLoader.loadClass(Unknown Source)
  | at java.lang.ClassLoader.loadClassInternal(Unknown Source)
  | at 

[jboss-user] [JBoss Messaging] - Re: Jboss messaging in jboss 5.0

2009-03-01 Thread gaohoward
Jboss AS comes with jboss messaging 1.4.1.GA, your Topic config seems stay 
Jboss mq style, which doesn't work with the jboss messaging. Have a look at 
AS5_home/docs/examples/jms/example-destinations-service.xml and make changes 
to your config accordingly. Hope that can help.





View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214078#4214078

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214078
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Jboss messaging in jboss 5.0

2009-03-01 Thread svsubramanyam007
gaohoward wrote : Jboss AS comes with jboss messaging 1.4.1.GA, your Topic 
config seems stay Jboss mq style, which doesn't work with the jboss messaging. 
Have a look at AS5_home/docs/examples/jms/example-destinations-service.xml 
and make changes to your config accordingly. Hope that can help.
  | 
  | 
  | 
  |Thanks a lot for your reply, i changed according JBMessaging style if 
you can see the my *.service file...i commented JBossMQ and so they appear..
if am still wrong can u please point me on that



View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214079#4214079

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214079
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [EJB 3.0] - Re: Annotations processing does not work with isolated class

2009-03-01 Thread jaikiran
Works fine for me. Please post more details including the configuration files 
(application.xml and jboss-app.xml) and the source code where the session 
context is being injected and used.

Also are you packaging any jar files containing javax.ejb.* or 
javax.annotation.* or any jboss specific jar files in your application? If yes, 
then remove those from the application. Also please post the output of:

jar -tf myapp.ear

View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214081#4214081

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214081
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user


[jboss-user] [JBoss Messaging] - Re: Jboss messaging in jboss 5.0

2009-03-01 Thread gaohoward
Sorry for being ignorant. It looks like the topic 'events' is not registered 
with jndi. Are you able to see the 'events' topic through the AS's management 
console?


View the original post : 
http://www.jboss.org/index.html?module=bbop=viewtopicp=4214083#4214083

Reply to the post : 
http://www.jboss.org/index.html?module=bbop=postingmode=replyp=4214083
___
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user