[jboss-user] [JBossWS] - Re: Attachment size limit added using SOAP

2007-05-31 Thread DivyaMan0j
Hello, Could someone please respond to my query ?

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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-05-31 Thread andydale
It could also be helpful if you could post the exact structure of the ear 
archive and what is contained within it e.g. (application.xml contents)

Cheers,

Andy

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

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


[jboss-user] [JBoss Seam] - inject/outject servlet context init parameter

2007-05-31 Thread andreigh.ts
Is is possible to inject/outject  an initialization parameter (defined with 
  in web.xml), in a Seam EJB3 component?

Using @In("paramName") and @Out("paramName") does not work.

(I am more interested in outjecting it, since reading can be done via 
facesContext)

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

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


[jboss-user] [Clustering/JBoss] - ChannelException: java.lang.Exception: exception caused by U

2007-05-31 Thread shribala
Hi - iam getting the following exception when i start the server..
Yesterday it was working fine.. Am i not properly shutting down the server ???


11:59:54,283 WARN  [ServiceController] Problem starting service 
jboss.cache:service=TomcatClusteringCache
ChannelException: java.lang.Exception: exception caused by UDP.start(): 
java.net.SocketException: IP_ADD_MEMBERSHIP failed (
out of hardware filters?)
at org.jgroups.JChannel.connect(JChannel.java:328)
at org.jboss.cache.TreeCache.startService(TreeCache.java:1424)
at org.jboss.cache.aop.PojoCache.startService(PojoCache.java:94)
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:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $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:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBean

[jboss-user] [Clustering/JBoss] - Re: JBoss clustering - ejb lookup using HA-JNDI problem

2007-05-31 Thread shribala
Previously, I was not starting the server with run -c all. 
Now it works fine. 

Thanks for your help.


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

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


[jboss-user] [Remoting] - Re: unexpected server shutdown with sslsocket

2007-05-31 Thread [EMAIL PROTECTED]
Hi Claudia,

I'm very happy that you have solved the problem.  Yes, please create a JIRA 
issue.

I'm sorry I haven't responded much lately, but I've been rather busy.  If it's 
any consolation, I feel guilty about it.  :-)

-Ron

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

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


[jboss-user] [JCA/JBoss] - SAP Adapter for JBoss

2007-05-31 Thread swapna.bhat
Hi,

Need to integrate SAP with JBoss.
Currently the application is using SAP JCO Weblogic specific adapter.
There are some batch jobs which are developed using BEA Weblogic Integration 
and which use SAP IWay Adapters for Weblogic Platform.

The application is to be migrated to JBoss platform and we are looking for a 
compatible Adapter for JBoss.
Where can I find a SAP JCA Adapter which can be used with JBOSS?
Also looking for some help in migration of Weblogic Integration Java Process 
Definition files to JBoss.

Thanks,



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

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


[jboss-user] [JBoss Seam] - Re: @In ? I don't get it ...

2007-05-31 Thread [EMAIL PROTECTED]
Use the force luke ;-)

No, to solve this you could create a home.page.xml and put following in it:

http://jboss.com/products/seam/pages-1.2.dtd";>
  | 
  | 
  | 

this will force a login from the beginning.

Hopefully this works.


Greetz,
Pjotr


PS: if someone thinks that's not the way to go please tell me

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

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


[jboss-user] [Remoting] - Re: Remoting over https; where to put NoThrowOnError=true

2007-05-31 Thread [EMAIL PROTECTED]
Hi,

It looks like the "org.jboss.remoting.transport.http.HTTPMetadataConstants" 
section in Chapter 5 of the Remoting Guide is somewhat misleading.  Unlike the 
other constants in that section, NO_THROW_ON_ERROR is used only on the client 
side.  It is only after an Exception has been returned from the server that the 
value of NO_THROW_ON_ERROR is consulted.  What you want to do is pass 
NO_THROW_ON_ERROR as follows:


  | Client client = new Client(...);
  | client.connect();
  | Object param = ... ;
  | HashMap metadata = new HashMap();
  | metadata.put(HTTPMetadataConstants.NO_THROW_ON_ERROR, "true");
  | client.invoke(param, metadata);
  | 

Sorry for the confusion.

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

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


[jboss-user] [Installation, Configuration & Deployment] - cahnge in xml

2007-05-31 Thread subratjyetki
WARN [JMSContainerInvoker] Could not find the topic 
destination-jndi-name=WebRuleExportTopic 
javax.naming.NameNotFoundException: WebRuleExportTopic not bound 


avtually i have to place this code some where 
i dont have idea where to place it or not 







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

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


[jboss-user] [Beginners Corner] - error

2007-05-31 Thread subratjyetki
WARN [JMSContainerInvoker] Could not find the topic 
destination-jndi-name=WebRuleExportTopic 
javax.naming.NameNotFoundException: WebRuleExportTopic not bound 


avtually i have to place this code some where 
i dont have idea where to place it or not 







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

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


[jboss-user] [EJB/JBoss] - error

2007-05-31 Thread subratjyetki
WARN [JMSContainerInvoker] Could not find the topic 
destination-jndi-name=WebRuleExportTopic 
javax.naming.NameNotFoundException: WebRuleExportTopic not bound 


avtually i have to place this code some where 
i dont have idea where to place it or not 







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

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


[jboss-user] [Messaging, JMS & JBossMQ] - jms error

2007-05-31 Thread subratjyetki
WARN [JMSContainerInvoker] Could not find the topic 
destination-jndi-name=WebRuleExportTopic 
javax.naming.NameNotFoundException: WebRuleExportTopic not bound 


avtually i have to place this code some where 
i dont have idea where to place it or not 







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

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


[jboss-user] [JCA/JBoss] - jms error

2007-05-31 Thread subratjyetki
WARN [JMSContainerInvoker] Could not find the topic 
destination-jndi-name=WebRuleExportTopic 
javax.naming.NameNotFoundException: WebRuleExportTopic not bound 


avtually i have to place this code some where 
i dont have idea where to place it or not 







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

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


[jboss-user] [JNDI/Naming/Network] - jms error

2007-05-31 Thread subratjyetki
WARN [JMSContainerInvoker] Could not find the topic 
destination-jndi-name=WebRuleExportTopic 
javax.naming.NameNotFoundException: WebRuleExportTopic not bound 


avtually i have to place this code some where 
i dont have idea where to place it or not 







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

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


[jboss-user] [JBoss Portal] - Portal scalability

2007-05-31 Thread javatwo
I read Portal spec and JBoss portal doc.  It does not say the scalability issue 
in terms of number of portal(s) in a portal container. 

An admin user can create more than one Portal(s).  Is there a limit for the 
number of portal(s) that an admin user can create?  a couple, a dozen, 
hundreds, or millions, or no limit? 

If there is no limit, how about the performance if a portal container has a 
millions of portal(s)?  Thanks for sharing.

Dave

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

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


[jboss-user] [JBoss jBPM] - Re: selectManyCheckbox and jBPM variables

2007-05-31 Thread javalau
I always get the error: 
Conversion Error setting value 'XXX1 XXX2 XXX3 XXX4' for '#{var[]}'. 

public class ArrayStringConverter implements Converter {

private static final long serialVersionUID = 1L;

public boolean supports(Object value) {
if (value == null)
return true;
return (value.getClass() == String[].class);
}

public Object convert(Object o) {
StringBuffer convertedValue = null;
if (o != null) {
// String[] strArray = (String[]) ((Collection) 
o).toArray();
String[] strArray = (String[]) o;
for (int i = 0; i < strArray.length; i++) {
convertedValue.append(strArray);
if (i != strArray.length - 1) {
convertedValue.append("|");
}
}
}
return convertedValue.toString();
}

public Object revert(Object o) {
// Map revertedValue = null;
String[] strArray = null;
if (o != null) {
strArray = ((String) o).split("\\|");
/*
 * revertedValue = new HashMap(); for (int i = 0; i <
 * strArray.length; i++) { revertedValue.put(strArray,
 * strArray); }
 */
}
return strArray;
}
}




  

  

  
  
  


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread jaikiran
Additionally you can also have a look at 
http://www.hibernate.org/hib_docs/reference/en/html/session-configuration.html 
which explains how to configure hibernate.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread jaikiran
The hibernate.cfg.xml should be at the root of the application, the same place 
where your hibernate.properties was present earlier. Is your application an ear 
or a war file. If so can you post the output after following the steps below:

- Open a command prompt
- From the command prompt move to %JBOSS_HOME%/server/default/deploy
- Run the following command:

jar -tf myApp.war

where myApp.war is the name of your application. Post the output. The output 
will display the contents of your application.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread cgrahamatip
So, I deleted the hibernate.properties file and added the jdbc connection info 
to the hibernate.cfg.xml file.  The file is still at the root of the web app 
(same directory as the jsp/jsf files).  There appears to be a problem with 
jboss 2.4.0 and hibernate.  

you can see in the stack trace that it didn't find the hibernate.properties 
file however it doesn't seem to be reading the hibernate.cfg.xml file which has 
the dialect value set. Do you know for sure where the hibernate.cfg.xml file 
should be located on jboss? 




  | #  hibernate.cfg.xml ##
  | 
  | 
  | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | 
  | 
  | com.mysql.jdbc.Driver
  | 
  | jdbc:mysql://localhost/myDB
  | username
  | org.hibernate.dialect.MySQLDialect
  | true
  |   
  |   
  | 
  | 
  | 
  | ## stack trace #
  | 
  | 21:53:04,218 INFO  [Environment] Hibernate 3.2.3
  | 21:53:04,234 INFO  [Environment] hibernate.properties not found
  | 21:53:04,234 INFO  [Environment] Bytecode provider name : javassist
  | 21:53:04,250 INFO  [Environment] using JDK 1.4 java.sql.Timestamp handling
  | 21:53:04,359 WARN  [UserSuppliedConnectionProvider] No connection 
properties specified - the user must supply JDBC conne
  | ctions
  | 21:53:04,375 FATAL [application] org.hibernate.HibernateException: 
Hibernate Dialect must be explicitly set
  | javax.faces.el.EvaluationException: org.hibernate.HibernateException: 
Hibernate Dialect must be explicitly set
  | at 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:9
  | 1)
  | at 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | at 
javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
  | at 
javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  | at 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:580)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: org.hibernate.HibernateException: Hibernate Dialect must be 
explicitly set
  | at 
org.hibernate.dialect.DialectFactory.determineDialect(DialectFactory.java:57)
  | at 
org.hibernate.dialect.DialectFactory.buildDialect(DialectFactory.java:39)
  | at 
org.hibernate.cfg.SettingsFactory.determineDialect(SettingsFactory.java:422)
  | at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:128)
  | at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2009)
  | at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1292)
  | at 
com.ipi.InformationPortal.web.suggestionUtils.getSuggestionBean(suggestionUtils.java:27)
  | at 
com.ipi.InformationPortal.web.registrationBean.register(registrationBean.java:36)
  | at sun.reflect.NativeMethodAc

[jboss-user] [EJB 3.0] - Re: Found a bug? Need a feature? Have a patch? See JIRA

2007-05-31 Thread brintoul
"[EMAIL PROTECTED]" wrote : We now have bug/feature/issue tracking available 
through JIRA project management.
  | 
  | http://www.jboss.org/products/ejb3/jira
  | 
  | Please post your bugs there.
  | 
  | Bill

So, anyone have an update for this JIRA installation yet...?

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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-05-31 Thread jaikiran
anonymous wrote : Thats itnothing specific to my project in "java: 
Namespace" or "Global JNDI Namespace"
  | Nothing anywhere about HelloWorldbean or HelloWorldLocal .
  |  

If thats the case then i dont think your bean has been deployed. See if you can 
find anything in the server.log file indicating whether your bean was deployed 
or not.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread jaikiran
Could you try deleting the hibernate.properties and maintain just the 
hibernate.cfg.xml? Hibernate uses the hibernate.cfg.xml by overriding the 
hibernate.properties when both the files are present. Just want to make sure 
that the cfg.xml is being used and not the properties file. I guess that the 
hibernate.properties is being used because otherwise i would have expected some 
errors being thrown up since your cfg.xml does not contain any 
dialect/driver/connection url related information.



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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-05-31 Thread vri_97
Hi Ruchi,
I also has the same problem with Mustafa, so in this case  are you suggesting 
that EJB3.0 is not run properly in JBoss yet ? esp in 4.0 an 4.2?
Which JBoss AS version do you suggest for running EJB3.0 ?
Thank you
Regards,
Ferry

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread cgrahamatip
I checked and it is the only hibernate.cfg.xml file in the war file and work 
sub-directory in jboss default sub-directory.  I don't see any messages 
indicating that the hibernate configuration files are missing or have a 
problem.  I hope someone can see what I am missing.  Thanks you for your 
feedback.

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

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


[jboss-user] [Beginners Corner] - Re: Resolving the EAR name ...

2007-05-31 Thread jaikiran
I dont think there's a direct API to use. If you are concerned about hardcoding 
the ear name in your lookup code, you can have an env-entry in your web 
application and pass the ear name through this env-entry

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

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


[jboss-user] [JBoss AOP] - Re: IllegalAccessException using reflection on private field

2007-05-31 Thread jxhill
I attached a test case patch to the bug report (My first JUnit - so go easy on 
me)  The test case only deals with situations where a security manager is not 
present.  I will have to add a security manager test case later.

I'm not opposed to making the function public, in fact, after writing the test, 
I think that might be the way to go.  I just think that if it is made public, 
code should be added to verify that the caller should be able to access a 
non-visible field.

I don't like the way that the code fix I added causes a superfluous call to the 
security manager: m.setAccessable().  I want to correct that.  I will also look 
at the private constructor issue.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread jaikiran
The files look right to me. The exception you are seeing usually shows up when 
the class is not mapped through the hibernate.cfg.xml file. But i see, you have 
already done that. Are you sure, while creating the session factory, this 
hibernate.cfg.xml is being picked up? I mean, is there any other 
hibernate.cfg.xml in your classpath which might be getting picked up by the 
application

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread cgrahamatip

  | 
  | ### hibernate.cfg.xml 
  | 
  | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | 
  | 
  |   
  | true
  |   
  |   
  |   
  | 
  | 
  | 
  | ### stack tracy 
  | 
  | HTTP Status 500 -
  | 
  | type Exception report
  | 
  | message
  | 
  | description The server encountered an internal error () that prevented it 
from fulfilling this request.
  | 
  | exception
  | 
  | javax.servlet.ServletException: #{registrationBean.register}: 
org.hibernate.MappingException: Unknown entity: 
com.ipi.InformationPortal.model.People
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:256)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | root cause
  | 
  | javax.faces.FacesException: #{registrationBean.register}: 
org.hibernate.MappingException: Unknown entity: 
com.ipi.InformationPortal.model.People
  | 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:107)
  | javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
  | javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  | 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | root cause
  | 
  | javax.faces.el.EvaluationException: org.hibernate.MappingException: Unknown 
entity: com.ipi.InformationPortal.model.People
  | 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:91)
  | 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
  | javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  | 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | root cause
  | 
  | org.hibernate.MappingException: Unknown entity: 
com.ipi.InformationPortal.model.People
  | 
org.hibernate.impl.SessionFactoryImpl.getEntityPersister(SessionFactoryImpl.java:550)
  | 
org.hibernate.event.def.DefaultLoadEventListener.onLoad(DefaultLoadEventListener.java:68)
  | org.hibernate.impl.SessionImpl.fireLoad(SessionImpl.java:878)
  | org.hibernate.impl.SessionImpl.load(SessionImpl.java:795)
  | org.hibernate.impl.SessionImpl.load(SessionImpl.java:788)
  | 
com.ipi.InformationPortal.web.suggestionUtils.getSuggestionBean(suggestionUtils.java:39)
  | 
com.ipi.InformationPortal.web.registrationBean.register(registrationBean.java:36)
  | sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | java.lang.reflect.Method.invoke(Method.java:597)
  | org.apache.el.parser.AstValue.invoke(AstValue.java:131)
  | org.apache.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | 
org.apache.jasper.el.JspMethodExpression.invoke(JspMethodExpression.java:68)
  | 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  | 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
  | javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  | 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | note The full stack trace of the root cause is available in the 
JBossWeb/2.0.0.GA logs.
  | JBossWeb/2.0.0.GA
  | 

