[jboss-user] [Beginners Corner] - Re: Where do i report bugs and documentation errors?

2007-07-17 Thread berliita
Thanks, Peter. :) I see JIRA has a Documentation section too.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ConnectionFactory not bound Exception... - Noobie

2007-07-17 Thread galrub
here is the stacktrace:
--

javax.naming.NameNotFoundException: ConnectionFactory not bound
at org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
at org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
at org.jnp.server.NamingServer.getObject(NamingServer.java:543)
at org.jnp.server.NamingServer.lookup(NamingServer.java:296)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:294)
at sun.rmi.transport.Transport$1.run(Transport.java:153)
at java.security.AccessController.doPrivileged(Native Method)
at sun.rmi.transport.Transport.serviceCall(Transport.java:149)
at 
sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:466)
at 
sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:707)
at java.lang.Thread.run(Thread.java:595)
at 
sun.rmi.transport.StreamRemoteCall.exceptionReceivedFromServer(StreamRemoteCall.java:247)
at 
sun.rmi.transport.StreamRemoteCall.executeCall(StreamRemoteCall.java:223)
at sun.rmi.server.UnicastRef.invoke(UnicastRef.java:126)
at org.jnp.server.NamingServer_Stub.lookup(Unknown Source)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
at javax.naming.InitialContext.lookup(InitialContext.java:351)
at LookUptest.main(LookUptest.java:24)



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

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


[jboss-user] [JBoss Seam] - Re: What I wouldn't give for...

2007-07-17 Thread dan.j.allen
Very good...but what I really want is to attach A to B so that we can get this 
data out of here. I am assuming that is the long term goal. We don't need just 
another forum software. We need this data in another forum software.

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

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


[jboss-user] [JBoss Seam] - No active conversation context error - Is this normal?

2007-07-17 Thread amitev
Hi all! I have the following code in my pages.xml


  | page view-id=/pages/project/edit.xhtml
  | navigation from-action=#{projectAction.createProject}
  | redirect view-id=/pages/project/details.xhtml /
  | /navigation
  | navigation from-action=#{projectAction.updateProject}
  | redirect view-id=/pages/project/details.xhtml /
  | /navigation
  | 
  | 
  | /page
  | 

But before i made a copy-paste mistake and the code was:


  | page view-id=/pages/project/edit.xhtml
  | navigation from-action=#{projectAction.createProject}
  | redirect view-id=/pages/project/details.xhtml /
  | /navigation
  | navigation from-action=#{projectAction.createProject}
  | redirect view-id=/pages/project/details.xhtml /
  | /navigation
  | 
  | 
  | /page
  | 

The createProject from-action was repeated twice, but seam throws an exception: 
java.lang.IllegalStateException: No active conversation context
This message is not telling much to me.


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

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


[jboss-user] [Beginners Corner] - Can i view a list of all my forum posts?

2007-07-17 Thread berliita
Is it possible to view a list of all the posts a certain user added to the 
forums? Specifically, i'd like to be able to track the history of all my own 
posts.

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Section 2.2.3: Security Service. A documentation bug.

2007-07-17 Thread berliita
Should i report this bug on JIRA?

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

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


[jboss-user] [JNDI/Naming/Network] - Re: ConnectionFactory not bound Exception... - Noobie

2007-07-17 Thread galrub
from what I can find on the net, it's seems that because nether it the 
datasources are in the global namespaces even thou that when trying a 
lookup for QueueConnectionFactory I get the same stacktrace with 
ConnectionFactory not bound... so it's not clear to if the namespaces are the 
problem or something else

by the way, how do we move them datasources to global namespaces? 

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

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


[jboss-user] [EJB/JBoss] - Exception in deploying ejb with Oracle but works with defaul

2007-07-17 Thread ashusri000
Hi All ,
I am trying to deploy a stateless bean and an entity bean and along with it I 
am using Hibernate as persistence provider but to my surprise , the code works 
fine with default data source(the one embedded in JBoss) but when I use the 
jndi name that I have used with the orcale-ds.xml file (in persistence.xml) 
file the deployment just throws up this exception and code does not works out . 
This is the exception that I am getting :

code:


[ServiceController] Problem starting service 
jboss.j2ee:ear=EJB3Trail.ear,jar=beans.jar,name=EntityCalculator,service=EJB3
java.lang.NullPointerException
at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.listTimerHandles(DatabasePersistencePolicy.java:165)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
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 $Proxy30.listTimerHandles(Unknown Source)
at 
org.jboss.ejb.txtimer.EJBTimerServiceImpl.restoreTimers(EJBTimerServiceImpl.java:408)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
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 $Proxy73.restoreTimers(Unknown Source)
at 
org.jboss.ejb3.timerservice.jboss.JBossTimerServiceFactory.restoreTimerService(JBossTimerServiceFactory.java:120)
at 
org.jboss.ejb3.stateless.StatelessContainer.start(StatelessContainer.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.ejb3.ServiceDelegateWrapper.startService(ServiceDelegateWrapper.java:103)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
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 $Proxy54.start(Unknown Source)
at 
org.jboss.ejb3.JmxKernelAbstraction.install(JmxKernelAbstraction.java:120)
at 

[jboss-user] [JBossWS] - How to define context for EJB3 web service

2007-07-17 Thread [EMAIL PROTECTED]
How do I define the web context for SLSB that I expose using @WebService?

This is not a web app, so no web.xml or the like.

I'd like to be able to do this using deploy-time configuration or at worst 
build time configuration.

An annotation (e.g. @WebContext) does not allow me to have different 
deployments of the same code in the same app server - for example dev and 
staging web services running on same app server need to have different URLs to 
the web service.

Thanks

Michael

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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread baz
Now totally clueless. 
Found the example definition of an oracle XA datasource in the 
docs\examples\jca folder of JBOss As and adapted it:
  xa-datasource
  | jndi-nameOracle/jndi-name
  | track-connection-by-tx/
  | isSameRM-override-valuefalse/isSameRM-override-value
  | 
xa-datasource-classoracle.jdbc.xa.client.OracleXADataSource/xa-datasource-class
  | xa-datasource-property 
name=URLjdbc:oracle:thin:@172.31.10.32:1521:xe/xa-datasource-property
  | xa-datasource-property name=Usereadb/xa-datasource-property
  | xa-datasource-property name=Passwordoracle/xa-datasource-property
  | !-- Uses the pingDatabase method to check a connection is still valid 
before handing it out from the pool --
  | 
!--valid-connection-checker-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleValidConnectionChecker/valid-connection-checker-class-name--
  |  !-- Oracles XA datasource cannot reuse a connection outside a 
transaction once enlisted in a global transaction and vice-versa --
  | no-tx-separate-pools/
  |!-- Checks the Oracle error codes and messages for fatal errors --
  | 
exception-sorter-class-nameorg.jboss.resource.adapter.jdbc.vendor.OracleExceptionSorter/exception-sorter-class-name
  | 
  |   !-- corresponding type-mapping in the standardjbosscmp-jdbc.xml 
(optional) --
  |   metadata
  |  type-mappingOracle9i/type-mapping
  |   /metadata
  |   /xa-datasource
  | 
  |   mbean 
code=org.jboss.resource.adapter.jdbc.vendor.OracleXAExceptionFormatter 
  |  name=jboss.jca:service=OracleXAExceptionFormatter
  | depends 
optional-attribute-name=TransactionManagerServicejboss:service=TransactionManager/depends
  |   /mbean
  | 
but this results in this exception:
08:20:32,745 INFO  [STDOUT] Hibernate: select experiment0_.ExperimentID as 
Experime1_76_, experiment0_.Size as Size76_, experiment0_.SowingYear as 
SowingYear76_, experiment0_.Description as Descript4_76_, 
experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as 
SowingDate76_, experiment0_.AddressCode as AddressC7_76_, 
experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerCode as 
PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, 
experiment0_.ExperimentCode as Experim11_76_, experiment0_.ExperimentName as 
Experim12_76_, experiment0_.SiteID as SiteID76_, experiment0_.HarvestDate as 
Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as 
Samples76_, experiment0_.Replications as Replica17_76_ from EXPERIMENT 
experiment0_ limit ?
  | 08:20:32,916 ERROR [XAManagedConnectionFactory] Start transaction failed 
for [EMAIL PROTECTED]
  | 08:20:32,916 WARN  [TxConnectionManager] Connection error occured: [EMAIL 
PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1184653232885 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=null]
  | oracle.jdbc.xa.OracleXAException
  | at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
  | at 
oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
  | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121)
  | at 
org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | 
Can anyone tell me what is wrong?
And given the fact that XA is necessary, where to find 

