[jboss-user] [JBoss and NetBeans] - milepik

2008-02-08 Thread lepik
Is detail next message to lepik.From 5.2.2008

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

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


[jboss-user] [JBossWS] - Re: JMX like web service

2008-02-08 Thread [EMAIL PROTECTED]
Take a look at the WS-Eventing samples

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

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


[jboss-user] [Management, JMX/JBoss] - Communicate with JBoss4.2X

2008-02-08 Thread cskmohan
Hi,
I need to communicate withe JBoss 4.2X with my client which is actually running 
on JDK1.4. We used to do well with 4.0X versions.
But now I get issues with the statistics classes being used by the MBean 
server. We have also tried it by exposing through Platform MBean Server also 
but that didn't help.
Can anybody please suggest solutions to this issue?
Regards
Chandramohan




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

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


[jboss-user] [EJB 3.0] - Deploy Problem

2008-02-08 Thread jokim1979
Hello,

I've got a problem to access to a Remote SessionBean with JNDI and EJB 3.0

In Developt Enviroment (IDE NetBeans 5.5) all works fine. But in Production 
(Client and Server separates) doesn't work.

The .ear which I use in Server side is the same that compile NetBeans (in 
Develop) and is in JBOSS_HOME\server\default\deploy

The .jar which I use in Client side is the same that compile NetBeans (in 
Develop) and is in PROYECTO_HOME\PROY_NAME-app-client\dist

The order to run the client-server that I'm using is:
java -jar PROY_NAME-app-client.jar

Context in server side is loading like:
iniCtx = new InitialContext();

and it's configurated throw parameters as system properties (java -Dclave=valor)


  | -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | -Djava.naming.provider.url=jnp://192.200.10.1:1099
  | -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | 

Client side code:

  | private controladorPUsuarios() {
  | uBean = lookupUsuariosBean();
  | }
  | 
  | 
  | private Hashtable Contexto() {
  | Hashtable env2 = new Hashtable();
  | env2.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | env2.put(Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
  | env2.put(Context.PROVIDER_URL, jnp://localhost:1099);
  | return env2;
  | }
  | 
  | private UsuariosRemote lookupUsuariosBean() {
  | Context iniCtx;
  | try {
  | Map env = null;
  | Set propertiesSet = null;
  | Iterator it = null;
  | 
  | iniCtx = new InitialContext();
  | env = this.Contexto();
  | propertiesSet = env.keySet();
  | it = propertiesSet.iterator(); 
  | 
  | Context ejbCtx = (Context) iniCtx.lookup();   
  | return (UsuariosRemote) ejbCtx.lookup(UsuariosBean);
  | } catch (NamingException ex) { 
Logger.getLogger(getClass().getName()).log(Level.SEVERE,exception caught ,ex);
  | throw new RuntimeException(ex);
  | } catch (RuntimeException e) {
  | e.printStackTrace();
  | return null;
  | }
  | }
  | 

Server side code:

  |   @Stateless
  |   @RemoteBinding(jndiBinding=UsuariosBean)
  |   public class UsuariosBean implements UsuariosRemote {
  | 
  | public UsuariosBean() {
  | conUsers = IControladorU.getInstance();
  | }
  | 
  | 
  |  public Usuarios conectar(String nusuario, String clave)
  | {
  | return conUsers.conectar(nusuario, clave);
  | }
  |   }
  | 

Stack trace error:

  | com.gui.funcionalidad.seguridad.controladorPUsuarios lookup UsuariosBean
  | GRAVE: exception caught javax.naming.NoInitialContextException: Need to 
specify class name in environment or system property, or as an applet 
parameter, or in an application resource file:  java.naming.factory.initial
  | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown 
Source)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
com.gui.funcionalidad.seguridad.controladorPUsuarios.lookupUsuariosBe
  | an(controladorPUsuarios.java:78)
  | at 
com.gui.funcionalidad.seguridad.controladorPUsuarios.init(controlad
  | orPUsuarios.java:61)
  | at 
com.gui.funcionalidad.seguridad.controladorPUsuarios.clinit(control
  | adorPUsuarios.java:43)
  | at 
com.gui.pantalla.seguridad.LOGIN.btAceptarActionPerformed(LOGIN.java:
  | 102)
  | at com.gui.pantalla.seguridad.LOGIN.access$000(LOGIN.java:17)
  | at com.gui.pantalla.seguridad.LOGIN$1.actionPerformed(LOGIN.java:46)
  | at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  | at javax.swing.AbstractButton$Handler.actionPerformed(Unknown 
Source)
  | at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source)
  | at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  | at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
Sour
  | ce)
  | at java.awt.Component.processMouseEvent(Unknown Source)
  | at javax.swing.JComponent.processMouseEvent(Unknown Source)
  | at java.awt.Component.processEvent(Unknown Source)
  | at java.awt.Container.processEvent(Unknown Source)
  | at java.awt.Component.dispatchEventImpl(Unknown Source)
  | at java.awt.Container.dispatchEventImpl(Unknown Source)
  | at java.awt.Component.dispatchEvent(Unknown Source)
  | at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  | at 

[jboss-user] [JBoss Seam] - Re: Problem stateful beans sharing properties

2008-02-08 Thread markauro
Please, this is making me go mad can anybody tell me something about this 
question ??
Thanks.

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

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


[jboss-user] [Security JAAS/JBoss] - Cannot update the DB from an EJB MDB, help!!

2008-02-08 Thread beherenow
Hello,

I have a web application which must recive messages from TWINCAT and, depend on 
message, update the database.

I am working with Hibernate, and I never had any problem to read, insert or 
update from the controller. Now, from the EJB, the class Message driven Bean 
reads okay but it’s impossible to update the DB. Cannot execute the update 
method and there aren’t any exceptions or errors… simply not update.

I tried 2 possible but no good solutions:

1.  Adding a file “server.policy” at {jboss.home}/server/default/conf 
with the code:
!-- ….. 
//Permisos requeridos para Hibernate

 grant codeBase file:/C:/jboss/server/default/deploy/my_application.ear{
   permission java.util.PropertyPermission *, read,write;
   permission java.lang.reflect.ReflectPermission suppressAccessChecks;
   permission java.lang.RuntimePermission accessDeclaredMembers;
   permission java.lang.RuntimePermission getProtectionDomain;
 };

 grant codeBase file:/C:/jboss/server/default/deploy/ my_application.ear/-{
   permission java.util.PropertyPermission *, read,write;
   permission java.lang.reflect.ReflectPermission suppressAccessChecks;
   permission java.lang.RuntimePermission accessDeclaredMembers;
   permission java.lang.RuntimePermission getProtectionDomain;
 };

2.  Adding an ejb-jar.xml file in the meta-inf of application ear (built) 
and in the folder src and at classes (when built) of the ejb.jar. The code:
?xml version=1.0?
!DOCTYPE ejb-jar PUBLIC -//Sun Microsystems, Inc.//DTD Enterprise JavaBeans 
1.1//EN http://java.sun.com/j2ee/dtds/ejb-jar_1_1.dtd;

ejb-jar
enterprise-beans

ejb-nameMyBean/ejb-name
!-- ... --
security-identity
run-as
A private internal role
role-nameManager/role-name
/run-as
/security-identity


ejb-nameMy2Bean/ejb-name
!-- ... --
security-identity
run-as
A private internal role
role-nameManager/role-name
/run-as
/security-identity

/enterprise-beans
!-- ... --

assembly-descriptor
method-permission

role-nameManager/role-name

ejb-nameMyBean/ejb-name
method-name*/method-name

/method-permission
/assembly-descriptor
/ejb-jar


The result of this it’s the same, impossible to update the database.

Thanks


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

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

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


[jboss-user] [JBoss Seam] - Re: Seam2 bug with Quartz?

2008-02-08 Thread wporzo
Hello.
I have same problem. Only difference is that I'm using component with @Startup 
annotation to initialize quartz.

Is there any workaround to this problem ? I know that this issue will be 
resolved in Seam 2.0.2 but unfortunately I don't have time to wait.. 

Thanks in advance :) 

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

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


[jboss-user] [JBoss Seam] - Re: Outjected variables flawed.

2008-02-08 Thread markauro
Have you tried putting @Factory(varX) instead of @Create ?

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to deploy an ear with multiple war in jboss?

2008-02-08 Thread sabanerjee
Thanks much for the tip Jai. It's deployed and working.
But how doI separate the logs of these two diff wars.

Thanks in advance

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

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


[jboss-user] [EJB 3.0] - Deploy Problem

2008-02-08 Thread jokim1979
Hello,

I've got a problem to access to a Remote SessionBean with JNDI and EJB 3.0

In Developt Enviroment (IDE NetBeans 5.5) all works fine. But in Production 
(Client and Server separates) doesn't work.

The .ear which I use in Server side is the same that compile NetBeans (in 
Develop) and is in JBOSS_HOME\server\default\deploy

The .jar which I use in Client side is the same that compile NetBeans (in 
Develop) and is in PROYECTO_HOME\PROY_NAME-app-client\dist

The order to run the client-server that I'm using is
java -jar PROY_NAME-app-client.jar

Context in server side is loading like:

  |  iniCtx = new InitialContext();
  | 

