[jboss-user] [Remoting] - Re: bisocket usage as a tunneling connection

2007-08-13 Thread [EMAIL PROTECTED]
anonymous wrote : can the server call the client synchronously? 

Ah, yes, well, by asynchronous I meant that the server can send callbacks 
independently of any invocations from the client, whenever it wants.  
Asynchronous could also mean that that after sending the callback the server 
does not wait for a response from the client.  In fact, there are many 
variations on the sending of callbacks, including a handleCallback() method 
which, in push mode, waits until it gets a response from the client, and a 
handleCallbackOneway() method, which does not wait.  So you could call 
handleCallbackOneway() asynchronous.  For more on this subject see Section 
5.6. Callbacks of the Remoting Guide.  Also, there is a mechanism for 
requesting an acknowledgement that a callback has been received by the client.

anonymous wrote : can HTTP[s] be used with bisocket?

Remoting has HTTP and HTTPS transports, but these are completely separate from 
bisocket and sslbisocket.



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

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


[jboss-user] [JBoss Seam] - Re: How to modify booking example login?(newbie question)

2007-08-13 Thread guiltyxsin
I changed Hotel.java back to the original version.

Now the error is like cannot execute query. Dose this means it logs me in?

The stack trace also showed something wrong with getBookings. But I comment the 
code in main.xhtml related to booking stuff. How come it still try to execute 
the query?

Stack trace:

  | javax.ejb.EJBException: javax.persistence.PersistenceException: 
org.hibernate.exception.SQLGrammarException: could not execute query
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$RequiresNew.invoke(TxInterceptor.java:262)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulInstanceInterceptor.invoke(StatefulInstanceInterceptor.java:83)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateful.StatefulContainer.localInvoke(StatefulContainer.java:204)
  | at 
org.jboss.ejb3.stateful.StatefulLocalProxy.invoke(StatefulLocalProxy.java:100)
  | at $Proxy636.getBookings(Unknown Source)
  | 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:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at 
org.jboss.seam.intercept.RootInvocationContext.proceed(RootInvocationContext.java:31)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor$1.proceed(ClientSideInterceptor.java:72)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
  | at 
org.jboss.seam.interceptors.SecurityInterceptor.aroundInvoke(SecurityInterceptor.java:39)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.RemoveInterceptor.aroundInvoke(RemoveInterceptor.java:40)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.interceptors.SynchronizationInterceptor.aroundInvoke(SynchronizationInterceptor.java:31)
  | at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | at 
org.jboss.seam.intercept.ClientSideInterceptor.invoke(ClientSideInterceptor.java:50)
  | at 
org.javassist.tmp.java.lang.Object_$$_javassist_49.getBookings(Object_$$_javassist_49.java)
  | 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:597)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
  | at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:124)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1904)
  | at org.jboss.seam.Component.getInstanceFromFactory(Component.java:1766)
  | at org.jboss.seam.Component.getInstance(Component.java:1703)
  | at org.jboss.seam.Component.getInstance(Component.java:1680)
  | at org.jboss.seam.Component.getInstance(Component.java:1674)
  | at org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:57)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | at org.jboss.el.parser.AstValue.getValue(AstValue.java:63)
  | at org.jboss.el.parser.AstEqual.getValue(AstEqual.java:21)
  | 

[jboss-user] [JBoss jBPM] - Re: Database Documentation

2007-08-13 Thread Gramulka66
What I am looking for is some kind of the database reference guide, which 
include a short description of the columns (or I other words, what kind of 
information does the column hold). The optimal would be, if you from the column 
name could get a picture of the contents. Example; with a column named 
personaddress, I would assume the column hold a persons address. But what it 
the column is named tokenindex, then I would have no idea (it might be lack of 
JBPM understanding).
Hope it is more clear now.

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: ActiveMQ integration problem

2007-08-13 Thread vri_97
Hi,
I just get the information. 
Problem no 2, is ActiveMQ and has been fixed in version 5.0.0

refer to :
http://www.nabble.com/-jira--Resolved%3A-%28AMQ-1092%29-Deadlock-when-ActiveMQ-4.X-is-run-as-an-embedded-broker-inside-JBoss-4.X-with-%22%3Cconfig-property-value%3Evm%3A--localhost%3C-config-property-value%3E%22-configured-in-the-ra.xml-file.-tf3908435s2354.html#a11081719

If anyone know what is happening with problem 1, please help ...
Thanks.

Regards,
Ferry

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Way to get the Clients Ip Addresses connected to the JBo

2007-08-13 Thread m_bala23
m_bala23 wrote : Could anyone help me in getting the Ip addresses of the 
client machines that are connected to the Jboss server.
First of all let me know whether there is support in Jboss to get that 
informations by means of any configuration changes in the Jbossif not 
please tell me the way we can achieve that.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Way to get the Clients Ip Addresses connected to the JBoss s

2007-08-13 Thread m_bala23
Could anyone help me in getting the Ip addresses of the client machines that 
are connected to the Jboss server.

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

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


[jboss-user] [JBoss Seam] - Re: Documentation issues

2007-08-13 Thread thejavafreak
Version: 2.0.0.Beta1
Chapter: 25
Sub-chapter: 25.3.2
Page: 221

Bootstrapping JPA In seam

persistence:managed-persistence-context name=entityManager 
session-factory=#{entityManagerFactory}/

I think the ones in bold should've been entity-manager-factory

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

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


[jboss-user] [JBoss Seam] - SeamGen enhancements

2007-08-13 Thread nickarls
Could it be useful to add an expert-mode to SeamGen?

In this mode you would be able to hand-pick technologies for your project:

Would you like to use facelets [y/n]? y
Would you like to enable PDF generation [y/n]? n
What component set would you like to use [ICEFaces, Trinidad]?
Would you like to use Ajax4JSF [y/n] n?
...

And it would copy just the required libs, sort out configuration 
compatibilities and Just Make Things Work(tm) ;-)

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Linkage error when redeploying

2007-08-13 Thread Filot
Hi all,

when I redeploy my application, and when I execute a method, I have this 
exception:


  | 
  | 09:13:07,030 ERROR [[action]] Servlet.service() for servlet action threw 
exception
  | java.lang.LinkageError: loader constraints violated when linking 
org/aspectj/lang/reflect/SourceLocation class
  | 
  | 

So every time I have to restart my server.  I understood that's a problem with 
the classLoader, but I'm not cleat about what I have to do...

Does anyone have an idea!? Please Help!



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

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


[jboss-user] [JBoss Portal] - Re: Adding new portals

2007-08-13 Thread alpinorthoffice
Download and install HelloWorld Portal from 
http://labs.jboss.com/portletswap/portlets_tutorial.html. Everything is OK, but 
the new portal is not accessible from the default page.

The HelloWorld Portal can be accessed only with: 
http://localhost:8080/portal/portal/HelloPortal/default. 

How can a portal object be added as a menu?  

Thank you!

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

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


[jboss-user] [JBossWS] - Re: Error getting WebServiceContext/MessageContext informati

2007-08-13 Thread richard_opalka
Your archive is jboss-j2ee.jar

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

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


[jboss-user] [JBoss Seam] - Re: How to correctly start pageflows

2007-08-13 Thread [EMAIL PROTECTED]
*bump*

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

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