[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread vickyk
Try setting pad=true in the jboss-service.xml file , refer to this 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAOracleDatasource


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

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


[jboss-user] [EJB 3.0] - what happen with my entity bean , need expert help

2007-07-17 Thread ejbiva
I just a new learner for EJB3.0.I download the jboss-EJB-3.0_Preview_2 for 
testing ,and the session bean is ok,but when I run the entity bean ,the fatal 
error occurs .That seems like lots of mess .My environment is Jboss4.2.0GA. The 
exception just as follow.


 [java] Exception in thread main javax.ejb.EJBException: 
java.lang.NullPoi
nterException
 [java] at org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxP
olicy.java:63)
 [java] at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)

 [java] at org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxIntercep
tor.java:191)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropag
ationInterceptor.java:76)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(St
atefulInstanceInterceptor.java:83)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.aspects.security.AuthenticationInterceptor.invoke(A
uthenticationInterceptor.java:77)
 [java] at org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(
Ejb3AuthenticationInterceptor.java:106)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagatio
nInterceptor.java:46)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(As
ynchronousInterceptor.java:106)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.stateful.StatefulContainer.dynamicInvoke(State
fulContainer.java:333)
 [java] at org.jboss.aop.Dispatcher.invoke(Dispatcher.java:106)
 [java] at org.jboss.aspects.remoting.AOPRemotingInvocationHandler.invok
e(AOPRemotingInvocationHandler.java:82)
 [java] at org.jboss.remoting.ServerInvoker.invoke(ServerInvoker.java:73
4)
 [java] at org.jboss.remoting.transport.socket.ServerThread.processInvoc
ation(ServerThread.java:560)
 [java] at org.jboss.remoting.transport.socket.ServerThread.dorun(Server
Thread.java:369)
 [java] at org.jboss.remoting.transport.socket.ServerThread.run(ServerTh
read.java:165)
 [java] at org.jboss.remoting.MicroRemoteClientInvoker.invoke(MicroRemot
eClientInvoker.java:163)
 [java] at org.jboss.remoting.Client.invoke(Client.java:1550)
 [java] at org.jboss.remoting.Client.invoke(Client.java:530)
 [java] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(Inv
okeRemoteInterceptor.java:62)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(Cl
ientTxPropagationInterceptor.java:61)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(S
ecurityClientInterceptor.java:53)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInte
rceptor.java:72)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRe
moteProxy.java:135)
 [java] at $Proxy1.checkout(Unknown Source)
 [java] at org.jboss.tutorial.entity.client.Client.main(Client.java:44)
 [java] at org.jboss.aspects.remoting.InvokeRemoteInterceptor.invoke(Inv
okeRemoteInterceptor.java:74)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.aspects.tx.ClientTxPropagationInterceptor.invoke(Cl
ientTxPropagationInterceptor.java:61)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.aspects.security.SecurityClientInterceptor.invoke(S
ecurityClientInterceptor.java:53)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.remoting.IsLocalInterceptor.invoke(IsLocalInte
rceptor.java:72)
 [java] at org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInv
ocation.java:101)
 [java] at org.jboss.ejb3.stateful.StatefulRemoteProxy.invoke(StatefulRe
moteProxy.java:135)
 [java] at $Proxy1.checkout(Unknown Source)
 [java] at org.jboss.tutorial.entity.client.Client.main(Client.java:44)
 [java] Caused by: 

[jboss-user] [Datasource Configuration] - Re: Error when making mysql as the default datasource

2007-07-17 Thread Deep_Edward
Hi,

The above mentioned query has been solved and the data is saved(i.e. gets 
persistent) in the MySql table created when the JBoss server is started.

The user has to create a database 'jboss' in MySql  and grant ALL privileges to 
it. 

In mysql-ds.xml (in  /server/default/deploy/)make the following changes:

datasources 
  | local-tx-datasource 
  | jndi-nameMySqlDS/jndi-name 
  | connection-urljdbc:mysql://localhost:3306/jboss/connection-url 
  | driver-classcom.mysql.jdbc.Driver/driver-class 
  | user-namejboss/user-name 
  | passwordpassword/password 
  | /local-tx-datasource 
  | /datasources 

Now the server is configured with mysql as the default database.
  

 Deep

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

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


[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

2007-07-17 Thread gayatri.ramamurthi
1) something that skips the attention is the configuration settings which 
requires that the below code be added to the application config

view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler
 
2) Secondly what i noticed while running a similar app is, 

 #{accountMaintenanceAction.selectAccount(dto.accountNumber) }  this code 
generates a URL, with query string  
actionMethod=example.xhtml:ccountMaintenanceAction.selectAccount(dto.accountNumber)

whereas using   #{accountMaintenanceAction.selectAccount('12345') }  would 
generate the query string as 
actionMethod=example.xhtml:ccountMaintenanceAction.selectAccount('12345')

I think this proves that there is a problem either with the handler or any 
related config issue.

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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread baz
Thanks for the answer.
After setting pad= true, ithe same(?) exception is raised:
08:59:38,133 INFO  [ExperimentSiteList] ExperimentSiteList instantiated by SEAM
  | 08:59:38,508 INFO  [STDOUT] Hibernate: select experiment0_.ExperimentID as 
Experime1_76_, experiment0_.Size as Size76_, experiment0_.SowingYear as 
SowingYear76_, experiment0_.Description as Descript4_76_, 
experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as 
SowingDate76_, experiment0_.AddressCode as AddressC7_76_, 
experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerCode as 
PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, 
experiment0_.ExperimentCode as Experim11_76_, experiment0_.ExperimentName as 
Experim12_76_, experiment0_.SiteID as SiteID76_, experiment0_.HarvestDate as 
Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as 
Samples76_, experiment0_.Replications as Replica17_76_ from EXPERIMENT 
experiment0_ limit ?
  | 08:59:38,680 ERROR [XAManagedConnectionFactory] Start transaction failed 
for [EMAIL PROTECTED]
  | 08:59:38,680 WARN  [TxConnectionManager] Connection error occured: [EMAIL 
PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1184655578649 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=null]
  | oracle.jdbc.xa.OracleXAException
  | at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
  | at 
oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
  | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121)
  | at 
org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | 

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

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


[jboss-user] [JBoss Getting Started Documentation] - What's the difference between JBoss 4.0.5.GA and JBoss Porta

2007-07-17 Thread thomas2004ch
I think JBoss 4.0.5 GA is an Application Server where you can deploy ear on it 
but JBoss Portal 2.6.0 GA is just a web container which just contains web 
applications. Is that right?



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

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


[jboss-user] [JBoss Seam] - Re: javax.persistence.PersistenceException: org.hibernate.Hi

2007-07-17 Thread thejavafreak
Check your persistence.xml

Does it point to the right dbms?
Does it has the correct URL?

etc

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

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


[jboss-user] [JBoss jBPM] - Re: Data Persistence Question

2007-07-17 Thread Johan.Parent
Look at process variables. If the classes are mapped with hibernate or they are 
serializable then you should not have too much trouble. See chapter 10 of the 
doc.

Regards,

Johan

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

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


[jboss-user] [JBossWS] - Re: Can't access JBossWS user guide, quickstart guide

2007-07-17 Thread [EMAIL PROTECTED]
Sorry, we'd been migrating that box and experience network do problems 
throughout the last week. We'll get that fixed soon - thanks for your patience.

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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread vickyk
6_, experiment0_.Replications as Replica17_76_ from EXPERIMENT experiment0_ 
limit ?
  | 16:17:17,984 WARN  [loggerI18N] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.dis
  | 
  | allow] 
[com.arjuna.ats.internal.jta.transaction.arjunacore.lastResource.disallow] 
Adding multiple la
  | 
  | st resources is disallowed
Do you still get this exception ?
Read this
http://wiki.jboss.org/wiki/Wiki.jsp?page=Multiple1PC


Can you write a plain jsp application which would do 
1) Get the XA oracle ds 
2) Obtain the connection 
3) Perform simple select on it .

Let me now if that works . I am not sure what you are doing in seam related 
code . 





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

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


[jboss-user] [JBoss jBPM] - Re: EJB-JBPM: transaction clash (rollbacks)

2007-07-17 Thread Johan.Parent
Sorry for the late reply.


anonymous wrote : The log message certainly doesn't jump out and bite you!

anonymous wrote : Does it stand out if the queries are not displayed fully?

The output I pasted in this thread is that with DEBUG set for 
log4j.logger.org.jbpm . So it is definitely insufficiently reported. 

anonymous wrote : Do you perhaps want to JIRA it? 

I will do that. I think some logging when no exception handlers were specified 
should not be too hard.

Regards,

Johan

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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread vickyk
baz wrote : Any help is very appreciated.
  | Why does it work with 4.05GA but not with 4.2.0GA?
  | 
Look at the TransactionManager implementation in the jboss-service.xml  it is 
configured differently.

Enabling multiple last resource could be configured in the 
jbossjta-properties.xml . 


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

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


