[jboss-user] [JBoss Seam] - Re: Remoting callbacks are not recieving

2007-04-26 Thread Jayaranga
No errors at the server end, and its successfully executed all the time.

yep, i tried with alerts, if i put an alert just after method call, it will 
executed. 
but the alert i place as the very first statement on callback method doesnt get 
executed.

but this happens only in some occasions.
worked fine in several times. pass/fail ratio = 2/3




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

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


[jboss-user] [JBoss Seam] - Transaction Demarcation

2007-04-26 Thread toni
Hi,

I have a webapplication, which imports data about customers from a text file. 
Each row contains a record out of which several entity bean are being created 
and assembled.

The function, which reads in a line an creates those entity beans and sets up 
the relationships between them is called "createCustomer(String line)". This 
method gets called several times from another function called 
"createCustomers()".

I have noticed that the whole process is treated as a unit of work. Either all 
customers and relating entity beans are created or none. They seem to span one 
single transaction.

Assuming that the client call to "createCustomers()" is triggered through a 
seam web request by the user, how would I assure that for each call to 
"createCustomer(String line)" a new transaction is spanned?

I want to narrow the transaction scope down to a single customer instead of all 
the customers.

How would I use the @Transactional attribute to achieve that? From reading the 
oreilly book I figured I would have to use the transaction attribute "Requires 
New", which however does not seem to exist as an attribute in seam.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: suspious error when starting JBoss

2007-04-26 Thread vasudha_v2000
Hi,

I have the same problem. When I run JBoss in debug, it stops at several places 
and I need to resume, but there are no errors or warnings on the console and 
the server seems to work fine.

If you figured out the issue, could you kindly let me know as well.

I am using Eclipse 3.1.2 and JBoss 4.0.5

Thanks,
Vasudha

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

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


[jboss-user] [EJB/JBoss] - Re: Another NullPointerException in JBoss 4.0.5GA

2007-04-26 Thread sashaxiv
I also have the same problem? Is this related witn OneToOne annotations?
Please someone can help us? Thanks

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

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


[jboss-user] [JBoss Tools (users)] - Re: JBoss IDE Eclipse - Server Launch Configuration Properti

2007-04-26 Thread [EMAIL PROTECTED]
if you haven't customized the location where they will be saved it should go to 
where all other launch config files are saved - in your 
.metadata/plugins/org.eclipse.debug.core/.launches

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

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


[jboss-user] [JBoss Portal] - Re: How to create our own jsp portlet using JbossPortal

2007-04-26 Thread ritesh_sanjay
Hi Peter,
 Thanks a ton for your suggestions.I have successfully added new 
jsp portlet instance to my Portal.


Ritesh Gupta.
India.

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

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


[jboss-user] [JCA/JBoss] - Re: How to change Default DB HyperSonic to Mysql in JBOSS

2007-04-26 Thread vickyk
Check this 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAMysqlDatasource


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

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


[jboss-user] [JBoss Seam] - Re: seam examples on JBoss AS 4.2.0.CR2

2007-04-26 Thread [EMAIL PROTECTED]
Seam 1.2.1 is only compatible out of the box with JBoss 4.0.5.  The next 
version of Seam will target JBoss 4.2.0.

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

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


[jboss-user] [JBoss Seam] - Re: Seam Security Problem

2007-04-26 Thread [EMAIL PROTECTED]
>From the log it looks like component "test" cannot be found.  When your app 
>starts up, is it listed among the other components?  Do you have a 
>seam.properties in your jar file?

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

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


[jboss-user] [JBoss Seam] - Re: Remoting callbacks are not recieving

2007-04-26 Thread [EMAIL PROTECTED]
Are you getting any errors in your server log?  Have you tried setting a 
breakpoint in validateUser to see that it's called each time?

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

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


[jboss-user] [JBoss Portal] - Re: how to change JWS 80 port on jboss portal 26CR1

2007-04-26 Thread kevnlin
when I  click  admin--> WSRP--> register  
show this error  
Interceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor$1.doCallback(ContextDispatcherInterceptor.java:90)
at 
org.jboss.portal.web.jboss.JBossWebContext$InvokeNextCommand.execute(JBossWebContext.java:133)
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.portal.server.servlet.CommandServlet.doGet(CommandServlet.java:99)
at 
org.jboss.portal.server.servlet.CommandServlet.doPost(CommandServlet.java:156)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:672)
at 
org.apache.catalina.core.ApplicationDispatcher.doInclude(ApplicationDispatcher.java:574)
at 
org.apache.catalina.core.ApplicationDispatcher.include(ApplicationDispatcher.java:499)
at 
org.jboss.portal.server.servlet.CommandServlet.include(CommandServlet.java:79)
at 
org.jboss.portal.web.jboss.JBossWebContext.include(JBossWebContext.java:61)
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 $Proxy72.include(Unknown Source)
at 
org.jboss.portal.portlet.impl.spi.AbstractRequestContext.dispatch(AbstractRequestContext.java:81)
at 
org.jboss.portal.portlet.aspects.portlet.ContextDispatcherInterceptor.invoke(ContextDispatcherInterceptor.java:71)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.SecureTransportInterceptor.invoke(SecureTransportInterceptor.java:66)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.portlet.aspects.portlet.ValveInterceptor.invoke(ValveInterceptor.java:62)
at 
org.jboss.portal.portlet.invocation.PortletInterceptor.invoke(PortletInterceptor.java:38)
at 
org.jboss.portal.common.invocation.Invocation.invokeNext(Invocation.java:115)
at 
org.jboss.portal.common.invocation.Invocation.invoke(Invocation.java:157)
at 
org.jboss.portal.portlet.container.PortletContainerInvoker.invoke(PortletContainerInvoker.java:198)
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(Abstr

[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - .How can i change default databse Hypersonic to Mysql

2007-04-26 Thread vas_srinuin
Hai t all,

  I am new to JBOSS Application.How can i change default databse 
Hypersonic to Mysql,i don't want to use Hypersonic DB.I am continously pushing 
messages to JMS Queue nearly after 17 Lac's Messages Jmssender program is lost 
the connection.

suggest me.

Best Regards,
Srinivasu

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

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


[jboss-user] [JCA/JBoss] - How to change Default DB HyperSonic to Mysql in JBOSS

2007-04-26 Thread vas_srinuin
Hai t all,

  I am new to JBOSS Application.How can i change default databse 
Hypersonic to Mysql,i don't want to use Hypersonic DB.I am continously pushing 
messages to JMS Queue nearly after 17 Lac's Messages Jmssender program is lost 
the connection.

suggest me.

Best Regards,
Srinivasu

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

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


[jboss-user] [JBoss jBPM] - JBPM Persistence Implementaion Using DB2 db

2007-04-26 Thread meiissue
Hi, 
 
I have executed the "HelloWorldDbTest" example, given in JBPM 3.2 Guide. But it 
shows "org.jbpm.JbpmException: no jbpm tx service configured" error for 
Hypersonic in-memory database. But in realtime we are going to store the 
ProcessInsataces in DB2 Database. 
 
Hence I need following giudes. 
 
1.Step by step procedure to cofigure JBPM 3.2 with DB2 Database with 
example(hibernate.cfg.xml,jbpm.cfg.xml)  
2.Which server is best for deploying the JBPM project and How to deploy in that 
Server Guide?  
3.Example programs for persistence implementation.  
 
Consider, it is an urgent one


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

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


[jboss-user] [JBoss/Spring Integration] - Re: Some questions.

2007-04-26 Thread gzhuye
In order to use the latest spring-ejb deployer, I'm creating an EJB3 session 
and pojo class as a project deployed in Jboss-4.0.5.GA, put 
jboss-spring-jdk5.jar in deploy directory and adding spring jars in the lib 
directory, start jboss with the problem as following. 

my jar structure exactly like:

FirstEJB3Tutorial.spring/
   org/
  acme/
  ~MyBean.class
  ~MyBean2.class
   META-INF/
   jboss-spring.xml
   jboss.xml


It seems all docs on the site is outdate. Could you share some document for 
this installation? or contribute a little bit detailed info to help me out?

00:49:00,963 ERROR [URLDeploymentScanner] Incomplete Deployment listing:

--- Packages waiting for a deployer ---
[EMAIL PROTECTED] { 
url=file:/C:/Users/PaulHu/Jboss-4.0.5.GA/server/default/deploy/FirstEJB3Tutorial.spring
 }
  deployer: null
  status: null
  state: INIT_WAITING_DEPLOYER
  watch: 
file:/C:/Users/PaulHu/Jboss-4.0.5.GA/server/default/deploy/FirstEJB3Tutorial.spring
  altDD: null
  lastDeployed: 1177660140962
  lastModified: 1177660140959
  mbeans:


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

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


[jboss-user] [Messaging, JMS & JBossMQ] - JDBC2 Persistence Manager

2007-04-26 Thread pawan1475
Hi, 
   Just curious about the change. We have a production system for almost 3 
years and we use JMS as our backbone. And recently have increased a load on our 
clustered servers. We were using jdbc3 persistence which was recommended when 
we upgraded the jboss veriosn to 4.0.2. But i just noticed on the Wiki that 
JDBC 3 persistence manager is not recommended any more. 

Is there a link or performace results to compare JDBC 2 & 3 persistence? And 
the reasons why its not recommended any more. Any other information will be 
helpful.

Thanks 
Pawan Kharbanda

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

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


[jboss-user] [JBoss Portal] - ERROR [SchemaExport] schema export unsuccessful

2007-04-26 Thread anders3
Migration from 2.6-BETA1
When I start 2.6-CR1 for the first time it will create tables
I have some data in table jbp_group that I want to keep

I therefore dropped all tables except jbp_group (groups)

This makes problems

It seems like Portal/Hibernate cannot accept that some tables are there and 
others not.

So I have to drop all tables or none ?
/Anders


ATTACHED: LOG

java.sql.SQLException: You cannot commit during a managed transaction!
at 
org.jboss.resource.adapter.jdbc.BaseWrapperManagedConnection.jdbcCommit(BaseWrapperManagedConnection.java:543)

.
18:35:45,917 WARN  [JDBCExceptionReporter] SQL Error: 1146, SQLState: 42S02
18:35:45,918 ERROR [JDBCExceptionReporter] Table 'jbossportal.jbp_object_node' 
doesn't exist
18:35:46,043 WARN  [ServiceController] Problem starting service 
portal:container=PortalObject
org.hibernate.exception.SQLGrammarException: could not execute query
at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
at org.hibernate.loader.Loader.doList(Loader.java:2147)
.
at org.hibernate.loader.Loader.doQuery(Loader.java:662)
at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:224)
at org.hibernate.loader.Loader.doList(Loader.java:2144)
... 139 more
18:35:46,097 WARN  [ServiceController] Problem starting service 
portal:service=Hibernate,type=Portlet
org.jboss.util.NestedSQLException: Transaction is not active: 
tx=TransactionImpl:XidImpl[FormatId=257, GlobalId=hilda.local/46, BranchQual=, 
localId=46]; - nested throwable: (javax.resource.ResourceException: Transaction 
is not active: tx=TransactionImpl:XidImpl[FormatId=257, 
GlobalId=hilda.local/46, BranchQual=, localId=46])
at 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:94)
at 
org.jboss.portal.jems.hibernate.SessionFactoryBinder.startService(SessionFactoryBinder.java:229)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.start(ServiceMBeanSupport.java:196)
at 
org.jboss.portal.jems.as.system.AbstractJBossService.start(AbstractJBossService.java:73)
at sun.reflect.GeneratedMethodAccessor19.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)


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

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