View the origi

[jboss-user] [Beginners Corner] - Re: org.jboss.deployment.DeploymentException: url file:/C:/j

2007-05-31 Thread jaikiran
When you downloaded the .zip version and extracted it what error did you see 
when you started jboss? Can you post the exception stacktrace. Also does the  
%JBOSS_HOME%/server/default/conf folder contain the jboss-service.xml file? 

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

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


[jboss-user] [JBossCache] - Re: Exclusive lock on bottom (leaf) node only?

2007-05-31 Thread [EMAIL PROTECTED]
Oops, Manik, I didn't see your post. 

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread jaikiran
And the entire exception stacktrace

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread jaikiran
Can you repost the contents of your hibernate.cfg.xml too?

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

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


[jboss-user] [JBossCache] - Re: Exclusive lock on bottom (leaf) node only?

2007-05-31 Thread [EMAIL PROTECTED]
The use case you describe sounds like what IIRC Option.forceWriteLock was meant 
for; kind of a SELECT FOR UPDATE semantic. Not sure if it needs to lock all the 
nodes on the way down (it definitely does). I'd think not for the usages I've 
thought about, but haven't thought about it hard.


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

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


[jboss-user] [EJB/JBoss] - Re: how change reploy Jar in Ear

2007-05-31 Thread jaikiran
I am not sure whether its possible to just redeploy the jar which belongs to 
the ear. You can however redeploy the entire ear.

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

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


[jboss-user] [EJB/JBoss] - Re: EJB not work with Jboss listening port 8180

2007-05-31 Thread jaikiran
anonymous wrote : The EJB would have to use port 1199 !!!

You mean you had changed the JNP port in jboss-service.xml to 1199?

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

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


[jboss-user] [JNDI/Naming/Network] - Re: I am getting a strange class cast exception when doing

2007-05-31 Thread jaikiran
What version of JDK are you using at the client and whats the version of JDK on 
the server? Are they different?

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

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


[jboss-user] [JBoss Seam] - Re: Simplest usage

2007-05-31 Thread [EMAIL PROTECTED]
"evl123" wrote : 
  | Now, on the JSF Action Listener side, what class and from what jar file do 
I need for the uploaded file's Backing Bean to have Seam inject the uploaded 
file into?
  | jboss-seam-ui.jar is for front-end tag but I still couldn't find the 
backend bean to catch the file.
  | 
  | So far, I've only been successful following an example that uses primitive 
type byte[] with gives only size but not meta attributes like filename. I want 
to be able to upload in Seam in a similar way as done through Struts FormFile 
class.
  | 
  | Thanks again.
  | 

There is no need for any special backing bean, you just bind whichever of the 
file's properties you need (data, filename, content type) directly to your 
component.  The documentation in CVS explains which properties are available, 
but it seems you need data, contentType and fileName.

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

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


[jboss-user] [JNDI/Naming/Network] - Re: data source problem in 4.0.3SP1

2007-05-31 Thread jaikiran
anonymous wrote : Receive timed out [Root exception is java.net.Socket
  | TimeoutException: Receive timed out]

In your code, while doing the lookup, are you passing any properties to the 
InitialContext constructor. I would be interested especially the 
Context.PROVIDER_URL property. By default, this property has a value 
jnp://localhost:1099 unless you explicitly specify some other value.

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

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


[jboss-user] [JBoss Seam] - Re: How can I package facelets source tags into jar to be us

2007-05-31 Thread mgrouch
This was my first time asking this question

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - How to find out Default Schema given a SessionFactory

2007-05-31 Thread elikyip
Hi,

Is there any way to find out the Default Schema name from a SessionFactory?

Any help is appreciated.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread cgrahamatip
I am trying to get a test jsf application to work on the standard jboss 4.2.0 
AS server.  I am using eclipse as the IDE. I set the build path in my eclipse 
project to point to jboss/default/lib jar files for hibernate and other 
required jars. 

when I deployed the application everythings works as it should until I make a 
call from a backing bean to query or load a hibernate class.  I get the 
following error:  "org.hibernate.MappingException: Unknown entity: 
com.ipi.jsfapp.model.People".

Any information would be greatly appreciated..

The configuration snippets are:

hibernate.cfg.xml###
  | 
  | http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>
  | 
  | 
  | 
  |   
  | true
  |   
  |   
  |   
  | 
  | 
  | 
  | ###  hibernate.properties #
  | ..
  | ## MySQL
  | 
  | hibernate.dialect org.hibernate.dialect.MySQLDialect
  | #hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
  | #hibernate.dialect org.hibernate.dialect.MySQLMyISAMDialect
  | hibernate.connection.driver_class com.mysql.jdbc.Driver
  | hibernate.connection.url jdbc:mysql://localhost/myDB
  | hibernate.connection.username username
  | hibernate.connection.password xxx
  | ..
  | 
  | ### People.hbm.xml ###
  | 
  | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | #  People.java ##
  | 
  | package com.ipi.jsfapp.model;
  | // Generated May 27, 2007 7:19:11 PM by Hibernate Tools 3.2.0.beta7
  | 
  | 
  | 
  | /**
  |  * People generated by hbm2java
  |  */
  | public class People  implements java.io.Serializable {
  | 
  | // Fields
  | 
  |  private int peopleid;
  |  private String firstName;
  |  private String middleInitial;
  |  private String lastName;
  | 
  |  // Constructors
  | 
  | /** default constructor */
  | public People() {
  | }
  | 
  | /** minimal constructor */
  | public People(int peopleid) {
  | this.peopleid = peopleid;
  | }
  | /** full constructor */
  | public People(int peopleid, String firstName, String middleInitial, 
String lastName) {
  |this.peopleid = peopleid;
  |this.firstName = firstName;
  |this.middleInitial = middleInitial;
  |this.lastName = lastName;
  | }
  |
  | // Property accessors
  | public int getPeopleid() {
  | return this.peopleid;
  | }
  | 
  | public void setPeopleid(int peopleid) {
  | this.peopleid = peopleid;
  | }
  | public String getFirstName() {
  | return this.firstName;
  | }
  | 
  | public void setFirstName(String firstName) {
  | this.firstName = firstName;
  | }
  | public String getMiddleInitial() {
  | return this.middleInitial;
  | }
  | 
  | public void setMiddleInitial(String middleInitial) {
  | this.middleInitial = middleInitial;
  | }
  | public String getLastName() {
  | return this.lastName;
  | }
  | 
  | public void setLastName(String lastName) {
  | this.lastName = lastName;
  | }
  | 
  | }
  | 
  | 
  | ### backing bean call 
  |  
  |   public static suggestionBean getSuggestionBean() {
  | 
  | int peopleid = 1;
  | Configuration cfg = new Configuration();
  | SessionFactory sf = cfg.buildSessionFactory();
  | String address = randomString(suggestedAddresses);
  | String password = randomString(chars, 8);
  | /*
  |  * Insert some hibernate to get the user name from db.
  |  */
  | People p = new People();
  | Session session = sf.openSession();
  | 
  | p = (People) session.load(People.class, peopleid);
  | 
  | password = p.getFirstName();
  | address = p.getLastName();
  | session.close();
  | return(new suggestionBean(address, password));
  |   }
  | 
  | #
  | The hibernate configuration files are at the root of the jsf app.
  | 
  | 

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

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


[jboss-user] [EJB 3.0] - Re: Determine JNDI name for session bean from interface clas

2007-05-31 Thread ojacobson
EJBTHREE-980

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

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


[jboss-user] [JBoss Seam] - Re: PAGE context and Ajax4JSF

2007-05-31 Thread jazir1979
Hi Gavin,

Thanks for the reply.

"[EMAIL PROTECTED]" wrote : anonymous wrote : the serialized page state is not 
available when Ajax4JSF goes through the JSF lifecycle to process the 
validations
  | 
  | I'm sure that's not correct. Ajax4JSF does resubmit the serialized state 
back to the server.
  | 