[jboss-user] [EJB 3.0] - Re: Removing a detached instance

2007-07-17 Thread idefix-free
Still the same error:

  | public String delete()
  | {
  | String id = FacesContext.getCurrentInstance()
  | .getExternalContext().getRequestParameterMap()
  | .get(selectedId);
  | selectedSpielplatz = dao.findById(Long.valueOf(id), false);
  | selectedSpielplatz=dao.merge(selectedSpielplatz);
  | dao.makeTransient(selectedSpielplatz);
  | selectedSpielplatz=null;
  | return list;
  | }
  | 
But I dont understand, that if I load the object(selectedspielplatz) why it is 
not managed.
Why are the objects always detached?
I tried the same thing with glassfish and toplink and I haven't this problem.
Is it really necessary always to merge before making an operation, or is it 
possible to reconfigure something, maybe entity manager per session?


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

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


[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
Update: With the help of OpenLdap's command line search tool 'ldapsearch', 
which gave me more verbose error messages than the Windows Gui Tools I was 
using before, I was able to find the cause for my problem:

A filter with a single backslash for escaping the comma is not recognised as a 
correct filter, thus no results from my query. Double-escaping the comma (i.e. 
adding two backslashes instead of just one) works and yields results.

Now the question stands: could this be a bug in the ldap search code from the 
portal?

Thanks,
Tobias

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

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


[jboss-user] [EJB 3.0] - Re: Problems with Reference Injection for @EJB-Annotation

2007-07-17 Thread markusschmitt
Thanks for your help,

I added a dummy method call to the injected Calculator (calculator.add(1,1)), 
redeployed and the same exception occurs.

Regards
Markus

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

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


[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread bdaw
So to be clear - when you use double backslash coma in ldapsearch you get 
correct result but this still doesn't work in portal config?

It may be a bug but I think that the usage of filter is as simple as passing it 
to the JNDI API. Could you try enabling DEBUG logging for package 
'org.jboss.portal.identity.ldap' or 'org.jboss.portal.identity'. It should be 
verbose on the filter/context during user search.

If you are sure it fails, please create a JIRA issue and assign it to me.

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

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


[jboss-user] [JBoss Seam] - Re: Recommended way of using Select boxes - The Seam Way

2007-07-17 Thread damianharvey
Does landmarkType have a value when fillLandmarkList() is called?

I'm not sure if Seam will pick up landmarkType the way that you are using it. I 
would create getter/setter for it and then refer to it in your page as 
addressLocator.landmarkType.

And there's no issue with handling landmarkType as an Entity.

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

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


[jboss-user] [Security JAAS/JBoss] - Re: RMI over SSL - mutual authentication

2007-07-17 Thread Evka
Hello rtrancoso.
I am afraid, that JBoss doesn't support this functionality - as I described, 
the only thing to secure the RMI was, that the client had to have server 
certificate in its trust store. I also browsed over many JBoss tutorials and 
forums and nothing helped me in this way.

Some informations can be found here:
http://itextdocs.lowagie.com/techtips/ssl/ - RMI over SSL
and here:
http://answers.suziana.com/2006/12/13/security-jaasjboss-rmi-over-ssl-mutual-authentication.html

So good luck with solving this problem. We have moved to WebShere, where this 
security is supported.


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

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


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-17 Thread wolfc
Use AS 4.2.1 GA

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

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


[jboss-user] [JBoss Seam] - Re: javax.persistence.PersistenceException: org.hibernate.Hi

2007-07-17 Thread damianharvey
anonymous wrote : I don't want to use database at the moment

So is your database not running then? That might explain the Hibernate errors.

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

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


[jboss-user] [EJB 3.0] - Re: Removing a detached instance

2007-07-17 Thread wolfc
SpeilplatzCrudBean is probably a JSF bean. In that case it's living on the 
other side (in web space). Thus an entity bean which is returned by the DAO is 
first detached. You should have this code in a session bean.

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

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


[jboss-user] [EJB 3.0] - Re: Problems with Reference Injection for @EJB-Annotation

2007-07-17 Thread wolfc
Where does it deploy the Calculator bean?

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

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


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-17 Thread ejbiva
Dear wolfc ,why use AS 4.2.1 GA? any defect with AS 4.2.0?I am sorry one thing 
I should mentioned,that is I have never create related table in the 
oracle.because the ejb should create it indtead of me,that is true?

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

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


[jboss-user] [JBoss Seam] - Re: begin-conversation in Seam2 prevents data load

2007-07-17 Thread damianharvey
ping?

This is preventing me from upgrading to Seam2.0.0 so any help would be 
appreciated.

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

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


[jboss-user] [JBoss jBPM] - Re: ProcessDefinition disapear from the database

2007-07-17 Thread mailinator
Hi,
thanks for your reply,

i dont understand why your are referring to a scheduler ? can you explain more 
about that scheduler ? where is it configured ? 

Best regards,

O.M.

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

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


[jboss-user] [JBoss jBPM] - Re: ProcessDefinition disapear from the database

2007-07-17 Thread mputz
Look at 'Chapter 5.4 Web application' of the user guide 
 http://docs.jboss.com/jbpm/v3.2/userguide/html/deployment.html#webapplication

the web app starts the JobExecutor Ronald is referring to.

I'm wondering about this:
jbpmConfiguration.createSchema();
  | ProcessDefinition 
processDefinition=ProcessDefinition.parseXmlResource(demandeAccesVerifUserAlerteRH/processdefinition.xml);

You said you have your db schema already set up and have also deployed your 
process. Why are you calling createSchema() in your action again and why are 
you trying to get the processdefinition from the xml file instead of from the 
db?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - HSQLDB troubles with JBoss 4 in Unix System Services on zOS

2007-07-17 Thread alois28
Hi JBoss-Gurus

I tried to install a JBoss 4.0.4, 4.0.5 and 4.2 on a UNIX System Service on zOS.
The installation itself is successfull. after some troubles with EBCDIC/ASCII 
JBoss seems to start - until HSQLDB...
...
09:10:46,579 INFO  [WrapperDataSourceService] Bound ConnectionManager 
'jboss.jca:service=DataSourceBinding,name=DefaultDS' to JNDI '
09:10:57,165 WARN  [ServiceController] Problem starting service 
jboss.mq:service=PersistenceManager
org.jboss.mq.SpyJMSException: Could not resolve uncommited transactions.  
Message recovery may not be accurate; - nested throwable:)
...
Caused by: 
java.sql.SQLException: Column not found: TXID in statement [SELECT MAX(TXID) 
FROM (SELECT MAX(TXID) FROM JMS_TRANSACTIONS UNION SEL]
...

Installation methods:
I installed JBoss with the installer, tried the zip-file from the 
download-page, and even a copy of a running Linux-installation has the same 
HSQLDB-error while starting!

Is there anyone who has solved this issue or knows a solution?

Thanks, Bruno


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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread baz
Thanks for your time.
When JBoss start a schema validation takes place. This is fully functional

  | 10:01:10,643 INFO  [SchemaValidator] Running schema validator
  | 10:01:10,643 INFO  [SchemaValidator] fetching database metadata
  | 10:01:10,752 INFO  [TableMetadata] table found: EADB.DESCRIPTOR
  | 10:01:10,752 INFO  [TableMetadata] columns: [descriptorid, descriptor, 
referenceid, lastsuggestedstage, descriptorcode, genus, bgrccode, 
firstsuggestedstage, traitcode]
  | 
When the url or user/password is changed to an faulty value an connection error 
is thrown. So i conclude that the datasource is correctly configured. 

My exception must come from an other reason:-(
By now i can not use LRCO.
So i am going to set com.arjuna.ats.jta.allowMultipleLastResources to true and 
try again with two local-tx-datasource.
Thanks again.
Ciao,
Carsten

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

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


[jboss-user] [JBoss Seam] - SEAM and XA datasources

2007-07-17 Thread baz
Hello,
Can seam manage XA Datasources?
I have configured one datasource for oracle and every time it is accessed i get
08:59:38,680 ERROR [XAManagedConnectionFactory] Start transaction failed for 
org.jboss.resource.adap
  | [EMAIL PROTECTED]
  | 08:59:38,680 WARN  [TxConnectionManager] Connection error occured: 
org.jboss.resource.connectionmana
  | [EMAIL PROTECTED] mc=org.jboss.resource.adapter
  | [EMAIL PROTECTED] handles=0 lastUse=1184655578649 permit=true 
trackByTx=true mcp=
  | [EMAIL PROTECTED] context=org.jboss.res
  | [EMAIL PROTECTED] xaResource=org.jboss.resource.connectio
  | [EMAIL PROTECTED] txSync=null]
  | oracle.jdbc.xa.OracleXAException
  | at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
  | at 
oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
  | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121)
  | at 
org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113
  | )
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionIm
  | ple.java:701)
  | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionIm
  | ple.java:446)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSy
  | nchronization.enlist(TxConnectionManager.java:773)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConn
  | ectionManager.java:564)
  | at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnecti
  | onManager.java:337)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConne
  | ctionManager2.java:518)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionMan
  | ager2.java:399)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConne
  | ction(BaseConnectionManager2.java:842)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSour
  | ceConnectionProvider.java:47)
  | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
  | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  | 