[jboss-user] [Clustering/JBoss] - Re: Can JBoss support active/passive

2007-04-26 Thread wangdongfox
Thank for your response, but I only need one instance worked in a cluster 
environment, another instance must be standby.Our architecture is that a MDB 
cluster in environment,but only one MDB instance can service, the other must be 
standby. 

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss authentication cache problem

2007-04-26 Thread kwstasm
I see.
I decided to set the DefaultCacheTimeout to 0 and just ignore the credential
check when the user has already logged in.

Thank you for your answers. 


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

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


[jboss-user] [JBoss Portal] - how to change JWS 80 port on jboss portal 26CR1

2007-04-26 Thread kevnlin
11:33:37,485 INFO  [FacesConfigurator] Reading config /WEB-INF/faces-config.xml
11:33:37,599 WARN  [LocaleUtils] Locale name in faces-config.xml null or empty, 
setting locale to default locale : zh_TW
11:33:38,018 INFO  [HtmlRenderKitImpl] Overwriting renderer with family = 
facelets rendererType = facelets.ui.Repeat renderer class = 
com.sun.facelets.component.RepeatRenderer
11:33:38,160 INFO  [StartupServletContextListener] ServletContext 
'/myweb/jboss-portal-2.6-CR1/server/default/./tmp/deploy/portal-wsrp-exp.war/' 
initialized.
11:33:38,162 INFO  [StartupServletContextListener] Serialization provider : 
class org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
11:33:39,545 INFO  [WSDLFilePublisher] WSDL published to: 
file:/myweb/jboss-portal-2.6-CR1/server/default/data/wsdl/portal-wsrp.war/wsrp_services.wsdl
11:33:47,036 INFO  [ServiceEndpointManager] WebService started: 
https://555.gotdns.org:8443/portal-wsrp/ServiceDescriptionService
11:33:47,038 INFO  [ServiceEndpointManager] WebService started: 
https://555.gotdns.org:8443/portal-wsrp/MarkupService
11:33:47,039 INFO  [ServiceEndpointManager] WebService started: 
https://555.gotdns.org:8443/portal-wsrp/RegistrationService
11:33:47,041 INFO  [ServiceEndpointManager] WebService started: 
https://555gotdns.org:8443/portal-wsrp/PortletManagementService
11:33:53,895 INFO  [TomcatDeployer] deploy, ctxPath=/web-console, 
warUrl=.../deploy/management/console-mgr.sar/web-console.war/

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

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


[jboss-user] [JBoss Seam] - Re: Remoting callbacks are not recieving

2007-04-26 Thread Jayaranga
Hello, 
Can somebody help me regarding the above issue?

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

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


[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-26 Thread liudan2005
It would be nice to have an event "org.jboss.seam.beforeAuthenticate", so I can 
manually populate values and call identity.login. 

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

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


[jboss-user] [JBoss/Spring Integration] - JBoss, Spring and AspectJ integration

2007-04-26 Thread wspiteri
I have deployed a simple application that has the following Spring bean 
configuration. 


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | java:/TransactionManager
  | 
  | 
  | 

When I run this inside of the JBoss container I get the following error;-


  | Caused by: org.springframework.beans.factory.BeanCreationException: Error 
creati
  | ng bean with name 'accountAliasDao' defined in class path resource 
[com/xxx/cl
  | ientaccountmgmt/applicationContext-dao.xml]: Initialization of bean failed; 
nest
  | ed exception is 
org.aspectj.weaver.reflect.ReflectionWorld$ReflectionWorldExcept
  | ion: warning can't determine implemented interfaces of missing type $Proxy63
  |  [Xlint:cantFindType]
  | at 
org.springframework.beans.factory.support.AbstractAutowireCapableBean
  | Factory.createBean(AbstractAutowireCapableBeanFactory.java:442)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getOb
  | ject(AbstractBeanFactory.java:245)
  | at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistr
  | y.getSingleton(DefaultSingletonBeanRegistry.java:141)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  | (AbstractBeanFactory.java:242)
  | at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean
  | (AbstractBeanFactory.java:156)
  | at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver
  | .resolveReference(BeanDefinitionValueResolver.java:246)
  | ... 75 more
  | 
  | 

If I reconfigure it to run outside of the container it works fine.  
Do i need to remove certain aspect classes from my classpath to resolve this or 
is there another issue here? 
This issue has been logged before but there was no real resolution to the 
problem. 

Any suggestions would be much appreciated.

Thanks

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

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


[jboss-user] [JBoss.NET] - Axis 1.4 and Web Client deployed in same Jboss server - Clas

2007-04-26 Thread melvinet84
Hi,

I am using JBoss 4.0.2 in linux. I have currently deployed an Axis 1.4 web 
service and a web application client in the same JBoss server. A client calls 
the web service by using the generated client stubs by Axis.

There are no problems when accessing the web service from an external webapp 
client outside of JBoss. But when the webapp client deployed in the JBoss calls 
the web service (which is also deployed in the same JBoss), it's unable to do 
so and I get a ClassCastException at the following:

org.apache.axis.ConfigurationException: java.lang.ClassCastException
java.lang.ClassCastException
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.makeNewInstance(WSDDDeployableItem.java:302)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at 
org.apache.axis.deployment.wsdd.WSDDDeployment.getHandler(WSDDDeployment.java:394)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:276)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at 
org.apache.axis.deployment.wsdd.WSDDChain.makeNewInstance(WSDDChain.java:125)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getNewInstance(WSDDDeployableItem.java:274)
at 
org.apache.axis.deployment.wsdd.WSDDDeployableItem.getInstance(WSDDDeployableItem.java:260)
at 
org.apache.axis.deployment.wsdd.WSDDDeployment.getGlobalRequest(WSDDDeployment.java:473)
at 
org.apache.axis.configuration.FileProvider.getGlobalRequest(FileProvider.java:269)
at org.apache.axis.AxisEngine.getGlobalRequest(AxisEngine.java:365)
at org.apache.axis.client.AxisClient.invoke(AxisClient.java:126)
at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
at org.apache.axis.client.Call.invoke(Call.java:2767)
at org.apache.axis.client.Call.invoke(Call.java:2443)
at org.apache.axis.client.Call.invoke(Call.java:2366)
at org.apache.axis.client.Call.invoke(Call.java:1812)
... ...
... ...

Since an external webapp client is able to access the web service from anywhere 
outside, it can be assumed the web service deployed in JBoss is working fine. 
The only problem is when the webapp client calls the web service within the 
same JBoss server.