[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-13 Thread pierospinelli
Ok, just a little update:
- I configured the JBoss run script adding the following statement to the JVM 
parameters:-Dorg.quartz.properties=C:/jboss/jboss-4.2.1.GA/server/default/deploy/scheduler.ear/scheduler.war/WEB-INF/classes/db_quartz.properties

The db_quartz.properties looks like that:
org.quartz.scheduler.instanceName = DefaultQuartzScheduler
  | org.quartz.scheduler.rmi.export = false
  | org.quartz.scheduler.rmi.proxy = false
  | org.quartz.scheduler.wrapJobExecutionInUserTransaction = false
  | 
  | org.quartz.threadPool.class = org.quartz.simpl.SimpleThreadPool
  | org.quartz.threadPool.threadCount = 10
  | org.quartz.threadPool.threadPriority = 5
  | org.quartz.threadPool.threadsInheritContextClassLoaderOfInitializingThread 
= true
  | 
  | org.quartz.jobStore.misfireThreshold = 1
  | 
  | org.quartz.jobStore.class = org.quartz.impl.jdbcjobstore.JobStoreTX
  | org.quartz.impl.jdbcjobstore.PostgreSQLDelegate
  | org.quartz.jobStore.driverDelegateClass =  
org.quartz.impl.jdbcjobstore.StdJDBCDelegate
  | org.quartz.jobStore.dataSource = quartzDS
  | org.quartz.jobStore.tablePrefix = QRTZ_
  | 
  | org.quartz.dataSource.quartzDS.driver = com.mysql.jdbc.Driver
  | org.quartz.dataSource.quartzDS.URL = jdbc:mysql://localhost:3306/scheduler
  | org.quartz.dataSource.quartzDS.user = myuser
  | org.quartz.dataSource.quartzDS.password = mypswd
  | org.quartz.dataSource.quartzDS.maxConnections = 5


At this point I receved class not found errors I solved by adding the following 
jars in the shared library dir of JBoss:
- commons-pool-1.3.jar  
  | - commons-dbcp-1.2.2.jar
I downloaded these files from the apache site (since I did not find them in the 
JBoss installation) and they do work only if installed at the server level, not 
in the application. 


Now I had errors caused by the missing of tables in the db. I created the 
tables by using the sql script from the last quartz version I downloaded from 
the quartz site (since I did not find them in the JBoss installation). 

Here I got an error for the PROPERTY field of the TRIGGER table had not default 
(I think it should be a problem from different versions of Quartz): I added 
quickdirty a default and, at the end, I received an error caused by the 
impossibility to find a classloader for the Quartz classes (I report this error 
below).

At this point I try to add the following statement to the db_quartz.properties:
org.quartz.scheduler.useClassLoaderOfInitializer = true
but it did not work.

I even try to copy the file quartz-all-1.6.0.jar under the server shared lib 
directory, but I got no results.

Here I am at the end. Can anyone help me or sugest some docs to read in order 
to get full use of Quartz with SEAM/JBoss? 
Since all the integration with Quartz (for both JBoss  SEAM) seams to rely on 
the In Memory configuration of Quartz, can anyone suggest me an alternative way 
to use it (maybe saving jobs parameters in my own Hybernate classes and 
restoring them at the server start, or something like that...)

The following is the error I'm receving when I start JBoss:


  | 09:59:38,562 INFO  [RARDeployment] Required license terms exist, view 
META-INF/ra.xml in .../deploy/quartz-ra.rar
  | 09:59:38,578 INFO  [QuartzResourceAdapter] start quartz!!!
  | 09:59:38,687 INFO  [SimpleThreadPool] Job execution threads will use class 
loader of thread: main
  | 09:59:38,734 INFO  [QuartzScheduler] Quartz Scheduler v.1.6.0 created.
  | 09:59:38,734 INFO  [JobStoreTX] Using thread monitor-based data access 
locking (synchronization).
  | 09:59:40,187 INFO  [JobStoreTX] Removed 0 Volatile Trigger(s).
  | 09:59:40,187 INFO  [JobStoreTX] Removed 0 Volatile Job(s).
  | 09:59:40,203 INFO  [JobStoreTX] JobStoreTX initialized.
  | 09:59:40,203 INFO  [StdSchedulerFactory] Quartz scheduler 
'DefaultQuartzScheduler' initialized from specified file: 
'C:/jboss/jboss-4.2.1.GA/server/default/deploy/scheduler.ear/scheduler.war/WEB-INF/classes/db_quartz.properties'
  | 09:59:40,203 INFO  [StdSchedulerFactory] Quartz scheduler version: 1.6.0
  | 09:59:40,203 INFO  [JobStoreTX] Freed 0 triggers from 'acquired' / 
'blocked' state.
  | 09:59:40,203 INFO  [JobStoreTX] Handling 1 trigger(s) that missed their 
scheduled fire-time.
  | 09:59:40,265 WARN  [ServiceController] Problem starting service 
jboss.jca:service=RARDeployment,name='quartz-ra.rar'
  | javax.resource.spi.ResourceAdapterInternalException: 
org.quartz.SchedulerConfigException: Failure occured during job recovery. [See 
nested exception: org.quartz.JobPersistenceException: Couldn't store trigger: 
No ClassLoaders found for: org.jboss.seam.async.QuartzDispatcher$QuartzJob [See 
nested exception: java.lang.ClassNotFoundException: No ClassLoaders found for: 
org.jboss.seam.async.QuartzDispatcher$QuartzJob]]
  | at 
org.jboss.resource.adapter.quartz.inflow.QuartzResourceAdapter.start(QuartzResourceAdapter.java:62)
  | at 

[jboss-user] [JBoss Seam] - Re: problem configuring SMPC

2007-08-13 Thread amitev
I've added 


  |   core:entity-manager-factory persistence-unit-name=SeamGenProject 
name=entityManagerFactory /
  | 
  | core:managed-persistence-context name=em
  |   auto-create=true 
  |   
entity-manager-factory=#{entityManagerFactory}/

But now i have another exception now:

 Exception sending context initialized event to listener instance of class 
org.jboss.seam.servlet.SeamListener
  | javax.persistence.PersistenceException: org.hibernate.HibernateException: 
The chosen transaction strategy requires access to the JTA TransactionManager
  | at 
org.hibernate.ejb.Ejb3Configuration.buildEntityManagerFactory(Ejb3Configuration.java:720)
  | at 
org.hibernate.ejb.HibernatePersistence.createEntityManagerFactory(HibernatePersistence.java:121)
  | at 
javax.persistence.Persistence.createEntityManagerFactory(Persistence.java:83)
  | at 
org.jboss.seam.core.EntityManagerFactory.startup(EntityManagerFactory.java:74)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at org.jboss.seam.util.Reflections.invoke(Reflections.java:20)
  | at 
org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:123)
  | at org.jboss.seam.Component.callComponentMethod(Component.java:1842)
  | at org.jboss.seam.Component.callCreateMethod(Component.java:1757)
  | at org.jboss.seam.Component.newInstance(Component.java:1746)
  | at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:175)
  | at 
org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:145)
  | at org.jboss.seam.init.Initialization.init(Initialization.java:504)
  | at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:33)
  | at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4493)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:5150)
  | at com.sun.enterprise.web.WebModule.start(WebModule.java:308)
  | at 
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:45)
  | at 
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283)
  | at 
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:155)
  | at 
com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:171)
  | at 
com.sun.enterprise.web.VirtualServer.startChildren(VirtualServer.java:1566)
  | at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1218)
  | at 
org.apache.catalina.core.StandardHost.start(StandardHost.java:938)
  | at 
com.sun.enterprise.web.LifecycleStarter.doRun(LifecycleStarter.java:45)
  | at 
com.sun.appserv.management.util.misc.RunnableBase.runSync(RunnableBase.java:283)
  | at 
com.sun.appserv.management.util.misc.RunnableBase._submit(RunnableBase.java:155)
  | at 
com.sun.appserv.management.util.misc.RunnableBase.submit(RunnableBase.java:171)
  | at 
com.sun.enterprise.web.EmbeddedWebContainer$WebEngine.startChildren(EmbeddedWebContainer.java:440)
  | at 
org.apache.catalina.core.ContainerBase.start(ContainerBase.java:1218)
  | at 
org.apache.catalina.core.StandardEngine.start(StandardEngine.java:520)
  | at org.apache.catalina.startup.Embedded.start(Embedded.java:923)
  | at com.sun.enterprise.web.WebContainer.start(WebContainer.java:852)
  | at 
com.sun.enterprise.web.PEWebContainer.startInstance(PEWebContainer.java:750)
  | at 
com.sun.enterprise.web.PEWebContainerLifecycle.onStartup(PEWebContainerLifecycle.java:71)
  | at 
com.sun.enterprise.server.ApplicationServer.onStartup(ApplicationServer.java:332)
  | at 
com.sun.enterprise.server.ondemand.OnDemandServer.onStartup(OnDemandServer.java:112)
  | at com.sun.enterprise.server.PEMain.run(PEMain.java:381)
  | at com.sun.enterprise.server.PEMain.main(PEMain.java:308)
  | 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 com.sun.enterprise.server.PELaunch.main(PELaunch.java:274)
  | Caused by: org.hibernate.HibernateException: The chosen transaction 
strategy requires access to the JTA TransactionManager
  | at 
org.hibernate.impl.SessionFactoryImpl.init(SessionFactoryImpl.java:329)
  |  

[jboss-user] [JBoss Seam] - Hibernate Exception

2007-08-13 Thread searabbitmm
Hi.
I have this problem for a long time and can not solve it.
Does anyone know, what may be the reason and solution of the exception:

Batch update returned unexpected row count from update [0]; actual row count: 
0; expected: 1

Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: Documentation issues

2007-08-13 Thread [EMAIL PROTECTED]
Please put bugs in JIRA.

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

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


[jboss-user] [JBoss jBPM] - source code for jbpm4jsf, data form

2007-08-13 Thread rossputin
Hi,

I would like to create my own components similar to the data form for all the 
form views in the console application, but I do not know where to get the 
source code, I found a dead link for subversion or cvs can't remember where or 
which, can anyone tell me where I can get the source code for the jbpm4jsf 
module ?

thanks

Ross

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

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


[jboss-user] [JBoss Seam] - Re: SeamGen enhancements