and it's configurated throw parameters as system properties (java -Dclave=valor)


  | -Djava.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
  | -Djava.naming.provider.url=jnp://192.200.10.1:1099
  | -Djava.naming.factory.url.pkgs=org.jboss.naming:org.jnp.interfaces
  | 

Client side code:

  | private controladorPUsuarios() {
  | uBean = lookupUsuariosBean();
  | }
  | 
  | 
  | private Hashtable Contexto() {
  | Hashtable env2 = new Hashtable();
  | env2.put(Context.INITIAL_CONTEXT_FACTORY, 
org.jnp.interfaces.NamingContextFactory);
  | env2.put(Context.URL_PKG_PREFIXES, 
org.jboss.naming:org.jnp.interfaces);
  | env2.put(Context.PROVIDER_URL, jnp://localhost:1099);
  | return env2;
  | }
  | 
  | private UsuariosRemote lookupUsuariosBean() {
  | Context iniCtx;
  | try {
  | Map env = null;
  | Set propertiesSet = null;
  | Iterator it = null;
  | 
  | iniCtx = new InitialContext();
  | env = this.Contexto();
  | propertiesSet = env.keySet();
  | it = propertiesSet.iterator(); 
  | 
  | Context ejbCtx = (Context) iniCtx.lookup();   
  | return (UsuariosRemote) ejbCtx.lookup(UsuariosBean);
  | } catch (NamingException ex) {
  | 
Logger.getLogger(getClass().getName()).log(Level.SEVERE,exception caught ,ex);
  | throw new RuntimeException(ex);
  | } catch (RuntimeException e) {
  | e.printStackTrace();
  | return null;
  | }
  | }
  | 
  | 

Server side code:
  @Stateless
  |   @RemoteBinding(jndiBinding=UsuariosBean)
  |   public class UsuariosBean implements UsuariosRemote {
  | 
  | public UsuariosBean() {
  | conUsers = IControladorU.getInstance();
  | }
  | 
  | 
  |  public Usuarios conectar(String nusuario, String clave)
  | {
  | return conUsers.conectar(nusuario, clave);
  | }
  |   }
  | 

Stack trace error:

com.gui.funcionalidad.seguridad.controladorPUsuarios lookupUsuariosBean
  | GRAVE: exception caught
  | javax.naming.NoInitialContextException: Need to specify class name in 
environment or system property, or as an applet parameter, or in an application 
resource file:  java.naming.factory.initial
  | at javax.naming.spi.NamingManager.getInitialContext(Unknown Source)
  | at javax.naming.InitialContext.getDefaultInitCtx(Unknown Source)
  | at javax.naming.InitialContext.getURLOrDefaultInitCtx(Unknown 
Source)
  | at javax.naming.InitialContext.lookup(Unknown Source)
  | at 
com.gui.funcionalidad.seguridad.controladorPUsuarios.lookupUsuariosBean(controladorPUsuarios.java:78)
  | at 
com.gui.funcionalidad.seguridad.controladorPUsuarios.init(controladorPUsuarios.java:61)
  | at 
com.gui.funcionalidad.seguridad.controladorPUsuarios.clinit(controladorPUsuarios.java:43)
  | at 
com.gui.pantalla.seguridad.LOGIN.btAceptarActionPerformed(LOGIN.java:102)
  | at com.gui.pantalla.seguridad.LOGIN.access$000(LOGIN.java:17)
  | at com.gui.pantalla.seguridad.LOGIN$1.actionPerformed(LOGIN.java:46)
  | at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
  | at javax.swing.AbstractButton$Handler.actionPerformed(Unknown 
Source)
  | at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown 
Source)
  | at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
  | at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown 
Source)
  | at java.awt.Component.processMouseEvent(Unknown Source)
  | at javax.swing.JComponent.processMouseEvent(Unknown Source)
  | at java.awt.Component.processEvent(Unknown Source)
  | at java.awt.Container.processEvent(Unknown Source)
  | at java.awt.Component.dispatchEventImpl(Unknown Source)
  | at java.awt.Container.dispatchEventImpl(Unknown Source)
  | at java.awt.Component.dispatchEvent(Unknown Source)
  | at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
  | at 

[jboss-user] [JBoss Seam] - How to use Seam Extended Security without Rule Engine?

2008-02-08 Thread wchico2
Hi,

In a first step I would like to test and try the Seam Extended Security
but without having to use rules and described the rights 
by specifiying them in pure Java. In a future step I would then 
probably move on to using the rule engine.

Is this approach possible? If so, what would be the configuration
like and how would I connect the Java-implemented rules to the
Seam permissions?

Thanks in advance,
Wolfgang.

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

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


[jboss-user] [JBoss Seam] - Re: programmatic starting a list of conversations

2008-02-08 Thread muhviehstarr
For my needs I found the following solution.

To build multiple independent conversations I use this code to create one 
conversation:

  | Conversation.instance().root();
  | Conversation.instance().begin(false, true);
  | 



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

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


[jboss-user] [JBoss Messaging] - Re: JBoss 5.0.0 Beta3 Messaging Client

2008-02-08 Thread timfox

  |  version3.2.3/version
  | 

You're taking jboss-all-client from JBoss 3.2.3??

The classpath you quote should certainly work, you're probably just pulling in 
wrong versions of those files though.

To verify this, take Maven out of the picture and _manually_ get those jars 
from the distro. You should find that that works fine.

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

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


[jboss-user] [JBoss Portal] - Re: Passing a parameter to an Action

2008-02-08 Thread francis1970
sorry, I forgot to mark the xml with Code

   node name=node1
  |   event type=node-enter
  | 
  |   !-- I need to pass the procedure name to ProcedureExecutor --
  | 
  |  action name=action1 class=com.sample.action.ProcedureExecutor
  |  
  |  /action
  |   /event
  | /node



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

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


[jboss-user] [EJB 3.0] - TopLink with Jboss 4.2.1 not working?

2008-02-08 Thread tsirel84
I'm stuck with the problem described in this forum thread:
http://www.jboss.com/index.html?module=bbop=viewtopict=128533
and decided to try toplink instead of hibernate to see whether it is hibernate 
problem.

But when I'm using toplink
1) if I'm not specifying toplink.target-server property like this:
?xml version=1.0 encoding=UTF-8?
  | persistence xmlns=http://java.sun.com/xml/ns/persistence;
  | persistence-unit name=first
  | provideroracle.toplink.essentials.PersistenceProvider/provider
  | jta-data-sourcejava:/TestEJB3DS/jta-data-source
  | properties
  | !--property name=toplink.target-server 
value=oracle.toplink.essentials.platform.server.jboss.JBossPlatform/--
  | property name=toplink.ddl-generation 
value=drop-and-create-tables/
  | /properties
  | /persistence-unit
  | /persistence

all entities fails to deploy with such messages:
13:14:14,143 INFO  [STDOUT] [TopLink Warning]: 2008.02.08 
01:14:14.143--java.lang.NullPointerException: null was thrown on attempt of 
PersistenceLoadProcessor to load class 
com.gemini.test.ejb.entity.relationship.Course. The class is ignored.

2) and if I'm adding this property:
?xml version=1.0 encoding=UTF-8?
  | persistence xmlns=http://java.sun.com/xml/ns/persistence;
  | persistence-unit name=first
  | provideroracle.toplink.essentials.PersistenceProvider/provider
  | jta-data-sourcejava:/TestEJB3DS/jta-data-source
  | properties
  | property name=toplink.target-server 
value=oracle.toplink.essentials.platform.server.jboss.JBossPlatform/
  | property name=toplink.ddl-generation 
value=drop-and-create-tables/
  | /properties
  | /persistence-unit
  | /persistence

deployment fails with:
  | 
  | 13:25:08,617 WARN  [ServiceController] Problem starting service 
persistence.units:ear=javaEEApplication.ear,jar=EJB.jar,unitName=first
  | javax.persistence.PersistenceException: Exception [TOPLINK-28018] (Oracle 
TopLink Essentials - 2.0 (Build b41-beta2 (03/30/2007))): 
oracle.toplink.essentials.exceptions.EntityManagerSetupException
  | Exception Description: predeploy for PersistenceUnit [first] failed.
  | Internal Exception: java.lang.NullPointerException
  | at 
oracle.toplink.essentials.internal.ejb.cmp3.EntityManagerSetupImpl.predeploy(EntityManagerSetupImpl.java:615)
  | at 
oracle.toplink.essentials.ejb.cmp3.EntityManagerFactoryProvider.createContainerEntityManagerFactory(EntityManagerFactoryProvider.java:178)
  | at 
org.jboss.ejb3.entity.PersistenceUnitDeployment.start(PersistenceUnitDeployment.java:247)


Any ideas?

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

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


[jboss-user] [Management, JMX/JBoss] - File Transfer using MBeans

2008-02-08 Thread abondi
Hello everybody,
I'm trying to develop ad MBean that can manage very simple file transfer over 
the net.

I don't need any standard protocol, only simple file transfer from a client, 
written in java, and a server, and I wanted to do this using MBeans.

Do you have any suggestion/example?

Thank you!
Andrea

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - jboss configuration issue

2008-02-08 Thread ronak.kamdar
hey guys...
is it possible to deploy a single ear on jboss and have the same ear behave 
differently for different request based on the url which recieves the request?
i mean we will have a single copy of code... and it will behave differently 
based on the configurations.. 

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

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