but the schema vaildation succeds. So Jboss must be able to access the db. But 
everytime a transaction comes in play the above error occurs.
I do need the XA datasource for oracle in order to use LRCO. 

my original problem is posted here:
http://www.jboss.com/index.html?module=bbop=viewtopicp=4064876

Ciao,
Carsten

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

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


[jboss-user] [JBoss jBPM] - Re: ERROR JDBCExceptionReporter : Table not found in stateme

2007-07-17 Thread Johan.Parent
anonymous wrote : Hypersonic can work in multiple modes. TCP Server, 
Standalone, InMemory.
  | As far as I know the InMemory mode stores all your data in memory and
  | flushes them to the disk when you shutdown the server. (not 100% sure)

The in-memory-db is a volatile db. Once closed it disappears. Perfect for unit 
tests so you can start with an untainted db for each test. But nothing ever 
gets flushed to disk as far as I know.

Regards,

Johan

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

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


[jboss-user] [JBoss Seam] - Re: taskinstance attribute is invalid in ToDo example

2007-07-17 Thread wkzk
sorry,
I missed http://jira.jboss.com/jira/browse/JBSEAM-1559


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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread baz
1. The schema validation succeeds. Everytime a transaction comes in play the 
error occurs:-(

2. setting com.arjuna.ats.jta.allowMultipleLastResources to true and using two 
local-tx-datasource has helped for the moment. But after reading all the docs 
vickyk gently pointed, i do want to use xa datasources. 
For now i do not know why the exception occur. 

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

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


[jboss-user] [JBoss jBPM] - Re: ProcessDefinition disapear from the database

2007-07-17 Thread mailinator
Hi,
you are right !

i'm doing this because i dont know how to get the process definition from the 
database ?

for the createSchema, i shouldn't do it again ?

Regards,

O.M.

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

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


[jboss-user] [JBoss jBPM] - error Resource: org/jbpm/msg/Message.hbm.xml not found

2007-07-17 Thread galvino
Hello everybody.
i have a strange problem.

i can't use graphsession with my application and i have this error :
anonymous wrote : 
  | javax.servlet.ServletException: Resource: org/jbpm/msg/Message.hbm.xml not 
found
  | 
org.apache.struts.action.RequestProcessor.processException(RequestProcessor.java:535)
  | 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:433)
  | 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
  | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  | org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
  | 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
  | 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
  | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  | org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | root cause
  | 
  | org.hibernate.MappingException: Resource: org/jbpm/msg/Message.hbm.xml not 
found
  | org.hibernate.cfg.Configuration.addResource(Configuration.java:512)
  | 
org.hibernate.cfg.Configuration.parseMappingElement(Configuration.java:1506)
  | 
org.hibernate.cfg.Configuration.parseSessionFactory(Configuration.java:1474)
  | org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1453)
  | org.hibernate.cfg.Configuration.doConfigure(Configuration.java:1427)
  | org.hibernate.cfg.Configuration.configure(Configuration.java:1347)
  | 
org.jbpm.db.hibernate.HibernateHelper.createConfiguration(HibernateHelper.java:91)
  | 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getConfiguration(DbPersistenceServiceFactory.java:69)
  | 
org.jbpm.persistence.db.DbPersistenceServiceFactory.getSessionFactory(DbPersistenceServiceFactory.java:91)
  | 
org.jbpm.persistence.db.DbPersistenceService.getSessionFactory(DbPersistenceService.java:94)
  | 
org.jbpm.persistence.db.DbPersistenceService.getSession(DbPersistenceService.java:98)
  | 
org.jbpm.persistence.db.DbPersistenceService.getGraphSession(DbPersistenceService.java:336)
  | org.jbpm.JbpmContext.getGraphSession(JbpmContext.java:571)
  | 
com.TestApplicationServer.actions.FirstTask.performAction(FirstTask.java:32)
  | com.TestApplicationServer.actions.BaseAction.execute(BaseAction.java:17)
  | 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:431)
  | 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:236)
  | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  | org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.apache.struts.action.RequestProcessor.doForward(RequestProcessor.java:1085)
  | 
org.apache.struts.action.RequestProcessor.processForwardConfig(RequestProcessor.java:398)
  | 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:241)
  | org.apache.struts.action.ActionServlet.process(ActionServlet.java:1196)
  | org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:432)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 

what that means please ? 

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

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


[jboss-user] [JBoss Seam] - Re: Debug.seam page, the Business process context and data b

2007-07-17 Thread harpritt
Update: My first query about the empty business process context within the 
debug page has been poo poo'd, i had to click into the conversation id to see 
the business process context components so thats all cool.

 .my only thing now is that the string stored in the Business Process 
Context does not seem to get injected before the @Create annotated method is 
called even though in the JBoss Seam book Simplicity and Power beyond Java 
EE its states P93 

The class constructor is called before the component is object is created 
while the @Create is called after class creation. The contructor would not have 
access to Seam injected objects such as the EntityManager


  | 
  | @In(required = false)
  | @Out(scope = BUSINESS_PROCESS, required = false)
  | String crId
  | 
  | 
  | 
  | .
  | 
  | 
  | 
  | 
  | @Create
  | public void find(){
  | System.out.println(crId +  the create works);
  | }
  | 


Cheers for any pointers

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

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


[jboss-user] [EJB 3.0] - Re: Problems with Reference Injection for @EJB-Annotation

2007-07-17 Thread markusschmitt
Ok, I found the reason for the excpetion.
I extracted a Remote and a Local interface from the business interface.
So implements CalculatorRemote, CalculatorLocal (both extends Calculator) is 
the reason for the exception but I dont understand why! (implements Calculator 
works)

Regards
Markus

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

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


[jboss-user] [JBoss jBPM] - Re: error Resource: org/jbpm/msg/Message.hbm.xml not found

2007-07-17 Thread mputz
From a first glance it looks like you are using a hibernate.cfg.xml from jBPM 
version 3.1.x along with the code from jBPM 3.2.x, as this entity no longer 
exists in the current version.

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

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


[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
anonymous wrote : So to be clear - when you use double backslash coma in 
ldapsearch you get correct result but this still doesn't work in portal config?

Yes, exactly. In the portal, LDAPExtRoleModule doesn't find any Role 
memberships for users with a comma in their username. If the user has no comma, 
it finds roles.

Here is an example that works, from the bundled ldap example:
anonymous wrote : 
  | 2007-07-17 10:22:33,136 DEBUG [org.hibernate.jdbc.ConnectionManager] 
aggressively releasing JDBC connection
  | 2007-07-17 10:22:33,136 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] findUserByUserName(): 
username = admin
  | 2007-07-17 10:22:33,136 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: (uid=admin)
  | 2007-07-17 10:22:33,136 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: (uid=admin)
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModule] user uid: 
uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModule] user dn: 
uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPStaticGroupMembershipModuleImpl] 
getRoles(): user DN = uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPStaticGroupMembershipModuleImpl] Search 
filter: member=uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModuleImpl] Search filter: 
member=uid=admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModule] role uid: 
cn=Admin,ou=Roles,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModule] role dn: 
cn=Admin,ou=Roles,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModule] role uid: 
cn=User,ou=Roles,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModule] role dn: 
cn=User,ou=Roles,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModule] role uid: 
cn=foo,ou=Roles,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,152 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModule] role dn: 
cn=foo,ou=Roles,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:22:33,183 INFO  [STDOUT] user login
  | 

If I change the DN of admin to 'mister\, admin' and also update the affected 
roles, it doesn't find roles anymore:
anonymous wrote : 
  | 2007-07-17 10:35:52,153 DEBUG [org.hibernate.jdbc.ConnectionManager] 
aggressively releasing JDBC connection
  | 2007-07-17 10:35:52,153 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] findUserByUserName(): 
username = admin
  | 2007-07-17 10:35:52,153 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: (uid=admin)
  | 2007-07-17 10:35:52,153 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModuleImpl] Search filter: (uid=admin)
  | 2007-07-17 10:35:52,216 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModule] user uid: uid=mister\, 
admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:35:52,216 DEBUG 
[org.jboss.portal.identity.ldap.LDAPUserModule] user dn: uid=mister\, 
admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:35:52,216 DEBUG 
[org.jboss.portal.identity.ldap.LDAPStaticGroupMembershipModuleImpl] 
getRoles(): user DN = uid=mister\, 
admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:35:52,216 DEBUG 
[org.jboss.portal.identity.ldap.LDAPStaticGroupMembershipModuleImpl] Search 
filter: member=uid=mister\, admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:35:52,216 DEBUG 
[org.jboss.portal.identity.ldap.LDAPRoleModuleImpl] Search filter: 
member=uid=mister\, admin,ou=People,o=test,dc=portal,dc=example,dc=com
  | 2007-07-17 10:35:52,325 INFO  [STDOUT] user login
  | 

When I copypaste the role search filters from above into an ldap search tool, 
the one from the first example works, the one from the second doesn't. If I add 
another backslash to the second example, it works as well.

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

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


[jboss-user] [JBoss jBPM] - Re: ProcessDefinition disapear from the database

2007-07-17 Thread mputz
Look through the Database Example in the user guide to get an idea of what API 
functions to call to get a process definition and the like from the db:
http://docs.jboss.com/jbpm/v3.2/userguide/html/tutorial.html#databaseexample

(scroll down to the function 
processInstanceIsCreatedWhenUserSubmitsWebappForm(),  it shows the necessary 
steps you would have to follow)

Regarding the createSchema, no, you don't have to call it again when your db 
schema is already set up ;-)

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

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


[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
I forgot: The examples I was quoting are with LDAPRoleModuleImpl, but I see the 
same behaviour with LDAPExtRoleModuleImpl, which I am using for my AD.

The examples I posted where set up after the first ldap example blog post here: 
http://jbossportal.blogspot.com/search/label/portal

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

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


[jboss-user] [JBoss Seam] - Re: Action argument is null when it shouldn't be null

2007-07-17 Thread fmars
anonymous wrote : 
view-handlerorg.jboss.seam.ui.facelet.SeamFaceletViewHandler/view-handler
I use Seam 2 and there is no more SeamFaceletViewHandler.

methsearch.xhtml displays my table. The generated URL looks like this:

http://localhost:8080/methcancerdb2/methsearch.seam?
  | 
dataModelSelection=gene:genes[1]cid=18actionMethod=methsearch.xhtml:tableviewer.displayTargetSequences(gene)

dataModelSelection=gene:genes[1] : i've clicked link on the second row. so it 
is the second object in the list genes. With gene:genes[1] is gene is set 
to genes[1]. what the rest of the url means, i don't know.

More Details:

I have this methsearch.xhtml for searching my database. there is a button Show 
All, which displays all entries on the table with a s:link for more infos.

there is a statefull sb for this site, MethSearch.java. here is the relevant 
part of it:


@Stateful
  | @Name(methsearch)
  | public class MethSearch implements IMethSearch{
  | 
  | @Out(required=false)
  | private ListGene genes;
  | 
  | public void showAll(){
  | genes = 
((org.hibernate.Session)this.entityManager.getDelegate()).createCriteria(Gene.class).list();
  | }
  | }

genes outjected as expected. the table displayed. only the var gene is not 
sent to method successfully. Any Idea?

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

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


[jboss-user] [JBoss Seam] - Re: What I wouldn't give for...

2007-07-17 Thread [EMAIL PROTECTED]
anonymous wrote : You eat your own dog food and you help yourselves at the same 
time.

It's on its way. We still have some work to do.

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

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


[jboss-user] [JBoss Portal] - Re: portal-migration autocommit exception

2007-07-17 Thread k3nnymusic
so could you tell me, how can I create all system tables and default datas in 
mysql database? jboss AS doing it? I saw wiki and I found info only about 
connect jboss AS/portal with mysql database, not about creating structure???

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

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


[jboss-user] [JBoss jBPM] - Re: ProcessDefinition disapear from the database

2007-07-17 Thread mailinator
Okay
thanks for your assistance
i will study those docs.

Keep you posted.

Regards,

O.M.

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

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


[jboss-user] [JBoss Portal] - Re: portal-migration autocommit exception

2007-07-17 Thread [EMAIL PROTECTED]
The tables will create automatically, you have nothing to do but start JBoss 
Portal (you just need to create the database)

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

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


[jboss-user] [JBoss Seam] - Re: Error using RuleBasedIdentity in Seam 2.0 beta 1

2007-07-17 Thread przemyslawo
I have the same error.
Project generated by seam 2.0.0.BETA1 from entities in mysql.
On jboss-4.2.0.GA just downloaded.
java: jdk1.6.0_01.

It happens when I put any rule to my security.drl file and I access any page of 
my application.

versions of jars:
antlr-2.7.6
antlr-3.0b7
drools-compiler-4.0.0.MR2
drools-core-4.0.0.MR2
janino-2.5.6
mvel14-1.2beta16


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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread vickyk
baz wrote : For now i do not know why the exception occur.
Which exception are you referring to ?
Are you still getting the exception 

Vicky

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

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


[jboss-user] [JBoss Portal] - Re: portal-migration autocommit exception

2007-07-17 Thread k3nnymusic
ok thx!

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

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


[jboss-user] [JBoss Seam] - Re: Error using RuleBasedIdentity in Seam 2.0 beta 1

2007-07-17 Thread przemyslawo
On the top it is:
org.jboss.seam.InstantiationException: Could not instantiate Seam component: 
org.jboss.seam.security.identity
  | at org.jboss.seam.Component.newInstance(Component.java:1853)
  | at org.jboss.seam.Component.getInstance(Component.java:1756)
  | at org.jboss.seam.Component.getInstance(Component.java:1723)
  | at org.jboss.seam.Namespace.get(Namespace.java:48)

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

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


[jboss-user] [JBoss jBPM] - Re: error Resource: org/jbpm/msg/Message.hbm.xml not found

2007-07-17 Thread galvino
i copied the real hybernate configuration file.
now it doesn't load the identity component even if i copy the identiy jar.

i have this error:
anonymous wrote : 
  | 2007-07-17 11:49:58,476 ERROR 
[org.jboss.security.auth.spi.UsersRolesLoginModule] Failed to load 
users/passwords/role files
  | java.io.IOException: No properties file: users.properties or defaults: 
defaultUsers.properties found
  | at org.jboss.security.auth.spi.Util.loadProperties(Util.java:313)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.loadUsers(UsersRolesLoginModule.java:186)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.createUsers(UsersRolesLoginModule.java:200)
  | at 
org.jboss.security.auth.spi.UsersRolesLoginModule.initialize(UsersRolesLoginModule.java:127)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at javax.security.auth.login.LoginContext.invoke(LoginContext.java:756)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at javax.security.auth.login.LoginContext$4.run(LoginContext.java:683)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokePriv(LoginContext.java:680)
  | at javax.security.auth.login.LoginContext.login(LoginContext.java:579)
  | at 
org.jboss.security.plugins.JaasSecurityManager.defaultLogin(JaasSecurityManager.java:601)
  | at 
org.jboss.security.plugins.JaasSecurityManager.authenticate(JaasSecurityManager.java:535)
  | at 
org.jboss.security.plugins.JaasSecurityManager.isValid(JaasSecurityManager.java:344)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.getSubject(BaseConnectionManager2.java:571)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:378)
  | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:812)
  | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  | at org.jboss.ejb.plugins.cmp.jdbc.SQLUtil.tableExists(SQLUtil.java:995)
  | at 
org.jboss.ejb.txtimer.GeneralPurposeDatabasePersistencePlugin.createTableIfNotExists(GeneralPurposeDatabasePersistencePlugin.java:112)
  | at 
org.jboss.ejb.txtimer.DatabasePersistencePolicy.startService(DatabasePersistencePolicy.java:106)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:995)
  | at $Proxy0.start(Unknown Source)
  | at org.jboss.system.ServiceController.start(ServiceController.java:417)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at org.jboss.system.ServiceController.start(ServiceController.java:435)
  | at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
  | 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 $Proxy4.start(Unknown Source)
  | at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
  | at 

[jboss-user] [JBoss Portal] - Re: How to manage User's Tabs and portlet from Admin?

2007-07-17 Thread [EMAIL PROTECTED]
It is per role, so if the user has the correct role he can access it, the 
others won't be able to see it.

Please see the doc

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

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


[jboss-user] [JBoss AOP] - Installation problem on jboss 3.2.7

2007-07-17 Thread fdifonzo
I'm triyng to install jboss-aop_1.5.5.GA into jboss-3.2.7 (In nned it to use 
pojocache). After copying all jboss-32-install libs and modifying 
jboss-service.xml, I get the following error when starting jboss:

org.jboss.deployment.DeploymentException: create operation failed for package 
file:/tmp/jboss-3.2.7/server/all/conf/jboss-service.xml; - nested throwable: 
(org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect.UndeclaredThrowableException))
at org.jboss.deployment.SARDeployer.create(SARDeployer.java:227)
at org.jboss.deployment.MainDeployer.create(MainDeployer.java:783)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:640)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:604)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:588)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:324)
..
..
Caused by: java.lang.NoClassDefFoundError: 
org/jboss/mx/loading/RepositoryClassLoader
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:1610)
at java.lang.Class.getConstructor0(Class.java:1922)
at java.lang.Class.getConstructor(Class.java:1019)
at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:870)
at 
org.jboss.mx.server.MBeanServerImpl.instantiate(MBeanServerImpl.java:290)
at 
org.jboss.mx.server.MBeanServerImpl.createMBean(MBeanServerImpl.java:317)
at org.jboss.system.ServiceCreator.install(ServiceCreator.java:124)

It seems to me that jboss-jmx.jar contained into jboss-3.2.7 isn't compatible 
with that aop package. In fact by replacing jboss-jmx.jar shipped with 
jboss-cache-1.4.1 the error disappears even if aop package doesn't install.

What's worong? Is there something missing in the instal procedure or is it just 
a bug???

Any help will be really apreciated.

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM - concurrent process execution fails

2007-07-17 Thread [EMAIL PROTECTED]
Best is to extract a minimum setup that produces the problem and attach that to 
the JIRA issue (http://jira.jboss.com/jira/browse/JBPM-983). 

Regards,
Koen

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

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


[jboss-user] [JBoss Portal] - Re: How to manage User's Tabs and portlet from Admin?

2007-07-17 Thread ganeshraja
My requirement is user should not modify the page and portlet. it should be 
controlled by admin privilage user only.

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

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


[jboss-user] [JBoss AOP] - Re: Installation problem on jboss 3.2.7

2007-07-17 Thread [EMAIL PROTECTED]
We're not really paying any attention to ancient AS releases like 3.2.x 
anymore. We support AS 4.0.x, 4.2.x and AS 5

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

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


[jboss-user] [JBoss jBPM] - Re: error Resource: org/jbpm/msg/Message.hbm.xml not found

2007-07-17 Thread fady.matar
You need to create the user properties file and create your users within. The 
file name is users.properties.
Another approach is to set the jbpm identity component to explode into the 
database and create your users and roles in the database

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

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


[jboss-user] [JBoss Seam] - Re: bug in exception handling ?

2007-07-17 Thread Kruno
I've encountered similar problem, even with latest version from cvs.
I tried to handle exception from pages.xml

  | exception class=orka.RollBackException
  |  end-conversation/
  | redirect view-id=/error/Error.jsp
  |  message 
severity=FATAL#{org.jboss.seam.handledException.message}/message
  | /redirect
  | /exception
  | 

It redirects to Error.jsp but I do not get message and in console I get 
IllegalStateException

  | 
  | 11:52:15,380 ERROR [SeamPhaseListener] swallowing exception
  | java.lang.IllegalStateException: pageflow is not currently at a page or 
start-page node (note that pageflows that begin during the RENDER_RESPONSE 
phase should use start-page instead of start-state)
  | at org.jboss.seam.pageflow.Pageflow.getPage(Pageflow.java:227)
  | at org.jboss.seam.pageflow.Pageflow.validatePageflow(Pageflow.java:105)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterRestoreView(SeamPhaseListener.java:381)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterServletPhase(SeamPhaseListener.java:211)
  | at 
org.jboss.seam.jsf.SeamPhaseListener.afterPhase(SeamPhaseListener.java:184)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:280)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
  | at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:87)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:63)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:46)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:127)
  | at 
org.ajax4jsf.framework.ajax.xmlfilter.BaseFilter.doFilter(BaseFilter.java:277)
  | at org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:45)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:140)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:595)
  | 
Thanks in advance Kruno.


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

Reply to the post : 

[jboss-user] [Installation, Configuration DEPLOYMENT] - RMI argument in EJB method

2007-07-17 Thread moskvach
I'm beginner in j2EE, but i suppose that all I do is correct :)

JBoss 4.0.5 throws exception for RMI argument in my EJB method during deploying 
of my application. 


  | 12:59:41,260 WARN  [verifier] EJB spec violation: 
  | Bean   : AccountSessionEJB
  | Method : public abstract boolean addAccount(Account) throws RemoteException
  | Section: 7.11.5
  | Warning: The method arguments in the remote interface must be of valid 
types for RMI/IIOP.
  | 

RMI Interface looks like:

  | public interface AccountSession extends EJBObject {
  | public boolean addAccount(Account ac) throws RemoteException;
  | }
  | 

defining ot type:

  | import java.rmi.Remote;
  | public class Account implements Remote {
  | }
  | 


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

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


[jboss-user] [JBoss Seam] - Re: Usage for downloading uploaded file

2007-07-17 Thread tino4
twocoasttb wrote : You have to write a servlet to do this.  I think the 
seamspace app provides a good example.

hi,
could you plz give some more infos ?
i can't find it in seamspace examples

thx

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

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


[jboss-user] [JCA/JBoss] - Re: 2 PersistenceUnits: Adding multiple last resources is di

2007-07-17 Thread baz
Sorry, The exception is this
baz wrote : Thanks for the answer.
  | After setting pad= true, ithe same(?) exception is raised:
  | 08:59:38,133 INFO  [ExperimentSiteList] ExperimentSiteList instantiated by 
SEAM
  |   | 08:59:38,508 INFO  [STDOUT] Hibernate: select experiment0_.ExperimentID 
as Experime1_76_, experiment0_.Size as Size76_, experiment0_.SowingYear as 
SowingYear76_, experiment0_.Description as Descript4_76_, 
experiment0_.HarvestYear as HarvestY5_76_, experiment0_.SowingDate as 
SowingDate76_, experiment0_.AddressCode as AddressC7_76_, 
experiment0_.AddressFAOCode as AddressF8_76_, experiment0_.PartnerCode as 
PartnerC9_76_, experiment0_.ProjectCode as Project10_76_, 
experiment0_.ExperimentCode as Experim11_76_, experiment0_.ExperimentName as 
Experim12_76_, experiment0_.SiteID as SiteID76_, experiment0_.HarvestDate as 
Harvest14_76_, experiment0_.Design as Design76_, experiment0_.Samples as 
Samples76_, experiment0_.Replications as Replica17_76_ from EXPERIMENT 
experiment0_ limit ?
  |   | 08:59:38,680 ERROR [XAManagedConnectionFactory] Start transaction 
failed for [EMAIL PROTECTED]
  |   | 08:59:38,680 WARN  [TxConnectionManager] Connection error occured: 
[EMAIL PROTECTED] [EMAIL PROTECTED] handles=0 lastUse=1184655578649 permit=true 
trackByTx=true [EMAIL PROTECTED] [EMAIL PROTECTED] [EMAIL PROTECTED] 
txSync=null]
  |   | oracle.jdbc.xa.OracleXAException
  |   | at 
oracle.jdbc.xa.OracleXAResource.checkError(OracleXAResource.java:1157)
  |   | at 
oracle.jdbc.xa.client.OracleXAResource.start(OracleXAResource.java:295)
  |   | at 
org.jboss.resource.adapter.jdbc.xa.XAManagedConnection.start(XAManagedConnection.java:121)
  |   | at 
org.jboss.resource.connectionmanager.xa.JcaXAResourceWrapper.start(JcaXAResourceWrapper.java:113)
  |   | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:701)
  |   | at 
com.arjuna.ats.internal.jta.transaction.arjunacore.TransactionImple.enlistResource(TransactionImple.java:446)
  |   | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener$TransactionSynchronization.enlist(TxConnectionManager.java:773)
  |   | at 
org.jboss.resource.connectionmanager.TxConnectionManager$TxConnectionEventListener.enlist(TxConnectionManager.java:564)
  |   | at 
org.jboss.resource.connectionmanager.TxConnectionManager.managedConnectionReconnected(TxConnectionManager.java:337)
  |   | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.reconnectManagedConnection(BaseConnectionManager2.java:518)
  |   | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:399)
  |   | at 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:842)
  |   | at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:88)
  |   | at 
org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider.getConnection(InjectedDataSourceConnectionProvider.java:47)
  |   | at 
org.hibernate.jdbc.ConnectionManager.openConnection(ConnectionManager.java:423)
  |   | at 
org.hibernate.jdbc.ConnectionManager.getConnection(ConnectionManager.java:144)
  |   | at 
org.hibernate.jdbc.AbstractBatcher.prepareQueryStatement(AbstractBatcher.java:139)
  |   | 
When i understand it correctly, the connection is reused and should be enlisted 
in a transaction. This step fails. But why?