2007-08-13 Thread [EMAIL PROTECTED]
Yes, it would be great (I think) to have something like this.  But someone 
needs to write it ;)

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

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


[jboss-user] [JBoss Seam] - Re: Quartz configuration in Seam 2.0B

2007-08-13 Thread pierospinelli
Just to be sure I create again the tables for quartz using the sql script of 
the ver. 1.5.2, but I got no-change.

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

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


[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread pierospinelli
Just a question: does anyone experimented any problems with class loading from 
applications jars (event not concerning the custom tags), maybe coused by the 
order on component initialization?

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

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


[jboss-user] [JBoss jBPM] - Re: source code for jbpm4jsf, data form

2007-08-13 Thread rossputin
oh btw I am using the console version that ships with jbpm-jpdl-3.2.1,

cheers

Ross

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: Rendering issues with TC6 in JBossAS 4.2.1

2007-08-13 Thread baz
Thanks sTAN;
We have tried your suggestion.
We changed
mime-mapping
  | extensionxhtml/extension
  | mime-typeapplication/xhtml+xml/mime-type
  | /mime-mapping
  | 
into
mime-mapping
  | extensionxhtml/extension
  | mime-typetext/html/mime-type
  | /mime-mapping
  | After stopping und starting the server and ensuring that the browsers cache 
is cleared we got the same effect. 
So it seems that chaniging the mime type is not the correct solution.
Ciao,
Carsten


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

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


[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread [EMAIL PROTECTED]
OOps, I thought I posted back on this...

You've got your JsfEcoLibrary on the ear classloader and facelets on the war 
classloader.  This is incorrect - all view related classes should go on the war 
classloader.  Alter your build so that JsfEcoLibrary and related classes are 
put into WEB-INF/classes in your build war/ear.

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

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


[jboss-user] [JBoss jBPM] - Re: jPDL Designer and Map parameters in actions

2007-08-13 Thread [EMAIL PROTECTED]
Hi Mark,

Deleting the configuration is indeed not a very clean behaviour ;-)
The idea is definitely that the GPD should behave as you suggest. Can you 
please file a JIRA issue for this?
Regarding node pluggablility, the only information at this moment is the plugin 
itself. All nodes are currently contributed through an extension point. The 
configuration forms are also contributed through the tabbed properties 
extension point. 
I plan to write up an article that shows how to do this and also to make the 
process a lot easier, but in the meantime you will have to bear with reading 
the code. ;-)
Also, feel free to ask questions about it here on the forum, there are already 
a number of people doing this, and I am sure you will get answers if you post 
particular problems.
At the moment I am developing on Eclipse 3.3, but there are AFAIK no 
incompatibilities with Eclipse 3.2.

Regards,
Koen

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad table binding

2007-08-13 Thread [EMAIL PROTECTED]
I would avoid binding where possible.  In this case you can use the 
selectionListener or selectedRowKeys attributes I think instead.

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

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


[jboss-user] [JBoss jBPM] - Re: I deployed jBPM to Weblogic9.1 successfully, but I can no

2007-08-13 Thread frankzhy
May be I didn't describe clearly,more infomation as below:
web.xml login config is:
login-config
  | auth-methodFORM/auth-method
  | form-login-config
  | form-login-page/ua/login.jsf/form-login-page
  | form-error-page/ua/login.jsf?error=true/form-error-page
  | /form-login-config
  | /login-config
Start web server and login as manager,but always response invalid user or 
password.

Appreciate any help.

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

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


[jboss-user] [JBoss Portal] - Retrieving username in portlet after login

2007-08-13 Thread webhunter
Is there anyway to retrieve the username in a portlet once you have logged into 
the portal using the standard jboss portal login facility.

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: regarding jboss-bean.xml?

2007-08-13 Thread mnrz
Any Idea?

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

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


[jboss-user] [JBoss Seam] - Re: regarding jboss-bean.xml?

2007-08-13 Thread [EMAIL PROTECTED]
To which server?

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

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


[jboss-user] [JBoss Seam] - beans and different packages

2007-08-13 Thread mnrz
Hi all

I want to put different beans in different packages, for example, my ejbs to 
perform the persistence operations in a package say dao and my jsf beans 
regarding presentation layer in another package namely view but the problem 
is that Seam doesn't know them, JBoss Seam only knows the beans located in 
view package

is there any way to declare which packages contain my beans?

thank you very much

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

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


[jboss-user] [JBoss Seam] - Re: regarding jboss-bean.xml?

2007-08-13 Thread mnrz
[EMAIL PROTECTED] wrote : To which server?

I am using Tomcat 5.5 and JBoss Seam v1.1.6

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

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