[jboss-user] [JBoss Seam] - Re: Problem implementing filters

2008-02-08 Thread vicky123
Thank you all.

I changed my components.xml to this and it worked. And rest all is same.

  | persistence:filter name=companyFilter
  | persistence:namecompanyFilter/persistence:name
  | persistence:parameters
  | keycurrentCompanyId/key
  | value#{currentCompanyId}/value
  | /persistence:parameters
  | /persistence:filter
  | 
  | persistence:managed-persistence-context
  | name=filteredEntityManager
  | auto-create=true
  | persistence-unit-jndi-name=java:/PEntityManagerFactory
  | persistence:filters
  | value#{companyFilter}/value
  | /persistence:filters
  | /persistence:managed-persistence-context
  | 

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

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


[jboss-user] [JBoss Seam] - Proposed solution for lost faces messages after navigation r

2008-02-08 Thread karltraunmueller
Hi all,

I found that org.jboss.seam.core.FacesMessages.addToControl() does not work 
with redirects, if the target control is not contained in the current page. 

Example: 

  | *  user enters input data into page1 and hits submit
  | *  validation finds that some input field on page2 is missing to complete 
the workflow, adds a message with FacesMessage.addToControl,
  | *  the action handler returns the target view id 
  | *  and a navigation rule in pages.xml redirects to page2
  | 

JSF doesn't seem to provide an appropriate hook to work around the issue. A 
PhaseListener didn't work, because the target component tree is only fully 
constructed during rendering. Querying the FacesContext viewRoot in 
before[RENDER_RESPONSE] returns a non-null value, however the component tree is 
not yet constructed at this stage (childrenList is null). 

Note that the described situation only applies to first-renders of a page. 
During a post-back, the tree would be available in before[RENDER_RESPONSE].

Because of the not-yet-constructed component tree, getClientId() in 
FacesMessages.addToControl(String, FacesMessage) returns null, and the message 
is lost.

The only solution that worked for me was saving unresolved client ids in 
FacesMessages.addToControl(String, FacesMessage), and implementing a custom 
ViewHandler that restored the faces messages for unresolved client ids. I 
extended org.jboss.seam.ui.facelet.SeamFaceletViewHandler, and restored 
unresolved client ids in getActionURL() - at this stage, the component tree is 
fully constructed.

Relevant parts of modified org.jboss.seam.ui.facelet.SeamFaceletViewHandler:

  | public class SeamFaceletViewHandler extends FaceletViewHandler {
  | ...
  | 
  | @Override
  | public String getActionURL(FacesContext context, String viewId) {
  | if (Contexts.isConversationContextActive()) {
  | FacesMessages.instance().restoreUnresolvedMessages();
  | }
  | return super.getActionURL(context, viewId);
  | }
  | }
  | 

Relevant parts of modified org.jboss.seam.core.FacesMessages:

  | @Scope(ScopeType.CONVERSATION)
  | @Name(org.jboss.seam.core.facesMessages)
  | @Install(precedence = BUILT_IN)
  | @Intercept(NEVER)
  | public class FacesMessages implements Serializable {
  | 
  | ...
  | private MapString, ListMessage unresolvedFacesMessages = new 
HashMapString, ListMessage();
  | 
  | ...
  | 
  | @SuppressWarnings(unchecked)
  | public void restoreUnresolvedMessages() {
  | if (unresolvedFacesMessages == null || 
unresolvedFacesMessages.isEmpty())
  | return;
  | for (Map.EntryString, ListMessage entry : 
unresolvedFacesMessages.entrySet()) {
  | for (Message msg : entry.getValue()) {
  | String clientId = getClientId(entry.getKey());
  | 
FacesContext.getCurrentInstance().addMessage(clientId, msg.toFacesMessage());
  | }
  | }
  | unresolvedFacesMessages.clear();
  | }
  | 
  | public void addToControl(String id, FacesMessage facesMessage) {
  | if (facesMessage != null) {
  | String clientId = getClientId(id);
  | ListMessage list = clientId != null ? 
getKeyedMessages(clientId)
  | : getUnresolvedMessages(id);
  | list.add(new Message(facesMessage));
  | }
  | }
  | 
  | private ListMessage getKeyedMessages(String clientId) {
  | ListMessage list = keyedFacesMessages.get(clientId);
  | if (list == null) {
  | list = new ArrayListMessage();
  | keyedFacesMessages.put(clientId, list);
  | }
  | return list;
  | }
  | 
  | private ListMessage getUnresolvedMessages(String clientId) {
  | ListMessage list = unresolvedFacesMessages.get(clientId);
  | if (list == null) {
  | list = new ArrayListMessage();
  | unresolvedFacesMessages.put(clientId, list);
  | }
  | return list;
  | }
  | 
  | ...
  | }
  | 

Does this seem like a plausible solution? The code seems to work, and 
validation messages get displayed correctly after redirects, which I think is 
quite nice from a usability point of view.

regards,
Karl

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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Extended Security without Rule Engine?

2008-02-08 Thread thejavafreak
Hi Shane,

I think RuleBasedIdentity should have a different component @Name instead of 
the same @Name with Identity, so user can choose whether to use 
RuleBasedIdentity component or the Identity component.

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

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


[jboss-user] [JBoss Seam] - Testing with embedded JBoss and MySql

2008-02-08 Thread thejavafreak
Dear all,

Is it true that embedded jboss only works with HSQL? Because when I use MySQL 
as the datasource it didn't work. Did anyone face the same problem as I did?

thanks in advance

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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Extended Security without Rule Engine?

2008-02-08 Thread wchico2
What about the configuration? When using the Rule engine one would specify it 
in the components.xml. I assume I would leave that out and only specify that I 
use the basic Seam security despite the application of e.g. s:hasPermission and 
such. 

However, I am not sure if in this case that extended security can really be 
used. Has anybody tested this approach? 

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

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


[jboss-user] [JBoss Portal] - deploy j2ee

2008-02-08 Thread giuseppe.sassone
I have a j2ee portlet on my JBoss Portal;  I have a link to external reference 
on my index.jsp (es . a href=www.yahoo.com). When I click open a new external 
page. I want to reload this link within my portlet as internal page in the 
window portlet achieving to reload default portal page. How do it ?

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

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


[jboss-user] [JBoss Seam] - Re: s:graphicImage problem

2008-02-08 Thread seammm
I did but I am not getting the bytes thru a servlet as in seamspace example. I 
am accessing the byte[] via the back bean's property getter. According to seam 
doc getting picture data directly from byte[] should be possible. Thanks.