I'd have thought so too, but I read something on the forums which led me to 
believe this was the problem (can't find the link now).  Perhaps the behaviour 
I'm seeing is actually to do with my @Factory/@DataModel usage.

Here's what's happening...

  | @DataModel(scope = ScopeType.PAGE)
  | private List batchList;
  | 
  | @Factory("batchList")
  | public void search() { ... }
  | 

Now, every time focus leaves an input box that has Ajax4JSF validation on it, 
the search() method gets called on the server.  I assumed this was because the 
Ajax4JSF request does not have the page scoped "batchList" available, so the 
@Factory gets called.  What do you think?

"[EMAIL PROTECTED]" wrote : 
  | anonymous wrote : i wanted the data model to refresh on each request.
  | 
  | Then what you need to do is re-render the whole f:view. If you don't 
re-render the ViewRoot, then the PAGE scope attributes won't be updated on the 
client side.
  | 
  | If you use reRender="theViewRootId", everything should work fine.
  | 
Those requests aren't PPR/ajax.. but thanks for that tip because if I solve the 
above a4jsf validation problem, I will probably change this later on and I 
would have just reRender'ed the data table, not the whole view.

cheers,
Daniel.


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

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


[jboss-user] [JBoss Seam] - Re: How can I package facelets source tags into jar to be us

2007-05-31 Thread [EMAIL PROTECTED]
Isn't this the third time you posted this exact same question? I don't know the 
answer, but I guess most folks here would appreciate it if you wouldn't post it 
a fourth time.

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

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


[jboss-user] [JBoss jBPM] - Getting a list of the process variables in a process instanc

2007-05-31 Thread lachelt
>From outside of a process instance I want to get visibility into the current 
>state of a process instance (e.g. what are its process variables and their 
>values).  For some context? I am showing a list of the process instances, but 
>want to give the client more than just the instance id, process name, start 
>time, end time, etc.  I want to give more info that identifies this process 
>instance (to a user) ? which would come from variables in the process instance.

I found that I can get the root token for a process instance, and then 
construct an ExecutionContext from that which lets me get a variable.  This 
seems sort of overkill.  I don?t want to do execution at this point? I just 
want to see into the process instance.  Is this the only/recommended way to do 
what I want?

Also, is it possible to get a list of the Process Variables in the process 
instance?  I?ve only found the ExecutionContext.getVariable() method ? for 
which I need to know the name of a specific variable I am interested in.

Thanks,
   -Jon


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

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


[jboss-user] [JBoss Seam] - Re: PAGE context and Ajax4JSF

2007-05-31 Thread [EMAIL PROTECTED]
anonymous wrote : the serialized page state is not available when Ajax4JSF goes 
through the JSF lifecycle to process the validations

I'm sure that's not correct. Ajax4JSF does resubmit the serialized state back 
to the server.


anonymous wrote : i wanted the data model to refresh on each request.

Then what you need to do is re-render the whole f:view. If you don't re-render 
the ViewRoot, then the PAGE scope attributes won't be updated on the client 
side.

If you use reRender="theViewRootId", everything should work fine.

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

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


[jboss-user] [JBoss Seam] - How can I package facelets source tags into jar to be used i

2007-05-31 Thread mgrouch
How can I package facelets source tags into jar to be used in Seam app?
Any examples of doing it would help...
Thanks

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

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


[jboss-user] [EJB 3.0] - Re: Determine JNDI name for session bean from interface clas

2007-05-31 Thread wolfc
JBoss does it by calling container.getEjbJndiName(businessInterface).
You might be able to access the Ejb3Registry to get the right container, but 
it's tricky business.
I like the functionality though, you should open up a Jira issue.

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

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


[jboss-user] [JBossCache] - Re: Exclusive lock on bottom (leaf) node only?

2007-05-31 Thread [EMAIL PROTECTED]
anonymous wrote : 
  | My interpretation is that atijms want to get an exclusive lock on '/a/b/n1' 
regardless of read or write operation. If this is correct then repeatable_read 
would not solve the issue. 
  | 

Yes, if this is the case then R_R won't help.

Option.setForceWriteLock() should only acquire a WL on the target node (leaf).  
If it does so for every parent node as well, then this is a bug.



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

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


[jboss-user] [JBoss Seam] - are facelets source tags usable with seam?

2007-05-31 Thread mgrouch
Value of rendered attribute is ignored at render time when used in
facelets source tag


...







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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread cgrahamatip
The hibernate mapping file didn't display so I will try to cut and paste again.

### People.hbm.xml ###

  | 
  | http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |  
  | 
  | 
  | 

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

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


[jboss-user] [Installation, Configuration & Deployment] - jboss 4.2 Hibernate 3.2 entity mapping problem

2007-05-31 Thread cgrahamatip
I am trying to get a test jsf application to work on the standard jboss 4.2.0 
AS server.  I am using eclipse as the IDE. I set the build path in my eclipse 
project to point to jboss/default/lib jar files for hibernate and other 
required jars. 

when I deployed the application everythings works as it should until I make a 
call from a backing bean to query or load a hibernate class.  I get the 
following error:  "org.hibernate.MappingException: Unknown entity: 
com.ipi.InformationPortal.model.People".

The configuration snippets are:

hibernate.cfg.xml###

http://hibernate.sourceforge.net/hibernate-configuration-3.0.dtd";>



  
true
  
  
  



###  hibernate.properties #
..
## MySQL

hibernate.dialect org.hibernate.dialect.MySQLDialect
#hibernate.dialect org.hibernate.dialect.MySQLInnoDBDialect
#hibernate.dialect org.hibernate.dialect.MySQLMyISAMDialect
hibernate.connection.driver_class com.mysql.jdbc.Driver
hibernate.connection.url jdbc:mysql://localhost/myDB
hibernate.connection.username username
hibernate.connection.password xxx
..

### People.hbm.xml ###

http://hibernate.sourceforge.net/hibernate-mapping-3.0.dtd";>


























#  People.java ##

package com.ipi.InformationPortal.model;
// Generated May 27, 2007 7:19:11 PM by Hibernate Tools 3.2.0.beta7



/**
 * People generated by hbm2java
 */
public class People  implements java.io.Serializable {

// Fields

 private int peopleid;
 private String firstName;
 private String middleInitial;
 private String lastName;

 // Constructors

/** default constructor */
public People() {
}

/** minimal constructor */
public People(int peopleid) {
this.peopleid = peopleid;
}
/** full constructor */
public People(int peopleid, String firstName, String middleInitial, String 
lastName) {
   this.peopleid = peopleid;
   this.firstName = firstName;
   this.middleInitial = middleInitial;
   this.lastName = lastName;
}
   
// Property accessors
public int getPeopleid() {
return this.peopleid;
}

public void setPeopleid(int peopleid) {
this.peopleid = peopleid;
}
public String getFirstName() {
return this.firstName;
}

public void setFirstName(String firstName) {
this.firstName = firstName;
}
public String getMiddleInitial() {
return this.middleInitial;
}

public void setMiddleInitial(String middleInitial) {
this.middleInitial = middleInitial;
}
public String getLastName() {
return this.lastName;
}

public void setLastName(String lastName) {
this.lastName = lastName;
}

}


### backing bean call 
 
  public static suggestionBean getSuggestionBean() {

int peopleid = 1;
Configuration cfg = new Configuration();
SessionFactory sf = cfg.buildSessionFactory();
String address = randomString(suggestedAddresses);
String password = randomString(chars, 8);
/*
 * Insert some hibernate to get the user name from db.
 */
People p = new People();
Session session = sf.openSession();

p = (People) session.load(People.class, peopleid);

password = p.getFirstName();
address = p.getLastName();
session.close();
return(new suggestionBean(address, password));
  }

#
The hibernate configuration files are at the root of the jsf app.

Any input would be greatly appreciated!!


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

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


[jboss-user] [JBoss Seam] - PAGE context and Ajax4JSF

2007-05-31 Thread jazir1979
Hi all,

Are there any plans (is it even technically possible?) to get PAGE scoped 
components to work with a page that uses Ajax4JSF?

I was using a PAGE-scoped @Factory @DataModel previously, to display data to 
the user that gets modified by other asynchronous processes - ie: i wanted the 
data model to refresh on each request.  However, this failed when I had form 
fields with Ajax4JSF because the serialized page state is not available when 
Ajax4JSF goes through the JSF lifecycle to process the validations.

I had to solve it by using a long-running conversation with judicious use of 
@End on most of the other actions on my bean, which seems a bit of a hack.

Is there a better way?  Or should I just avoid the a4JSF validation and PPR on 
this kind of page?

thanks kindly,
Daniel.


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Address already in use: JVM_Bind

2007-05-31 Thread PeterJ
This is the third time you submitted this same stack trace. On your first try I 
suggested doing a search to find other posts on this same topic (there are many 
of them) to see if any of them held a solution to your problem (since this is 
fairly common). So, from your research, what are the things that you found out 
were *not* the cause of your problem (I assume that you want to fix this 
problem and therefore did some research and tried some of the suggested 
solutions).

I assume that you already tried the things in this wiki entry: 
http://wiki.jboss.org/wiki/Wiki.jsp?page=DebugBindException

and that you saw this forum post: 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=64248

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

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


[jboss-user] [JBossCache] - Re: Exclusive lock on bottom (leaf) node only?

2007-05-31 Thread FredrikJ
Using repeatable read as transaction isolation will not stop concurrent read 
access to the node if i'm not mistaken.

My interpretation is that atijms want to get an exclusive lock on '/a/b/n1' 
regardless of read or write operation. If this is correct then repeatable_read 
would not solve the issue.

I have actually the same requirement, I need to access a node and lock that 
node (and that node only) excusively. I do not want to write-lock the parent 
nodes. If I use Option.setForceWriteLock() , then all nodes are write locked.

So far, I have found two working solutions, none which are pretty imho. 

1. Perform a write operation such as remove(...) first when accessing the node. 
That acquires a write lock during the transaction right away. Not very 
performance wise I would gather though =)