Has anyone faced a similar problem of this nature, and solved it? If there is a 
solution to this, please help refer me to it.

Thanks!

BR,
Melvin

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

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


[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-26 Thread liudan2005
also noticed if page is directed from 
"org.jboss.seam.security.NotLoggedInException" defined in pages.xml, rememberme 
would stop working.

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

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


[jboss-user] [JBoss Seam] - Re: RememberMe example?

2007-04-26 Thread liudan2005
finally figured out why it didn't work for me before. it's caused by 
"MyFacesExtensionsFilter", FacesContext.getCurrentInstance() returns null when 
I have myfaces extension filter installed.

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

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


[jboss-user] [Beginners Corner] - Re: JBoss in NetBeans on Ubuntu

2007-04-26 Thread dmcquay
It was a permissions problem.  Thank you!

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

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


[jboss-user] [JBoss Portal] - Can't change the layout in the JBoss Portal 2.6CR1

2007-04-26 Thread empty11
Dear.

I've tried to change the other layout in the admin page.

but there is not working to change the layout.

Please let me know how to change the layout or how to do ?

Regards

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

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


[jboss-user] [JBoss Seam] - problem with running the seam booking example on jboss as 4.

2007-04-26 Thread breskeby
hello, i followed the video the check out jboss seam from the cvs. i have some 
problems with it. after having my jboss-seam project and building it, my 
eclipse told me, that the lib lib/javax.servlet.jsp.jar is missing. 

i just installed the jboss as 4.0.5 with the weblaunch installer and select the 
ejb 3.0 profile. after running the ant script of the booking example, my jboss 
server givs me the following error logs:


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(URLDeploymen
  | tScanner.java:421)
  | at 
org.jboss.deployment.scanner.URLDeploymentScanner.scan(URLDeploymentS
  | canner.java:634)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner$ScannerThread.
  | doScan(AbstractDeploymentScanner.java:263)
  | at 
org.jboss.deployment.scanner.AbstractDeploymentScanner.startService(A
  | bstractDeploymentScanner.java:336)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanS
  | upport.java:289)
  | at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMB
  | eanSupport.java:245)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.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(ServiceControl
  | ler.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(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.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(NativeMethodAccessorImpl.
  | java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
  | sorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:585)
  | at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatch
  | er.java:155)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
  | at 
org.jboss.mx.interceptor.AbstractInterceptor.invoke(AbstractIntercept
  | or.java:133)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
  | at 
org.jboss.mx.interceptor.ModelMBeanOperationInterceptor.invoke(ModelM
  | BeanOperationInterceptor.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(Thread.java:595)
  | 02:51:48,375 ERROR [MainDep

[jboss-user] [JBoss Seam] - Integrating Seam security with vanilla JEE/web.xml security

2007-04-26 Thread [EMAIL PROTECTED]
I spoke to Shane briefly, that there is a JIRA for making seam work with JEE 
for authentication (and I guess roles?). Specifically I am talking about when 
you use web.xml to secure URLs etc, and let the container authenticate the 
user. The container also knows what roles the user belongs to.

I am interested in how to integrate this with the Seam Identity. A common case 
is to use the container to do authentication, but everything else is Seam 
(roles, capabilities etc).

Or am I on the wrong path - the reason I ask is so people can use whatever 
containers integration with stuff like AD etc.. or can seam do this already 
without falling back on the container? (correct me if wrong).

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Hibernate annotation versus hibernate mapping files .hbm.xml

2007-04-26 Thread rschauer
Hello,

in the tutorials and trailblazers I have read of the two ways of using the 
hibernate mapping. First is using the Java 5.0 annotation and the second is 
using the "old" method of typing .hbm.xml mapping files.

First I tried to type the .hbm.xml files and let the DAOs be generated from the 
files by help of the hibernate tools (Eclipse IDE).
The second I tried were of course the annotations - without the help of any 
generators.

My question is: Which way is better for large software-projects. Lets say up to 
120 database tables.
In every paper I read, the annotations are preffered but the examples are 
always very small. I think that for larger projects it would be difficult to 
keep the track of all the tables if the mapping is done in the code (with 
annotations).

What is your opinion?

Thanks
Reinhard

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: The JSF library situation in JBoss explained (it's calle

2007-04-26 Thread gDarius
anonymous wrote : What would you say to a context-param in web.xml?

I'd say it's exactly what you need!  It achieves configuration specific to 
faces on JBoss that everyone else will safely ignore.  Good stuff!  As far as 
default settings for this flag go, may I suggest that if the accompanying 
web.xml has version 2.4 or lower you make the value true, otherwise false.  
This way you get backwards compat by default.

I take it this flag does not yet exist and you are still in the discussion 
phase, I just tried it on 4.2.0 CR2 and it didn't seem to have an effect with 
useJbossWebLoader unset.

Thanks,
gDarius


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

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


[jboss-user] [JBoss Seam] - seam examples on JBoss AS 4.2.0.CR2

2007-04-26 Thread MartyL
I've just tried the examples from jboss-seam-1.2.1.GA in JBoss AS 4.2.0.CR2.
The seam-booking example failed to deploy with:
2007-04-26 15:12:57,832 ERROR 
[org.apache.catalina.core.ContainerBase.[jboss.web].[localhost].[/seam-booking]]
 Error configuring application listener of class 
org.apache.myfaces.webapp.StartupServletContextListener
java.lang.ClassNotFoundException: 
org.apache.myfaces.webapp.StartupServletContextListenerFor kicks I copied the 
myfacesImpl jar to default/lib. AS then warned that the .net version of myfaces 
needed to be removed.

The deploypresentations target also tried to deploy jbossweb-tomcat55.sar:
2007-04-26 15:21:07,804 ERROR [org.jboss.deployment.MainDeployer] Could not 
initialise 
deployment:file:/usr/local/jboss-4.2.0.CR2/server/default/deploy/jbossweb-tomcat55.sar/
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive jbossweb-tomcat55.sar

Have I done something wrong, or should I just try CR1?
thanks

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

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


[jboss-user] [JBoss Seam] - Re: and 's

2007-04-26 Thread MikeDougherty
OK, thanks for the info.

I'll file a JIRA issue, and maybe look into it myself. Speaking of, I am having 
trouble finding out how to contribute patches and so forth. Can you post a link 
or tell me how to get there from maybe the labs.jboss.org site?

Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Navigation conceptual question

2007-04-26 Thread msduk
In this case I decided that I could use a icefces modal dialogue... how very 
web 2.0.

I would still like a nice way to do this however and I cant help but think seam 
has a solution. Passing parameters around is so old school ;0)

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

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


[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-26 Thread hsiung
yes the interface of the SFSB declares the setters and getters already
public interface Booking {
  | ..   
  | public String getDepartureAirport();
  | public void setDepartureAirport(String departureAirport);
  | ..
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Seam + Richfaces + tree example

2007-04-26 Thread boniek
Done :)
http://jira.jboss.org/jira/browse/JBSEAM-1260

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

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


[jboss-user] [JBoss Seam] - Re: EntityHome validation error (Chapter 14 example)

2007-04-26 Thread jfrankman
I did try to reference the seam-gen application, but it was a bit overwhelming. 
There was so many files generated, I had a hard time "seeing the forest from 
the trees". My hope was the EntityHome could save me alot of work for simple 
CRUD applications, but would I be better off using Session beans and the like 
instead of figuring out the EntityHome configuration? Anyone use the EntityHome 
in a produciton environement? Anyone know what the pros and cons are?

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: SecurityAssociaton.getSubject is null

2007-04-26 Thread sim-smith
I don't know specifically about your LoginModule, but to get the logged-in 
Subject onto the SecurityAssocation stack we need to have two login modules, 
one is our own custom one, and the other is the JBoss ClientLoginModule.  It is 
the ClientLoginModule that pushes the Subject onto the SecurityAssociation 
stack upon commit(), and pops on logout() and abort().  Note - make sure that 
you set restore-login-identity to true for the ClientLoginModule otherwise you 
get strange behaviour upon cache timeout.

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: JBoss authentication cache problem

2007-04-26 Thread sim-smith
As far as I am aware, it isn't possible.  The JBoss caching mechanism 
doesn't/can't distinguish between where the authentication request comes from - 
e.g. a new browser session vs. new page request vs. EJB call.  You can try 
setting the timeout to 1 second, which would effectively force every page 
request to hit the LoginModule again, or to 0 seconds which would cause every 
authentication request (including EJB calls) to hit the login module.

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - one MDB stops process messages; but other MDBs work fine on

2007-04-26 Thread leonz11
Hi,

one MDB stops process messages; but other MDBs work fine on JBOSS 4.0.2
Have anyone experienced such cases?

The only change I can think of might be I update jboss lib/endorse jars to the 
newer version.



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

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


[jboss-user] [JBoss Seam] - Re: New ICEfaces SeamGen & Comp. Showcase projects

2007-04-26 Thread petemuir
Just create one called SeamIceFaces and link to it off the JBossSeam page.

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

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


[jboss-user] [JBoss Seam] - Re: Creating a seam-managed bean without it being injected..

2007-04-26 Thread petemuir
Not really.  You can probably use pages.xml for a "better" pattern to do this...

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

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


[jboss-user] [Clustering/JBoss] - Re: Can JBoss support active/passive

2007-04-26 Thread [EMAIL PROTECTED]
For web requests, mod_jk can support that (in your mod_jk conf, comfigure 
disabled=true for a worker to passivate it).

For EJB requests you'd need to implement some kind of custom LoadBalancePolicy; 
there's no out of the box support for it.

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

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


[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-26 Thread petemuir
make sure getters and setters for departureAirport are on the interface for the 
SFSB.

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

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


[jboss-user] [JBoss Seam] - Re: Destroying a managed component ... (short question)

2007-04-26 Thread petemuir
Contexts.removeFromAllContexts("beanName");

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

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


[jboss-user] [JBoss Tools (users)] - JBoss IDE Eclipse - Server Launch Configuration Properties

2007-04-26 Thread mlindeveloper
Hi,

I am using JBoss IDE for Eclipse ver. 2.0.0 and I am trying to find the 
properties file that gets created when an instance of jboss server is created 
in eclipse and the launch configuration properties gets set (such as Classpath, 
Start Args, etc.).  

I assumed it would be under "eclipse_install_dir/Servers/server_name", however 
no file gets written under this directory.

Does anybody know if a properties file is actually written when the launch 
configuration is set for the server?  If so, where does it get written to?

Thanks,

Mike

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow actions never getting fired

2007-04-26 Thread petemuir
oops, like like we don't parse out the actions.  Please create a JIRA issue and 
we'll get that fixed! Thanks :)

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

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


[jboss-user] [JBoss Seam] - Re: EntityHome validation error (Chapter 14 example)

2007-04-26 Thread petemuir
No, that createInstance method does nothing.  Honestly, I'm not sure the code 
snippets in the Framework chapter fit together to make a complete app (they 
should do probably).  Best off generating a an app using seam-gen, this uses 
the Framework - you can refer back to the Framework chapter to find out how it 
ties together.

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

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

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


[jboss-user] [Beginners Corner] - Re: JBoss in NetBeans on Ubuntu

2007-04-26 Thread delkant
looks like a permission problem.. 

which user is running your server? can he read the "jboss-service.xml" file?

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

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


[jboss-user] [JBoss Seam] - Re: OneToMany List refresh after insert

2007-04-26 Thread petemuir
Show your JSF and your backing beans

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

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


[jboss-user] [JBoss Seam] - Re: default equals() doesn't behave as expected for javaBean

2007-04-26 Thread matt.drees
No problem.

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

Thanks Pete.

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

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


[jboss-user] [JBoss Seam] - Re: and 's

2007-04-26 Thread petemuir
This basically doesn't work - s:cache doesn't really work for any input 
component, but a h:selectXXX is the only one you are likely to want it to work 
on.  I think its possible to make it work, so could you file a JIRA issue to 
remind me to look at it at some point? Thanks :)

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

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


[jboss-user] [JBoss Seam] - Re: Transaction Timeout / Batch Insert

2007-04-26 Thread petemuir
I asked this a while back 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=101719

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

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


[jboss-user] [JBoss Seam] - EntityHome validation error (Chapter 14 example)

2007-04-26 Thread trickyvail
I think you mave have failed to instantiate an instance of Person inside 
EntityHome.
@Name("personHome")
  | public class PersonHome extends EntityHome  {
  | 
  | private static final long serialVersionUID = 219059304048820709L;
  | 
  | public void setPersonId(Long id)
  | {
  | setId(id);
  | }
  | 
  | public Long getPersonId()
  | {
  | return (Long) getId();
  | }
  | 
  | @Override
  | protected Person createInstance()
  | {
  |   Person person = new Person();
  |   return person;
  |  }
  | }
  | 


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

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


[jboss-user] [JBoss Seam] - Re: default equals() doesn't behave as expected for javaBean

2007-04-26 Thread petemuir
Matt, can you file an issue - I'm not sure if its something thats improvable 
on, but if there is an issue then hopefully Gavin can take a look when he's 
less busy :)

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

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


[jboss-user] [JBoss Seam] - Re: Pageflow actions never getting fired

2007-04-26 Thread smithbstl
You may try defining that in pages.xml

Is is more of an appropriate place since the action is not tied to any specific 
page flow (ie you want this action to fire however you get to the page)


  | 
  |   
  | 
  | 


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

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


[jboss-user] [Beginners Corner] - JBoss in NetBeans on Ubuntu

2007-04-26 Thread dmcquay
I just installed NetBeans and JBoss.  However, JBossAS won't start.  Here is 
the output.  It appears that it can't start because it can't find 
"jboss-service.xml".  However, I checked and the file is there.  Does anyone 
have an idea why it won't start?

Output:

=

  JBoss Bootstrap Environment

  JBOSS_HOME: /usr/local/jboss-4.0.5.GA

  JAVA: /usr/lib/jvm/java-6-sun/bin/java

  JAVA_OPTS: -Dprogram.name=run.sh -server  -Dhttp.proxyHost= -Dhttp.proxyPort= 
-Dhttp.nonProxyHosts="localhost|127.0.0.1|mcquayd-laptop" -Dhttps.proxyHost= 
-Dhttps.proxyPort=

  CLASSPATH: 
/usr/local/jboss-4.0.5.GA/bin/run.jar:/usr/lib/jvm/java-6-sun/lib/tools.jar

=

14:49:59,747 INFO  [Server] Starting JBoss (MX MicroKernel)...
14:49:59,749 INFO  [Server] Release ID: JBoss [Zion] 4.0.5.GA (build: 
CVSTag=Branch_4_0 date=200610162339)
14:49:59,750 INFO  [Server] Home Dir: /usr/local/jboss-4.0.5.GA
14:49:59,751 INFO  [Server] Home URL: file:/usr/local/jboss-4.0.5.GA/
14:49:59,779 INFO  [Server] Patch URL: null
14:49:59,779 INFO  [Server] Server Name: default
14:49:59,780 INFO  [Server] Server Home Dir: 
/usr/local/jboss-4.0.5.GA/server/default
14:49:59,780 INFO  [Server] Server Home URL: 
file:/usr/local/jboss-4.0.5.GA/server/default/
14:49:59,780 INFO  [Server] Server Log Dir: 
/usr/local/jboss-4.0.5.GA/server/default/log
14:49:59,781 INFO  [Server] Server Temp Dir: 
/usr/local/jboss-4.0.5.GA/server/default/tmp
14:49:59,781 INFO  [Server] Root Deployment Filename: jboss-service.xml
14:50:01,490 INFO  [ServerInfo] Java version: 1.6.0,Sun Microsystems Inc.
14:50:01,491 INFO  [ServerInfo] Java VM: Java HotSpot(TM) 64-Bit Server VM 
1.6.0-b105,Sun Microsystems Inc.
14:50:01,491 INFO  [ServerInfo] OS-System: Linux 2.6.20-15-generic,amd64
14:50:03,341 INFO  [Server] Core system initialized
14:50:03,375 ERROR [MainDeployer] Could not make local copy for 
file:/usr/local/jboss-4.0.5.GA/server/default/conf/jboss-service.xml
java.io.IOException: No such file or directory
at java.io.UnixFileSystem.createFileExclusively(Native Method)
at java.io.File.checkAndCreate(File.java:1704)
at java.io.File.createTempFile(File.java:1793)
at 
org.jboss.deployment.MainDeployer.makeLocalCopy(MainDeployer.java:1185)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:851)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
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(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
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(Thread.java:619)
14:50:03,419 ERROR [MainDeployer] Could not initialise deployment: 
file:/usr/local/jboss-4.0.5.GA/server/default/conf/jboss-service.xml
org.jboss.deployment.DeploymentException: Failed to find 
META-INF/jboss-service.xml for archive jboss-service.xml
at org.jboss.deployment.SARDeployer.parseDocument(SARDeployer.java:616)
at org.jboss.deployment.SARDeployer.init(SARDeployer.java:181)
at org.jboss.deployment.MainDeployer.init(MainDeployer.java:872)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:809)
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(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAcces

[jboss-user] [JBoss Seam] - EntityHome validation error (Chapter 14 example)

2007-04-26 Thread jfrankman
I am just getting started with SEAM. I tried the first few examples, and got 
them working, so in my exuberence I decided to try out the EntityHome example 
in chapert 14 of the onling doc. Whenever I try to persist the Person, it fails 
with validation errors. What is interesting is that the validation errors cause 
the page to fail instead of displaying the errors in the browser like the 
previous examples do. The root of the problem is:

Caused by: org.hibernate.validator.InvalidStateException: validation failed 
for: org.jboss.seam.example.registration.Person

I cannot for the life of me figure out why validation is failing. My entity 
bean, entityhome, and jspx page is displayed below.  Any hints on what the 
problem is would be appreciated. I have not idea how to troubleshoot this 
problem, so any help at all would be appreciated.

Entity Bean :

  | @Entity
  | @Table(name="persontable")
  | public class Person {
  | private Long id;
  | private String firstName;
  | private String lastName;
  | //private Country nationality;
  | @Id @NotNull @GeneratedValue
  | public Long getId() {
  | return id;
  | }
  | @Column(name="firstname",length = 45)
  | @Length(max = 45)
  | public String getFirstName() {
  | return firstName;
  | }
  | 
  | @Column(name="lastname", length = 45)
  | @Length(max = 45)
  | public String getLastName() {
  | return lastName;
  | }
  | 
  | public void setFirstName(String firstName) {
  | this.firstName = firstName;
  | }
  | 
  | public void setId(Long id) {
  | this.id = id;
  | }
  | 
  | public void setLastName(String lastName) {
  | this.lastName = lastName;
  | }
  | 
  | }
  | 

EntityHome:

  | @Name("personHome")
  | public class PersonHome extends EntityHome  {
  | /**
  |  * 
  |  */
  | private static final long serialVersionUID = 219059304048820709L;
  | @RequestParameter Long personId;
  | @In EntityManager entityManager;
  | 
  | public Object getId() { return personId; }
  | public EntityManager getEntityManager() { return entityManager; }
  | 
  | }
  | 

Page:

  | 
  | http://java.sun.com/JSP/Page"; 
  |   xmlns:h="http://java.sun.com/jsf/html";
  |   xmlns:f="http://java.sun.com/jsf/core";
  |   xmlns:s="http://jboss.com/products/seam/taglib";
  |   xmlns="http://www.w3.org/1999/xhtml";
  |   version="2.0">
  |   http://www.w3c.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"/>
  |   
  |   
  |   
  | Register New User
  |   
  |   
  | 
  | Create Person
  | 
  | 
  | 
  | First name: 
  | Last name: 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  |   
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: seam cannot reference EJB, why?

2007-04-26 Thread hsiung
You're right, thank you.
After I correct the name I still got the same exception.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: The JSF library situation in JBoss explained (it's calle

2007-04-26 Thread [EMAIL PROTECTED]
"gDarius" wrote : For my situation, if you could give me a way to override or 
mask off your JSF libraries from being loaded using the jboss-web.xml, that 
would be fine.
  | 

What would you say to a context-param in web.xml?

  | org.jboss.jbossfaces.WAR_BUNDLES_JSF
  | true
  | 

I've been discussing this and prototyping internally.  It works as long as you 
don't change the default WAR classloader setting to useJBossWebLoader=true.  
There are pros and cons.  What do you think?

Stan
http://jsf.jboss.org

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

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


[jboss-user] [JBoss Portal] - Re: Any Portlets available for JBoss Portal for Groups / Bl

2007-04-26 Thread chintan_parikh1
Hi 

I am getting error  Jboss  Wiki portlet (wiki.war) in Jboss Portal 2.4.2.

Can any body help me on this?



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

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


[jboss-user] [JBoss jBPM] - Re: jbpm-console: conditions not working in jBPM 3.2

2007-04-26 Thread dario.oliveros
Finally I got my process definition working.
Basically I had to apply one fix (please see JBPM-854) and also add #{} to my 
expression.
For more info, please see the solution at 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=107096

Dário

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041176

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


[jboss-user] [JBoss Seam] - Pageflow actions never getting fired

2007-04-26 Thread nstoddar
Is there something special about the page actions in a pageflow.  They never 
fire for me.  The actions on transitions work just fine, but sometimes it makes 
more sense to define the action on the page instead of a dozen transitions to 
it.

Here's a snippet from one of my pageflows that won't quite cooperate.


  | 
  | 
  | 
  | 
  | 


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

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


[jboss-user] [JBoss Messaging] - Re: [BisocketServerInvoker] unrecognized listener ID: ...

2007-04-26 Thread Smurfs
Tim, thanks for the feedback.

anonymous wrote : 
  | This is going to be *slow*. I'm assuming this is not what you intended to 
do. 

No, it was not intentional but an oversight on my part due to my limited 
experience with messaging.

I have changed over to the JmsXA connection factory and this also appears to 
have solved the WARN issue when messages are dispatched to the JMS queue - 
although I still get them when shutting the server down, but that is something 
I can live with.



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

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


[jboss-user] [JBoss Seam] - Destroying a managed component ... (short question)

2007-04-26 Thread nstoddar
Can I destroy one of my beans so the next time it is referenced it will get 
re-created?

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

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


[jboss-user] [JBoss jBPM] - Re: conditional trans in 3.2 - deprecated syntax doesn't wor

2007-04-26 Thread dario.oliveros
Finally I got my process definition working.
Basically I had to apply that fix to Decision.java (thanks for your suggestion) 
and also change the expression to start with '#{' and end with '}' as shown 
below.

   
  |   
  | #{var1 == '1'}
  |   
  |   
  | #{var1 == '2'} 
  | 
  |

When debugging the code, I noticed that there was a method to translate 
expression to dollar (in JbpmExpressionEvaluator.java) which in turn would 
expect an expression starting with '#{'. So I decided to change my process 
definition in order to see if that would make a difference at all. Hopefully it 
did.

Thanks for your help,
Dário




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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4041172

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


[jboss-user] [Installation, Configuration & Deployment] - change 4.0.2 lib/endorsed jar files

2007-04-26 Thread leonz11
Hi there,

If I change the lib/endorsed jar files, what are the risks?

I have upgraded those jars in the folder from 5/02/2005 version to 5/15/2006 
version

resolver.jar
serializer.jar
xalan.jar
xercesImpl.jar
xml-apis.jar

it seems fine; but want to double check: if those library are changed, is there 
possibilities the JBoss AS behavior change as also.

I did observe some differences between those two versions jar files:
some methods are different; some class packages are changed.

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

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


[jboss-user] [EJB 3.0] - EJB problem

2007-04-26 Thread g_svadla
hi
I am new to EJBs. I am developing a J2EE application using NetBeans IDE. My 
project is deployed successfully, but when I try to run the servlet from the 
webmodule to retrieve data from the database, I get the error 
"javax.naming.NamingException: ejb-ref: ejb/CustomerFacadeBean, no ejb-link in 
web.xml and no jndi-name in jboss-web.xml"

and the output is "No such Entity!"
These are my web.xml and jboss-web.xml files

web.xml:

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

Movies
edu.umassd.ecom.Movies


Dates
edu.umassd.ecom.Dates


Times
edu.umassd.ecom.Times


Availability
edu.umassd.ecom.Availability


Confirmation
edu.umassd.ecom.Confirmation


Cancellation
edu.umassd.ecom.Cancellation


Movies
/Movies


Dates
/Dates


Times
/Times


Availability
/Availability


Confirmation
/Confirmation


Cancellation
/Cancellation



30




index.jsp



ejb/MovielistFacadeBean
Session
edu.umassd.ecom.MovielistFacadeRemoteHome
edu.umassd.ecom.MovielistFacadeRemote
MovieTicketReservation-EJBModule.jar#MovielistFacadeBean


ejb/MovieinfoFacadeBean
Session
edu.umassd.ecom.MovieinfoFacadeRemoteHome
edu.umassd.ecom.MovieinfoFacadeRemote
MovieTicketReservation-EJBModule.jar#MovieinfoFacadeBean


ejb/MovieinfoFacadeBean1
Session
edu.umassd.ecom.MovieinfoFacadeRemoteHome
edu.umassd.ecom.MovieinfoFacadeRemote
MovieTicketReservation-EJBModule.jar#MovieinfoFacadeBean


ejb/MovieinfoFacadeBean2
Session
edu.umassd.ecom.MovieinfoFacadeRemoteHome
edu.umassd.ecom.MovieinfoFacadeRemote
MovieTicketReservation-EJBModule.jar#MovieinfoFacadeBean


ejb/CustomerFacadeBean
Session
edu.umassd.ecom.CustomerFacadeRemoteHome
edu.umassd.ecom.CustomerFacadeRemote
MovieTicketReservation-EJBModule.jar#CustomerFacadeBean


ejb/CustomerFacadeBean1
Session
edu.umassd.ecom.CustomerFacadeRemoteHome
edu.umassd.ecom.CustomerFacadeRemote
MovieTicketReservation-EJBModule.jar#CustomerFacadeBean



jboss-web.xml:



/MovieTicketReservation-WebModule


Please help me with this. 

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

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


[jboss-user] [JBoss Seam] - Re: Troubleshooting: seam component not found

2007-04-26 Thread [EMAIL PROTECTED]
I am having the exact same problem, running the seam gen directly.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Comet

2007-04-26 Thread MartyL
I've been looking for a comet implementation to support my webapp running in 
JBoss 4.0.3sp1. I finally found a servlet implementation called comet in Tomcat 
6.0. I then discovered that JBoss 4.2 integrates Tomcat 6.0. While mulling that 
over, I finally glanced at Seam to see what it was all about, and it seems from 
my cursory look, to mention all the RIA buzzwords.
So... not wanting to re-invent the wheel (especially since mine are never quite 
as round), can I find a comet-like solution in JBoss 4.2/Seam?
Basically what I want, is if a user is logged on to my app and there is a data 
change by another user that affects the first user's UI, I want to push that 
change out to them.
Perhaps I should be posting in the Seam forum, but I was hoping to catch the 
attention of someone whao has used the Tomcat comet servlet in JBoss.
thanks

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 3.2 ClassLoader FUBAR

2007-04-26 Thread timfox
The "thin" jboss-messaging-client.jar will just contain the 
org.jboss.messaging.* classes.

The rest of the stuff in there will already be present in the app server 
probably.

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm3.2 on jboss 4.0.5

2007-04-26 Thread rishikumarsharma
Hi Estaub,

That's Right, I am using the 3.1.4 starterkit database,  now i will try with 3.2

Thanks

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: Problems Jboss 4.2.0 RC2

2007-04-26 Thread vladtwilight
I discovered some interesting behavior.  I created a stateless session bean 
(SLSB) with a @WebService annotation.  I added an @WebMethod annotation to a 
method within my SLSB that returns an Entity Bean.  JBoss 4.2.0CR2 then freezes 
up during startup when it tries to create the SLSB wsdl file.  I assume that 
web service methods should only return Strings, Booleans, etc., but the Jboss 
behavior is not ideal.

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

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


[jboss-user] [JBoss jBPM] - Re: Adding Tasks programatically

2007-04-26 Thread PhoneTech
Thanks kukeltje, 

Although...I have not found it yet in the examples...Could you give me one more 
hint?

Regards,

Bart



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

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


[jboss-user] [EJB 3.0] - Persisiting Related Objects with CMP

2007-04-26 Thread abhinav19
Your help is needed with entity beans when cascading the persist operation for 
related objects.

There are two entities User  & UserDetails related in one to one fashion. When 
I deploy the entity beans it adds an extra column as USERDETAIL RAW(255) in the 
DB. The DB is Oracle 10g XE. since th size of the usedetail object is more than 
255 it does not insert the object. When I increased the size of the column to a 
large value it does not insert the record in the userdetail table.

Is there any setting in Jboss? I have just added the extra jars for EJB3 
support. The application deploys cleanly.

I generated the entities using the net beans. The same problem persists.

Abhinav

The user entity is as follows...

package org.integral.ats.vertebrae.ejb.user;
  | 
  | import java.io.Serializable;
  | import java.util.Date;
  | 
  | import javax.persistence.CascadeType;
  | import javax.persistence.Column;
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.OneToOne;
  | import javax.persistence.PersistenceProperty;
  | import javax.persistence.PrimaryKeyJoinColumn;
  | import javax.persistence.Table;
  | import javax.persistence.Temporal;
  | import javax.persistence.TemporalType;
  | 
  | @Entity
  | @Table(name="tusr")
  | public class User implements Serializable 
  | {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | @Id
  | @GeneratedValue
  | @Column(name="USR_ID")
  | private long userID;
  | 
  | @Column(name="USR_LGN_ID")
  | private String userLoginID;
  | 
  | @Column(name="USR_ROLE_ID")
  | private String userRoleID;  

   
  | 
  | @Column(name="LST_LGN_TS" )
  | @Temporal(value = TemporalType.DATE)
  | private Date lastLoginDate; 


  | 
  | @Column(name="USR_ADD_INF" )
  | private String userAddInfo; 


  | 
  | @Column(name="CRTD_TS")
  | @Temporal(value = TemporalType.DATE)
  | private Date creationDate;  


  | 
  | @Column(name="CRTD_USR")
  | private long createdByUser; 

 
  | 
  | @Column(name="UPDT_TS" )
  | @Temporal(value = TemporalType.DATE)
  | private Date updatedDate;   

   
  | 
  | @Column(name="UPDT_USR")
  | private long updatedByUser;
  | 
  | @OneToOne(cascade={CascadeType.ALL})
  | @PrimaryKeyJoinColumn
  | private UserDetail userDetail;
  | 
  | public static long getSerialVersionUID() {
  | return serialVersionUID;
  | }
  | 
  | public UserDetail getUserDetail() 
  | {
  | return userDetail;
  |  }
  | 
  | public void setUserDetail(UserDetail userDetail)
  | {
  | this.userDetail = userDetail;
  | }
  | 
  | // getters & setters for other fields
  | }
  | 


The UserDetail is as follows

package org.integral.ats.vertebrae.ejb.user;
  | 
  | import java.io.Serializable;
  | import java.util.Date;
  | 
  | import javax.persistence.Basic;
  | import javax.persistence.Column;
  | import javax.persistence.Entity;
  | import javax.persistence.GeneratedValue;
  | import javax.persistence.Id;
  | import javax.persistence.Table;
  | 
  | @Entity
  | @Table(name="tusrdtl")
  | public class UserDetail implements Serializable
  | {
  | 
  | private static final long serialVersionUID = 1L;
  | 
  | @Id
  | @GeneratedValue
  | @Column(name="USR_ID")
  | private long userID;

  
  | 
  | @Column(name="USR_FST_NM")
  | private String firstName;   

[jboss-user] [Beginners Corner] - is it possible y/n and if y how

2007-04-26 Thread sommermartin
Is it possible to kill a runaway Stateless Session Bean? that is an instance of 
a Stateless Session Bean that for whatever reason is running amock and say for 
instance is chewing up memory?

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

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


[jboss-user] [JBoss Messaging] - Re: JBM 3.2 ClassLoader FUBAR

2007-04-26 Thread chip_schoch
Thanks Tim.

We don't currently have support but I am working on getting it.  I guess in the 
mean time I will 'fiddle' as you say.  You mentioned the "fat" 
jboss-messaging-client.jar.  Is there an alternative, say a "thin" or "trim" or 
perhaps "lean" messaging-client.jar that can be assembled by me?  Any clues 
would be appreciated.

Thanks

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Application Server Cluster

2007-04-26 Thread Lazybone
ok thx

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

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


[jboss-user] [JBoss Seam] - How can i config or use SEAM in Rational Application Develop

2007-04-26 Thread itzco05
Hello to everyone.

Perhaps this question is a "noob" question but:

I was looking at this project and looks great, and i would like to run some 
samples and start using it, i am an ex c# developer that came to Java basically 
i am just do XML parsers and webservices, and Seam looks like a nice approach 
to start doing WebApps 2.0 in java, but in my work only uses WSAD 5.1.2 or RAD 
6.0, and it's the only ide that i know to use in Java, is there any way, advice 
or trick to use SEAM in Rational Application Developer.

Thanks for any reply.

Best Regards

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

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


[jboss-user] [Beginners Corner] - Re: New table fild with primary key in CMP Entity EJB

2007-04-26 Thread AlexKomlev
The answer it has appeared simple.
In a file jbosscmp-jdbc.xml it is necessary to add two strings.
 in cmp description primary key
and 

to the end of entity declaration

PS

JDBC 2 - don't work
JDBC 3 - work
JDBC 4 - ?

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

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


[jboss-user] [EJB 3.0] - Re: Annotation @EJB not working

2007-04-26 Thread teem
Thanks for your answers! If it is so, it would be an explanation of my 
problems. I'm just downloading jboss 5.0.0 so I'll see if the injection in jsf 
managed beans works on it.

regards,

teem

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

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


[jboss-user] [JBossWS] - jbossws 1.2.1: wsconsume OutOfMemoryError

2007-04-26 Thread kc7bfi
When I run wsconsume I get an OutOfMemoryError. What is interesting is that if 
I use the JAXB implementation from the jwsdp 2.0 I don't get this error 
(although I end up with an annotation error: AccessType instead of 
XmlAccessType). Any idea what might be going on?

David

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

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


[jboss-user] [JBoss jBPM] - Deploying a .par file

2007-04-26 Thread earniedyke
Greetings!

I have created a simple process definition and wrapped it in a .par file. I 
drop the .par file in my running JBoss 4.0.5GA deploy directory and the console 
tells me it was deployed; however, when I look in the database I do not see the 
process definition. Any idea what I could be doing wrong? 

I have changed the hibernate config in the jbpm-console to point to my MSSQL 
data source. I would have thought that if that was the problem I would get an 
error during deployment.

Any and all help is appreciated!!

Earnie!

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm3.2 on jboss 4.0.5

2007-04-26 Thread estaub
I didn't look to see if the VERSION_ column is new in 3.2, but given your other 
problem using a 3.1 config file with 3.2 code, I'd guess that you're now trying 
to use a 3.1 database with 3.2 code.

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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: The JSF library situation in JBoss explained (it's calle

2007-04-26 Thread gDarius
Stan,

I did not specifically address some things you wrote, here's my responses to 
those things:

anonymous wrote : All vendors have vendor-specific settings. I'm not aware of 
anything that keeps you from running fully-portable, spec-compliant 
applications on JBoss. Do you have an example? 

It's not that you have vendor-specific settings that keep me from running.  
It's that the ones you DO have don't seem to have the mojo that other vendors 
have.  For example, other vendors have inverted-classloader hierarchy things 
that allow you to delegate to the parent AFTER the application's child 
classloader has the chance to load classes for the app - it allows me to 
override the parent's classloader and just for my app.  You have classloader 
isolation techniques, but there are a whole boatload of server-supplied 
libraries that do not appear to be affected by that isolation...  

IMHO, if you ever find your people saying "just remove the log4j jar from your 
WAR and it will work" or something like that, you're missing the point of J2EE. 
 The value prop of J2EE is all wrapped up in the classloader controls and 
(re)deployment.  Anytime you cause me grief by saying something like "a local 
EJB from one EAR can't call another local EJB from another EAR" or "just remove 
log4j from your WAR and it will work", you're missing the point and limiting 
the ways I can use JBoss.

That all said, vendor deployment descriptors are your escape hatch and your 
ginsu knife.  It's SO EASY for me to add a specific DD to the WAR to get things 
to work specifically on JBoss only.  Sure, it's often a hack, what do I care?  
It works, moving on.  But, it's anywhere from hard-to-impossible for me to do 
things like "remove jars" because then I have to retest and rejigger my brains 
to get things working again on every other appserver.  Hence, my accusation 
that JBoss was attempting a lock-in.

anonymous wrote : Also, think of it this way. Would you ever bundle your own 
implementation of JSP with your WAR? You could certainly do so. You could take 
the Weblogic JSP impl and deploy it on Tomcat. But it wouldn't make much sense 
since both comply with the same spec. In a JEE5 container, you have the exact 
same situation with JSF. JSF is now a standard, spec-compliant, service. The 
problem is just with migration of pre-JEE5 applications. 

No, I would not bundle JSP with my app because the spec has always said the 
vendor supplies it.  Similarly, if I were writing a JEE5 app, I wouldn't bundle 
JSF.  

There is no required migration for me; I should, by the spec language, be able 
to run unmodified J2EE 1.4 apps on your JEE5 server - which means my bundling 
an older JSF should be legal.  If you are saying we need to migrate, you're 
essentially ditching backwards compatibility and you should say so someplace 
and you should puke a huge error if any app with DD's from earlier specs tries 
to deploy.  Which is all probably a really bad thing unless you don't think so.

I agree, after thinking about it for a bit, JEE5 is a step in the right 
direction.  It will be good for everyone that the spec maintainers are going 
through a standardizing effort for many of the java optional libraries.

Cheers,
gDarius

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

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


[jboss-user] [JBoss Seam] - Re: PDF, max of 14560 rows

2007-04-26 Thread [EMAIL PROTECTED]
Please open a JIRA case.  We can't avoid keeping the whole document in memory 
now, but assuming memory isn't an issue I don't know anything that would cause 
part of the document to be lost.

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

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


[jboss-user] [Clustering/JBoss] - Two-Node Cluster UDP OutOfMemoryError

2007-04-26 Thread jowizzle
Hello,

First, and perhaps completely unrelated: Is it normal to see messages such as 
"additional data: 19 bytes" throughout the logs?

Moving on...

I have a two-node cluster of stock 4.0.5GA servers.  After roughly 4 hours of 
operation one node will fail with an OutOfMemoryError stemming from 
org.jgroups.protocols.UDP.  Both servers have two eth interfaces, so I set 
bind_addr on the UDP element accordingly in cluster-service.xml and 
jboss-service.xml in the tc5-cluster sar.

I enabled DEBUG for jgroups.  It seems to get pretty messy.  First, node2 stops 
ack'ing on are-you-alive messages.  Then node1 gets susptected, but for no 
apparent reason.  If I understand correctly, node1 is the coord, so node2 can't 
remove it and it will refuse to remove itself from the view.  It may, however, 
opt to leave and rejoin.

Below is an excerpt from the cluster log file from around the time things begin 
to go awry.  Any hints are greatly appreciated.


  | 2007-04-25 15:33:07,237 DEBUG [org.jgroups.protocols.FD] sending 
are-you-alive msg to node2:32802 (own address=node1:32839)
  | 2007-04-25 15:33:07,269 DEBUG [org.jgroups.protocols.UDP] 
  | sending msgs:
  | node2:32802: 1 msgs
  | 
  | 2007-04-25 15:33:07,284 DEBUG [org.jgroups.protocols.FD] received ack from 
node2:32802
  | 2007-04-25 15:33:07,316 DEBUG [org.jgroups.protocols.UDP] 
  | sending msgs:
  | node2:32802: 1 msgs
  | 
  | 2007-04-25 15:34:51,762 DEBUG [org.jgroups.protocols.FD] sending 
are-you-alive msg to node2:32802 (own address=node1:32839)
  | 2007-04-25 15:34:51,762 DEBUG [org.jgroups.protocols.FD] heartbeat missing 
from node2:32802 (number=0)
  | 2007-04-25 15:34:51,762 DEBUG [org.jgroups.protocols.FD] sending 
are-you-alive msg to node2:32805 (additional data: 19 bytes) (own 
address=node1:32842 (addit
  | ional data: 19 bytes))
  | 2007-04-25 15:34:51,762 DEBUG [org.jgroups.protocols.FD] heartbeat missing 
from node2:32805 (additional data: 19 bytes) (number=0)
  | 2007-04-25 15:34:51,767 DEBUG [org.jgroups.protocols.FD] [SUSPECT] suspect 
hdr is [FD: SUSPECT (suspected_mbrs=[node1:32842 (additional data: 19 bytes)], 
fro
  | m=node2:32805 (additional data: 19 bytes))]
  | 2007-04-25 15:34:51,767 WARN  [org.jgroups.protocols.FD] I was suspected, 
but will not remove myself from membership (waiting for EXIT message)
  | 2007-04-25 15:34:51,768 DEBUG [org.jgroups.protocols.pbcast.STABLE] stable 
task started; num_gossip_runs=3, max_gossip_runs=3
  | 2007-04-25 15:34:51,768 DEBUG [org.jgroups.protocols.pbcast.CoordGmsImpl] 
view=[node2:32805 (additional data: 19 bytes)|2] [node2:32805 (additional data: 
19 
  | bytes)]
  | 2007-04-25 15:34:51,768 DEBUG [org.jgroups.protocols.pbcast.GMS] 
[local_addr=node1:32842 (additional data: 19 bytes)] view is [node2:32805 
(additional data: 
  | 19 bytes)|2] [node2:32805 (additional data: 19 bytes)]
  | 2007-04-25 15:34:51,780 WARN  [org.jgroups.protocols.pbcast.GMS] 
checkSelfInclusion() failed, node1:32842 (additional data: 19 bytes) is not a 
member of view
  |  [node2:32805 (additional data: 19 bytes)|2] [node2:32805 (additional data: 
19 bytes)]; discarding view
  | 2007-04-25 15:34:51,781 WARN  [org.jgroups.protocols.pbcast.GMS] I 
(node1:32842 (additional data: 19 bytes)) am being shunned, will leave and 
rejoin group (p
  | rev_members are [node1:32842 (additional data: 19 bytes) node2:32805 
(additional data: 19 bytes) ])
  | 2007-04-25 15:34:51,781 INFO  [org.jgroups.JChannel] received an EXIT 
event, will leave the channel
  | 2007-04-25 15:34:51,783 INFO  [org.jgroups.JChannel] closing the channel
  | 2007-04-25 15:34:51,786 ERROR [org.jgroups.protocols.UDP] [node1:32842 
(additional data: 19 bytes)] exception=java.lang.OutOfMemoryError: heap 
allocation fai
  | led, stack trace=java.lang.OutOfMemoryError: heap allocation failed
  | at java.net.PlainDatagramSocketImpl.receive0(Native Method)
  | at 
java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:181)
  | at java.net.DatagramSocket.receive(DatagramSocket.java:724)
  | at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1264)
  | at java.lang.Thread.run(Thread.java:799)
  | 
  | 2007-04-25 15:34:51,790 ERROR [org.jgroups.protocols.UDP] [node1:32839] 
exception=java.lang.OutOfMemoryError: heap allocation failed, stack 
trace=java.lang.O
  | utOfMemoryError: heap allocation failed
  | at java.net.PlainDatagramSocketImpl.receive0(Native Method)
  | at 
java.net.PlainDatagramSocketImpl.receive(PlainDatagramSocketImpl.java:181)
  | at java.net.DatagramSocket.receive(DatagramSocket.java:724)
  | at org.jgroups.protocols.UDP$UcastReceiver.run(UDP.java:1264)
  | at java.lang.Thread.run(Thread.java:799)
  | 
  | 2007-04-25 15:34:51,795 DEBUG [org.jgroups.protocols.pbcast.NAKACK] 
contents for node1:32842 (additional data: 19 bytes):
  | 
  | sent_msgs: [6837 - 6890]
  | received_msgs:
  | node2:32805 (additional data: 19 bytes): received_msgs:

[jboss-user] [EJB 3.0] - Re: Where is RC10?

2007-04-26 Thread mzeijen
Is there anything new on the JBoss 5 Embedded? I searched, but I didn't find 
any further information about it.

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

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


[jboss-user] [JBoss Seam] - Re: Remote Java App calling into Seam app - No active sessio

2007-04-26 Thread PatrickMadden
actually, may have found it. Don't waste your time. I'll report back.

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

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


[jboss-user] [JBoss Seam] - Re: Remote Java App calling into Seam app - No active sessio

2007-04-26 Thread PatrickMadden
Anyone get a chance to look at this. I'm really stuck :(

Not sure what I'm doing wrong so that session context is not active.

Thanks,

PVM

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

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


[jboss-user] [JBossWS] - Problem with Context for WSAddressing in Jaxrpc and Jaxws

2007-04-26 Thread Pires da Silva
Hello,

I noticed some problems in Context injection were mentioned in JBWS-1468 but I 
don't know which version to use for WSAddressing (and also wsse...).

When using Jbossws 1.2.0.SP1 (Jboss 4.2.0.CR2) and a servlet endpoint ,I get 
"IllegalAnnotationException, WebserviceContext is an interface and Jaxb can't 
handle interfaces"

When using Jbossws 1.0.3.SP1 with Jboss4.0.5, I get "Error setting response 
action, Illegal character in path at index xx"
please may you  post a message on the forum about the versions and things to do 
to be able to use a context.

Thanks
CPires


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

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


[jboss-user] [Installation, Configuration & Deployment] - Re: The JSF library situation in JBoss explained (it's calle

2007-04-26 Thread gDarius
Hello Stan,

Thanks for writing back so quickly.  It was not clear on the wiki that the 
forced JSF was due to JEE5 compliance efforts, which is why I took such an 
incredulous tone.  Regardless, you are correct about JEE5, I read the spec and 
sure enough, it requires JSF 1.2.  Wow, I'm floored, that's a pretty gutsy move 
on their part ... And they are making your life difficult because then I see 
they say some seemingly contradictory things...

>From section EE.11.1, it states:
anonymous wrote : Compatibility is a core value of the Java EE platform. A Java 
EE product is required to support portable applications written to previous 
versions of the platform.

... but then at then end of that section, they get a bit dodgy with this:
anonymous wrote : Portable applications depend only on the APIs and behavior 
required by the Java EE specifications. In general, portable applications 
written to a previous version of the platform will continue to work without 
change and with identical behavior on the current version of the platform.
  | 

So, what does "in general" mean?  Does that mean you are required or you are 
not required to host older J2EE applications?  What percentage of the time is 
"in general"?  50%?  99.9%?

And from section EE.6.1.2, where it discusses that you must include JSF 1.2, it 
states:
anonymous wrote : All classes and interfaces required by the specifications for 
the APIs must be provided by the Java EE containers. In some cases, a Java EE 
product is not required to provide objects that implement interfaces intended 
to be implemented by an application server, nevertheless, the definitions of 
such interfaces must be included in the Java EE platform.

So, our app is a J2EE 1.4 app, not a 1.5 app.  And by this spec, you're 
supposed to support apps written to those older versions WHILE loading JSF 1.2. 
 I think they must mean for you to dynamically load JSF for web applications if 
the deployment descriptor identifies the app as JEE5, and to NOT load JSF 
otherwise (since it wasn't required for J2EE 1.4 and below.)  Is this your 
interpretation as well?  

I can tell you right now, it's going to be a long time before we upgrade to 
JEE5.  So, for now, we are bundling our own JSF libraries and deploying to 
other vendor's platforms without trouble.  We can't deploy our app to JBoss 
4.2+ where our deployment descriptor indicates J2EE 1.4 (servlet 2.4 indicated 
in web.xml) and JSF 1.2 also gets pre-loaded for us.  For my situation, if you 
could give me a way to override or mask off your JSF libraries from being 
loaded using the jboss-web.xml, that would be fine.

This is a difficult situation for JBoss.  Sorry for being so harsh in my 
original message, I had no idea what was happening in JEE5 and how that was 
affecting you.

I will try to deploy to Glassfish and see how it does.  We do not consider 
Glassfish to be a "force" in the market yet like JBoss is, but it will be an 
interesting experiment to see how well it does deploying our app.  Geronimo was 
our initial platform only because its rich classloader controls made 
prototyping easy for other parts of our app.

Thanks,
gDarius

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

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


[jboss-user] [Beginners Corner] - Re: JBoss Application Server Cluster

2007-04-26 Thread tomerbd2
http://$YOUR_HOST:8080/jmx-console

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

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


[jboss-user] [JBoss Getting Started Documentation] - Re: Bank example compile error.

2007-04-26 Thread sgoel108
Hello

Thank you for the feedback. Are there plans for upgrading the tutorial to match 
with 4.2.0 or 5.0.o JBoss version.
A response on time line, if any, will be much appreciated.

Thanks
SG

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

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


[jboss-user] [JBoss Seam] - and 's

2007-04-26 Thread MikeDougherty
I'm having a bit of trouble using the s:cache JSF component in combination with 
my h:selectOneListBox's.

If I place the  tags just after the  tags (just like 
the Blog example shows), like so


  | 
  |   
  | ...
  |   
  | 
  |   
  | 
  | 
  |   
  | ...
  |   
  | 
  |   
  | 
  | 
  |   
  | ...
  |   
  | 
  | 

I can select an item from one of the lists and submit the form once. But when I 
come back to the page I have "" text in the page, and can no longer submit any 
of the forms on the page.

If I put the  tag directly around each 


  | 
  | ...
  |   
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  | ...
  |   
  |   
  | 
  |   
  | 
  | 
  |   
  |   
  | ...
  | 
  | 

I can submit the forms but, I have to click the submit button twice. The first 
time I get "value is not valid" (as if there was no selected item). Pressing 
the button again, submits the form.

Is there something special I have to do in order to get the  to work 
with my  tags?

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

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


[jboss-user] [JBoss Seam] - Transaction Timeout / Batch Insert

2007-04-26 Thread toni
Hi,

my webapplication provides a way to import data from a CSV file. If there are 
too many records so, then the following exception is thrown:

org.hibernate.exception.GenericJDBCException: Cannot open connection
Caused by: org.jboss.util.NestedSQLException: Transaction is not active: 
tx=TransactionImpl:XidImpl

Because I only get this exception, when there are lots of records to import 
into the application, I assume that at one point the transaction times out and 
becomes invalid. The batch insert simply takes to long.

Where can I change/increase the timeout for a batch insert? 

Even nicer would be to have a transaction for each record to insert, because 
the actualy form one unit of work. So having the batch insert within one 
transaction is actually wrong. 

But I'm not sure, how I would do this? Should I use the @Transactional 
annotation? And which attribute would I have to set on which function?

Any help is being appreciated...

toni

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

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


[jboss-user] [JBoss Portal] - Loss of Session Attributes

2007-04-26 Thread david.hoffman
Current Software: JBOSS-PORTAL-2.6-CR1-BUNDLED

I am trying to use session attributes for my application coding.

I have three files:

test1.jsp (in webapp1)

  | <%=request.getSession().getId()%>
  | <% request.getSession().setAttribute("test", "SUCCESS"); %>
  | <%=request.getSession().getAttribute("test")%>
  | 

test2.jsp (in webapp1)

  | <%=request.getSession().getId()%>
  | <%=request.getSession().getAttribute("test")%>
  | 

test3.jsp (in webapp2)

  | <%=request.getSession().getId()%>
  | <%=request.getSession().getAttribute("test")%>
  | 

When I go to http://localhost:8080/webapp1/test1.jsp the output is:
anonymous wrote : 
  | B5926EF39194E3584263C60361905C4C
  | SUCCESS 
  | 

When I go to http://localhost:8080/webapp1/test2.jsp the output is:
anonymous wrote : 
  | B5926EF39194E3584263C60361905C4C
  | SUCCESS 
  | 

When I go to http://localhost:8080/webapp2/test3.jsp the output is:
anonymous wrote : 
  | B5926EF39194E3584263C60361905C4C
  | null 
  | 

The sessionId remains the same across webapps, but the session variables appear 
to be valid only within the context in which they are set.  The desire is that 
these values would be available across webapps.

I have seen numerous other forum posts over the past couple years regarding 
similar problems, however have not found any solutions given to the problem.

Can someone please advise if this is a simple configuration that needs to be 
made to make session attributes available across webapps on the JBoss App 
Server that comes bundled with the Jboss Portal 2.6 CR1?

Thank you in advance for your assistance. 

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

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


[jboss-user] [Security & JAAS/JBoss] - Re: Using encrypted passwords in datasource config files dir

2007-04-26 Thread cchee
Or you can take the user type password and ran it through one way encryption 
(e.g. md5) and compare that hash with what is stored in the database. It is 
probably safer. One caveat: If your user forgot their password, the password 
has to be reset and then send to them. After they got in, they can still change 
the password to something they can remember. 

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

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


[jboss-user] [Remoting] - Re: what happended to the JBoss Remoting 2.2 GA download lin

2007-04-26 Thread [EMAIL PROTECTED]
Where are you looking?   The jboss-remoting.jar is at 
http://repository.jboss.com/jboss/remoting/, and the source is at 
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=135729.

-Ron

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

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


  1   2   3   4   >