value — image to display. Can be a path String (loaded from the classpath), a 
byte[], a java.io.File, a java.io.InputStream or a java.net.URL. Currently 
supported image formats are image/png, image/jpeg and image/gif.


   
  servlet-nameSeam Resource Servlet/servlet-name
  servlet-classorg.jboss.seam.servlet.SeamResourceServlet/servlet-class
   

   servlet-mapping
  servlet-nameSeam Resource Servlet/servlet-name
  url-pattern/seam/resource/*/url-pattern
   /servlet-mapping



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

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

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


[jboss-user] [EJB 3.0] - Re: Deploy Problem

2008-02-08 Thread jaikiran
From the output that you posted, this is what is relevant:
anonymous wrote : 
  | java.naming.factory.url.pkgs=org.jboss.naming.client 
  | java.naming.provider.url=jnp://localhost:1099 
  | java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory 

This is different from what you are passing through JVM parameters. Do you have 
any jndi.properties file in the PROY_NAME-app-client.jar file? What are its 
contents?

By the way, i would have expected some other error and not  a 
NoInitialContextException, in this case.

 

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

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


[jboss-user] [JBoss Portal] - Re: minimum portal

2008-02-08 Thread [EMAIL PROTECTED]
There are some description of some modules here:
http://wiki.jboss.org/wiki/Wiki.jsp?page=PortalModules

Basically minimum depends on your needs.

There are the services and the webapps. Of course the webapps depend on the 
services.

You don't want the CMS webapps ? remove portal-cms.war, you don't even want the 
CMS service ? remove portal-cms.sar

You don't want the admin portlet ? remove portal-admin.sar (unfortunately the 
dashboard depends on it)

You don't want the Google widget support ? remove portal-widget.war

You don't want the Netvibes widget support ? remove portal-widget-netvibes.war

You don't want the identity portlets ? rewmove portal-identity.sar




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

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


[jboss-user] [JBoss Portal] - Passing a parameter to an Action

2008-02-08 Thread francis1970
Hello!
I need to create a Custom Node which invokes a Stored Procedure. The Node needs 
a static parameter in input. (the stored procedure name) 
How do I pass it to the node from processDefinition.xml ?

   
  

  !-- I need to pass the procedure name to ProcedureExecutor --

 
 
 
  


Which is the best way to pass a parameter to the action (writing it in the xml 
file - not from the code) ? I can see in the schema of action tag there's no 
way to pass a parameter..

Thanks for your help
Francesco


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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Extended Security without Rule Engine?

2008-02-08 Thread msystems
Or override the evaluateExpression(String expr) method.


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

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


[jboss-user] [JBoss Seam] - Re: Problem stateful beans sharing properties

2008-02-08 Thread markauro
Thanks dexjam, 
yes, i just tried renaming the @Datamodel variable, and it works, seam create a 
different instance, but i have to rename all the bean variables so each bean 
has different properties names... what is supposed i need to do if i've so many 
  pages that make searchs of different things, i would rename all the 
properties in each action-bean... but they do the same action, this doesn't 
seems to be a pretty way.
I think nobody has this problem because all the posts i have seen talk about 
the opposite problem, people trying to share a variable between 
stateful/stateles beans, like if you put it directly into the session and then 
you retrieve form another action-bean... 
ok, i have the answer !! its inside my application :-)


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

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


[jboss-user] [Management, JMX/JBoss] - Re: File Transfer using MBeans

2008-02-08 Thread abondi
My idea is to open a ServerSocket when in the MBean is invoked one particular 
method, then connect from the client to this socket, transfer the file and 
close the ServerSocket.

Is there any better method to do this?

Thank you
Andrea

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

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


[jboss-user] [JBoss Seam] - Re: How to use Seam Extended Security without Rule Engine?

2008-02-08 Thread msystems
Yes it is possible.

Extend the Identity class and override the hasPermission(String name, String 
action, Object...arg) method.


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

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


[jboss-user] [JBoss Seam] - Re: Security: How to override messages

2008-02-08 Thread Newlukai
And what to do if this doesn't work as expected? I have two locales, english 
and german. Both with a line:
BundleNameHere.properties wrote : org.jboss.seam.loginSuccessful=Nusseis

After I logged in, the h:messages-Tag shows:
h:messages wrote : Welcome, jeweWelcome, jewe
where jewe is my user id.

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

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


[jboss-user] [EJB/JBoss] - Re: jboss 5.0 release date

2008-02-08 Thread [EMAIL PROTECTED]
AS5 *is* of high priority but the switch of kernel/deployers complicates 
things, thus the long delay. We currently target end of Q2 for the final 
release but if you feel brave you can try Beta4 comming out next week.

Nevertheless, most of the JEE 5 functionality is available with AS 4.2.x.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: How to listen when EJBDeployer deploy or undeploy a .jar

2008-02-08 Thread sebgorilla
Thanks a lot for your quick and accurate answer.

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

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


[jboss-user] [EJB 3.0] - Re: Deploy Problem

2008-02-08 Thread jaikiran
Looks like the parameters that you passing as JVM params are not reaching the 
client.

Try this:
private UsuariosRemote lookupUsuariosBean() {
  | Context iniCtx;
  | try {
  | Map env = null;
  | Set propertiesSet = null;
  | Iterator it = null;
  | 
  | iniCtx = new InitialContext();  
  | 
  | System.out.println(** System Properties );
  | Properties props = System.getProperties();
  | props.list(System.out);
  | System.out.println(** System Properties 
);
  | .
  | 

What does this output?

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

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


[jboss-user] [JBoss Seam] - Re: Problem stateful beans sharing properties

2008-02-08 Thread dexjam
Try renaming the @Datamodel variable, probably seam looks up the same List over 
and over again.

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

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


[jboss-user] [JBoss Seam] - PDF generating

2008-02-08 Thread tschnoelzer
Hi all,

we have a large number of PDF's to be generated by a SEAM application. We like 
to use the itext notation as if declaring a XHTML page. 

The people doing the design job ask for editors for this.

my question:

is there a way to adress a seam/itext tld as in new item in the design bar of 
the xhtml editor?

is there any other possibility to work in a graphical editor in order to design 
the pdfs?

Thx for input!

Timo

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

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


[jboss-user] [JBoss jBPM] - How to get the tasks instance list when there is no swimlane

2008-02-08 Thread vsevel
Hello,

I have a process definition where a task is not assigned to any swimlane.
I do not know how to get the task instance list in this particular scenario.
Each time an actorId or a list of actorId should be provided to be able to 
retrieve task instances.

Thanks,
Val

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

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


[jboss-user] [Beginners Corner] - fileupload

2008-02-08 Thread mars1412
we provide both an upload applet and a standard HTML form, to let the user 
upload files to the server.
with the applet it is simple to check the max. filesize and reject large files 
on the client side.

but for the plain HTML upload form, I think there is no way to limit the 
filesize.
so what could we do about that?

I suppose it is like that:* bad guy selects a 500MB file and uploads it
  | * the browser will generate a big multipart form request
  | * browser sends this big request to our server
  | * the server must process the complete request, before it  can check the 
size of the uploaded file/s
  | 

OK, this is not really jboss or seam related, but maybe someone can help

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

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


[jboss-user] [JBoss Seam] - Remote EJB invoking in websphere in seam component

2008-02-08 Thread saasira
I have remote EJB and trying invoke method of EJB from seam component in the 
same aapplication. I am able to lookup the bean , but when I invoke any method 
on that , it gives  exception as belows


[2/8/08 15:07:03:305 IST] 002f ExceptionUtil E   CNTR0019E: EJB threw an 
unexpected (non-declared) exception during invocation of method 
getUserFromSession. Exception data: javax.ejb.EJBException: session bean post 
construct failure; nested exception is: java.lang.IllegalStateException: 
Attempted to invoke a Seam component outside the an initialized application
java.lang.IllegalStateException: Attempted to invoke a Seam component outside 
the an initialized application



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

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


[jboss-user] [EJB 3.0] - Re: Deploy Problem

2008-02-08 Thread jokim1979
the output is the next one:

** System Properties 
-- listing properties --
java.runtime.name=Java(TM) SE Runtime Environment
sun.boot.library.path=C:\Program Files\Java\jdk1.6.0\jre\bin
java.vm.version=1.6.0-b105
java.vm.vendor=Sun Microsystems Inc.
java.vendor.url=http://java.sun.com/
path.separator=;
java.vm.name=Java HotSpot(TM) Client VM
file.encoding.pkg=sun.io
user.country=ES
sun.java.launcher=SUN_STANDARD
sun.os.patch.level=Service Pack 2
java.vm.specification.name=Java Virtual Machine Specification
user.dir=C:\CS
java.runtime.version=1.6.0-b105
java.awt.graphicsenv=sun.awt.Win32GraphicsEnvironment
java.endorsed.dirs=C:\Program Files\Java\jdk1.6.0\jre\li...
os.arch=x86
java.io.tmpdir=C:\DOCUME~1\JOAQUN~1\LOCALS~1\Temp\
line.separator=

java.vm.specification.vendor=Sun Microsystems Inc.
user.variant=
java.naming.factory.url.pkgs=org.jboss.naming.client
os.name=Windows XP
sun.jnu.encoding=Cp1252
java.library.path=C:\Program Files\Java\jdk1.6.0\jre\bi...
java.specification.name=Java Platform API Specification
java.class.version=50.0
java.naming.provider.url=jnp://localhost:1099
sun.management.compiler=HotSpot Client Compiler
os.version=5.1
user.home=C:\Documents and Settings\Joaquín de ...
user.timezone=
java.awt.printerjob=sun.awt.windows.WPrinterJob
file.encoding=Cp1252
java.specification.version=1.6
user.name=Joaquín de Vicente
java.class.path=C:\CS\CS-ejb\dist\CS-ejb.jar;C:\CS\CS...
java.naming.factory.initial=org.jnp.interfaces.NamingContextFactory
java.vm.specification.version=1.0
sun.arch.data.model=32
java.home=C:\Program Files\Java\jdk1.6.0\jre
java.specification.vendor=Sun Microsystems Inc.
user.language=es
awt.toolkit=sun.awt.windows.WToolkit
java.vm.info=mixed mode, sharing
java.version=1.6.0
java.ext.dirs=C:\Program Files\Java\jdk1.6.0\jre\li...
j2ee.clientName=CS-app-client
sun.boot.class.path=C:\Program Files\Java\jdk1.6.0\jre\li...
java.vendor=Sun Microsystems Inc.
file.separator=\
java.vendor.url.bug=http://java.sun.com/cgi-bin/bugreport...
sun.cpu.endian=little
sun.io.unicode.encoding=UnicodeLittle
sun.desktop=windows
sun.cpu.isalist=pentium_pro+mmx pentium_pro pentium+m...
** System Properties 


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

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

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


[jboss-user] [EJB 3.0] - Re: Deploy Problem

2008-02-08 Thread jokim1979
Oh, it's true sorry

The last test I did was 
jnp://localhost:1099 
and  
-Djava.naming.provider.url=jnp://localhost:1099 

because i'm trying now to do the deployment in a single machine with a server 
side and a client side

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

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


[jboss-user] [EJB 3.0] - Timer Service

2008-02-08 Thread liss_jboss
Hi!

I'm trying to create a schedule service at jboss 4.2.1 but I'm not sure what to 
do.
I need a service to be started by the application server that runs every half 
an hour.

I wrote a class but the problem is when I start jboss, I have the following 
error message:

anonymous wrote : 10:11:11,280 ERROR [TimerServiceImpl] Cannot create txtimer
  | java.lang.IllegalStateException: Unable to persist timer

anonymous wrote : Caused by: java.sql.SQLException: Unique constraint 
violation:  in statement [insert into TIMERS 
(TIMERID,TARGETID,INITIALDATE,TIMERINTERVAL,INSTANCEPK,INFO) values 
(?,?,?,?,?,?)]

Here is the class:


  | @Service
  | @Management(AtividadeTimerServiceManagement.class)
  | public class AtividadeTimerServiceBean implements 
AtividadeTimerServiceLocal,
  | AtividadeTimerServiceManagement {
  | 
  | @Resource
  | private TimerService timerService;
  | 
  | public void create() throws Exception {
  | this.timerService.createTimer(15*60*1000, 5*60*1000, null);
  | }
  | 
  | public void destroy() {
  | 
  | }
  | 
  | public void start() throws Exception {
  | }
  | 
  | public void stop() {
  | }
  | 
  |  @Timeout
  | public void monitorPeriodoCadastral(Timer timer) {
  |  log.info(monitorPeriodoCadastral...);
  | }
  | }
  | 

Does anybody have any idea why am I getting this error message?
Thanks!

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

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


[jboss-user] [JBoss jBPM] - Re: Problem with nodes with async=

2008-02-08 Thread osganian
Does anybody know if ansyc nodes are supported in 3.2.2?  The user guide 
mentions classes that don't exist in the 3.2.2 distribution like 
CommandExecutor, ExecuteNodeCommand and ExecuteActionCommand.  Also the 
AsynchronousCommand's execute method throws a UnsupportedOperationException.  
Also the 3.2.2 user guide mentions the JBPM_MESSAGE table but this table isn't 
part of that distribution but a previous 3.1 distribution.

Can anybody shed any light on this for me?

Thanks.

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

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


[jboss-user] [Beginners Corner] - Re: Illegal @PersistenceUnit? Help!

2008-02-08 Thread McJava1967
Will do.   Trying to work on this tonight.  Will post results.  Thanks.

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

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


[jboss-user] [Advanced Documentation] - Re: how to make my scheduler service work on a specified day

2008-02-08 Thread elvisd
see 
http://www.placeoweb.com/dotclear/index.php/2007/07/18/78-jboss-421ga-deploiement-d-application

but i think you should do as follows (ex. start every monday)
set initialstartdate at any date in the past that was monday (i.ex. january 7, 
2008)
set scheduleperiod to 1 week (60480)

hope this helps

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

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


[jboss-user] [JBoss Seam] - Re: Testing with embedded JBoss and MySql

2008-02-08 Thread JavaDeveloperX
No, it works fine for me.

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

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


[jboss-user] [Security JAAS/JBoss] - opensso for jboss

2008-02-08 Thread thomaschan
Has anyone tried to get opensso v1-build2 working for jboss? Or, put it this 
way, does jboss support opensso? 

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

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


[jboss-user] [JCA/JBoss] - Re: deployment of RAR inside of EAR

2008-02-08 Thread vickyk
pecks1976 wrote : To answer vickyk, I tried deploying in the manner you 
suggested, and it still didn't work. So I'll mail the files to you, thanks for 
your help.
  |  
You can mail the details at [EMAIL PROTECTED] .

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

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


[jboss-user] [JBossWS] - java.lang.LinkageError

2008-02-08 Thread limousyf
Hello,

I have a weird error trying to use my newly generated WS.
The problem occurs on the client side :


  | Caused by: java.lang.LinkageError: Class javax/xml/soap/AttachmentPart 
violates loader constraints
  | at java.lang.ClassLoader.defineClass1(Native Method)
  | at java.lang.ClassLoader.defineClass(ClassLoader.java:620)
  | at 
java.security.SecureClassLoader.defineClass(SecureClassLoader.java:124)
  | at 
org.apache.catalina.loader.WebappClassLoader.findClassInternal(WebappClassLoader.java:1815)
  | at 
org.apache.catalina.loader.WebappClassLoader.findClass(WebappClassLoader.java:869)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1322)
  | at 
org.apache.catalina.loader.WebappClassLoader.loadClass(WebappClassLoader.java:1201)
  | at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
  | at java.lang.Class.forName0(Native Method)
  | at java.lang.Class.forName(Class.java:164)
  | at $Proxy70.clinit(Unknown Source)
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | at java.lang.reflect.Proxy.newProxyInstance(Proxy.java:588)
  | at 
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.createProxy(ServiceDelegateImpl.java:331)
  | at 
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPortInternal(ServiceDelegateImpl.java:211)
  | at 
org.jboss.ws.core.jaxws.spi.ServiceDelegateImpl.getPort(ServiceDelegateImpl.java:148)
  | at javax.xml.ws.Service.getPort(Service.java:116)
  | at 
authentification.bean.session.AuthentificationService.getAuthentificationPort(AuthentificationService.java:56)
  | at bsa.admin.view.StartBean.login(StartBean.java:114)
  | 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.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:132)
  | ... 38 more
  | 

This linkage error results in a ClassNotFoundException.
Here is the code of my WebserviceClient:


  | @WebServiceClient(name = AuthentificationService, targetNamespace = 
http://session.bean.authentification/;, wsdlLocation = 
http://localhost:8080/AuthentificationService/Authentification?wsdl;)
  | public class AuthentificationService
  | extends Service
  | {
  | 
  | private final static URL AUTHENTIFICATIONSERVICE_WSDL_LOCATION;
  | 
  | static {
  | URL url = null;
  | try {
  | url = new 
URL(http://localhost:8080/AuthentificationService/Authentification?wsdl;);
  | } catch (MalformedURLException e) {
  | e.printStackTrace();
  | }
  | AUTHENTIFICATIONSERVICE_WSDL_LOCATION = url;
  | }
  | 
  | public AuthentificationService(URL wsdlLocation, QName serviceName) {
  | super(wsdlLocation, serviceName);
  | }
  | 
  | public AuthentificationService() {
  | super(AUTHENTIFICATIONSERVICE_WSDL_LOCATION, new 
QName(http://session.bean.authentification/;, AuthentificationService));
  | }
  | 
  | /**
  |  * 
  |  * @return
  |  * returns Authentification
  |  */
  | @WebEndpoint(name = AuthentificationPort)
  | public Authentification getAuthentificationPort() {
  | return (Authentification)super.getPort(new 
QName(http://session.bean.authentification/;, AuthentificationPort), 
Authentification.class);
  | }
  | 
  | }
  | 