2. Make your own locking scheme. I implemented this,  it doesn't feel right 
(feels like a true hack), but it works for me. First I get the lock from the 
node, add the lock to my transaction. Then I acquireAll on the node for read 
locks and finally acquire write lock on the leaf node only. 

I'd be real happy if there was an option we could provide (similar to 
Options.setForceWriteLock()) that let us readlock the branch and write lock the 
leaf node only...



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

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


[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

2007-05-31 Thread [EMAIL PROTECTED]
Anyway, hopefully you learned some things about factories and context variabled 
along the way.

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

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


[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

2007-05-31 Thread [EMAIL PROTECTED]
Oh, by the way, all this is totally unnecessary. You don't need two EMs at all. 
All you need is this:

 
  | clientFilter
  | 
  | clientId
  | #{clientId}
  | 
  | 

It's really as easy as that :-)

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

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


[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

2007-05-31 Thread [EMAIL PROTECTED]
Note the use of autoCreate=true.

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

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


[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

2007-05-31 Thread [EMAIL PROTECTED]
Where filteredEntityManager and unFilteredEntityManager are both seam-managed 
PCs defined in components.xml.

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

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


[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

2007-05-31 Thread [EMAIL PROTECTED]
Nonono!


  | 
  | @In 
  | EntityManager filteredEntityManager;
  | @In 
  | EntityManager unFilteredEntityManager;
  | 
  | @Factory("entityManager")
  | public EntityManager selectEntityManager(){
  | return identity.isLoggedIn() ? filteredEntityManager : 
unFilteredEntityManager;
  | }

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

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


[jboss-user] [EJB 3.0] - Re: How can i access ejb3.0 from backing bean in jboss 4.0.5

2007-05-31 Thread jnorris10
If you use Seam, you can make your backing beans EJB session beans themselves 
(ie: @Stateless), thus standard @EJB injection can be used.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with OpenSessionInViewFilter and Seam

2007-05-31 Thread [EMAIL PROTECTED]
Don't use Tomcat's flakey datasource. The one in JBoss MC is much more robust.

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

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


[jboss-user] [EJB 3.0] - Re: ejb-ql relations/mapping problem

2007-05-31 Thread ojacobson
If the dict_status and dict_locale fields are not part of Dictionary's entity 
key then you can't (portably) use them in a container-managed relationship.  
There is a hibernate extension that works on jboss when using the hibernate 
entity manager: have a look at 

http://www.hibernate.org/hib_docs/annotations/reference/en/html/entity.html#entity-hibspec-collection-enhance

(2.4.6.1. Enhance collection settings)

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

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


[jboss-user] [EJB 3.0] - Re: How can i access ejb3.0 from backing bean in jboss 4.0.5

2007-05-31 Thread waynebaylor
With JBoss 4.0.5 you have to use a JNDI lookup from the web layer.

Suppose you have:

  | @Local
  | public interface MyLocalIfc
  | {
  |...
  | }
  | 

and


  | @Stateless
  | public class MyLocalBean implements MyLocalIfc
  | {
  | ...
  | }
  | 

Then try:

  | MyLocalIfc bean = (new InitialContext()).lookup("myEAR/MyLocalBean/local");
  | 

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

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


[jboss-user] [JBoss Portal] - Re: CMS URL rewriting: what is going on?

2007-05-31 Thread Agathon
I was able to answer my own question. It turns out that

  | Link
  | 
works!

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

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


[jboss-user] [EJB/JBoss] - EJB not work with Jboss listening port 8180

2007-05-31 Thread cjacobm
I have an application functioning in the JBoss 4.0.5GA that he uses EJB, with 
local interface. In the configuration standard (using port 8080), everything 
functions well. But, when I change my jboss-service.xml to use the 
configuration ?port-1? (using port 8180) of the Services Binding, my EJB stops 
to work, and in the server.log file it appears the following error: ?Failed you 
connect you localhost: 1099? [Root exception is java.net ConnectException: 
connection refused]. What  could be wrong? The EJB would have to use port 1199 
!!!

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

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


[jboss-user] [Installation, Configuration & Deployment] - Port already in use: 1098

2007-05-31 Thread venni2007
I am trying to deploy my application on JBoss app server. But i am getting this 
error so that i can not able to run my application. Some times i don't get this 
error. Please let me know when you really get this error.

5,462 INFO [log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml 
15:24:55,853 WARN [ServiceController] Problem starting service 
jboss:service=Naming 
java.rmi.server.ExportException: Port already in use: 1098; nested exception 
is: 
java.net.BindException: Address already in use: JVM_Bind 
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source) 
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source) 
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source) 
at sun.rmi.transport.LiveRef.exportObject(Unknown Source) 
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source) 
at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source) 
at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source) 
at org.jnp.server.Main.initJnpInvoker(Main.java:337) 
at org.jnp.server.Main.start(Main.java:300) 
at org.jboss.naming.NamingService.startService(NamingService.java:243) 
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
 
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
 