The sentence you quote belongs to 1.) sorry for the fault:-(


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

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


[jboss-user] [Beginners Corner] - trigger some method from jboss-service.xml

2007-07-17 Thread [EMAIL PROTECTED]
hello,
is it possible to trigger some method of a running service in jboss from 
jboss-service.xml? I am trying to create some application consisting of a few 
different sar modules.And i want to deploy the first one,and when deploying the 
other ones i need to trigger a method from the first service.
thanks in advance 
Mete

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0 BETA

2007-07-17 Thread ellenzhao
cpopetz wrote : Is there any timeline or roadmap for 2.0?  Or can someone 
from the JBoss team wager a guess and when 2.0 will be final?  Quarter-year 
accuracy would be enough for me.   
  | 
  | We've been considering transitioning a rather large codebase to Seam, as it 
seems to do a lot of things that we've rolled internal code to do over the past 
4 years.   But I don't want to start 1.2 adoption if the migration path to 2.0 
is difficult, or if 2.0 is right around the corner.
  | 
  | Thanks in advance.

You can have a look here:

http://jira.jboss.com/jira/secure/BrowseProject.jspa?id=10071

And see how many open issues are still there. Especially the blocker issues and 
critical issues. If you want a more accurate guess yourself, you can browse the 
important open issues and estimate the complexity of fixing them



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

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


[jboss-user] [JBoss Portal] - Re: How to manage User's Tabs and portlet from Admin?

2007-07-17 Thread ganeshraja
Is there any document for jboss portal database table structure? How do i 
create a page thru SQL query?

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

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


[jboss-user] [JBoss Seam] - Inserting value in primary and secondry table

2007-07-17 Thread kaviarasu
Hi 
i have two tables one have primary key and the secondry table has foreign key.
i generate a autoId increment which want to inserted in primary and secondary 
table when the user enters the register button
hw to do the exercise 
can any one give the solution


@Name(user3)
  | @Table(name = TBL_REVIEWS)
  |  
  | @SecondaryTable(name=TBL_USER_REVIEWS, pkJoinColumns={ 
@PrimaryKeyJoinColumn(name=REVIEW_ENTRY_ID)})
  | 
  | 
  | public class TblWriteReviews implements Serializable {
  | @Id
  |  @GeneratedValue(generator=IdSeq)
  |  @SequenceGenerator(name=IdSeq,sequenceName=REVIEW_ENTRY_ID_SEQ, 
allocationSize=1)
  | @Column(name = REVIEW_ENTRY_ID)

where the reviewEntryId is auto generated and want to be entered when the 
register button is entered
can any one help me 
thank u regards
kavi

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

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


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-17 Thread wolfc
Don't install any of the preview release into AS 4.2. Use 4.2.1 as installed, 
by default it has the latest EJB 3 installation.

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

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


[jboss-user] [EJB 3.0] - Re: Problems with Reference Injection for @EJB-Annotation

2007-07-17 Thread wolfc
So Calculator is neither a local nor a remote business interface. Thus the 
exception.

Try:@EJB CalculatorLocal calculator;

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

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


[jboss-user] [JCA/JBoss] - Linkage Error While returning the OrderedMap from EJB

2007-07-17 Thread _pankie
I am Using Jboss 4.2.0 GA. 
I have deployed the Stateless Session Bean (EJB 2.1) in Jboss 4.2.0 GA
I can lookup the bean can invoke the method properly.
My Method returns the VO Object properly but i have a getter  setter for 
the OrderedMap. OM get set properly but while retriving it i get Linkage 
error
Error is mentioned below 

  | java.lang.LinkageError: loader constraints violated when linking 
org/apache/commons/collections/OrderedMap class
  | at 
struts.action.aaa.AuthenticateAction.execute(AuthenticateAction.java:108)
  | at 
org.apache.struts.action.RequestProcessor.processActionPerform(RequestProcessor.java:484)
  | at 
org.apache.struts.action.RequestProcessor.process(RequestProcessor.java:274)
  | at 
org.apache.struts.action.ActionServlet.process(ActionServlet.java:1482)
  | at 
org.apache.struts.action.ActionServlet.doPost(ActionServlet.java:525)
  | 

While on other side when i use the OrderedMap for fetching the data in my web 
App. There is no Problem at all.
I am using Common-Collection 3.0

Need Clarification...


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

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


[jboss-user] [JBoss Portal] - Re: How to manage User's Tabs and portlet from Admin?

2007-07-17 Thread [EMAIL PROTECTED]
That's the default behavior, only the admin change the page and windows of the 
portal.

Please read the documentation.

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

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


[jboss-user] [Datasource Configuration] - Multiple database configuration

2007-07-17 Thread yoav200
Hello,

I have developed a webapp with EJB3, JSF and seam. it run on Jboss and i use 
MYSQL for my database.
currently i have 5 different databases with 5 datasources.

my question is how can i configure a single datasource for all 5 databases ?
is it even possible ?

thanks

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Using JPA from web tier

2007-07-17 Thread mikaelstaldal
What is the correct way of accessing a Java Persistence unit from the web tier 
(no EJB session beans)?

I use JBoss 4.2.0.

I can't get the resource injection annotations @PersistenceUnit or 
@PersistenceContext to work, so I have done like this:

public class MyServletContextListener implements ServletContextListener {
  | 
  | public void contextInitialized(ServletContextEvent sce) {
  | try {
  | EntityManagerFactory emf = 
Persistence.createEntityManagerFactory(myunit);
  | 
sce.getServletContext().setAttribute(EntityManagerFactory.class.getName(), emf);
  | }
  | catch (RuntimeException e) {
  | throw e;
  | }
  | catch (Exception e) {
  | throw new RuntimeException(e);
  | }
  | }
  | 
  | public void contextDestroyed(ServletContextEvent sce) {
  | EntityManagerFactory emf = 
(EntityManagerFactory)sce.getServletContext().getAttribute(
  | EntityManagerFactory.class.getName());
  | if (emf != null) {
  | emf.close();
  | }
  | }
  | 
  | }
  | 

and for each web request I do like this:

EntityManagerFactory emf = 
(EntityManagerFactory)context.getAttribute(EntityManagerFactory.class.getName());
  | EntityManager em = emf.createEntityManager();
  | EntityTransaction transaction = em.getTransaction();
  | transaction.begin();
  | 
  | try {
  | // process the request here...
  | transaction.commit();
  | } catch (Exception e) {
  | transaction.rollback();
  | // log the error
  | } finally {
  | em.close();
  | }
  | 

It seems to work, but is it thread-safe and does it give reasonable 
performance? 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Multiple database configuration

2007-07-17 Thread yoav200
Hello, 

I have developed a webapp with EJB3, JSF and seam. it run on Jboss and i use 
MYSQL for my database. 
currently i have 5 different databases with 5 datasources. 

my question is how can i configure a single datasource for all 5 databases ? 
is it even possible ? 

thanks

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

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


[jboss-user] [Remoting] - Re: ejb3 and NO_THROW_ON_ERROR, how can it be set.

2007-07-17 Thread itsme
We have the same problem using ejb3 over http with jboss-remoting coming along 
with jboss4.2.0.

We also get the right exception when making calls over rmi but getting 
UndeclaredThrowable caused WebServerError when making the same calls using http 
as transport.

Any solutions to this? Is there a configuration needed on the server side?

regards
/sandor/

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: RMI argument in EJB method

2007-07-17 Thread [EMAIL PROTECTED]
AFAIR, you shouldn't be passing arround Remote objects.

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

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


[jboss-user] [JBoss jBPM] - Re: LinkageError

2007-07-17 Thread ricardomarques
kukeltje wrote : from what I read in other forums and on the internet, could 
be related to classsloading issues or two things accessing the same 
transaction. Sorry, but I hope you can investigate this a little further 
yourself. That would be very helpful

yeah, but i'm following the code to a deeper level than my knowledge, so is a 
bit difficult, but I will be posting here any process, perhaps with some more 
detail and with your knowledge, we could comprehend what is happening.

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

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


[jboss-user] [EJB 3.0] - Re: what happen with my entity bean , need expert help

2007-07-17 Thread ejbiva
wolfc,I tried it again.but is same. sessionBean is initiated succeesfuly,but 
the accessing to entity bean failed.why?The Exception is same

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

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


[jboss-user] [JBoss Portal] - Re: Handling Portal/Portlet Preferences

2007-07-17 Thread brownfielda
anonymous wrote : actually, you should seriously consider that even for 
development

I concur.  I actually found it much easier to understand the environment when 
using a full database.  There are more tools out there to dig through MySQL 
than there are for hypersonic.  I'm not sure what the performance differences 
are, but for learning about what's going on behind the scenes, a real database 
was certainly easier.

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

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


[jboss-user] [EJB 3.0] - Re: Problems with Reference Injection for @EJB-Annotation

2007-07-17 Thread markusschmitt
OK, thanks
problem resolved successfully :-)

Regards
Markus

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Removing a message from the queue

2007-07-17 Thread adoorsarath
Sir,

  I have a JMS client written using Apache Common Messanger APIs.

  I have configured the messenger to create a session which is 

  not   transacted and the Acknowledgement mode as 

  AUTO_ACKNOWLEDGE

 This jms client program is running as a Timer Task [executing 
  
  every 1 minute].But it is always getting the same message from the 

  queue.ie..,Getting already received messages.

   So My question is  Is there any way to delete a message  from
 
  the queue up on  receive of it at the very first time?

  would indeed appreciate  help on this.

 


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

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


[jboss-user] [JBoss Portal] - Re: Expanded Programmatic Security

2007-07-17 Thread brownfielda
Thanks for the information.

Any known workarounds or would it be best to modify the descriptors for the 
time being?

--Andrew

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

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


[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread roth
I created JBPORTAL-1592, but I couldn't assign it to you.

Thanks,
Tobias

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - EAR hotdeployed calling external JAR

2007-07-17 Thread manny88
We have an EAR file that invokes an external JAR class. We are trying to 
hotdeploy the JAR class but to no avail. If the EAR is redeployed, the 
classloader loads the latest instance of the JAR class. Is there a way to 
hotdeploy the JAR class without having to redeploy the EAR file? I assume the 
classloader that loads the the JAR class is the one used by the EAR to load 
EJBs, WARs and JARs. 
I'm looking for a way to have a custom class loader that lets me reload the 
latest JAR class file. I've tried to implement the JBoss classloader to load 
the class from the currenthread.context() but I get CLASSNOTFOUND exceptions. 
I'm not even sure where to put the code for creating/getting the classloader. 
Should that be in the JAR class or in the invoking EAR file class that invokes 
the JAR class? 

Any help here is appreciated. 
Thanks,
Manny

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

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


[jboss-user] [JBoss AOP] - Re: Installation problem on jboss 3.2.7

2007-07-17 Thread fdifonzo
Of course, it might sound good,
but jboss-aop reference states the compatibilty with jboss 3.2.x.
jboss-aop reference is an ufficial document, it shouldn't talk about that if no
longer supported. 
jboss-aop_1.5.5.GA is provided with a set of classes to integrate into 3.2.x and
those seem not to work properly. 

Many Thanks

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Unable to start the JBOSS 4.2.0 GA in Customized Linux envir

2007-07-17 Thread ramanwee
Hi, I have installed the JBoss-4.2.0 GA server in a Linux box for our project. 
The linux version is a customized version. The OS name is
Linux 2.6.18.custom_1.2,i386.

When i start the default JBoss server, the server got automatically shutdown.

The hostname is BSB1 in our case.
I have attached a portion of the Debug Message below. Basically, the 
NetworkRegistry is trying to create a entity which is failing in this 
environment. But when the same JBoss is run on the Linux version2.6.18 without 
the customization, the server is able to come to live.

02:00:51,207 INFO  [Server] Starting JBoss (MX MicroKernel)...
02:00:51,208 INFO  [Server] Release ID: JBoss [Trinity] 4.2.0.GA (build: 
SVNTag=JBoss_4_2_0_GA date=200705111440)
02:00:51,209 INFO  [Server] Home Dir: /root/jboss/jboss-4.2.0.GA
02:00:51,209 INFO  [Server] Home URL: file:/root/jboss/jboss-4.2.0.GA/
02:00:51,210 INFO  [Server] Patch URL: null
02:00:51,210 INFO  [Server] Server Name: default
02:00:51,210 INFO  [Server] Server Home Dir: 
/root/jboss/jboss-4.2.0.GA/server/default
02:00:51,211 INFO  [Server] Server Home URL: 
file:/root/jboss/jboss-4.2.0.GA/server/default/
02:00:51,211 INFO  [Server] Server Log Dir: 
/root/jboss/jboss-4.2.0.GA/server/default/log
02:00:51,211 INFO  [Server] Server Temp Dir: 
/root/jboss/jboss-4.2.0.GA/server/default/tmp
02:00:51,211 INFO  [Server] Root Deployment Filename: jboss-service.xml
02:01:31,521 INFO  [ServerInfo] Java version: 1.5.0_12,Sun Microsystems Inc.
02:01:31,521 INFO  [ServerInfo] Java VM: Java HotSpot(TM) Server VM 
1.5.0_12-b04,Sun Microsystems Inc.
02:01:31,522 INFO  [ServerInfo] OS-System: Linux 2.6.18.custom_1.2,i386
02:01:31,884 INFO  [Server] Core system initialized
02:02:55,493 WARN  [BasicMBeanRegistry] 
javax.management.MBeanRegistrationException: preRegister() failed: 
[ObjectName='jboss.remoting:service=NetworkRegistry', 
Class=org.jboss.remoting.network.NetworkRegistry ([EMAIL PROTECTED])]
02:02:55,514 ERROR [MainDeployer] Could not create deployment: 
file:/root/jboss/jboss-4.2.0.GA/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: - nested throwable: 
(java.lang.reflect.InvocationTargetException)
at 
org.jboss.system.ServiceConfigurator.install(ServiceConfigurator.java:196)
at 
org.jboss.system.ServiceController.install(ServiceController.java:226)

... 41 more
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: 
[ObjectName='jboss.remoting:service=NetworkRegistry', 
Class=org.jboss.remoting.network.NetworkRegistry ([EMAIL PROTECTED])]
at 
org.jboss.mx.server.registry.BasicMBeanRegistry.invokePreRegister(BasicMBeanRegistry.java:7

.
.
.
Caused by: javax.management.MBeanRegistrationException: preRegister() failed: 
[ObjectName='jboss.remoting:service=NetworkRegistry', 
Class=org.jboss.remoting.network.NetworkRegistry ([EMAIL PROTECTED])]
at org.jboss.mx.server.
.
.
.
Caused by: java.lang.RuntimeException: Exception creating identity: BSB1: BSB1
at org.jboss.remoting.ident.Identity.get(Identity.java:211)
at 
org.jboss.remoting.network.NetworkRegistry.preRegister(NetworkRegistry.java:268)
02:02:55,629 INFO  [Server] Runtime shutdown hook called, forceHalt: true
02:02:55,629 INFO  [Server] JBoss SHUTDOWN: Undeploying all packages
02:02:55,636 INFO  [Server] Shutdown complete
Shutdown complete
Halting VM



I would appreciate an earlier help. I want to show a demo of our project to the 
customer ASAP. Please let me know what is the issue and how can we rectify this.


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

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


[jboss-user] [Beginners Corner] - Re: Linkage Error While returning the OrderedMap from EJB

2007-07-17 Thread jaikiran
Looks like that class is present in multiple jar files (which are loaded by 
different classloaders). Have a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassCastExceptions. See if it helps 
identify those jars.



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

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


[jboss-user] [JBoss Portal] - Re: LDAPExtUserModuleImpl and userSearchFilter

2007-07-17 Thread bdaw
Got it! At the moment I'm on different things but I will look at it later this 
week, and will let you know here.

Big thanks for being so proactive with this!

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

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


[jboss-user] [JBoss AOP] - Re: Installation problem on jboss 3.2.7

2007-07-17 Thread [EMAIL PROTECTED]
Thanks, I will update the documentation

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

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


[jboss-user] [JBoss jBPM] - Re: LinkageError

2007-07-17 Thread estaub
Ricardo,

I'm no expert, but I'd be looking at your database and transaction 
configurations.  What database are you using?  It looks like you're running in 
Tomcat - yes?

At the point that you're failing, you're probably opening a Job session for the 
first time.  Jobs are interesting because they run on a different Hibernate 
session (and hence transaction and database connection) from the rest of JBPM.  
This probably has something to do with your problem - like for some reason I 
can't think of, you can't have two transactions open at once.  

On second thought... this is the only spot in the code that I see a 
session.getTransaction() call to Hibernate.  You might look at the 
transaction-related properties in hibernate.cfg.xml and see if they make sense 
in your context.  You might search around on them to get some guidance.

-Ed


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

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


[jboss-user] [JBoss/Spring Integration] - Re: Exploded deployment problem

2007-07-17 Thread alesj
This looks like some weird ClassLoading going on.
Can you check if you don't have duplicated jars in your classpath - even the 
core one's.

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

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


[jboss-user] [JBoss jBPM] - Re: error Resource: org/jbpm/msg/Message.hbm.xml not found

2007-07-17 Thread galvino
i had created two files in server/jbpm/conf : users.properties ans 
roles.properties

into the file users.properties:   ernie=ernie
  roles.properties:ernie=manager,administrator,participant

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

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


[jboss-user] [JBoss jBPM] - Re: error Resource: org/jbpm/msg/Message.hbm.xml not found

2007-07-17 Thread galvino
but i have the same error.


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

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


  1   2   3   >