And now the (supposely) not linked Authentification.class


  | @WebService(name = Authentification, targetNamespace = 
http://session.bean.authentification/;)
  | @SOAPBinding(style = SOAPBinding.Style.RPC)
  | public interface Authentification {
  | 
  | 
  | /**
  |  * 
  |  * @param arg1
  |  * @param arg0
  |  * @return
  |  * returns authentification.bean.session.User
  |  */
  | @WebMethod
  | @WebResult(partName = return)
  | public User authenticate(
  | @WebParam(name = arg0, partName = arg0)
  | String arg0,
  | @WebParam(name = arg1, partName = arg1)
  | String arg1);
  | 
  | /**
  |  * 
  |  * @param arg1
  |  * @param arg0
  |  * @return
  |  * returns net.java.dev.jaxb.array.StringArray
  |  */
  | @WebMethod
  | @WebResult(partName = return)
  | public StringArray getRoles(
  | @WebParam(name = arg0, partName = arg0)
  | int arg0,
  | @WebParam(name = arg1, partName 

[jboss-user] [JBossWS] - Re: java.lang.LinkageError

2008-02-08 Thread limousyf
Damn I clicked too fast.
Do you have any idea why the Authentification.class cannot be linked ?

Thanks for any help on this.

Regards,


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

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


[jboss-user] [Beginners Corner] - log4j: loggin to different files + sheduler

2008-02-08 Thread Anna_Lut
I have pack:   mypack.myclass
in jboss(3.2.1) I configure 2 shedulers, which call myclass method  but with 
different parameters (parameters define log4j category for this sheduler)
scheduler-service.xml :

  | mbean code=org.jboss.varia.scheduler.Scheduler  
name=:service=Scheduler1
  |...   
  |attribute name=SchedulableClassmypack.myclass/attribute
  |attribute name=SchedulableArgumentsparamValue1/attribute
  |attribute 
name=SchedulableArgumentTypesjava.lang.String/attribute
  |
  | /mbean
  | 
  | mbean code=org.jboss.varia.scheduler.Scheduler  
name=:service=Scheduler2
  |...   
  |attribute name=SchedulableClassmypack.myclass/attribute
  |attribute name=SchedulableArgumentsparamValue2/attribute
  |attribute 
name=SchedulableArgumentTypesjava.lang.String/attribute
  |
  | /mbean
  | 

In mypack.myclass constructor I initialize log4j category,  depending  on input 
parameter:

  | public class myclass{
  | protected static Logger log; 
  | 
  | public myclass(String log4jcategory) {
  |  log = Logger.getLogger(log4jCategory);
  | }
  |   
  | }
  | 


in file all\conf\log4j.xml I describe this two categories:

  | appender name=LOG1 
class=org.jboss.logging.appender.DailyRollingFileAppender
  |
  |   /appender
  |appender name=LOG2 
class=org.jboss.logging.appender.DailyRollingFileAppender
  |
  |   /appender
  | 
  |   category name=paramValue1
  | appender-ref ref=LOG1/
  | ...
  |   /category
  | 
  |   category name=paramValue2
  | appender-ref ref=LOG2/
  | ...
  |   /category
  | 


But as a result, when sheduler starts  from the begining  log4j  puts 
logdata  into 2 different files, but at the 3-d itteration of sheduler all data 
writes to one file.  And this one file choose randomly.

Why logdata is writtn to one log?

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Receiving JMS messages with a JSP

2008-02-08 Thread [EMAIL PROTECTED]
You're question is really just how do I refresh a jsp page on an event.

e.g. possible solutions refresh in the html or AJAX.

JMS (the specific event) is irrelevant to your question and it is therefore not 
something that is likely to get answered here.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: Cannot connect to the server

2008-02-08 Thread jaikiran
I did not understand your question. Your subject line talks about 
jnp://servername:1097 whereas the description talks about something else. Are 
you saying you are not able to connect to a JBoss server using its servername 
or IP? If yes, are you using JBoss-4.2.x? If yes, then have a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ.

By the way, the jnp port is by default 1099 and not 1097

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

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


[jboss-user] [JCA/JBoss] - Re: deployment of RAR inside of EAR

2008-02-08 Thread pecks1976
BTW the No one knows the answer... :(  was supposed to be humorous, I guess 
it didn't come across well.

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

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


[jboss-user] [JCA/JBoss] - Re: deployment of RAR inside of EAR

2008-02-08 Thread [EMAIL PROTECTED]
if you want to compress the log and email it to me I can take a quick look.

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: EJB JAR inside EAR

2008-02-08 Thread starkc
If you want, I can post the jar contents of weblogic.jar.  It is rather large, 
and does contain its own version of oracle.jdbc.driver.OracleDriver, so a 
ClassNotFoundException might be avoided this way I suppose.

ClassLoading Isolation is set up, I can see the different repositories in my 
jmx-console.  I set it through the ear-deployer.war value:

attribute name=Isolatedtrue/attribute

...which, if I read correctly, should cause all ears to have their own isolated 
loader by default?  If not, I also created a jboss-app.xml file:


  | !DOCTYPE jboss-app PUBLIC -//JBoss//DTD J2EE Application 1.4//EN 
  | http://www.jboss.org/j2ee/dtd/jboss-app_4_0.dtd;
  | jboss-app
  | loader-repository
  | myserver:archive=myserver.ear
  | /loader-repository
  | /jboss-app
  | 

I have spent at least a week or more trying different configurations and 
combinations without much work.  (not trying to be curt, just informing you)

By placing the weblogic.jar file in the EAR only, JBoss cant find OracleDriver. 
 This seems to confirm that the OracleDriver from the weblogic.jar could have 
been loaded in conjunction with the one from classes12.jar.

Note:  I placed the weblogic.jar in //lib/weblogic.jar

By placing weblogic.jar in both places, the server starts up but throws the 
following error:


  | 09:38:32,352 ERROR [MainDeployer] Could not create deployment: 
file:/C:/jboss-4.0.4.GA/server/decisionserver/tmp/deploy/tmp35516weblogic.jar-contents/console.war
  | org.jboss.ws.WSException: java.lang.ClassNotFoundException: 
weblogic.management.console.webapp._index
  | at 
org.jboss.ws.server.WebServiceDeployerJSE.isWebserviceDeployment(WebServiceDeployerJSE.java:161)
  | at 
org.jboss.ws.server.WebServiceDeployer.create(WebServiceDeployer.java:101)
  | at 
org.jboss.ws.server.WebServiceDeployerJSE.create(WebServiceDeployerJSE.java:66)
  | at 
org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.create(SubDeployerInterceptorSupport.java:180)
  | at 
org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterceptor.java:91)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy37.create(Unknown Source)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:953)
  | at org.jboss.deployment.MainDeployer.create(MainDeployer.java:943)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:807)
  | at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:771)
  | at sun.reflect.GeneratedMethodAccessor52.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterce
  | ptor.java:142)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
  | at $Proxy8.deploy(Unknown Source)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.deploy(URLDeploymentScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentScanner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(AbstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  |  

[jboss-user] [JCA/JBoss] - Re: deployment of RAR inside of EAR

2008-02-08 Thread pecks1976
To answer vickyk, I tried deploying in the manner you suggested, and it still 
didn't work. So I'll mail the files to you, thanks for your help.

To anwer smcgowan, I looked in the server logs, tried comparing a working log 
and a broken one, but I'm afraid I just got lost. I don't think I'm 
experienced enough to determine the cause of the error from the log file. 

Thanks to both of you for answering. 

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

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


[jboss-user] [JBoss Seam] - Re: Stateless EJB cant be invoked by POJO

2008-02-08 Thread QPool.Char
It works now by propagating the existing processStarter reference to the class 
where it is needed.

I still like to know why this class cant inject the EJB by itself.

thx in advance

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

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


[jboss-user] [JBoss Seam] - Re: programmatic starting a list of conversations

2008-02-08 Thread tschnoelzer
Hi folks,

some movement, looks great - thx.

So 1st of all i have a list on the xhtml page. this list has a checkbox for 
each row. when submited i like to start one conversation for each checked row. 
i expect to find the list of conversations e.g. in the conversation switcher.

i have to start those conversations programatically. as a workaround i removed 
the checkboxes and use links to start a conversation with a new page. after, 
the user has to go back to the list and start the next and so on.

I now will try muhviehstarr hint.


thx again

Timo

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

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


[jboss-user] [JBoss jBPM] - Re: Token is locked by token[26]

2008-02-08 Thread seanmcelroy
Thanks. This has left me a bit confused as to why or when would one use a state 
node, if you can't automate the control flow?

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

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


[jboss-user] [EJB 3.0] - Re: TopLink with Jboss 4.2.1 not working?

2008-02-08 Thread tsirel84
Slightly digged in, look for my comment to:
http://jira.jboss.com/jira/browse/EJBTHREE-572

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

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


[jboss-user] [JBoss Seam] - Re: runtime errors from the startup project by seam-gen

2008-02-08 Thread monkeyden
Although it is a bit noisy, that's just the loading of the taglibs for the 
first time.  Not sure exactly why it happens, but it's innocuous.

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

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


[jboss-user] [JBoss Seam] - @In and @Factory

2008-02-08 Thread gersonk
Code example:

  | ...
  | @Name(componentA)
  | @Stateful
  | public class ComponentA{
  | 
  |@In(required=false)
  |@Out(required=false, scope=PAGE)
  |private Integer x;
  | 
  |@Factory(x)
  |public void initX(){
  |   x = 1;
  |}
  | 
  |public void someMethod(){
  |   ... // why is 'x' null here?
  |}
  | 
  | }
  | 

How I can tell Seam to invoke the Factory Method whenever someMethod() is 
called if 'x' is null?


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

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


[jboss-user] [JBossWS] - Re: JMX like web service

2008-02-08 Thread mendaye
Hello - 

I was not able to find WS-Eventing samples. Where can I find it?
I download the jbossws-native-2.0.3.GA and look at all the sample. But I did 
not see  WS-Eventing sample.

Pls respond to me if you know where this samples are located.

Regards,
Surafel

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

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


[jboss-user] [JBoss jBPM] - Re: Token is locked by token[26]

2008-02-08 Thread kukeltje
then don't use a state but a 'node' and have the class as the implementation of 
the node, not an action

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

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


[jboss-user] [Microcontainer] - Questions on describe/classloader deployers and CL scope

2008-02-08 Thread gcompienne
I have a few questions the concerning the DESCRIBE and CLASSLOADER deployer 
stages. 

I understand the principle that DESCRIBE is used to declare/define the 
dependencies whilst the CLASSLOADER stage is related to the classloader itself.

I have noticed that the classloader instance (BaseClassLoader) is created 
in-between the DESCRIBE and CLASSLOADER stages. That's seems reasonable as 
after the DESCRIBE stage I suspect the system should have enough information to 
create the appriopriate classloader. But then I wonder what is really the 
purpose of the CLASSLOADER stage? Is it to have a deployer that will create the 
classloader itself? If so, how do I make that happen (as I said the CL is 
currently automatically created between the describe and classloader stages).

I also have another question concerning classloaders. Looking at the MC code it 
looks like the classloader is only created for a top level deployment unit. Why 
is that the case? (it would mean the WAR, JAR and other would use the CL of the 
EAR). Does it has to be always the case? Or am I missing something?

Thanks.

Gilles.

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

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


[jboss-user] [Clustering/JBoss] - Re: StateTransferTimeout appears to be ignored

2008-02-08 Thread dcolwell
The following is my log4j trace of org.jboss.ha category.  Unfortunately it 
does not appear to contain useful information during the 3+ minute pause after 
the line Fetching State.  Is there other information in this log that could 
give a clue or would you have other thoughts on how I should investigate?

Thank you,
Dave


2008-02-08 11:04:59,787 [main] DEBUG [ClusterPartition] Setting JGProps from 
xml to: 
UDP(discard_incompatible_packets=true;down_thread=false;enable_bundling=false;ip_ttl=2;loopback=false;max_
bundle_size=64000;max_bundle_timeout=30;mcast_addr=231.1.2.2;mcast_port=47102;mcast_recv_buf_size=2500;mcast_send_buf_size=64;tos=8;ucast_recv_buf_size=2000;ucast_send_buf_size=64
;up_thread=false;use_incoming_packet_handler=true;use_outgoing_packet_handler=false):PING(down_thread=false;num_initial_members=3;timeout=2000;up_thread=false):MERGE2(down_thread=false;ma
x_interval=10;min_interval=2;up_thread=false):FD_SOCK(down_thread=false;up_thread=false):FD(down_thread=false;max_tries=5;shun=true;timeout=1;up_thread=false):VERIFY_SUSPECT(down_
thread=false;timeout=1500;up_thread=false):pbcast.NAKACK(discard_delivered_msgs=true;down_thread=false;gc_lag=0;max_xmit_size=6;retransmit_timeout=300,600,1200,2400,4800;up_thread=false;u
se_mcast_xmit=false):UNICAST(down_thread=false;timeout=300,600,1200,2400,3600;up_thread=false):pbcast.STABLE(desired_avg_gossip=5;down_thread=false;max_bytes=40;stability_delay=1000;u
p_thread=false):pbcast.GMS(down_thread=false;join_retry_timeout=2000;join_timeout=3000;print_local_addr=true;shun=true;up_thread=false;view_bundling=true):FRAG2(down_thread=false;frag_size=60
000;up_thread=false):pbcast.STATE_TRANSFER(down_thread=false;up_thread=false;use_flush=false)
2008-02-08 11:05:00,014 [main] DEBUG [ClusterPartition] Creating 
jboss:service=MSPTEST_emtrack
2008-02-08 11:05:00,014 [main] DEBUG [ClusterPartition] Creating JGroups 
JChannel
2008-02-08 11:05:00,279 [main] DEBUG [ClusterPartition] Creating HAPartition
2008-02-08 11:05:00,308 [main] DEBUG [ClusterPartition] Initing HAPartition: 
[EMAIL PROTECTED]
2008-02-08 11:05:00,308 [main] INFO [MSPTEST_emtrack] Initializing
2008-02-08 11:05:00,309 [main] DEBUG [MSPTEST_emtrack] setMembershipListener
2008-02-08 11:05:00,309 [main] DEBUG [MSPTEST_emtrack] setMessageListener
2008-02-08 11:05:00,309 [main] DEBUG [MSPTEST_emtrack] create replicant manager
2008-02-08 11:05:00,337 [main] DEBUG [MSPTEST_emtrack] init replicant manager
2008-02-08 11:05:00,337 [main] DEBUG [MSPTEST_emtrack] registerRPCHandler
2008-02-08 11:05:00,337 [main] DEBUG [MSPTEST_emtrack] 
subscribeToStateTransferEvents
2008-02-08 11:05:00,337 [main] DEBUG [MSPTEST_emtrack] 
registerMembershipListener
2008-02-08 11:05:00,342 [main] DEBUG [MSPTEST_emtrack] bind replicant manager
2008-02-08 11:05:00,342 [main] DEBUG [MSPTEST_emtrack] create distributed state
2008-02-08 11:05:00,354 [main] DEBUG [MSPTEST_emtrack] init distributed state 
service
2008-02-08 11:05:00,359 [main] DEBUG [MSPTEST_emtrack] bind distributed state 
service
2008-02-08 11:05:00,366 [main] DEBUG [MSPTEST_emtrack] done initing.
2008-02-08 11:05:00,366 [main] DEBUG [ClusterPartition] HAPartition initialized
2008-02-08 11:05:00,366 [main] DEBUG [ClusterPartition] Created 
jboss:service=MSPTEST_emtrack
2008-02-08 11:05:00,367 [main] DEBUG [HASessionStateService] Creating 
jboss:service=HASessionState
2008-02-08 11:05:00,385 [main] DEBUG [HASessionStateService] Created 
jboss:service=HASessionState
2008-02-08 11:05:00,386 [main] DEBUG [HANamingService] Creating 
jboss:service=HAJNDI
2008-02-08 11:05:00,386 [main] DEBUG [HANamingService] Initializing HAJNDI 
server on partition: MSPTEST_emtrack
2008-02-08 11:05:00,397 [main] DEBUG [HANamingService] initialize HAJNDI
2008-02-08 11:05:00,397 [main] DEBUG [HAJNDI] subscribeToStateTransferEvents
2008-02-08 11:05:00,397 [main] DEBUG [TreeHead] registerRPCHandler
2008-02-08 11:05:00,398 [main] DEBUG [HANamingService] Created 
jboss:service=HAJNDI
2008-02-08 11:05:00,401 [main] DEBUG [ClusterPartition] Starting 
jboss:service=MSPTEST_emtrack
2008-02-08 11:05:00,404 [main] DEBUG [ClusterPartition] Starting 
ClusterPartition: MSPTEST_emtrack
2008-02-08 11:05:02,490 [main] DEBUG [MSPTEST_emtrack] ViewAccepted: initial 
members set
2008-02-08 11:05:02,494 [main] DEBUG [ClusterPartition] Starting channel
2008-02-08 11:05:02,495 [main] DEBUG [MSPTEST_emtrack] get nodeName
2008-02-08 11:05:02,495 [main] DEBUG [MSPTEST_emtrack] Get current members
2008-02-08 11:05:02,496 [main] INFO [MSPTEST_emtrack] Number of cluster 
members: 2
2008-02-08 11:05:02,496 [main] INFO [MSPTEST_emtrack] Other members: 1
2008-02-08 11:05:02,496 [main] INFO [MSPTEST_emtrack] Fetching state (will wait 
for 3 milliseconds):
2008-02-08 11:05:02,502 [IncomingPacketHandler (channel=MSPTEST_emtrack)] DEBUG 
[MSPTEST_emtrack] setState called
2008-02-08 11:08:11,545 [IncomingPacketHandler (channel=MSPTEST_emtrack)] DEBUG 
[MSPTEST_emtrack] 

[jboss-user] [JBoss jBPM] - Re: Creating TaskInstance by code when ProcessInstance is ru

2008-02-08 Thread kukeltje
anonymous wrote : TaskInstances in the processInstance when it is already 
running,

Yes, you can use the jbpm API. See the unittests for 'examples'. Runtime adding 
tasks to processinstances does not change the processdefinition (and thus they 
will not show up in the console images)

anonymous wrote : how jbpm keeps coherence between the processDefinition and 
the processInstance. 

That is already done when creating the PI (and see previous answer)

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

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


[jboss-user] [JBoss jBPM] - Re: Generate Form not load variables from Controller

2008-02-08 Thread kukeltje
anonymous wrote : The form Generate Task Form not load the variables defined in 
Controller tab. 
Correct, known issue (see Jira)

anonymous wrote : When I go out and go back in the Controller tab the Mapped 
Name column is blank and your content is showed in the Required column. 

Correct, you have to press enter to confirm the strings.

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

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


[jboss-user] [JBoss Seam] - Re: PDF generating

2008-02-08 Thread [EMAIL PROTECTED]
No, graphical portion of the xhtml editor only understands HTML generation.  It 
won't be able to do anything with the PDF-generating tags.  It it is a neat 
idea though.

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

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


[jboss-user] [JBoss jBPM] - Deleting completed PI's programmatically using EE app

2008-02-08 Thread jaydub
Greetings,

I am using the EE app, deployed on a Jboss 4.2.2 server, executing about 100K 
process instances per day.   As you might imagine, my DBA is getting aggravated 
at the size of the JBPM_* tables.Is there any way I can delete these old 
process instances programmatically or do I need to write an out-of band stored 
procedure to manually delete them?As noted, all interaction is done with 
the jBPM stateless session beans.

Thanks 

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

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


[jboss-user] [JBoss Seam] - Re: @In and @Factory

2008-02-08 Thread [EMAIL PROTECTED]
Factories are not for initializing your state for your own use.  You could 
probably self-inject x or call Component.getInstance() or something.  If you 
are really trying to expose that state outside your object and need it 
internally, put an @Create on that @Factory method.




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

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


[jboss-user] [JBoss jBPM] - Re: Problem with nodes with async=

2008-02-08 Thread kukeltje
yes, the are supported. I have no examples at hand, but in CVS are a lot of 
unit tests. Also ones for this.

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

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


[jboss-user] [JBoss Seam] - Re: DocumentStore usage change - Urgent!!!

2008-02-08 Thread [EMAIL PROTECTED]
What is the exception?  

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

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


[jboss-user] [JBoss jBPM] - Re: How to get the tasks instance list when there is no swim

2008-02-08 Thread kukeltje
tasks do not have to be assigned to swimlanes. You can assign actors to them 
and those are used to get tasklists for. If they are assigned to swimlanes, 
actors/groups are taken from those

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

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


[jboss-user] [Installation, Configuration DEPLOYMENT] - Re: separating Hibernate and Struts logs

2008-02-08 Thread jaikiran
I actually have something like this in my log4j file:

  | category name=org.jboss
  |   priority value=WARN/
  |/category
  | 
  |  category name=org.jboss.system
  |  priority value=INFO /
  |/category

I see logs being generated for org.jboss.system (which is a sub-package under 
org.jboss) at INFO level and that for all other classes of org.jboss (and its 
subfolders) being generated at WARN level. How does your configuration look 
like after the changes you have done?



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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: Multiple JMS sessions inside 1 XA transaction

2008-02-08 Thread javacory
I just wanted to update everyone on this one.

We found that the issue was related to persisting the JMS messages into an 
Oracle database.  In order to find this issue you need to turn up the 
org.jboss logging level to DEBUG or TRACE and the error is then displayed.

Thanks,

Cory.

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

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


[jboss-user] [JCA/JBoss] - Re: deployment of RAR inside of EAR

2008-02-08 Thread [EMAIL PROTECTED]
pecks1976 wrote : No one knows the answer... :(
  | 

No, you're just expecting an SLA that is not a feature of this forum.

Read this:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossHelp

e.g. typically I only visit these forums once every week or two.

anonymous wrote : 
  | Maybe I didn't include enough information?
  | 

The log for a start.

anonymous wrote : 
  | Perhaps I can re-phrase the question as what are the differences, in terms 
of deployment, between a standalone RAR file and one that is included in an 
EAR?.

Guess 1:
A -ds.xml is deployed before an ear so it wouldn't be suprising if it couldn't 
find
the classes - see Vicky's comment

Guess 2:
If the ear is scoped and the -ds.xml is outside the ear 
then you also have to tell the -ds.xml what classloader repository to use.

If you don't it will use the default repository which won't know about any 
classes
from the ear.

This is the same as for a -service.xml that depends upon a scoped ear:
http://wiki.jboss.org/wiki/Wiki.jsp?page=ClassLoadingConfiguration

e.g.

  | connection-factories
  |
loader-repositoryjboss.j2ee:service=EARDeployment,url=myapp.ear/loader-repository
  | 
  | etc/
  | 

Or whatever you called the scoped repository in jboss-app.xml

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

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


[jboss-user] [JBoss Seam] - QueueSession is null when scheduler runs

2008-02-08 Thread baspet
Hi,

my stateless bean injects QueueSession, QueueSender. 

  | @In QueueSender qSender;   
  | @In QueueSession qSession;
  | 
I setup components.xml according to section 18.2.1 (Messaging in Seam) and 
everything works fine. The problem is that when my bean is been calling 
asynchronously (eg from a cron scheduled job) injection is lost and qSession, 
qSender are null.

Thanks,
V.




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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: How can we send messages to remote queue and topic via J

2008-02-08 Thread [EMAIL PROTECTED]
FAQ

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: CPU (threads) at 100%, Tomcat sockets in CLOSE_WAIT

2008-02-08 Thread PeterJ
Did you follow Brian's suggestion and take some thread dumps? Take 2 or 3 a few 
seconds apart. That should pinpoint what code is using the processor. Then look 
at that code. (The last two times someone presented this same issue to me I 
found that the user's code had gone into an infinite loop.)

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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: JMS without persistence to database

2008-02-08 Thread [EMAIL PROTECTED]
NullPersistenceManager

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

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


[jboss-user] [JBoss Seam] - Re: JSP Tag files

2008-02-08 Thread mcrandall
Sorry wrong forum

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

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


[jboss-user] [JBoss Seam] - Re: JSP Tag files

2008-02-08 Thread mcrandall
Sorry wrong forum

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

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


[jboss-user] [JBoss Portal] - Spring MVC Portlet framework for Development

2008-02-08 Thread gudram
Hi,
I am new to the Portal application development and added to that I am new to 
Spring framework. I tried the Spring MVC Porlet framework example but not able 
to understand whether we can have Servlet as the base request handler on top of 
which I can place the MVC portlet framework? 
I am bit confused with the design decision that I need to make. Wondering if 
anyone can help me answer these questions. 

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

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


[jboss-user] [JBoss Seam] - Re: Seam moves from CVS to SVN

2008-02-08 Thread mars1412
i also use subclipse - everything works fine for me. renaming files also works:

what exactly is your problem with refactoring?

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

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


[jboss-user] [JBoss Seam] - How to write CSV contents to browser

2008-02-08 Thread terryb
I have a process (initiated by the user via browser), which generates contents 
in CSV format. Does seam provide any facility to write that data out to 
browser?, ie writing to servlet output stream.

response.setContentType(application/vnd.ms-excel);

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - Re: CPU (threads) at 100%, Tomcat sockets in CLOSE_WAIT

2008-02-08 Thread georges.goebel
Hi,

I use JBoss 4.2 on Redhat eneterprise 4 and 5 and have the same problem. JBoss 
runs without any problems for 4 to 5 days when suddenly the CPU usage goes to 
100% without any reason (no hot redeploy, ...).
I use the ajp port with mod_proxy to load balance between 2 nodes.
There are several applications (+- 10 applications) on the JBoss nodes. Mainly 
EJB3/Seam/JSF(Icefaces), EJB3/JSF(Icefaces) or only webapps (struts,spring)

Can somebody give me a hint ?

Thanks,

Georges Goebel

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

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


[jboss-user] [JBoss Seam] - Re: Seam moves from CVS to SVN

2008-02-08 Thread [EMAIL PROTECTED]
Eclipse does not have any svn plugins  built in.

There exist 2 that you can download subclipse and subversive.

I use subclipse and have had not seen any issues when refactoring (except in 
the beginning where I had used an incompatible svn command line client with the 
local repository)



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

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


[jboss-user] [JBoss Seam] - Re: Exception handling with interceptors

2008-02-08 Thread jteb
I've been using Interceptors for this kind of work. However one can only define 
EJB3 interceptors at the class level.

What I do is a workaround, which I find rather nasty, but since I haven't 
thought of another way yet and this works, I'll point it out.

I define an annotation which has Interceptors defined on it, with targets TYPE 
and METHOD. I put it on the class where I want a method to be intercepted and 
put it on the method(s) to be intercepted inside that class as well.

In the aroundInvoke, I do a check on that same annotation being present on the 
calling method. Something like the following:


  |   @AroundInvoke
  |   public Object aroundInvoke(InvocationContext ctx) {
  | Object result = null;
  | if(ctx.getMethod().getAnnotation(SomeAnnotation.class) != null) {
  |   try {
  | result = 
  | // The rest of your code  
  |   }
  |   catch( ... ) {
  |   }
  | }
  | return result;
  |   }
  | 

Might not be the most elegant method, but it works for me.

I hope that helps you!

Regards,
Jan

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

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


[jboss-user] [JBossWS] - How to migrate axis web service into jbossWS

2008-02-08 Thread janrara
Hi,

I have webservice (MyService) which was developed using axis 1.4 and deployed 
successfully into jboss (%JBOSS_HOME%\server\default\deploy\axis.war).

I was able to access that service by hitting this url: 
http://localhost:8080/axis//MyService

But I want to access that same service by hitting this url:
http://localhost:8080/jbossws/.../MyService

When tried, there is not listed that axis service in 
http://localhost:8080/jbossws

So what I have to do to invoke the axis service using jbossws?

Please advice me on the same ASAP.

Regards,
Janakiraman



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

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


[jboss-user] [JBoss Seam] - Re: Anybody got Seam 2.0.0 working with WebSphere 6.1 and EJ

2008-02-08 Thread [EMAIL PROTECTED]
Are you running Seam 2.0.1.GA?  That does not look like the components.xml that 
shipped with it.

One difference is the ajax filter is not needed anymore because of one of the 
customer properties in the doc.

I double checked the jee5 example last night and it worked fine.  The JPA 
example I'll double check again today.



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

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


[jboss-user] [JBoss Seam] - Re: Seam moves from CVS to SVN

2008-02-08 Thread wchico2
BTW I am curious because we are also at the point of doing a move to SVN (or 
not ; , and, yes, I know it maybe a bit off-topic.. ;)

Developers here work with Eclipse which, as we noticed, has a problem when 
refactoring where the Eclipse built-in SVN client somehow gets confused and 
breaks. 

So I was wondering what IDE(s) you use where this problem does not arise (or 
has not been noticed so far ;)

Thanks for a hint,
Wolfgang.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.1GA : EJB Blockers with Weblogic 9.x/10.x

2008-02-08 Thread [EMAIL PROTECTED]
Hi Christian,

I'm glad to hear that they are moving forward with the ticket and that BEA is 
doing something about it.  I am talking with the dev team about your changes.  
Including the interceptor change.  We'll see how it fits it, and how it needs 
to be implemented.

Thanks again,
Jay

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

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


[jboss-user] [JBoss Seam] - Re: DocumentStore usage change - Urgent!!!

2008-02-08 Thread zerok
nickarls wrote : UIDocument.PDF?

nickarls,

Ty for your answer, but I have already tried to use UIDocument.PDF and it 
raises an exception during execution.

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

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


[jboss-user] [JBoss Seam] - Re: @In and @Factory

2008-02-08 Thread nickarls

  | if (x == null) {
  |   initX();
  | }
  | 

;-)

If think that if someMethod is called before x has been referenced, it can be 
null.

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

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


[jboss-user] [EJB 3.0] - Re: Deploy Problem

2008-02-08 Thread jokim1979
After I change that values and the problem still exist


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

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


[jboss-user] [Messaging, JMS JBossMQ] - Re: ActivationConfigProperty

2008-02-08 Thread [EMAIL PROTECTED]
There is a port on the MailActivationSpec.

Since this is just a thin wrapper for JavaMail, you should test
whether you can connect with the raw api first.
See: 
http://viewvc.jboss.org/cgi-bin/viewvc.cgi/jbossas/trunk/connector/src/main/org/jboss/resource/adapter/mail/inflow/MailFolder.java?revision=61810view=markup

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

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


[jboss-user] [JBoss Seam] - Re: How do I fetch the HTML source of a page programatically

2008-02-08 Thread [EMAIL PROTECTED]
Yeah - check through the Seam source.  We also have similar code in places like 
s:cache and p:html.  Those only render fragments, but they might be helpful to 
round out the ideas.

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

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


  1   2   3   >