at $Proxy0.start(Unknown Source) 
at org.jboss.system.ServiceController.start(ServiceController.java:417) 
at org.jboss.system.ServiceController.start(ServiceController.java:435) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86) 
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 
at $Proxy4.start(Unknown Source) 
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302) 
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782) 
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766) 
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source) 
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source) 
at java.lang.reflect.Method.invoke(Unknown Source) 
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
 
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94) 
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
 
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) 
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264) 
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659) 
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210) 
at $Proxy5.deploy(Unknown Source) 
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482) 
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362) 
at org.jboss.Main.boot(Main.java:200) 
at org.jboss.Main$1.run(Main.java:490) 
at java.lang.Thread.run(Unknown Source) 
Caused by: java.net.BindException: Address already in use: JVM_Bind 
at java.net.PlainSocketImpl.socketBind(Native Method) 
at java.net.PlainSocketImpl.bind(Unknown Source) 
at java.net.ServerSocket.bind(Un

[jboss-user] [Installation, Configuration & Deployment] - Address already in use: JVM_Bind

2007-05-31 Thread venni2007
5,462 INFO  [Log4jService$URLWatchTimerTask] Configuring from URL: 
resource:log4j.xml
15:24:55,853 WARN  [ServiceController] Problem starting service 
jboss:service=Naming
java.rmi.server.ExportException: Port already in use: 1098; nested exception 
is: 
java.net.BindException: Address already in use: JVM_Bind
at sun.rmi.transport.tcp.TCPTransport.listen(Unknown Source)
at sun.rmi.transport.tcp.TCPTransport.exportObject(Unknown Source)
at sun.rmi.transport.tcp.TCPEndpoint.exportObject(Unknown Source)
at sun.rmi.transport.LiveRef.exportObject(Unknown Source)
at sun.rmi.server.UnicastServerRef.exportObject(Unknown Source)
at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source)
at java.rmi.server.UnicastRemoteObject.exportObject(Unknown Source)
at org.jnp.server.Main.initJnpInvoker(Main.java:337)
at org.jnp.server.Main.start(Main.java:300)
at org.jboss.naming.NamingService.startService(NamingService.java:243)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at org.jboss.system.ServiceController.start(ServiceController.java:435)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy4.start(Unknown Source)
at org.jboss.deployment.SARDeployer.start(SARDeployer.java:302)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:766)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractInterceptor.java:133)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelMBeanOperationInterceptor.java:142)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
at $Proxy5.deploy(Unknown Source)
at org.jboss.system.server.ServerImpl.doStart(ServerImpl.java:482)
at org.jboss.system.server.ServerImpl.start(ServerImpl.java:362)
at org.jboss.Main.boot(Main.java:200)
at org.jboss.Main$1.run(Main.java:490)
at java.lang.Thread.run(Unkno

[jboss-user] [Beginners Corner] - Re: Doubts about the authenticaton process

2007-05-31 Thread Marcos_APS
"PeterJ" wrote : Yes.

Thank you very much, Peter.

Marcos

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

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


[jboss-user] [Remoting] - non-ssl user authentication?

2007-05-31 Thread cupdike
Is there a way to do user authentication using rmi (w/o using SSL)?  I saw a 
forum post that showed using JNDI Context environment entries for username and 
password, but I don't see how this works with the remoting protocol like it 
does with JNDI lookups.  I've googled various ways but not found any resources 
on how to do this (including the docs and the wiki).  Any pointers greatly 
appreciated.

TIA, Clark

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

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


[jboss-user] [JBoss Seam] - Re: badly behavior of with page actions

2007-05-31 Thread [EMAIL PROTECTED]
"[EMAIL PROTECTED]" wrote : s:link is not a UICommand, and so the lifecycle is 
completely different.

Same thing for s:button.

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

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


[jboss-user] [JBoss Seam] - Re: badly behavior of with page actions

2007-05-31 Thread [EMAIL PROTECTED]
s:link is not a UICommand, and so the lifecycle is completely different.

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

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


[jboss-user] [JBoss Portal] - Re: About JBoss Portal 2.6 ...

2007-05-31 Thread [EMAIL PROTECTED]
The user management is basically divided into 2 parts, a user service that 
takes care of storing user properties and the interface itself (the user 
portlet).

What you can do is just work on the portlet that communicates with the service. 
You wouldn't have to touch the service itself.
Of course you can use the existing portlet as a start and modify the existing 
one.

It's flexible so you can drop part of the portal without afffecting the other 
components. (you can disable the embedded user portlet and add your own, you 
could also replace the user management service if you don't like it)

Output for final users rely in portlets and themes, you can keep the portal 
framework, add your own portlets and layout/theme without having to recompile 
the sources.

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

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


[jboss-user] [Beginners Corner] - Re: Doubts about the authenticaton process

2007-05-31 Thread PeterJ
Yes.

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

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


[jboss-user] [Beginners Corner] - Re: Doubts about the authenticaton process

2007-05-31 Thread Marcos_APS
"PeterJ" wrote : The easiest, and correct, way to do what you want to do is 
write your own login module, hence my reason for pointing you to a prior 
discussion of this topic (if you look carefully at that topic, that user also 
had encrypted password in the database and thus could not use the 
DatabaseServerLoginModule to perform the login and had to write his own login 
module). The DatabaseServerLoginModule should provide you with a reasonable 
template (or you could subclass it) within which you can do your own work to 
validate the user and return the collection of roles.

I agree with you, Peter and that's exactly what I'm going to do. But there's a 
part of my doubt that is a little more simple: if I use j_security_check and 
name my input texts in the login page j_username and j_password, will JBoss 
pass these values to my own login module? If so, I'm done.

Thank you.

Marcos

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

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


[jboss-user] [Beginners Corner] - Re: Doubts about the authenticaton process

2007-05-31 Thread PeterJ
The easiest, and correct, way to do what you want to do is write your own login 
module, hence my reason for pointing you to a prior discussion of this topic 
(if you look carefully at that topic, that user also had encrypted password in 
the database and thus could not use the DatabaseServerLoginModule to perform 
the login and had to write his own login module). The DatabaseServerLoginModule 
should provide you with a reasonable template (or you could subclass it) within 
which you can do your own work to validate the user and return the collection 
of roles.

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

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


[jboss-user] [JBoss Seam] - Re: JavaBean injection

2007-05-31 Thread RRLevering
In the interest of answering my own question, it turns out it the backing bean 
wasn't being updated because another h:selectOneMenu wasn't validating 
correctly.  I was using a Map to populate the select menu and it was erroring 
out with a strange value not valid error, which meant it skipped the update 
model phase.  I changed my f:selectItems to use a SelectItem[] and the problem 
went away.

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

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


[jboss-user] [Beginners Corner] - Re: Doubts about the authenticaton process

2007-05-31 Thread Marcos_APS
"PeterJ" wrote : See 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103158

I don't want to use I DatabaseServerLoginModule provided by JBoss to do the 
authentication. I want to develop my own login module to connect with my 
database that already has a table with my users and the password encrypted 
(they're hashed too). So, I don't use the JBoss functions to hash the passwords.
What I just want to know is how I will make my custom login module aware of the 
username and password typed in the login web page that I will use. Do I have to 
use some standard name for the username and password input fields in the login 
web page for JBoss to pass them to my registered login module? Do they have to 
start with 'j_'? If so, what are the real names that I have to use?
I know that I have to tell the server what is the login page that I use and 
what authentication method that I want (FORM in my case), but I don't know how 
to tell it what are my username and password input fields. How do I proceed?

Thank you.

Marcos

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

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


[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

2007-05-31 Thread christian_zeidler
Things are getting better...

by adding (create=true) to

  | @In(create=true) 
  | EntityManager entityManager;

and adding a second persistence-unit to persistence.xml with 


I am runnig free of exception. The only problem is that the filter is now not 
working. All users can see all the data...

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

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


[jboss-user] [Beginners Corner] - Re: Doubts about the authenticaton process

2007-05-31 Thread PeterJ
See http://www.jboss.com/index.html?module=bb&op=viewtopic&t=103158

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

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


[jboss-user] [JBoss Seam] - Re: Data separation in multi tenant applications with seam

2007-05-31 Thread christian_zeidler
OK, so what I have dome is to create two managed-persistence-contexts in 
components.xml

 
  | 
  | 
  | 
  | clientFilter
  | 
  | clientId
  | #{clientId}
  | 
  | 
  | 
  | 
  | #{clientFilter}
  | 

Then I added a @Factory Method for entityManager to Authenticator.java

@In 
  | EntityManager entityManager;
  | 
  | @Factory("entityManager")
  | public EntityManager selectEntityManager(){
  | try{
  | Context jndi = new InitialContext();
  | if(identity.isLoggedIn()){
  | EntityManagerFactory emf = 
(EntityManagerFactory) jndi.lookup("java:/filteredEntityManagerFactory");
  | log.info("just set: " + 
"java:/filteredEntityManagerFactory");
  | return emf.createEntityManager(); 
  | }else{
  | EntityManagerFactory emf = 
(EntityManagerFactory) jndi.lookup("java:/standardEntityManagerFactory");
  | log.info("just set: " + 
"java:/standardEntityManagerFactory");
  | return emf.createEntityManager();
  | }
  | }catch(NamingException e){
  | log.info("error " + e.toString());
  | return null;
  | }
  | }
  | 

Now when I run this and try to login, I get an exception:

20:55:47,143 ERROR [SeamLoginModule] Error invoking login method
  | javax.faces.el.EvaluationException: Exception while invoking expression 
#{authenticator.authenticate}
  | at 
org.apache.myfaces.el.MethodBindingImpl.invoke(MethodBindingImpl.java:153)
  | at 
org.jboss.seam.actionparam.ActionParamBindingHelper.invokeTheExpression(ActionParamBindingHelper.java:58)
  | at 
org.jboss.seam.actionparam.ActionParamMethodBinding.invoke(ActionParamMethodBinding.java:75)
  | at org.jboss.seam.core.Expressions$2.invoke(Expressions.java:148)
  | at 
org.jboss.seam.security.jaas.SeamLoginModule.login(SeamLoginModule.java:104)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
javax.security.auth.login.LoginContext.invoke(LoginContext.java:769)
  | at 
javax.security.auth.login.LoginContext.access$000(LoginContext.java:186)
  | at 
javax.security.auth.login.LoginContext$5.run(LoginContext.java:706)
  | at java.security.AccessController.doPrivileged(Native Method)
  | at 
javax.security.auth.login.LoginContext.invokeCreatorPriv(LoginContext.java:703)
  | at 
javax.security.auth.login.LoginContext.login(LoginContext.java:575)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:247)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:240)
  | at org.jboss.seam.security.Identity.login(Identity.java:170)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at com.sun.el.parser.AstValue.invoke(AstValue.java:174)
  | at 
com.sun.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:286)
  | at 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | at 
com.sun.facelets.el.LegacyMethodBinding.invoke(LegacyMethodBinding.java:69)
  | at 
org.apache.myfaces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:63)
  | at javax.faces.component.UICommand.broadcast(UICommand.java:106)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processEvents(AjaxViewRoot.java:180)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.broadcastEvents(AjaxViewRoot.java:158)
  | at 