[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread pierospinelli
Many Thanks for your reply, Pete.

Just to be sure I've understood:
- I created a project named schedule with seam-gen
- I loaded the project in JBossIDE
- I created my classes and tag libs under the source folders of the project.

Now, I deployed for test using the explode tag of the build.xml created by 
seam-gen. The explode operation created:
- a schedule.ear under the server/deploy dir
- a schedule.ear/schedule.jar dir with all the application classes
- a schedule.ear/schedule.war dir with all xhtml, config files, etc...
- a schedule.ear/schedule.war/WEB-INF/lib dir with all the seam jar files
- a schedule.ear/schedule.war/WEB-INF/classes dir containing just some property 
file (no classes at all).

Till now, this is the standard behavior of the explode operation (I didn't 
touch anything in this phase): here I have the error. 

So, when you say:
anonymous wrote : Alter your build so that JsfEcoLibrary and related classes 
are put into WEB-INF/classes in your build war/ear.

do you mean I have to change the standard build.xml so that the explode 
operation creates the scheduler.jar lib under .../WEB-INF/lib ?

I do not understand if it is a miss-behaviour of the build.xml or if I did 
something wrong.

Thanks again.

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

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


[jboss-user] [JBoss Seam] - Re: regarding jboss-bean.xml?

2007-08-13 Thread [EMAIL PROTECTED]
Probably best to ask in the EJB3 forum (I'm guessing you are using Embeddable 
EJB3).

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

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


[jboss-user] [JBoss Seam] - Re: Trinidad table binding

2007-08-13 Thread marcopan
Thanks for the answer. 

I'll avoid the binding, as you suggest, but it is not without a loss of 
elegance in the code. 

If you select many rows and use a listener you do a roundtrip for every 
selection (to save the keys of the selected rows somewhere) , while you 
actually need only the last one, when you activate the command (in instance, 
when you click the delete button after having selected the delatable rows).

But the real question is:

Is this problem in the binding of the trinidad table something concerning this 
specific components or is it something that affects other components and/or the 
whole seam/trinidad cohabitation? The binding problem would affect even a 
standard h:dataTable or the rich:dataTable components (even if you do not need 
to bind a standard datatable as you do not have any information to collect)?

Thanks a lot

Marco

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

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


[jboss-user] [EJB 3.0] - regardig jboss-beans.xml

2007-08-13 Thread mnrz
HI

because we have to deploy our application in many servers with different 
specifications and configurations, I need to have an external config file in 
which I declare simply IP and connection url
the question is that how can I put these info into a file so jboss-beans.xml 
read those information because this file currently located in jar file it is 
difficult to alter the file and create a new jar file for each server

thank you

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

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


[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread marcopan
I had more or less the same problem in my application. I needed some not 
standard jars that must be available in the backing beans and I did not find a 
place where to put them in order to have them correctly deployed by the 
standard build.xml.

After many tries, I put them manually in the default/lib directory. A very ugly 
solution, I understand, so I'm looking for a better understanding of the 
problem.

Marco

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

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


[jboss-user] [JBoss Portal] - Re: Retrieving username in portlet after login

2007-08-13 Thread webhunter
ok found it.

you can  use the getUserPrincipal() method on the PortletRequest object.

If you are wondering where is the PortletRequest object, the rRequest object 
in protected void doView(RenderRequest rRequest, RenderResponse rResponse) is 
the PortletRequest object.

To get the actual user name you could use:
rRequest.getUserPrincipal().getName()

Cheers.

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

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


[jboss-user] [JBoss Portal] - Re: Retrieving username in portlet after login

2007-08-13 Thread Cerberus310
RenderRequest.getRemoteUser() will provide you with the string representation 
of the user. I recommend consulting the API JDoc for more info.

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

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


[jboss-user] [JCA/JBoss] - Re: Dynamic property loading on server startup

2007-08-13 Thread loumaus
i might not have described the problem as exact as needed. 

im already using a property file which is used on bootstrap ( set -P option ). 

i have declared some tokens in the jboss-service.xml files and in my 
oracle-ds.xml file. 

The tokens in the jboss-server.xml are properly parsed where as  the onces in 
the oracle-ds.xml file are not touched. 

Eventually it looks to me like the bootstrap -P option does not work for any 
jca related configuration files. 

If this should be the case ( I could still made a mistake myself ) is there a 
way to let a jca adapter use a -ds.xml configuration file containing 
placeholders 


thanks again for your help

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: OutOfMemoryError on Windows

2007-08-13 Thread scauwe
Hi Peter,
I think you hit the seak spot. If I double the perm space to 128M, I can loop 
over 9500 'records'.
Turning on garbadge collection debugging, I see that when the perm space is 
getting full, it removes a long list of on-the-fly generated classes. It needs 
4 Full GC cycles and more then 30 seconds to do this. At then end, the perm 
space and tenure space have enough free memory, but it still generates an 
OutOfMemoty exception.
The gc log gives the following 4 successive garbadge collections:

  | 405.633: [Full GC 405.633: [Tenured: 197077K-194077K(932096K), 2.9671419 
secs] 197235K-194077K(1036928K), [Perm : 131071K-130711K(131072K)], 2.9672640 
secs]
  | 410.008: [Full GC 410.008: [Tenured: 194077K-194452K(932096K), 2.1127909 
secs] 214844K-194452K(1036928K), [Perm : 131071K-131071K(131072K)], 2.1128859 
secs]
  | 412.138: [Full GC 412.138: [Tenured: 194452K-194452K(932096K), 2.0313302 
secs] 194603K-194452K(1036928K), [Perm : 131071K-131071K(131072K)], 2.0314277 
secs]
  | 414.258: [Full GC 414.258: [Tenured: 194452K-119631K(932096K), 26.2546285 
secs] 194874K-119631K(1036928K), [Perm : 131071K-60643K(131072K)], 26.2547290 
secs]
  | 
Any clue why after having cleaned up all the memory, and having more then 
enough free memory, it is still returning an OutOfMemoryError?

Does the memory allocation have some sort of 'timeout'? (I tried decreasing the 
perm space so it would take less time, but this did not help.)

Stefaan

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

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


[jboss-user] [JBoss Seam] - Question concerning remoting

2007-08-13 Thread campi
Hi,
I have a little problem that i cannot resolve, and I wanted to known your point 
of vue concerning my problem.
I'am using : 
- EJB3
- SEAM 1.2.1-GA
- JPBM 3.1.4
- JRules 3.0.8
- 

My problem is in a part of the application I need to generate forms using xml 
and xsl transformation. I have worked a lot on this point and everything is 
working fine except the upload of files. I'm explaining the problem.

I'am using :


  | @In (value=#{facesContext.externalContext})
  | private ExternalContext extCtx; 
  | 

With this I can get all the data submitted, and with JAXB (classes generated 
from the xsd of the xml file) I stock the new xml with all the data into an 
eXist Database (xml database).
My problem is concerning the part where I need to download a file that where 
submitted to consult it. Due to the fact that I could map use jsf tag, I wanted 
to use seam remoting to access a method use to download, but the problem is 
that I don't have any access to the FaceContext when the javascript call is 
made...

I post my test code example :

The JSF Page : 

  | div class=main-part id=main-part
  | 
  | script type=text/javascript 
src=../seam/resource/remoting/resource/remote.js/script
  | script type=text/javascript 
src=../seam/resource/remoting/interface.js?fileAction/script
  | 
  | script type=text/javascript
  | //![CDATA[
  | 
  | Seam.Remoting.setDebug(true);
  | 
  | function download(fileName) { 
  |   
Seam.Component.getInstance(fileAction).downloadFromRemoteJavascript(fileName 
, downloadCallback);
  | }
  | 
  | function downloadCallback(result) {
  |   alert(result);
  | }
  | 
  | // ]]
  |   /script 
  | 
  | h:form id=form1 name=form1 
enctype=multipart/form-data
  | 
  | f:subview 
rendered=#{testAction.fileName!=null}
  | a href=# 
onclick=javascript:download('#{testAction.fileName}');Download 
#{testAction.fileName}/abr/
  | /f:subview
  | 
  | File : input type=file id=idFileInput 
name=nameFileInput title=titleFileInput /br /
  | 
  | div class=breaker / 
  | h:commandButton action=#{testAction.submit} 
value=Submit /
  | 
  | 
  | /h:form
  | 
  | /div
  | 

The coordination Action Bean that is called when I sumit the form:

  | @Name(testAction)
  | @Stateful
  | public class TestActionBean implements TestAction {
  | 
  | @Logger
  | private Log log;
  | 
  | @In (value=#{facesContext.externalContext})
  | private ExternalContext extCtx; 
  | 
  | @In(create=true)
  | private Processor processor;
  | 
  | @In(create=true)
  | private FileManager fileManagerLocal;
  | 
  | private String fileName;
  | 
  | @Create 
  | @Begin(join=true)
  | public void begin() {
  | log.info(Instanciation de la conversation);
  | }
  | 
  | /**
  |  * @see ...#submit()
  |  */
  | public void submit() {
  | log.info(Submit); 
  | 
  | try {
  | 
  | //on convertis la request en multipart
  | MultipartRequest multipartRequest = 
(MultipartRequest)extCtx.getRequest();
  | 
  | //dans le cas où on aurait déjà uploadé un fichier, un 
supprime l'ancien fichier pour que le nouveau le remplace
  | if(this.fileName!=null){
  | this.fileManagerLocal.deleteFile(this.fileName);
  | }
  | 
  | //on crée un objet de type Fichier avec les 
informations récupéré depuis la request
  | Fichier fichier = new Fichier();
  | 
fichier.setFileContentType(multipartRequest.getFileContentType(nameFileInput));
  | 
fichier.setFileName(multipartRequest.getFileName(nameFileInput));
  | 
fichier.setFileSize(multipartRequest.getFileSize(nameFileInput));
  | 
fichier.setFileData(multipartRequest.getFileBytes(nameFileInput));
  | 
  | 
  | //on sauvegarde sur le disque le fichier et on conserve 
le nom unique de ce fichier
  | 
  | this.fileName = 
FileTools.getFileNameFromUrl(this.fileManagerLocal.saveFile(fichier),/);
  | 
  | } 

[jboss-user] [JBossCache] - Re: Performance expectations

2007-08-13 Thread BruceSpringfield
Out of curiosity, is Optimistic locking still an issue with POJOCache in 2.0 
Habanero?

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Message groups/unit of work

2007-08-13 Thread swapna.bhat
Hi,

We have a requirement where in async processing has to be done in parallel for 
two of the tasks and the combined result should be sent to the requestor in a 
third asnych processing. 
Is this possible with JBossMQ?

Process 1  MDB1  processing
Process 2  MDB2 processing

Process 3  MDB3 processing (when both the MDB1 and MDB2 processing is 
completed)

Need some help/insight if this can be achieved in JbossMQ.
Please forward the links/documentation to achieve the same if possible.

Thanks,



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

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


[jboss-user] [JBoss Seam] - Re: Strange behavior of jar file loading

2007-08-13 Thread [EMAIL PROTECTED]
pierospinelli wrote : 
  | So, when you say:
  | anonymous wrote : Alter your build so that JsfEcoLibrary and related 
classes are put into WEB-INF/classes in your build war/ear.
  | 
  | do you mean I have to change the standard build.xml so that the explode 
operation creates the scheduler.jar lib under .../WEB-INF/lib ?
  | 
  | 

No.  Not the whole jar.  JUST the classes associated with your taglibrary.  You 
can either package them as a non-exploded jar in WEB-INF/lib or just as classes 
under WEB-INF/classes.

anonymous wrote : I do not understand if it is a miss-behaviour of the 
build.xml or if I did something wrong.

Neither.  The build.xml from seam-gen is just a working template for you to 
customise (as with the rest of seam-gen stuff).  It's not setup for doing what 
you are doing, so you need to modify it.

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

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


[jboss-user] [Beginners Corner] - Exception while testing JBOss testsuite (4.0.5) with TCP co

2007-08-13 Thread sarada_ch
Hi i am running the JBOss testsuite on MCP operating system and getting the 
below error org.hsqldb.jdbc.jdbcConnection could any one help regarding this

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

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


[jboss-user] [JBossCache] - Re: Performance expectations

2007-08-13 Thread BruceSpringfield
Which version of JBOSS Cache was Lior using?

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

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


[jboss-user] [JBoss Seam] - Re: entityManager goes null on form submit?

2007-08-13 Thread wesleyhales
Since *.seam is mapped to a FacesServlet I cannot use web:context-filter 
url-pattern=*.seam/.

Any other suggestions?

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

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


[jboss-user] [JBoss Seam] - Re: entityManager goes null on form submit?

2007-08-13 Thread [EMAIL PROTECTED]
Look at what the context filter does (it wraps your servlet in a 
ContextualHttpServletRequest) and apply that to your own code.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Is JBoss running?

2007-08-13 Thread gokul_ifs
Our UNIX server has JBoss installed in it. And when I try to run JBoss it shows 
an error as

06:03:40,412 ERROR [Http11Protocol] Error starting endpoint
  | java.net.BindException: Address already in use: 8080

I logged in as root and I did 'ps -ef' in the UNIX server to list all the 
processes running in the server. I find that no process is using the port 8080.

If JBoss is already running the I should get the JBoss page in IE. In my case I 
am not getting the JBoss page in IE. 

Any help is greatly appreciated.


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Way to get the Clients Ip Addresses connected to the JBo

2007-08-13 Thread [EMAIL PROTECTED]
In any case, please don't open JIRA issues for this type of user questions, 
thanks.

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

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


[jboss-user] [JBoss Portal] - Re: Redirect in a PageInterceptor renders the page in backgr

2007-08-13 Thread staale
Antoine_h wrote : 
  | 
  | using a servlet filter ?
  | in front of the main serlvet(s) of the portal, change/rewrite the url so 
the portal see it as a secured one.
  | look at the portal-server war for that.
  | there are for servlet (two not secured, two secured).
  | should be the best way, as it does not touch the portal processing. just 
make it see what you want it to see.
  | 
  | hope this can help...
  | 

Thanks for the post. The last idea is probably the safest way. I was blinded by 
the fact that it was very easy use the properties in the XX-object.xml for each 
page. 

I can rewrite the code to work in a tomcat valve. The hard part is that I have 
to read the XX-object.xml by myself - or make another configuration file to 
enable/disable secure mode for a page. 

We have a rather large system - and adding even more custom properties in 
separate files is probably not what my customer want right now - so im guessing 
a custom parser just to pick out a page name and the secure property for it 
might be the solution.

Ill stop writing and go coding :)

Regards, 
Ståle

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

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

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


[jboss-user] [JBoss Seam] - Re: Question concerning remoting

2007-08-13 Thread campi
I have no problem to access to the annoted @WebRemote method of my 
FileActionBean, the problem is (certainly because of the remote javascript 
access) no access of the Facecontext.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Limit the number of user loggins

2007-08-13 Thread JoergPaul
Hi all,

I am not shure if this is the right place for my question, but I am completely 
new to JBoss.

So, what I need is an answer to this:

Is it possible to limit the number of users to logg on?

E.g. I have an application running on JBoss that is not able to limit the 
users. How do I configure JBoss to let 30 users  in and for user number 31 it 
shows a web page saying: Sorry, too many users, come back later.

Thanks for your help
Joerg

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

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


[jboss-user] [EJB 3.0] - need help for Transaction Attribute Types

2007-08-13 Thread grdzeli_kaci
good day,
i need something like that :

  | @Stateful
  | @Remote(TestFasade.class)
  | public class TestFasadeBean implements TestFasade {
  | 
  | @PersistenceContext(unitName = Oracle)
  | private EntityManager oracleManager;
  | 
  | @TransactionAttribute(??)
  | public void create(Test test) {
  | try {
  | System.out.println(start persist);
  | oracleManager.persist(test);
  | System.out.println(end persist);
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | @TransactionAttribute(??)
  | public void comit() {
  | try {
  | System.out.println(start comit);
  | oracleManager.flush();
  | System.out.println(end comit);
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | }
  | 
i want that first method create must not be flushed into database before i 
call commit.
is it possible, and i don't want class variable initialization.
is it possible by transaction  types or something like that ?


any idea will be appreciated.



___
Regards
Paata,

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

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


[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-08-13 Thread EagleEye
chuckadams wrote : You can't depend on the EJB3 container being initialized 
in a @BeforeClass/beforeTestClass method, because it does in fact run before 
the embedded container is started by SeamTest.init().  
  | 

Yep got the same problem. But with your idea you will get the same problem. 
It's not workin, even the empty test class inheriting from SeamTest with a 
@BeforeClass/beforeTestClass method is executed before the EJB3 container being 
initialized. I'm couldn't solve this problem.

Not a good work around is to do the init method for the DS without any 
@Before And call this method from every test class with

  | protected void initDataSource(){
  |  emf = Persistence.createEntityManagerFactory(mediportal);
  | }
  | 

and call this method in every TestClass
with

  | @Configuration(beforeTestClass = true)
  | public void initDS() {
  |  initDataSource();
  | }
  | 

That means the DS will be initialized before every TestClass. It's stupid, cuz 
if you would write a test suite there is no sense to init the DS in every class.

anonymous wrote : 
  | Speaking of things out of date, Seam is using a pretty old version of 
TestNG.  Any plans to update it to 5.1?
  | 
This is also a really good question.

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

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


[jboss-user] [JBoss jBPM] - Re: Business Calendar modified property

2007-08-13 Thread Heiner Niehues
Thanks... 
No i get it.



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

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


[jboss-user] [JBoss Seam] - Re: sjsas and Seam. method not found exception

2007-08-13 Thread cisrudlow
My test-client.xhtml

?xml version='1.0' encoding='UTF-8' ? 
!DOCTYPE html PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
html xmlns=http://www.w3.org/1999/xhtml;
  xmlns:ui=http://java.sun.com/jsf/facelets;
  xmlns:h=http://java.sun.com/jsf/html;


This text above will not be displayed.

ui:composition template=/template.xhtml

This text will not be displayed.

ui:define name=title
Facelets
/ui:define

This text will also not be displayed.

ui:define name=body
Hello, this text comming from template client.
h:form
h:commandButton value=Click me action=#{test.test}/
/h:form
/ui:define

This text will not be displayed.

/ui:composition

This text below will also not be displayed.




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

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


[jboss-user] [JBoss Seam] - Maintain async calls after restart

2007-08-13 Thread hispeedsurfer
Hi,

what can I do to maintain asynchronous calls after shutdown of JBoss AS?

I use the similar asynchronous call as in quartz example. Everything works 
fine, but after server restart all timers (or whatever is created in 
background) are gone. 

What is be designed to keep such timers in memory?

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

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


[jboss-user] [JBoss Seam] - Re: Hibernate Exception

2007-08-13 Thread fernando_jmt
How your JPA QL for batch update looks like? (post code)

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

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


[jboss-user] [JBoss Seam] - release dates for 2.0.0.CR1 / 2.0.0.GA?

2007-08-13 Thread alanlynott
Just out of interest. The roadmap states:
 2.0.0.GA  ( 06/Aug/07 | Release Notes )
 2.0.0.CR1  ( 23/Jul/07 | Release Notes )

Also, are there any dates for the next version of RichFaces? There aren't any 
dates in the roadmap.

Thanks, Al.

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

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


[jboss-user] [JBoss Portal] - IdentityException

2007-08-13 Thread georgy
I have some difficulties with my ldap configuration

My configuration is :

login-config.xml


  | login-module code=org.jboss.portal.identity.auth.IdentityLoginModule 
flag=sufficient
  | module-option 
name=unauthenticatedIdentityguest/module-option
  | module-option 
name=userModuleJNDINamejava:/portal/UserModule/module-option
  | module-option 
name=roleModuleJNDINamejava:/portal/RoleModule/module-option
  | module-option 
name=userProfileModuleJNDINamejava:/portal/UserProfileModule/module-option
  | module-option 
name=membershipModuleJNDINamejava:/portal/MembershipModule/module-option
  | module-option 
name=additionalRoleAuthenticated/module-option
  | module-option 
name=password-stackinguseFirstPass/module-option
  |  /login-module
  |  
  |  
  |  
  |   login-module 
code=org.jboss.security.auth.spi.LdapExtLoginModule flag=required
  | module-option 
name=java.naming.factory.initialcom.sun.jndi.ldap.LdapCtxFactory/module-option
  | module-option 
name=java.naming.provider.urlldap://192.168.10.240:389/module-option
  | module-option 
name=java.naming.security.authenticationsimple/module-option
  | module-option name=bindDN[EMAIL PROTECTED]/module-option
  | module-option name=bindCredential/module-option
  | module-option 
name=roleFilter(sAMAccountName={0})/module-option
  | module-option name=roleAttributeIDmemberOf/module-option
  | module-option name=roleAttributeIsDNtrue/module-option
  | module-option name=roleNameAttributeIDcn/module-option
  | module-option name=roleRecursion-1/module-option
  | module-option name=searchTimeLimit1/module-option
  | module-option name=searchScopeSUBTREE_SCOPE/module-option
  | module-option name=allowEmptyPasswordsfalse/module-option
  | !--module-option 
name=hashAlgorithmMD5/module-option--
  |  /login-module
  | 


ldap_config.xml


  | identity-configuration
  |datasources
  |   datasource
  |  nameLDAP/name
  |  config
  | option
  |namehost/name
  |value192.168.10.240/value
  | /option
  | option
  |nameport/name
  |value389/value
  | /option
  | option
  |nameadminDN/name
  |value[EMAIL PROTECTED]/value
  | /option
  | option
  |nameadminPassword/name
  |value*/value
  | /option
  | !--option
  |nameprotocol/name
  |valuessl/value
  | /option--
  |  /config
  |   /datasource
  |/datasources
  |modules
  |   module
  |  !--type used to correctly map in IdentityContext registry--
  |  typeUser/type
  |  implementationLDAP/implementation
  |  
classorg.jboss.portal.identity.ldap.LDAPExtUserModuleImpl/class
  |  config/
  |   /module
  |   module
  |  typeRole/type
  |  implementationLDAP/implementation
  |  config/
  |   /module
  |   module
  |  typeMembership/type
  |  implementationLDAP/implementation
  |  config/
  |   /module
  |   module
  |  typeUserProfile/type
  |  implementationDELEGATING/implementation
  |  config
  | option
  |nameldapModuleJNDIName/name
  |valuejava:/portal/LDAPUserProfileModule/value
  | /option
  |  /config
  |   /module
  |   module
  |  typeDBDelegateUserProfile/type
  |  implementationDB/implementation
  |  config
  | option
  |namerandomSynchronizePassword/name
  |valuetrue/value
  | /option
  |  /config
  |   /module
  |   module
  |  typeLDAPDelegateUserProfile/type
  |  implementationLDAP/implementation
  |  config/
  |   /module
  |/modules
  | 
  |options
  |   option-group
  |  group-namecommon/group-name
  |  option
  | nameuserCtxDN/name  
  | valueou=IDF,ou=Collaborateurs,dc=proxiad-nord,dc=com/value
  | 
valueou=Nord,ou=Collaborateurs,dc=proxiad-nord,dc=com/value
  |  /option
  |   !--option
  | namepasswordAttributeID/name
  | valueuserPassword/value
  |  /option--
  |  option
  | nameroleCtxDN/name
  | valueou=Groupes,dc=proxiad-nord,dc=com/value
  |  /option
  |  option
  | nameuserSearchFilter/name
  | 

[jboss-user] [Beginners Corner] - Login for Web-Application

2007-08-13 Thread fermat42
Hi,

I want to build a web-application using JBoss. The Application should only be 
usable for authorized users. So I have build a protected Webside called 
protected/test.jsp. Then I used the following web.xml:


web-app version=2.4 xmlns=http://java.sun.com/xml/ns/j2ee; 
xmlns:xsi=http://www.w3.org/2001/XMLSchema-instance; 
xsi:schemaLocation=http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd;

session-config
session-timeout
30
/session-timeout
/session-config

welcome-file-list
welcome-file
index.jsp
/welcome-file
/welcome-file-list

security-constraint
display-nameVDrive Protected/display-name
web-resource-collection
web-resource-nameVDrive/web-resource-name
VDrive Configuration Pages
url-pattern/vdrive/test.jsp/url-pattern
http-methodGET/http-method
http-methodPOST/http-method
http-methodHEAD/http-method
http-methodPUT/http-method
http-methodOPTIONS/http-method
http-methodTRACE/http-method
http-methodDELETE/http-method
/web-resource-collection
auth-constraint
role-nameadministrator/role-name
/auth-constraint
/security-constraint

login-config
auth-methodBASIC/auth-method
/login-config
/web-app


In the directory server/default/conf I put the following users.properties:

fermat=test


and roles.properties:

fermat=administrator


This is based on http://www.techienuggets.com/Detail?tx=2, but I used basic 
authentication instead of form. But anyway (if using Form or Basic) I am asked 
for a login and password and after entering I get an empty page and the 
following exception:


14:41:39,763 ERROR [CoyoteAdapter] An exception or error occurred in the 
container during the request processing
java.lang.ClassCastException: org.jnp.interfaces.NamingContext cannot be cast 
to org.jboss.security.SubjectSecurityManager
at 
org.jboss.web.tomcat.security.JBossSecurityMgrRealm.authenticate(JBossSecurityMgrRealm.java:488)
at 
org.apache.catalina.authenticator.BasicAuthenticator.authenticate(BasicAuthenticator.java:181)
at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:491)
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:157)
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:619)


Can anyone tell me what is going wrong? Is there a usable tutorial for this?

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

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


[jboss-user] [JBoss Seam] - Re: TestNG and Seam Documentation 12.1. Unit testing Seam co

2007-08-13 Thread [EMAIL PROTECTED]
CVS uses Testng 5.6

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

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


[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

2007-08-13 Thread [EMAIL PROTECTED]
Embedded JBoss exposes stuff at #{ejbName}/local not ear-name/#{ejbName}/local

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

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


[jboss-user] [Beginners Corner] - Re: Login for Web-Application

2007-08-13 Thread fermat42
To avoid questions: The protected page is vdrive/test.jsp, not 
protected/test.jsp

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-13 Thread [EMAIL PROTECTED]
I think EJB3 timers are persisted across server restarts.

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

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


[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types

2007-08-13 Thread ALRubinger
Looks like you'd just like an Extended Persistence Context, so that your EM 
isn't flushed to the DB automatically at JTA Commit.

http://docs.jboss.org/ejb3/app-server/tutorial/extended_pc/extended.html

S,
ALR

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

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


[jboss-user] [JBoss jBPM] - getNodeTypes() and getNodeNames() in org.jbpm.graph.node.Nod

2007-08-13 Thread lanzm
it seems that getNodeTypes() and getNodeNames() in NodeTypes where never used 
until now :-)

from jbpm-jpdl-3.2.1 getNodeTypes() is returning nodeNames and vice versa.


  | package org.jbpm.graph.node; 
  | 
  | public class NodeTypes {
  | 
  |   public static Set getNodeTypes() {
  | return nodeNames.keySet();
  |   }
  |   
  |   public static Set getNodeNames() {
  | return nodeTypes.keySet();
  |   }

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: mod_jk - Broken Pipe error

2007-08-13 Thread ALRubinger
Is the cause of these a ClientAbortException?  I've seen this frequently when 
users reload or close their browsers while the server is still sending data 
(the response).

Also wondering the effects of this.

S,
ALR

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

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


[jboss-user] [JBoss jBPM] - Re: task-node attribute create-tasks

2007-08-13 Thread warfster
Your welcome, though the thanks are due to you, since it was your suggestion 
that pointed me in the direction of the solution.

'til next time.

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

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


[jboss-user] [Management, JMX/JBoss] - JMX MBean attribute fetch in Web Service Bean possible?

2007-08-13 Thread dwbrown
Hello JBoss JMX dev, gurus and users. I have the dubious task of fetching the 
JMX MBean attribute labled: HomeDir or the key: jboss.home.url from inside a 
Web Service back-end bean. Under JBoss Administration Console/System Properties 
I see the system property labled: jboss.home.url and its string value. What is 
the API or best avenue to fetch this value within a web service back end Java 
Bean class? The particulars follow. Thanks in advance and please advise, David.

OS: Debian 3.1 or GNU/Linux
Web Service: Axis1.2
JBoss: 4.2.1.GA

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

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


[jboss-user] [JBoss Seam] - A few issues.

2007-08-13 Thread tzman
My apologies if these issues have already been fixed/mentioned.

1.) org.jboss.seam.mock.BaseSeamTest


  | 
  |protected void startJbossEmbeddedIfNecessary() throws 
DeploymentException, IOException
  |{
  |   if ( !started )
  |   {
  |  Bootstrap bootstrap = Bootstrap.getInstance();
  |  bootstrap.bootstrap();
  |  started = true;
  |  if ( resourceExists(seam.properties) ) 
  |  {
  | bootstrap.deployResourceBase(seam.properties);
  |  }
  |  if ( resourceExists(META-INF/components.xml) ) 
  |  {
  | bootstrap.deployResourceBase(META-INF/components.xml);
  |  }
  |  if ( resourceExists(META-INF/seam.properties) ) 
  |  {
  | bootstrap.deployResourceBase(META-INF/seam.properties);
  |  }
  |   }
  |}
  | 

The call to deployResourceBase will only locate the first resource?

or should this be:


  | 
  | 
  | @Override
  | protected void startJbossEmbeddedIfNecessary(
  | ) throws DeploymentException, IOException
  | {
  | Bootstrap   bootstrap;
  | if ( !started )
  | {
  | bootstrap = Bootstrap.getInstance();
  | bootstrap.bootstrap();
  | started = true;
  | if ( resourceExists( seam.properties ) ) 
  | {
  | bootstrap.deployResourceBases( seam.properties );
  | }
  | if ( resourceExists( META-INF/components.xml ) ) 
  | {
  | bootstrap.deployResourceBases(META-INF/components.xml );
  | }
  | if ( resourceExists( META-INF/seam.properties ) ) 
  | {
  | bootstrap.deployResourceBases(META-INF/seam.properties );
  | }
  | }
  | }
  | 
  | 
  | 


2.) org.jboss.seam.framework.Identifier

The equals method checks for an instance of the derived type 
org.jboss.seam.framework.EntityIdentifier


3.) It doesn't appear as though we can use injection in base classes. Am I 
mistaken? Is this a design decision?
We have gotten around this by retrieving the components programatically, i.e. 
Component.getInstance( entityManager );

This means that for testing I have to load the container, when I only need 
hibernate; or I have to do a check in by base class before retrieving the 
component to ensure the application context is active.


Thanks for all the work.



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

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


[jboss-user] [JBoss Tools (users)] - Re: Exadel Plugins available in opensource

2007-08-13 Thread jpsantos
Yes,

I want to get get familiar with the souce, to try help...

[]'s

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

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


[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

2007-08-13 Thread [EMAIL PROTECTED]
As I said that JNDI pattern is *wrong* for embedded ejb3. It should be 

Object test = JndiUtil.lookup(KomunikatyManagerBean/local, 
KomunikatyManagerBean.class);
  | 
  | KomunikatyManager komunikatyManager = (KomunikatyManager)
  | getInstance(KomunikatyManagerBean.class);

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

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


[jboss-user] [Remoting] - Re: Exposing MBeans with remoting

2007-08-13 Thread hauch
Thanks for your answer.

As far as I can see, it answers my question on how to obtain something similar 
to RMIAdaptor (ie. exposing the MBeanServer interface remotely). 

However I can't see if anything like the JRMPProxyFactory is supported (ie. 
exposing a typed interface)?

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

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


[jboss-user] [EJB 3.0] - Re: need help for Transaction Attribute Types

2007-08-13 Thread grdzeli_kaci
ALRubinger wrote : Looks like you'd just like an Extended Persistence 
Context, so that your EM isn't flushed to the DB automatically at JTA Commit.
  | 
  | http://docs.jboss.org/ejb3/app-server/tutorial/extended_pc/extended.html
  | 
  | S,
  | ALR

Great Thanks for your posts,
i did what you say but problems is not resolved, my example now looks like :

  | @Stateful
  | @Remote(TestFasade.class)
  | public class TestFasadeBean implements TestFasade {
  | 
  | @PersistenceContext(type = PersistenceContextType.EXTENDED)
  | EntityManager oracleManager;
  | 
  | Test test;
  | 
  | public Long create() {
  | try {
  | System.out.println(start persist);
  | test = new Test();
  | test.setAge(21L);
  | test.setName(adsdasd);
  | test.setSurname(asdasd);
  | oracleManager.persist(test);
  | System.out.println(end persist);
  | Long ret = test.getId();
  | return ret;
  | } catch (Exception e) {
  | e.printStackTrace();
  | return 0L;
  | }
  | }
  | public void comit() {
  | try {
  | System.out.println(start comit);
  | oracleManager.flush();
  | System.out.println(start end);
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | }
  | }
  | 

and after call create method information is flushed into database :(  did i 
something incorrect ?
or maybe i have some bad versions of enviroment :
AS : JBoss AS 4.2.1.GA with ejb 3 included



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

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


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

2007-08-13 Thread cheets
oh oh... completely my fault. simply overlooked taskInstance.addComments() 
function :(
thanks a lot Ronald!
this solves my problem completely:)

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Restart of datasource whithout jboss-restart?

2007-08-13 Thread kyuss
Hi,

is it possible to restart a DB2, which is connected via local-tx-datasource, 
without restarting the jboss? 
We're saving some data in the jboss-cache, which should'nt get lost, after the 
restart of the database.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Exadel Plugins available in opensource

2007-08-13 Thread [EMAIL PROTECTED]
Cool! :)

[EMAIL PROTECTED] is the development mailing list if you got 
questions/input/suggestions.

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-13 Thread hispeedsurfer
I don't know if quartz use EJB3 timer, because in JMX-Console under 
EJBTimerService - java.util.List listTimerHandles() no timer is listed after 
start asynchronous method. 

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Not possible to deploy a Schedulable Implementation in an .e

2007-08-13 Thread kyuss
Hi,

i'm trying to deploy an Implementation of the Schedulable-Interface in an 
.ear-file which contains my whole application. I've added the following lines 
to the scheduler-service.xml file:


  | mbean code=org.jboss.varia.scheduler.Scheduler
  |name=:service=Scheduler
  | attribute name=StartAtStartuptrue/attribute
  | attribute 
name=SchedulableClasscom.offix.middleware.scheduler.CacheCleaner/attribute
  | attribute name=InitialStartDate1/1/07 0:00 p/attribute
  | attribute name=SchedulePeriod180/attribute
  | attribute name=InitialRepetitions-1/attribute
  | /mbean
  | 

On jboss start, i get a ClassNotFoundException for my implementation-class, 
because the Scheduler-MBean starts, before the .ear gets deployed. This causes 
the Scheduler not to start at all.

Unfortunately, it's necessary to deploy the Schedulable-implementation with the 
application, cause we're using some variables, which are defined in there(i.e. 
JBossCache-parameters).

I've seen that there is a flag startOnStartup, but how can i invoke the 
startSchedule operation of the mbean? It would be very convenient to do that 
automatically after the deployment of the .ear and not have to invoke the 
operation by hand, everytime we reboot the jboss. Is that possible?

Thanks in advance,

alex




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

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


[jboss-user] [EJB/JBoss] - Re: Roll back not happening

2007-08-13 Thread ALRubinger
Couple of things to check:

* Are you using a transaction-aware table type in MySQL?  For instance, MyISAM 
is not, InnoDB is.
* Is MySQL set to auto-commit?  Must not be.

Hope one of these might help you out.

S,
ALR

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

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


[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

2007-08-13 Thread EagleEye
ok i see. But my Problem is that nothing is workin, even grabbin the component 
out of the JNDI. (nothing else the seam.core.Component is doing)

What can be the problem? That I can't get anything of the seems to be loaded 
Components?


  | Object test = JndiUtil.lookup(mediportal/KomunikatyManagerBean/local, 
KomunikatyManagerBean.class);
  | 
  | KomunikatyManager komunikatyManager = (KomunikatyManager)
  | getInstance(KomunikatyManagerBean.class);
  | 

this 2 lines just test stuff. cuz the 

  | invokeMethod(#{komunikatyManager.nowy});
  | 

Is not working for same reason... 
Console output:

  | FAILED: testNowyKomunikat
  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: komunikatyManager
  | at org.jboss.seam.Component.newInstance(Component.java:1740)
  | at org.jboss.seam.Component.getInstance(Component.java:1643)
  | at org.jboss.seam.Component.getInstance(Component.java:1610)
  | at org.jboss.seam.Component.getInstance(Component.java:1604)
  | at org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
  | at javax.el.CompositeELResolver.getValue(CompositeELResolver.java:143)
  | at com.sun.el.parser.AstIdentifier.getValue(AstIdentifier.java:73)
  | at com.sun.el.parser.AstValue.getTarget(AstValue.java:67)
  | at com.sun.el.parser.AstValue.invoke(AstValue.java:170)
  | at com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286)
  | at 
org.jboss.seam.util.UnifiedELMethodBinding.invoke(UnifiedELMethodBinding.java:36)
  | at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
  | at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
  | at org.jboss.seam.mock.SeamTest$Request.invokeMethod(SeamTest.java:401)
  | at 
pl.alternativ.med.portal.test.komunikaty.KomunikatyTest$1.invokeApplication(KomunikatyTest.java:51)
  | at org.jboss.seam.mock.SeamTest$Request.run(SeamTest.java:489)
  | at 
pl.alternativ.med.portal.test.komunikaty.KomunikatyTest.testNowyKomunikat(KomunikatyTest.java:54)
  | Caused by: javax.naming.NameNotFoundException: mediportal 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:267)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:626)
  | at org.jnp.interfaces.NamingContext.lookup(NamingContext.java:588)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at org.jboss.seam.Component.instantiateSessionBean(Component.java:1107)
  | at org.jboss.seam.Component.instantiate(Component.java:1093)
  | at org.jboss.seam.Component.newInstance(Component.java:1736)
  | ... 39 more
  | ... Removed 21 stack frames
  | 

thx a lot for response!

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

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


[jboss-user] [JBoss Seam] - Re: A few issues.

2007-08-13 Thread [EMAIL PROTECTED]
tzman wrote : My apologies if these issues have already been fixed/mentioned.
  | 
  | 1.) org.jboss.seam.mock.BaseSeamTest

http://jira.jboss.com/jira/browse/JBSEAM-1791

anonymous wrote : 
  | 2.) org.jboss.seam.framework.Identifier
  | 
  | The equals method checks for an instance of the derived type 
org.jboss.seam.framework.EntityIdentifier

Please raise a JIRA issue for this.


anonymous wrote : 3.) It doesn't appear as though we can use injection in base 
classes. Am I mistaken? Is this a design decision?
  | We have gotten around this by retrieving the components programatically, 
i.e. Component.getInstance( entityManager );
  | 
  | This means that for testing I have to load the container, when I only need 
hibernate; or I have to do a check in by base class before retrieving the 
component to ensure the application context is active

I don't know what you mean by a base class.  But Seam injection only occurs in 
classes annotated @Name.

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

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


[jboss-user] [EJB/JBoss] - Re: Using an EJB from an remote app client does not work

2007-08-13 Thread ALRubinger
Looks like the client is obtaining the Proxy from the remote server, but the 
Proxy is attempting to invoke upon localhost (127.0.0.1).

...Proxy Obtained:

anonymous wrote : at $Proxy0.getUser(Unknown Source) 

...Invoking on localhost:

anonymous wrote : Can not get connection to server. Problem establishing socket 
connection for InvokerLocator [socket://127.0.0.1:3873/] 

I wonder if by manually setting -b at startup, you instruct JBoss to have the 
Property jboss.bind.address set to localhost, which is where the 
InvokerLocator will bind to.  Might be best to set -b to 132.180.60.3 if 
possible, or look at your machine's IP Configuration in /etc/hosts and remove 
this switch alltogether..

S,
ALR


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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-13 Thread [EMAIL PROTECTED]
No I was suggesting to use Seam's support for EJB3 timers.

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

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


[jboss-user] [JBoss jBPM] - Re: I deployed jBPM to Weblogic9.1 successfully, but I can no

2007-08-13 Thread horstnaujoks
the easiest way to get access to jbpm-console under weblogic is done by turning 
off (comment out) the security-constraint element in the web.xml dd.
the more complicated way u have to configure the security realm of your 
weblogic domain to contain corresponding users and groups and a mapping of used 
roles to this groups in the weblogic.xml dd.
forget the user/group information in the database ... except you like to 
implement your own 
weblogic.security.providers.authentication.CustomDBMSAuthenticatorPlugin

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

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


[jboss-user] [Clustering/JBoss] - UDP discarded messages from the same cluster node

2007-08-13 Thread kevinstembridge
Hi all,

I've just upgraded from JBoss-4.0.5 to 4.2.1 and I'm now getting the following 
warnings in the log file:

14:50:28,455 WARN  [org.jgroups.protocols.UDP:897] discarded message from 
different group DefaultPartition-EntityCache (our group is 
DefaultPartition). Sender was 10.xxx.xxx.xxx:1819

I'm not running in a cluster, and the sender IP address confirms that the 
discarded message is coming from my machine.

Is this something I need to worry about? Other than turning down the logging 
level is there something I can do to prevent these warnings?

Cheers,
Kevin


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

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


[jboss-user] [EJB 3.0] - Re: regardig jboss-beans.xml

2007-08-13 Thread jc7442
I do that kind of things for JBoss configuration. I use the SystemProperty 
service.

In your -service.xml file you can use variable. For example:
 mbean code=org.jboss.naming.NamingService
  |   name=jboss:service=Naming
  |   xmbean-dd=resource:xmdesc/NamingService-xmbean.xml
  | ...
  |   attribute name=Port${port.jnp}/attribute
  | . ..
  |   attribute name=BindAddress${jboss.bind.address}/attribute
  |  ...
  |   attribute name=RmiPort${port.rmi}/attribute
  | 
  | 

Here I have three variables. 

I configure the SystemPropertyService to read system property from a property 
file. This service will replace in xml files, variable with property from 
property file:

  | mbean code=org.jboss.varia.property.SystemPropertiesService 
  |  name=jboss:type=Service,name=SystemProperties
  | 
  | !-- 
  || Load properties from each of the given comma seperated URLs--
  | 
  | attribute 
name=URLListc:\jboss\server\configuration\ports.properties /attribute
  | 
  | 
  | !-- 
  || Set raw properties file style properties.
  | 
  | attribute name=Properties
  | 
  |   my.project.property=This is the value of my property
  |   my.project.anotherProperty=This is the value of my other property
  | 
  | /attribute
  |  
  | --
  | 
  |   /mbean
  | 

I use that for all the ports used by my JBoss. 



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

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


[jboss-user] [JBoss Portal] - Re: Change Page DisplayName Programmatically

2007-08-13 Thread explorer
But you need to decide on where exactly you want to put it and how you want to 
change the name...

If you are putting in tabs.jsp then.. i have a question.. are you changing 
based on the portlets being rendered for a current page...

well usually you set the title using from portlets using 
renderer.setAttribute(headercontent,); and having the headercontent tag in 
your layouts.
this would actually put any of ur meta,script,link or title.. anything for that 
case..


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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss as a windows service cannot stop

2007-08-13 Thread explorer
Did you get any solution for this...

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

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


[jboss-user] [JBoss Portal] - Re: Setting HTML title from portal components

2007-08-13 Thread explorer
Thank you...

Well i have one more question...
Is there any way through which i would be able to access objects that i set in 
portal session, from a portlet?



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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: jboss as a windows service cannot stop

2007-08-13 Thread explorer
The issue i am facing is that... its trying to look for some thing on port 
1099. And says that its not able to find, to kill the server... 
i changed the jboss-service.xml to run on 8180... does this cause an issue...


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

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


[jboss-user] [JBoss Portal] - Re: Change Page DisplayName Programmatically

2007-08-13 Thread nidhi_hs
I am not changing the portlet title. I am changing the page display name. When 
I say page display name I mean the name of the tab.

My requirement was to change the Sign In tab name to My Account after user 
logs in. So I have a logic in tabs.jsp to check if the user has logged in.


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

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


[jboss-user] [JBoss Messaging] - Problems changing defaultds

2007-08-13 Thread viniciuscarvalho
Hello there! my previous question 
http://www.jboss.com/index.html?module=bbop=viewtopict=115867

I was asking about a bridge config, still can't get it to work. I noticed that 
I was running with defaulds and that might be the problem (RELIABLE might be 
related to the isolation level, at least I wonder).

So I decided to change the datasource for messaging. Reading the docs I've 
noticied that it is attached to the DefaultDS name (argh!!!) I needed my own DS 
name, chaning the DefaultDS to mysql would bring me more pain than solutions 
(uuid-generators ... all that depends on it, don't want to touch it for now).

Ok, changed the persistence service, point it to mysqlDS, and put a 
mysql-ds.xml setting isolation level to READ_COMMITTED. 

Ran on a series of problems :(

First, it start complaining about jgroups (???), ok, so I put jgroups on my lib 
dir. 
Now, the bridge complains about the queues not being found. That might be more 
a dependency issue (as pointed by Tim on a post that I read and lost the url ;) 
) But what intrigues me is, why after changing the datasource it complains 
about my queues dependencies?

I was really hopping to use jboss-messaging on the project, but I'm running 
short on time on all these configurations.

Best regards

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

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


[jboss-user] [JBossWS] - Re: JBoss WebService client configuration thru a proxy serve

2007-08-13 Thread Maffewl
While this solution is not ideal, setting the runtime parameters works:

-DproxySet=true
-Dhttp.proxyHost=foo.com
-Dhttp.proxyPort=8080
-Dhttps.proxyHost=ssl.foo.com
-Dhttps.proxyPort=8443

However, there has got to be a way tho to set up proxies at the webservice 
client level tho in jbossws... anyone?

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

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


[jboss-user] [JBoss Seam] - Re: Integration Testing with TestNG and embeddedEjb

2007-08-13 Thread EagleEye
[EMAIL PROTECTED] wrote : As I said that JNDI pattern is *wrong* for embedded 
ejb3. It should be
  | 

Super this is working right now! Sorry that i didn't get what u have meant, i 
changed the jndipattern in the ant build.

Thx for your support!

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

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


[jboss-user] [JBoss Seam] - Re: Maintain async calls after restart

2007-08-13 Thread hispeedsurfer
I have read that the use of quartz is the better solution. But there should be 
a possibilty to persist async calls across server restart.

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

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


[jboss-user] [EJB 3.0] - Re: Transaction is not active after rollback

2007-08-13 Thread jc7442
When an exception is thrown in a session bean, container rollback the 
transaction. You can change that using the ApplicationException annotation in 
your Excpetion code. This annotation has an attribute rollback:

@ApplicationException(rollback=false)
  | public class AuditLockException extends AuditException {
  | ...}

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: Linkage error when redeploying

2007-08-13 Thread Filot
The problem is solved.

Actually I had several jars that were contain the same class. I removed the 
useless and now it's ok.


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

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


  1   2   3   >