org.ajax4jsf.framework.ajax.AjaxViewRoot.processApplication(AjaxViewRoot.java:329)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.invokeApplication(LifecycleImpl.java:343)
  | at 
org.apache.myfaces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:86)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:137)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at 

[jboss-user] [JBoss Seam] - Re: Simplest usage

2007-05-31 Thread evl123
"[EMAIL PROTECTED]" wrote : 
  | 
  | You need jboss-seam-ui.jar, and yes,  is the correct tag.  
It's documented in the controls chapter of the Seam reference documentation.

Thanks Shane.
Now, on the JSF Action Listener side, what class and from what jar file do I 
need for the uploaded file's Backing Bean to have Seam inject the uploaded file 
into?
jboss-seam-ui.jar is for front-end tag but I still couldn't find the backend 
bean to catch the file.

So far, I've only been successful following an example that uses primitive type 
byte[] with gives only size but not meta attributes like filename. I want to be 
able to upload in Seam in a similar way as done through Struts FormFile class.

Thanks again.


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - ejbLoad not called when datbase is updated externally

2007-05-31 Thread tveena_83
Hi,

We have an entity bean which loads the content  in the ejbLoad method. We are 
now in a situation where an external  plain java class  updates the database 
and this new data is not reflected in the EJB (as ejbLoad is not being called). 
Can any one help me with this??

I'm   using jboss-3.2.2_jetty-4.2.11  and EJB2.0

Thanks,

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

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


[jboss-user] [EJB 3.0] - ClassCastException on JNDI lookup

2007-05-31 Thread morisona
There is reason to beieve that this problem is easy 
(http://jira.jboss.com/jira/browse/EJBTHREE-456), but I have searched the forum 
and can not find exactly the same situation.
The easiest way to reproduce it is to take the calcualtor.jsp from the 
EJB3Trail, and put it in a seperate war along with trail.slsb.Calculator.class. 
I then get

  | 20:12:40,859 ERROR [STDERR] java.lang.ClassCastException: $Proxy136
  | 20:12:48,437 ERROR [STDERR] at 
org.apache.jsp.calculator_jsp.jspInit(calculator_jsp.java:19)
  | 20:12:48,437 ERROR [STDERR] at 
org.apache.jasper.runtime.HttpJspBase.init(HttpJspBase.java:78)
  | 20:12:48,437 ERROR [STDERR] at 
org.apache.jasper.servlet.JspServletWrapper.getServlet(JspServletWrapper.java:155)
  | 
The relevent bit of code in the jsp is:


  |   InitialContext ctx = new InitialContext();
  |   cal = (Calculator) ctx.lookup(
  |   "EJB3Trail/StatelessCalculator/local");
  | 
On the JMX JNDI screen I have:

  |  +- EJB3Trail (class: org.jnp.interfaces.NamingContext)
  |
  |   |   +- StatelessCalculator (class: org.jnp.interfaces.NamingContext)
  |   |   |   +- local (proxy: $Proxy136 implements interface 
trail.slsb.Calculator,interface org.jboss.ejb3.JBossProxy,interface 
javax.ejb.EJBLocalObject)
  | 
Any help and I would be infinitely greatful.

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

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


[jboss-user] [EJB 3.0] - Re: Determine JNDI name for session bean from interface clas

2007-05-31 Thread ojacobson
Is there another forum that would be more appropriate, or failing that, more 
likely to have an answer, for this question?

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

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


[jboss-user] [JBoss Seam] - Wrong datatable var type

2007-05-31 Thread limousyf
Hello,

I used the clickable list example described in chapter 1.3 in the reference 
guide to create my own list page, but I have some:

javax.faces.el.PropertyNotFoundException

when I try to display the datatable

The weird thing is that the same Object is in the DataModel and in the "var" of 
my datatable:


  | certif  [EMAIL PROTECTED]
  | certificationList   [EMAIL PROTECTED]
  | 

(This comes from the debug page)

Here is my bean code :


  | @Stateless
  | @Name("myCertifications")
  | public class MyCertificationsBean implements MyCertifications {
  | 
  | @Logger private Log log;
  | 
  | @In FacesMessages facesMessages;
  | 
  | @DataModel
  | private List certificationList;
  | 
  | @DataModelSelection
  | @Out(required=false)
  | private Certification certification;
  | 
  | @In(value="entityManager")
  | private EntityManager em;
  | 
  | @In(value="loggedCollaborateur", required=false, create=true)
  | Collaborateur loggedCollaborateur;
  | 
  | @Factory("certificationList")
  | public void findMessages()
  | {   
  | 
  | (...) blablabla, I'm fetching all my list (...)
  | 
  | } 
  | 

My page :


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | etc (...)
  | 

I also tried with a rich:datatable but it didn't change.

What am I doing wring here ?
Why isn't there any "Certification" objects in my "certif" var in the jsf page ?

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

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


[jboss-user] [JBoss Seam] - Re: TestNG , EntityHome , No application context active

2007-05-31 Thread matt.drees
I think you'd have to post more code and the stacktrace for people to be able 
to help.

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

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


[jboss-user] [Beginners Corner] - Doubts about the authenticaton process

2007-05-31 Thread Marcos_APS
- JBoss 4.2.0GA 

Hello, everybody! 
I have my own database with my users and their passwords already encrypted. So 
I want to write a custom login module to do the authentication, but as I'm new 
to Java EE and JBoss I'm with the following doubts to proceed: 

- How do I link the username and password typed on a web page to the custom 
login module? I mean how do I pass the username and password to the login 
module? 

- How do I have control about when JBoss do the authentication. I mean, I just 
want JBoss do the authentication when I fire it (after, of course, a button in 
my login page is pressed). 

I know that these should be basic doubts, but I would like to have your help 
with it as I'm new to it in JBoss and Java EE. 

Thank you. 

Marcos

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM getCurrentContext

2007-05-31 Thread estaub
You need to tell your container's JNDI about it.

I don't know what you're using, so I can't be more specific.


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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-05-31 Thread ruchi123456
I am new to this topic, but have been looking for the same stuff. I am not sure 
but as i have read
There are a lot of questions about injection not working in AS 4.0 and 4.2. 
Most of the problems boil down to injection not working the web layer. 

jboss AS 4.0 and 4.2 are J2EE 1.4 servers with an EJB3 plugin. This means that 
injection and annotations only work within the EJB3 plugin. To get to your EJBs 
you still have to perform a JNDI lookup from your servlet / application client. 

So, i hope u are not using 4.0 or 4.2. Please correct me if i am wrong, as i am 
just learning.
Regards,

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

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


[jboss-user] [JBoss Seam] - Re: Usage of pooledTaskInstanceList

2007-05-31 Thread limousyf
yes, I was stuck with another problem - the persistence of a logged user in 
session context - so I couldn't try your tip.

But it's working perfectly well now, thanks guys :)

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

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


[jboss-user] [JBoss Seam] - Re: Problem with OpenSessionInViewFilter and Seam

2007-05-31 Thread gustajz
Yes,   
modified all presistense classes for send the transaction control to Seam and 
now run perfectly.

However, I do not obtain correct configuration for the Seam to use dataSource 
from Tomcat Container, only from microcontainer, cannot fixed the DB connection 
configuration inside project (WAR).

Somebody has a suggestion, by another topic's not have?
I'm not using EJB3.

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

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


[jboss-user] [EJB 3.0] - Re: javax.naming.NameNotFoundException: MyEjb3 not bound :(

2007-05-31 Thread mailmustu
Thank you for your inputs
I made following changes

  | package com.mustafa.ejb30;
  | 
  | import javax.ejb.Local;
  | import javax.ejb.Remote;
  | import javax.ejb.Stateless;
  | import org.jboss.annotation.ejb.LocalBinding;
  | import org.jboss.annotation.ejb.RemoteBinding;
  | 
  | @Stateless
  | 
  | @Local ({HelloWorldLocal.class})
  | @LocalBinding (jndiBinding="MyEjb3/HelloWorldLocal")
  | @Remote ({HelloWorldRemote.class})
  | @RemoteBinding (jndiBinding="MyEjb3/HelloWorldRemote")
  | 
  | public class HelloWorldBean implements HelloWorldLocal , HelloWorldRemote
  | {
  | //public static final String RemoteJNDIName = 
HelloWorldBean.class.getSimpleName() +"/remote";
  | //public static final String LocalJNDIName = 
HelloWorldBean.class.getSimpleName() +"/local";
  | 
  | public String sayHello(String name)
  | {
  | return("Hello "+name +" from your first EJB 3.0 component ...");
  | }
  | }
  | 


and in client JSP I am calling by

  | hw = (HelloWorldLocal) ctx.lookup("MyEjb3/HelloWorldLocal");
  | 

I get a 

  | javax.naming.NameNotFoundException: MyEjb3 not bound
  | org.jnp.server.NamingServer.getBinding(NamingServer.java:529)
  | org.jnp.server.NamingServer.getBinding(NamingServer.java:537)
  | org.jnp.server.NamingServer.getObject(NamingServer.java:543)
  | org.jnp.server.NamingServer.lookup(NamingServer.java:267)
  | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:625)
  | org.jnp.interfaces.NamingContext.lookup(NamingContext.java:587)
  | javax.naming.InitialContext.lookup(InitialContext.java:351)
  | org.apache.jsp.index_jsp._jspService(index_jsp.java:57)
  | org.apache.jasper.runtime.HttpJspBase.service(HttpJspBase.java:97)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:334)
  | org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:314)
  | org.apache.jasper.servlet.JspServlet.service(JspServlet.java:264)
  | javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 


or maybe way I package is wrong
or maybe my server just got corrupted !

can somebody email me a simple bare minimum HelloWorld working examplewith 
that I can cross check if my server is still sane :)

Thanks
Mustafa

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

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


[jboss-user] [Security & JAAS/JBoss] - Doubts about the authenticaton process

2007-05-31 Thread Marcos_APS
- JBoss 4.2.0GA

Hello, everybody!
I have my own database with my users and their passwords already encrypted. So 
I want to write a custom login module to do the authentication, but as I'm new 
to Java EE and JBoss I'm with the following doubts to proceed:

- How do I link the username and password typed on a web page to the custom 
login module? I mean how do I pass the username and password to the login 
module?

- How do I have control about when JBoss do the authentication. I mean, I just 
want JBoss do the authentication when I fire it (after, of course, a button in 
my login page is pressed).

I know that these should be basic doubts, but I would like to have your help 
with it as I'm new to it in JBoss and Java EE.

Thank you.

Marcos

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

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


[jboss-user] [JBoss Seam] - Re: bug with s:fileUpload on IE6 (fine with FF or IE7)

2007-05-31 Thread zdaler
I deployed my application on 4.2.0 all right.

Then I upgraded to jboss-seam-CVS.20070531 following the steps in :
http://www.michaelyuan.com/blog/2007/05/29/seam-book-examples-updated-to-jboss-as-420-ga/

but then when I deploy my application I get :
anonymous wrote : 19:15:55,938 INFO  [EJBContainer] STARTED EJB: 
org.jboss.seam.core.TransactionListener ejbName: TransactionListener
  | 19:15:55,942 INFO  [EJB3Deployer] Deployed: 
file:/home/me/lib/jboss-4.2.0.GA/server/default/deploy/my_app_dev.ear/jboss-seam.jar
  | 19:15:55,945 INFO  [TomcatDeployer] deploy, ctxPath=/, 
warUrl=.../deploy/my_app_dev.ear/my_app_dev.war/
  | 19:15:56,335 ERROR [STDERR] java.lang.UnsupportedOperationException
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener$InitFacesContext.getViewRoot(ConfigureListener.java:1690)
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.util.MessageFactory.getMessage(MessageFactory.java:113)
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.util.MessageUtils.getExceptionMessageString(MessageUtils.java:277)
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.util.Util.createInstance(Util.java:477)
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.util.Util.createInstance(Util.java:436)
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:617)
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.configure(ConfigureListener.java:503)
  | 19:15:56,336 ERROR [STDERR] at 
com.sun.faces.config.ConfigureListener.contextInitialized(ConfigureListener.java:402)
  | 19:15:56,336 ERROR [STDERR] at 
org.jboss.web.jsf.integration.config.JBossJSFConfigureListener.contextInitialized(JBossJSFConfigureListener.java:69)
  | 19:15:56,336 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3854)
  | 19:15:56,336 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4359)
  | 19:15:56,336 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:761)
  | 19:15:56,336 ERROR [STDERR] at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:741)
  | 19:15:56,337 ERROR [STDERR] at 
org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | 19:15:56,337 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 19:15:56,337 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 19:15:56,337 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 19:15:56,337 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 19:15:56,337 ERROR [STDERR] at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 19:15:56,337 ERROR [STDERR] at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5310)
  | 19:15:56,337 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 19:15:56,337 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 19:15:56,337 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 19:15:56,337 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 19:15:56,337 ERROR [STDERR] at 
org.apache.tomcat.util.modeler.BaseModelMBean.invoke(BaseModelMBean.java:297)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeployInternal(TomcatDeployer.java:301)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.web.tomcat.service.TomcatDeployer.performDeploy(TomcatDeployer.java:104)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:375)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.web.WebModule.startModule(WebModule.java:83)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.web.WebModule.startService(WebModule.java:61)
  | 19:15:56,337 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
  | 19:15:56,338 ERROR [STDERR] at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
  | 19:15:56,338 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor3.invoke(Unknown Source)
  | 19:15:56,338 ERROR [STDERR] at

[jboss-user] [JBoss Seam] - badly behavior of with page actions

2007-05-31 Thread cfranky
Hello,

I have found a badly behavior of the seam  when it has an associated 
action A after which a page action B must happen (before rendering the page). 

The badly behavior consists in that the action B is executed before the action 
A; this is an inverted order with respect to what one hopes.

My concrete example is the following:

pages.xml contains the page action:


  |
  | 

profiles.xhtml contains a  :



When the user presses the button, the log flags show the invocation of methods 
of profileGestion EJB in the following mistaken order: 
getProfiles(), cancelUpdates()

When I change the seam  by the Tomahawk  I get the 
correct behavior because the log flags show the invocation of methods of 
profileGestion EJB in the following good order: 
cancelUpdates(), getProfiles()

I would like to know an explanation about the mistaken behavior with the seam 
 when it is combined with a page action.

Thanks in advance,
Maria Consuelo Franky


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

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


[jboss-user] [JBoss Seam] - Re: Problem with injection

2007-05-31 Thread [EMAIL PROTECTED]
Or you can turn the implementation inside out and use a @Factory method, which 
decides what object to return.

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

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


[jboss-user] [JBoss Seam] - Re: Problem with injection

2007-05-31 Thread [EMAIL PROTECTED]
@In can inject any context variable.

You can bind any object to any context variable using @Out or Context.set().

So no, the three components do not have to have the same name.

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

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


[jboss-user] [EJB 3.0] - How can i access ejb3.0 from backing bean in jboss 4.0.5 GA

2007-05-31 Thread ruchi123456
How can i access EJB3.0 using jboss 4.0.5.
 I know @EJB annotation won't work in 4.0.5.  I am new to EJB's on the whole. 
Can someone please suggest me, how can i access ebj from web layer(backing bean 
in my case). Like how can i use JNDI lookup. 

Regards,
Ruchi

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

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


  1   2   3   >