[jboss-user] [JBoss Seam] - Getting JBPM to use the seam managed persistence context

2007-11-14 Thread jcruise
Is there any way of elimnating the hibernate.cfg.xml for jbpm? I am trying to 
implement a multi-tenant application, with separate database connections per 
customer. I can easily select the entityManagerFactory dynamically for the main 
application, but this doesn't change the process db. Which is not good.

I did manage to patch the main jbpm component in seam to allow switching of 
configs at runtime, but this seems like a bit of a hack.

It would be much easier if we could use a single persistence.xml file for 
process an other application data.

Cheers
J

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

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


[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues

2007-11-14 Thread jcruise
http://jira.jboss.org/jira/browse/JBSEAM-2251

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

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


[jboss-user] [JBoss Seam] - Re: -Seam-gen PropertyNotFoundException after generate-entit

2007-11-14 Thread nharrison
I've made further progress now.  Here is what I've found.

1.  MySQL "LONGTEXT" columns are not mapped correctly.  The workaround is to 
add the following annotation

@Column(name = "Contents_Required", length=2147483647)

2. The error in my first post is solved by configuring the SApplicationsList 
EntityQuery object instead of using the generated EntityQuery subclass.




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

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


[jboss-user] [JBossWS] - Re: ClassCastException in HandlerResolverImpl.addHandler

2007-11-14 Thread jtestori
thank you. extending org.jboss.ws.core.jaxws.handler.GenericHandler works :)

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2007-11-14 Thread samdoyle
Why does Red Hat Developer Studio not allow you to create a Seam project if you 
are using Glassfish for your server instance?

Does this mean I can't use RHDS if I am using Glassfish?

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

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


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

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

What are we supose to use then?

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen entities: cascading bug or accepted behavior?

2007-11-14 Thread sstrenn
Max,

Thanks for clearing that up.  I'll submit a feature request to the hibernate 
tools project to adjust the cascade attribute so that it matches the 
database-defined behavior.  I'll also submit a request to the seam team for a 
mention of this behavior in the "Getting started with Seam, using seam-gen" 
section of the reference.

BTW - just as an example of what can happen if one does not change the "default 
behavior":

Delete a (sales) employee.  This cascades to delete all of the customers 
associated with that employee, which, in turn, cascades to delete all of the 
sales orders and line items associated with that customer.  Also, if the 
employee table has a self-referential foreign key to identify the employee's 
boss, a whole chain of other employees (and their customers and sales orders) 
can be deleted...

Stephen

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

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


[jboss-user] [JBoss Seam] - Re: jbpm timer transaction issues

2007-11-14 Thread jcruise
Are you running on tomcat or Jboss AS? 

I get this error whenever I have the jbpm scheduler service even configured. It 
appears whenever I try to close a process instance. So, I've been working 
around it by just disabling the scheduler service. 

I'll file a JIRA issue for my problem.

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

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


[jboss-user] [JBoss Seam] - Where to invoke implicit login for custom SSO?

2007-11-14 Thread stu2
I'm implementing simple custom SSO, and am struggling to find the correct place 
to perform an implicit login when the user first hits the application.

I had thought that a filter would be the natural place for this, and have a 
SsoFilter created and registered with SeamFilter.  This works as I expected it 
to, BUT the call to identity.login() fails because there's no application scope 
active - the filter executes before the lifecycle sets up the context for the 
request (I think).

Here's what I see:

java.lang.IllegalStateException: No active application scope
  | at 
org.jboss.seam.security.Configuration.instance(Configuration.java:71)
  | at 
org.jboss.seam.security.Identity.getLoginContext(Identity.java:412)
  | at org.jboss.seam.security.Identity.authenticate(Identity.java:324)
  | at org.jboss.seam.security.Identity.login(Identity.java:237)
  | at weblock.servlet.SsoFilter.doFilter(SsoFilter.java:78)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)

Here's what I'm basically doing in my filter:

// taken from AuthenticationFilter from seam source.  
  | Identity identity = (Identity) request.getSession().getAttribute( 
Seam.getComponentName(Identity.class) );
  | 
  | identity.setUsername(value-gotten-from-sso-token);
  | // for our requirements we don't actually need  password, and
  | // authenticate is written accordingly
  | 
  | // this is what blows up!
  | String loginResult = identity.login();

Argh!  Is a filter the wrong place to do this sort of thing in Seam?  We're 
developing against jboss, deploying into weblogic, so container integration 
isn't an option.  The JSF lifecycle hooks seam uses via SeamListener look 
promising (session binding) but it doesn't look intended to be extensible, and 
I don't think the contexts are initialized there either.  We don't want any 
sort of login page - this behaviour should all be transparent to the users.

Am I missing something obvious?

Any help would be greatly appreciated.


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

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


[jboss-user] [JBossCache] - Re:

2007-11-14 Thread spennec
Manik,

Thanks for the info on LockParentForChildInsertRemove, I'm going to try that.

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2007-11-14 Thread [EMAIL PROTECTED]
JBoss Tools are the opensource eclipse plugins we develop for JBoss releated 
tech (hereunder the Seam ones) 

RHDS is a full bundle of jboss tools, jboss EAP, eclipse, 3rd party plugins and 
RHEL available under subscription when RHDS goes final - see more at 
redhat.com/developers/rhds

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

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


[jboss-user] [JBoss jBPM] - while running jbpm-console example im getting below mentione

2007-11-14 Thread satyagkk
 ERROR [JDBCExceptionReporter] Table not found in statement [select top ? 
job0_.ID_ as ID1_26_, job0_.VERSION_ as VERSION3_26_, job0_.
 ERROR [JobSession] org.hibernate.exception.SQLGrammarException: could not 
execute query
 ERROR [JobExecutorThread] exception in job executor thread. waiting 5000 
milliseconds
mException: couldn't get acquirable jobs
rg.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:44)
rg.jbpm.job.executor.JobExecutorThread.acquireJobs(JobExecutorThread.java:111)
rg.jbpm.job.executor.JobExecutorThread.run(JobExecutorThread.java:56)
rg.hibernate.exception.SQLGrammarException: could not execute query
rg.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
rg.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
rg.hibernate.loader.Loader.doList(Loader.java:2223)
rg.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
rg.hibernate.loader.Loader.list(Loader.java:2099)
rg.hibernate.loader.hql.QueryLoader.list(QueryLoader.java:378)
rg.hibernate.hql.ast.QueryTranslatorImpl.list(QueryTranslatorImpl.java:338)
rg.hibernate.engine.query.HQLQueryPlan.performList(HQLQueryPlan.java:172)
rg.hibernate.impl.SessionImpl.list(SessionImpl.java:1121)
rg.hibernate.impl.QueryImpl.list(QueryImpl.java:79)
rg.hibernate.impl.AbstractQueryImpl.uniqueResult(AbstractQueryImpl.java:811)
rg.jbpm.db.JobSession.getFirstAcquirableJob(JobSession.java:40)
2 more

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

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


[jboss-user] [JBoss Seam] - Re: seam-gen entities: cascading bug or accepted behavior?

2007-11-14 Thread [EMAIL PROTECTED]
it's a default behavior - there isn't implemented suport for taking into 
account db specific constraints.

Open a feature request against hibernate tools ;)

p.s. you can use reveng.xml to control parts of this.

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2007-11-14 Thread nickarls
Nice work!

But could you set something straight for me: Is it called "JBoss Tools" or "Red 
Hat Developer Studio"? Are the same? Is RHDS the successor of JT? Cousins? 
Roommates?

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

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


[jboss-user] [JBoss Portal] - Re: Customized top-level portal page

2007-11-14 Thread callatis
Nothing, nobody? I hope it's not cuz it's a tough question... :)

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

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


[jboss-user] [JCA/JBoss] - Re: Message DB + Oracle database connection count problems

2007-11-14 Thread sks4jboss
Hi Adrian,

Problem reoccured again for us last nite. We managed to get 
listInUseConnections from CachedConnectionManager. Below is the output. It 
shows only  4 connections  . We haven't modified WeakHashMAp to HashMap. But in 
use connections still have the first connection created (So I believe that 
weakhashmap isnt loosing any data) .
Max configured connection is 130 and we ran out of Connections.

anonymous wrote : 
  | 
  | [EMAIL PROTECTED]:
  | STACKTRACE
  | at
  | 
org.jboss.resource.connectionmanager.CachedConnectionManager.registerConnection(CachedConnectionManager.java:321)
  | at
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2.allocateConnection(BaseConnectionManager2.java:467)
  | at
  | 
org.jboss.resource.connectionmanager.BaseConnectionManager2$ConnectionManagerProxy.allocateConnection(BaseConnectionManager2.java:874)
  | at
  | 
org.jboss.resource.adapter.jdbc.WrapperDataSource.getConnection(WrapperDataSource.java:103)
  | at
  | com.mobilgw.sam.common.WFComponentFactory.(WFComponentFactory.java:125)
  | at 
com.mobilgw.sam.common.SAMconfigPropsMgr.(SAMconfigPropsMgr.java:53)
  | at
  | 
com.mobilgw.sam.common.SAMconfigPropsMgr.getInstance(SAMconfigPropsMgr.java:36)
  | at
  | 
com.mobilgw.sam.common.messaging.SAMMessagingInitialiserServ.init(SAMMessagingInitialiserServ.java:52)
  | at javax.servlet.GenericServlet.init(GenericServlet.java:211)
  | at
  | 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1091)
  | at
  | org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:925)
  | at
  | 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:3857)
  | at
  | org.apache.catalina.core.StandardContext.start(StandardContext.java:4118)
  | at
  | 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:759)
  | at
  | org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:739)
  | at
  | org.apache.catalina.core.StandardHost.addChild(StandardHost.java:524)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at
  | 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at
  | org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at
  | org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at
  | org.apache.catalina.core.StandardContext.init(StandardContext.java:5005)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at
  | 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at
  | org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
  | at
  | org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:150)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at
  | 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:274)
  | at
  | 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:91)
  | at
  | org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:357)
  | at org.jboss.web.WebModule.startModule(WebModule.java:68)
  | at org.jboss.web.WebModule.startService(WebModule.java:46)
  | at
  | 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:272)
  | at
  | 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:222)
  | at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
  | at
  | 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:324)
  | at
  | 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:141)
  | at org.jboss.mx.server.Invocation.dispatch(Invocation.java:80)
  | at org.jboss.mx.server.Invocation.invoke(Invocation.java:72)
  | at
  | 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:249)
  | at 
org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:644)
  | at
  | 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:897)
  | at $Proxy0.start(Unknown Source)
  | at 
org.jboss.system.ServiceController.start(Serv

[jboss-user] [JBoss Getting Started Documentation] - Re: Why can not access JBOSS web app?

2007-11-14 Thread jaikiran
Have a look at  http://wiki.jboss.org/wiki/Wiki.jsp?page=JBoss42FAQ

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying error with JBoss 4.x

2007-11-14 Thread jaikiran
anonymous wrote : I have just modified hsqldb-ds.xml file in deploy/ folder

And what did you change in that file? Can you post the contents of that changed 
file(remember to wrap the contents in a code block by using the Code button in 
the message editor window, while posting)? By the way, why did you change that 
file? Are you trying to deploy your oracle datasource? If yes, then all you 
have to do is create a file name *-ds.xml (ex: oracle-ds.xml) with appropriate 
contents as mentioned at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SetUpAOracleDatasource and place that 
file in the deploy folder. 

Also, you might want to have a look at 
http://wiki.jboss.org/wiki/Wiki.jsp?page=ConfigDataSources

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Deploying error with JBoss 4.x

2007-11-14 Thread sridharkumarch
JaiKiran,

I have just modified hsqldb-ds.xml file in deploy/ folder. After that 

--- MBeans waiting for other MBeans --- 
ObjectName: jboss.ejb:service=EJBTimerService,persistencePolicy=database 
State: CONFIGURED 
I Depend On: 
jboss.jca:service=DataSourceBinding,name=DefaultDS 


Error not showing Only its showing reamaning errors



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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Persistence/Toplink

2007-11-14 Thread devTrivedi
Hii...
Can ne1 can tell me how to configure my jBoss server to use Toplink as a data 
provider

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

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


[jboss-user] [JBossWS] - Re: how to publish my own wsdl

2007-11-14 Thread tpawankumar
Hi Alessio,

Thanks for the reply.


I have tried but i didnt succeed.

This is my SEI
package com.covad.inter;
  | 
  | import java.rmi.Remote;
  | import java.rmi.RemoteException;
  | 
  | import javax.jws.WebService;
  | 
  | 
  | 
  | @WebService(name="Hello",targetNamespace = "http://Inter.covad.com/";)
  | public interface Hello extends Remote {
  | 
  | String echo(String value) throws RemoteException;
  | 
  | }

and following code is my implementation of SEI
package com.covad.impl;
  | 
  | import javax.jws.WebService;
  | import javax.jws.soap.SOAPBinding;
  | 
  | 
  | @WebService(name="HelloImpl",targetNamespace = 
"http://Inter.covad.com/",wsdlLocation="WEB-INF/wsdl/HelloService.wsdl",portName="HelloPort";)
  | //@SOAPBinding(style = SOAPBinding.Style.RPC)
  | public class HelloImpl {
  | 
  | public String echo(String value)
  | {
  | return "Hello"+value;
  | }
  | 
  | }
  | 

This is my HelloService.wsdl

  | 
  |  
  |  
  |   
  |  
  |  
  |   
  |  
  |  
  |   
  |
  |
  |   
  |  
  |  
  |   
  |   
  |
  |
  | 
  |
  |
  | 
  |
  |   
  |  
  |  
  |   
  |
  |   
  |  
  | 

When i deployed in Jboss 4.2.1 GA.It is giving me the following exception

java.lang.IllegalStateException: Cannot find endpoint meta data for: JWeb
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.getEndpointM
etaData(UnifiedMetaDataDeploymentAspect.java:117)
at org.jboss.wsf.stack.jbws.UnifiedMetaDataDeploymentAspect.create(Unifi
edMetaDataDeploymentAspect.java:86)
at org.jboss.wsf.framework.deployment.DeploymentAspectManagerImpl.deploy
(DeploymentAspectManagerImpl.java:115)
at org.jboss.wsf.container.jboss42.ArchiveDeployerHook.deploy(ArchiveDep
loyerHook.java:97)
at org.jboss.wsf.container.jboss42.DeployerInterceptor.start(DeployerInt
erceptor.java:90)
at org.jboss.deployment.SubDeployerInterceptorSupport$XMBeanInterceptor.
start(SubDeployerInterceptorSupport.java:188)
at org.jboss.deployment.SubDeployerInterceptor.invoke(SubDeployerInterce
ptor.java:95)
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 $Proxy45.start(Unknown Source)
at org.jboss.deployment.MainDeployer.start(MainDeployer.java:1025)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:819)
at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:782)
at sun.reflect.GeneratedMethodAccessor20.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAcces
sorImpl.java:25)


could you please let me know where i am doing wrong?

Thanks in Advance.
Pavan.

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

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


[jboss-user] [JBoss Seam] - Seam Projects in Red Hat Developer Studio

2007-11-14 Thread samdoyle
So I'm not sure if this is the best place to ask this but I can't find any 
forums related to  Red Hat Developer Studio.

RDS will not allow me to create a Seam project with a GlassFish server 
instance. When it comes to the dialog that asks me the project name, runtim and 
server I specify the installed GlassFish instance and it doesn't take. Because 
of this I can't continue.

Anyone have any ideas?

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

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


[jboss-user] [JBoss Seam] - Logging successful user login activity using seam security

2007-11-14 Thread terryb
I would like to keep track of successful user logins. wondering what is the 
best place to log it?

when using seam authentication the authenticate method (say  
Authenticator.authenticate) has to return true if username credentials are 
validated.

Is it sufficent to log successful login activity before returning true from the 
Authenticator.authenticate method; or should it be somewhere else making sure 
Seam processed the returned true value in successful login?







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

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


[jboss-user] [JBoss Tools (users)] - Re: 64 bit version

2007-11-14 Thread naveed.hasan
With the migration to xulrunner for vpe, is there a x86_64 build planned? Is it 
possible for users to build this feature / plugin from source themselves? It'd 
be nice to at least see vpe in action on an pure 64 bit system.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Can JBoss/Tomcat use specific alias from keystore (keyalias)

2007-11-14 Thread krishnakumars
Hello, 
We use JBossSX's support for PBESecurityDomain in our Tomcat Connector. Our 
Connector element looks like this: 

   

Our Keystore has multiple aliases in it. By default Tomcat uses the first 
keystore alias it finds. 

I need to change this behavior so Tomcat uses a specific alias. 

Tomcat standalone supports an attribute of keyAlias in the Connector element. I 
changed above to look like : 
   

However, JBoss doesn't seem to pick up the keyAlias attribute. Tomcat 5.5 does, 
when run standalone. [1]

What am I doing wrong? Does JBoss recognize and honor the keyAlias attribute?

This is with JBoss 4.0.4.GA, RHEL4. IBM JDK 1.5

[1] http://tomcat.apache.org/tomcat-5.5-doc/ssl-howto.html

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

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


[jboss-user] [JBoss Seam] - Re: Paging and Listing

2007-11-14 Thread terryb
jira issue filed.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Re: Can JBoss/Tomcat use specific alias from keystore (keyal

2007-11-14 Thread krishnakumars
The earlier post was missing the Connector extracts. Reposting. 
--
We use JBossSX's support for PBESecurityDomain in our Tomcat Connector. Our 
Connector element looks like this: 

   
  | 

Our Keystore has multiple aliases in it. By default Tomcat uses the first 
keystore alias it finds. 

I need to change this behavior so Tomcat uses a specific alias. Tomcat 
standalone supports an attribute of keyAlias in the Connector element. I 
changed above to look like : 
   
  | 
However, JBoss doesn't seem to pick up the keyAlias attribute. 

What am I doing wrong? Does JBoss recognize and honor the keyAlias attribute?

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

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


[jboss-user] [JBoss Seam] - Re: Reading HTML from database

2007-11-14 Thread terryb
Thanks arussel!

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

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


[jboss-user] [JBoss Seam] - Re: ExtJs and JBoss Seam with web remoting

2007-11-14 Thread mgrouch
(Sorry for off-topic)

MyGTW is getting better too

http://www.mygwt.net/
http://www.mygwt.net/deploy/dev/explorer/

I wish Seam integration with GWT and ExtJs was supported 
better (By tools/documentation/examples, etc)

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: ExtJs and JBoss Seam with web remoting

2007-11-14 Thread mgrouch
GWT EXT combo is pretty impressive too

http://code.google.com/p/gwt-ext/

http://gwt-ext.googlecode.com/svn/trunk/site/samples/Showcase/Showcase.html

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

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


[jboss-user] [Microcontainer] - Nested property reference

2007-11-14 Thread trustin
Hi,

I am currently trying to make Apache MINA Microcontainer friendly.  It's 
already very Springframework friendly so I think it should be JBossMC friendly 
already, but I want to clarify one thing - nested property reference.

In Springframework, I can access other POJO subproperties like the following:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

Can Microcontainer refer nested properties like the example above?

Thanks in advance.  Microcontainer rocks!

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: Problems with shutting down the JBoss after ava.lang.Out

2007-11-14 Thread genman
Well, when you run out of memory, weird stuff starts to happen, for example 
files get closed, etc. Does shutdown work when you don't run out of memory?

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configuring only JMS

2007-11-14 Thread jwcone
The JBossMQ FAQ has entries on memory usage and on creating a standalone 
JBossMQ configuration:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossMQ

There's also a wiki article on tuning and slimming JBoss, in general:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossASTuningSliming 

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

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


[jboss-user] [Beginners Corner] - Re: Why I can't start JBOSS 4.2.2GA?

2007-11-14 Thread jackhexy
You are the best!
Thank you very much and miss the time spent together.

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

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


[jboss-user] [JBoss Seam] - Page actions and parameters

2007-11-14 Thread jiangliu
Hi all,

I have a question concerns about the Seam page action and parameter.

For the Seam page action, because it occurs just before we render a page, so 
could i say it happens between JSF phase 5 and phase 6?


For the Seam page parameters, when is that happened in the JSF phase(s)? Could 
i say between phase 3 and phase 4?

Thanks in advance!

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

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


[jboss-user] [EJB 3.0] - EJb3 local question

2007-11-14 Thread pdtp
Hi...

I have problem accessing my statless ejb bean from my web layer.
My ear contain 1 war called myapp.war and 1 jar (EJB3) called myejb.jar.
In my application.xml, I have specify  myapp.war as web module and myejb.jar as 
ejb module.
I have implement both local and remote for my stateless ejb3.
I deploy my application on Jboss4.0.5GA. it deployed successfully. I check my 
jndi tree from jmx-console, I can see my ejb3 has been deploed succesfully 
(both local and remote).

I try to call my ejb3 from my web layer as local ejb, it throw exception : 
 Invalid invocation of local interface (null container). From the exception, it 
seems like myapp.war and myejb.jar has been deployed from two different JVM but 
Both of them has been packaged in an ear file and it was deployed in the same 
JBOSS.

I try to call as remote ejb from my web layer and it works fine. 
I try to  call from my ejb layer as local (call one ejb from another ejb), it 
works fine.

my ear structure:

anonymous wrote : myApp.ear
  ||
  || --- META-INF 
  ||  |
  ||   --  application.xml (State myapp.war as web apps and  
myejb.jar as EJB3)
  ||   
  || --- MyApp.war
  ||  |
  ||  |--  WEB-INF
  ||  |   |
  ||  |--  web.xml
  ||  |--  .. 
  ||  |--  ... 
  ||   
  || --- myejb.jar
  ||  | 
  ||  | --- META-INF 
  ||  |   |
  ||  |   | -- persistence.xml
  ||  | 
  ||  | --- .. 
  | 


Any Idea??

Thanks

Pdt

   

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

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


[jboss-user] [JBoss Seam] - Changes applied only to Custom Datatype in a entity not save

2007-11-14 Thread rnallakukkala
I'm using Seam 2.0.0.GA
I have an entity which has a custom data type


  | @Entity
  | @Table(name = "CST_Customer")
  | public class Customer extends AbstractRevisionableEntity {
  | 
  | 
  | private Password password;
  | 
  | @org.hibernate.annotations.Type(type = "password")
  | @Column(name = "password",updatable = true)
  | public Password getPassword() {
  | return password;
  | }
  | 
  | public void setPassword(Password plaintext) {
  | this.password = plaintext;
  | }
  | 
  | }
  | 

Using entity home for data persistance, following is my xhtml file usage,


  | 
  | Password
  | 
  | 
  |   
  | 
  | 

The problem is, if I make change only to the password field and do a submit, 
changes are not reflected on the database (there is no error on the console & 
the entity do has the modified value in the entityHome's persist method). 

when tried to update password field in conjunction with a non custom data type 
field, I could see both modified values are reflected in the database.

any suggestion, what's that I'm missing? can custom data type alone can cause 
the problem?

Cheers
Ravi

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

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


[jboss-user] [JBoss Seam] - Re: Modular pluggable components application

2007-11-14 Thread trouby
Hah, was my post looks like I'm an embittered developer? :-)

I was curious if there are any known architecture designs which can assist in 
modular pluggable components deployment,


Main points are:
- pluggable components activation/de-activation
- Affect already installed components behaviors in deployment/removal time of 
other components
- Dynamically modifying UI(facelets templates, themes, etc...) in 
deployment/removal of new components,


Thanks ;)

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

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


[jboss-user] [JBoss Seam] - Re: Different AJAX behaviour in Firefox and IE

2007-11-14 Thread DamonChong
Ah, I see.guess I must look for a better approach then. Thank you! :-)

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

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


[jboss-user] [JBossWS] - Re: Enabling cookies in a JBossWS web service client

2007-11-14 Thread cbalaves
Thanks, Richard! It worked!

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

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


[jboss-user] [JBoss Seam] - Re: s:decorate - default template

2007-11-14 Thread Kragoth
Thanks pete.

I'm not sure what you mean by a factory in components.xml but I'll try and see 
if I can find some doco about that.

I really appreciate all the help you guys give.


I have submitted the feature request. I'm not sure of the details I should give 
it but it's there.

http://jira.jboss.org/jira/browse/JBSEAM-2249

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

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


[jboss-user] [JBoss Portal] - Injecting user/role using http headers

2007-11-14 Thread ganeshmb
Is it possible to inject the user and role information from an external 
authentication engine through HTTP headers?  I want to somehow configure the 
portal to blindly use the user/role that are being passed as HTTP headers in 
the first request.  

>From what I have been reading so far, I believe it's possible to write a 
>custom login module and override validatePassword method to not verify the 
>password in portal's data source.  But I am not sure how I can make the portal 
>blindly use the user/role strings in the HTTP header of the incoming request? 

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

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


[jboss-user] [JBoss Seam] - seam-gen entities: cascading bug or accepted behavior?

2007-11-14 Thread sstrenn
Folks,

When seam-gen generates an entity with a one-to-many association to another 
entity, it appears to always set the cascade attribute to CascadeType.ALL.

My sense is that this is incorrect behavior when the foreign key's constraint 
in the database is set to ON DELETE RESTRICT.

Is this an "undocumented feature", or an misunderstanding of the expected 
behavior on my part.  If so, could you please give me a quick explanation of 
why CascadeType.ALL is correct when a foreign key's constraint is ON DELETE 
RESTRICT.

Thanks,
Stephen

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

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


[jboss-user] [Clustering/JBoss] - Farm hot-deploy waits for MDBs to finish?

2007-11-14 Thread seoeng
I have MDBs which sometimes run lengthy processes.  I want to be able to drop a 
new EAR into the /farm directory, and all of the apps should restart/redeploy.  
But what is happening is that the apps which are running these long-running 
MDBs are waiting for the MDBs to finish before restarting/redeploying.

What is the recommended solution?  I don't care about the MDBs not finishing -- 
they will just restart once the app is redeployed, correct?  The MDBs are 
bean-managed.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - STILL HAVING ISSUES...Neither EJB 2.1 or 3.0 are deployed

2007-11-14 Thread darretta
I have sent a number of conflicting messages due to various circumstances, but 
my bottom line now is that neither my 2.1 nor 3.0 beans deploy. My environment 
is JBoss 4.0.3SPI (with RC5 update), Redhat Linux 3.5 ES, Java 1.5.0_12, J2EE 5 
persistence apis


Here is what I've done thus far:

(1) Cleaned all jars/ears/wars of outside jar imports - I now rely 100% on 
JBoss supplied libraries

(2) Packaged my product as so:

myapp.ear
  |   |
  |   -- META-INF/application.xml
  |   |
  |   -- myapp-ejb.jar
  |  |
  |  -- META-INF/persistence.xml
  |  |
  |  -- META-INF/ejb-jar.xml
  |  |
  |  -- META-INF/jbosscmp-jdbc.xml
  |  |
  |  -- META-INF/jboss.xml
  |   |
  |   -- myapp-war.war
  |  |
  |  -- WEB-INF/web.xml
  | 

(Note that EJB 2.1 and 3.0 beans are in the same ejb.jar file).  

Below is my persistence.xml:

  | http://java.sun.com/xml/ns/persistence"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/persistence 
http://java.sun.com/xml/ns/persistence/persistence_1_0.xsd";>
  |   
  | org.hibernate.ejb.HibernatePersistence
  | java:/nicweb/DataSource
  | 
  |   
  | 
  |   
  | 

Here is the declaration for my web.xml:


  | http://java.sun.com/xml/ns/javaee"; 
xmlns:xsi="http
  | ://www.w3.org/2001/XMLSchema-instance" 
xsi:schemaLocation="http://java.sun.com/x
  | ml/ns/javaee http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>
  | vram-dos

Here is my application.xml:

  | 
  | http://java.sun.com/xml/ns/javaee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/application_5.xsd";>
  | 
  | vram-dos-server
  | 
  | 
  | 
  | nicweb-jboss-ds.xml
  | 
  | 
  | 
  | mail-service.xml
  | 
  | 
  | 
  | vram-dos-server-ejb.jar
  | 
  | 
  | 
  | 
  | vram-dos-server-war.war
  | /vram-dos-server-webapp
  | 
  | 
  | 
  | 

Any help is appreciated.

Thanks,
Mike

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: STILL HAVING ISSUES...Neither EJB 2.1 or 3.0 are deploye

2007-11-14 Thread darretta
Should mention that the errors are:

-- No entity manager injection
-- EJBs not bound exception

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

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


[jboss-user] [EJB 3.0] - Re: @id id data type: primitive or object which one is bette

2007-11-14 Thread [EMAIL PROTECTED]
i use primitives, seems to make the most sense (since its a primary key, its 
can't be nullable, so using larger Object representation doesn't seem 
necessary).

Some people don't like setting the primitive int to "0" to indicate the ID 
isn't set - if you are one of those people, use Integer so you can set it to 
null to indicate the primary key isn't set yet.

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

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


[jboss-user] [EJB 3.0] - Re: @id id data type: primitive or object which one is bette

2007-11-14 Thread gus888
No help?

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

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


[jboss-user] [JBoss Seam] - XHTML Performance

2007-11-14 Thread monkeyden
I have been profiling our Seam 1.2 (XHTML) application using JProfiler and have 
discovered an obscene number of HashMap$Entry objects on the heap (typically 
about 7-8 million).  Not withstanding the possibility that this is the most 
common data structure in a web container/application, I suspect that much of it 
comes from XHTML.  I say this because I can easily reproduce it in the Seam 
Blog example (XHTML) but cannot in the Seam Messages example (JSP).

We're hosting on 64bit so we get more than 3GB of heap, however, during peak 
times transactions begin to timeout and the application fails to respond.  It 
recovers for a short time but the threshold for recurrence is much lower.

I'm sure there are ways we can tweak our existing middleware to increase 
performance and decrease the footprint but this seems to be the most acute 
issue we have right now.  

Can anyone share experiences or suggestions on this topic or is it the cost of 
using XHTML?

Thanks

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - Re: Configuring queue in jboss-web.xml

2007-11-14 Thread sudarshanacharya
Do you have any working examples on that? I still am not able to figure this 
out.

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

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


[jboss-user] [JBoss Messaging] - JBoss Server freeze with error [org.jboss.remoting.transport

2007-11-14 Thread mpr_prabhu
We are running JBoss 4.2 with JBoss Messaging 1.3 

Our JMS components consist of 
-- JMS Topic that recieves large number of messges from a Data pump client.
-- An MDB listens to this Topic 
-- Queue that recieves sort of heartbeat messages
-- An MDB that listens to heartbeat messages and responds.

We had a strang problem today where the MDBs we have stopped recieveing any 
messages and also clients unable to make connection to the Queue & Topic.
Only error we see in the error log is that 
[org.jboss.remoting.transport.bisocket.BisocketClientInvoker] Unable to send 
ping: shutting down PingTimerTask
 that occurs many times.

We did restarted the server and the problem disappeared. We had been running 
the server for 2 weeks prior to this problem.
We are bit clueless on why this error occurred. Any ideas

Thanks

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

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4104788
___
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 outer/inner join problem

2007-11-14 Thread sztank
Hello,
I trying to use Criteria to build some conditional query and I could not manage 
to set it up well.

The query is:

  | Criteria crit = session.createCriteria(Contract.class);
  |   crit.setFetchMode("product", FetchMode.JOIN);
  |   crit.createAlias("status", "stat");
  |   crit.createAlias("client", "cli");
  |   crit.createAlias("product", "prod");
  |   
  |   for(int i=0; i < searchArray.length ; i++) {
  |   crit.add( Restrictions.disjunction()
  |   .add( Restrictions.ilike("comment", searchArray, 
MatchMode.ANYWHERE))
  |   .add( Restrictions.ilike("clientContractId", searchArray, 
MatchMode.ANYWHERE))
  |   .add( Restrictions.ilike("cli.name", searchArray, 
MatchMode.ANYWHERE))
  |   
  |   );  
  |   }
  | 
  | crit.addOrder( Order.asc("contractId"));
  |   crit.addOrder( Order.asc("contractItem"));
  |   
  |   contracts = crit.list();
  | 

product is defined in the Contract entity as follows:

  | @ManyToOne
  |@JoinColumn(name="product")
  |public Product getProduct()
  |{
  |   return product;
  |}
  | 

and it can be a null value. 

The Sql is as follows:

  | select
  | this_.contract as contract132_3_,
  | this_.client as client132_3_,
  | this_.client_contract_id as client2_132_3_,
  | this_.comment as comment132_3_,
  | this_.contract_id as contract4_132_3_,
  | this_.contract_item as contract5_132_3_,
  | this_.date_client as date6_132_3_,
  | this_.date_closed as date7_132_3_,
  | this_.date_irga as date8_132_3_,
  | this_.date_opened as date9_132_3_,
  | this_.price as price132_3_,
  | this_.product as product132_3_,
  | this_.quantity as quantity132_3_,
  | this_.quantity_closed as quantity12_132_3_,
  | this_.source_contract as source13_132_3_,
  | this_.status as status132_3_,
  | this_.status_assembly as status14_132_3_,
  | this_.status_pcb as status15_132_3_,
  | this_.status_print as status16_132_3_,
  | this_.wz as wz132_3_,
  | cli2_.client as client134_0_,
  | cli2_.name as name134_0_,
  | prod3_.product as product143_1_,
  | prod3_.casual_name as casual2_143_1_,
  | prod3_.client as client143_1_,
  | prod3_.close_date as close3_143_1_,
  | prod3_.code_name as code4_143_1_,
  | prod3_.comments as comments143_1_,
  | prod3_.creator as creator143_1_,
  | prod3_.group_name as group7_143_1_,
  | prod3_.start_date as start8_143_1_,
  | stat1_.status as status133_2_,
  | stat1_.name as name133_2_ 
  | from
  | public.contract this_ 
  | inner join
  | public.client cli2_ 
  | on this_.client=cli2_.client 
  | inner join
  | public.product prod3_ 
  | on this_.product=prod3_.product 
  | inner join
  | public.contractstatus stat1_ 
  | on this_.status=stat1_.status 
  | where
  | (
  | this_.comment ilike ? 
  | or this_.client_contract_id ilike ? 
  | or cli2_.name ilike ?
  | ) 
  | order by
  | this_.contract_id asc,
  | this_.contract_item asc
  | 

 Now the select don't get the results with product set to null value.I can't 
manage to set Criteria to use outer join with product. I tried to put the 
setFetchMode("product", FetchMode.JOIN); in few places but it doesn't change 
anything in result sql. If someone could give me some light on it i would be 
gratefully!

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

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


[jboss-user] [JBoss Seam] - Make SLSB and SFSB hot deployable for RAD

2007-11-14 Thread supernovasoftware.com
Please vote for the following issue.

http://jira.jboss.org/jira/browse/EJBTHREE-1096

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

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


[jboss-user] [EJB 3.0] - Make SLSB and SFSB hot deployable for RAD

2007-11-14 Thread supernovasoftware.com
Please vote for the following issue.

http://jira.jboss.org/jira/browse/EJBTHREE-1096

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

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


[jboss-user] [JBoss Seam] - Seam stuck in recursive loop

2007-11-14 Thread pete76
Hi,
 
I am trying to get a stripped down (no JPA / EJB3, just view to actions) Seam 2 
booking app
working inside Tomcat 6.0.14 and am getting the error below (seam get stucks in 
a loop):
 
Is what I am trying to do feasible (ie. strip out the JPA/EJB3 stuff)?
 
Can anyone recommend where the problem might reside?
 
My components.xml looks like this:
 
 

  
 

 

 

 
 
 
14-Nov-2007 17:58:07 org.jboss.seam.contexts.Contexts startup
INFO: starting up: org.jboss.seam.security.identity
14-Nov-2007 17:58:07 org.jboss.seam.contexts.Contexts startup
INFO: starting up: org.jboss.seam.web.session
14-Nov-2007 17:58:07 org.jboss.seam.jsf.SeamPhaseListener beforePhase
SEVERE: uncaught exception
java.lang.RuntimeException: exception invoking: getTransaction
 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:135)
 at org.jboss.seam.Component.callComponentMethod(Component.java:2074)
 at org.jboss.seam.Component.unwrap(Component.java:2100)
 at org.jboss.seam.Component.getInstance(Component.java:1879)
 at org.jboss.seam.Component.getInstance(Component.java:1844)
 at org.jboss.seam.Component.getInstance(Component.java:1821)
 at org.jboss.seam.Component.getInstance(Component.java:1816)
 at org.jboss.seam.transaction.Transaction.instance(Transaction.java:36)
 at 
org.jboss.seam.jsf.SeamPhaseListener.handleTransactionsBeforePhase(SeamPhaseListener.java:301)
 at 
org.jboss.seam.jsf.SeamPhaseListener.beforeServletPhase(SeamPhaseListener.java:142)
 at org.jboss.seam.jsf.SeamPhaseListener.beforePhase(SeamPhaseListener.java:116)
 at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:222)
 at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
 at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:83)
 at org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:85)
 at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 at org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:64)
 at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 at org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:44)
 at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:69)
 at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
 at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
 at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
 at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
 at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
 at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
 at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
 at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
 at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
 at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
 at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
 at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
 at java.lang.Thread.run(Thread.java:595)
Caused by: javax.naming.NamingException: Cannot create resource instance
 at 
org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:113)
 at javax.naming.spi.NamingManager.getObjectInstance(NamingManager.java:304)
 at org.apache.naming.NamingContext.lookup(NamingContext.java:793)
 at org.apache.naming.NamingContext.lookup(NamingContext.java:140)
 at org.apache.naming.NamingContext.lookup(NamingContext.java:781)
 at org.apache.naming.NamingContext.lookup(NamingContext.java:153)
 at org.apache.naming.SelectorContext.lookup(SelectorContext.java:137)
 at javax.naming.InitialContext.lookup(InitialContext.java:351)
 at 
org.jboss.seam.transaction.Transaction.getUserTransaction(Transaction.java:79)
 at 
org.jboss.seam.transaction.Transaction.createUTTransaction(Transaction.java:71)
 at org.jboss.seam.transaction.Transaction.getTransaction(Transaction.java:44)
 at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
 at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
 at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
 at java.lang.reflect.Method.invoke(Method.java:585)
 at org.jboss.seam.util.Reflections.invoke(Reflections.java:21)
 at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:125)
 ... 35 more
14-Nov-2007 17:58:07 org.jboss.seam.jsf.SeamPhaseListene

[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-14 Thread earniedyke
Can you give us a timeframe please? Days? Weeks? I have a boss who is very 
anxious for me to get a Seam app deployed into a 2.6.2 portal.

Thanks for the hard work!

Earnie!

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.2 + JBoss AS 4.2.2.GA = true?

2007-11-14 Thread viggo.navarsete
Any special reasons why Richfaces doesn't work with the current version of the 
JBoss Portal (2.6.2)?

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

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


[jboss-user] [JBoss Seam] - Re: No phase id bound to current thread exception

2007-11-14 Thread tresspicher
Just FYI, these threads seem to pertain to a similar problem but I can't see a 
definitive solution in any of them.  Has anyone resolved this??

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=119757&postdays=0&postorder=asc&start=0

http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100621#4100621

There may be others that I was not able to find.

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

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


[jboss-user] [JBoss Seam] - Re: BookingListAction SFSB and Serializable interface

2007-11-14 Thread asookazian
also, how does this booking project (specifically this SFSB) avoid 
SerializationExceptions if the Log object is not marked as "transient"?



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

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


[jboss-user] [JBossWS] - Re: how to dynamically change URL where client is connecting

2007-11-14 Thread [EMAIL PROTECTED]
If you only need to use different endpoint (with different addresses) and the 
services publish the same wsdl contract, just use this:


  | 
((BindingProvider)myPort).getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY,
 endpoint);
  | 

where "endpoint" is your runtime selected endpoint address.

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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-14 Thread earniedyke
I too am interested in the portlet example that is referenced in the reference 
guide.

Earnie!

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

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


[jboss-user] [JBoss Seam] - Re: JBoss Tools candidate release

2007-11-14 Thread [EMAIL PROTECTED]
http://in.relation.to/Bloggers/JBossTools2ReleaseCandidate

Nice work Max :)

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

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


[jboss-user] [JBoss Seam] - JBoss Tools candidate release

2007-11-14 Thread [EMAIL PROTECTED]
Thought you might be interested in 
http://in.relation.to/Bloggers/JBossTools2ReleaseCandidate



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

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


[jboss-user] [JBoss Seam] - Re: Target Unreachable with two entity instances?

2007-11-14 Thread whafrog
"[EMAIL PROTECTED]" wrote : No, you can have instances of the same entity type 
in the context at the same time. I don't see where you outject/make available 
searchLender.

I had added the @Out annotation but got the same result so I removed it.  I 
just tried again to confirm.  Is there something else I should be doing?


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

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


[jboss-user] [JBoss Seam] - Re: Seam 2.0.0.GA is out

2007-11-14 Thread [EMAIL PROTECTED]
We should have news on the portlet example soon.

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

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


[jboss-user] [JBossWS] - Re: Information about deployed service

2007-11-14 Thread [EMAIL PROTECTED]
No, it does not exist afaik. But could you please add some more details about 
what you would expect exactly to have? This could be interesting from a 
productivity point of view... (see the sticky productivity thread in this 
forum) and be implemented in future.
Thank you

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

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


[jboss-user] [Messaging, JMS & JBossMQ] - MDB Not instantiated? Not seeing onMessage (stdout messages)

2007-11-14 Thread srkpriv
Hi 

I am debugging my JBOSS JMS application.

I have a single class with following messages. I have just provided the 
skeleton of the classes to give an idea;

public JMSMessageDrivenBean extends MDB, MessageListener {

ejbCreate() {
 system.out.println("created") ;
}

   onMessage(Object msg) {
  System.out.println("Inside onmessage") ;
   }

}

public class JMSMessenger {
  pulic void sendMessage(String text) {
// init the connection factory etc.
sender.send(text) ;
  }

  public List getMessages() {
   receiver.receive(timeout) ;
   //
  }
}

ejb-jar.xml and jboss.xml both are deployed under (like this, example)

app.ear
webapp.war
 +WEB-INF/
  + classes/
  + META-INF/ejb-jar.xml
   /jboss.xml


When I run the application. One of my jsp calls JMSMessenger.getMessages() 
which returns a list of messages from queue receiver.

To send messges from my thread application, I call the same 
JMSMessenger.sendMessage("some message") ;

I see that the messages are send/received. But I dont see onMessage being 
executed even once. I dont see the ejbCreate being executed as well.  The 
system.out.pritln messages I put in my MDB is not printed at all. 
There are no log files and when I pring System.out from my app it goes to 
server.log.

I am using jboss3.2.x version.  

Can anyone please tell me why my MDB methods are not called? Is something wrong 
with this application.

Any help will be greatly appreciated?

Thanks.

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

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


[jboss-user] [JBoss Seam] - BookingListAction SFSB and Serializable interface

2007-11-14 Thread asookazian

@Stateful
  | @Scope(SESSION)
  | @Name("bookingList")
  | @Restrict("#{identity.loggedIn}")
  | @TransactionAttribute(REQUIRES_NEW)
  | public class BookingListAction implements BookingList, Serializable

According to JSR 220:

"The session bean class is not required to implement the SessionBean interface 
or the Serializable interface. Interceptor classes for the bean are likewise 
not required to implement the Serializable interface."
pg. 68

So why does the BookingListAction SFSB implement the Serializable interface?  
What effect does it have to do that (or not)?

Also, the JSR states:

“Declaring the session bean’s fields as transient is, in general, 
discouraged”
Pg. 65 – JSR 220

What's the reason?

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

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

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


[jboss-user] [JBoss Seam] - Re: Reading HTML from database

2007-11-14 Thread arussel
added:

http://wiki.jboss.org/wiki/Wiki.jsp?page=SeamProblemsFAQ

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

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


[jboss-user] [JBossWS] - Re: JAX-RPC Web Services - Class is not a servlet error - Ho

2007-11-14 Thread [EMAIL PROTECTED]
Did you already read this 
http://jbws.dyndns.org/mediawiki/index.php?title=JAX-RPC_User_Guide#JSR-109_POJO_Endpoint
 ?

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

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


[jboss-user] [JBossWS] - Re: WebService with Basic Security Profile

2007-11-14 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBWS-1907
Thank you

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

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


[jboss-user] [JBoss Portal] - JBoss Portal and LDAP roles

2007-11-14 Thread jl7791
Hello,

I am using JBoss Portal 2.6.2-GA with OpenLDAP for authentication.  I've got 
everything working correctly, but I have a question about the roles.  My 
customer wants to use a role of "Portal Admin" instead of the "Admin" role.  
How do I go about configuring the portal to specify that this "Portal Admin" 
role is the same thing as the "Admin" role (ability to create users, etc.)?  I 
want to do something very similar with users in that their role may be called 
something like "Portal User" instead of "User".

Thanks in advance,
Jeremiah

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() throws Exception from FieldInstantiator

2007-11-14 Thread kukeltje
Without wanting to sound rude, the original class posted was a *full* 
classdefinition and so the Tool variable *cannot* be declared somewhere else. 
jBPM uses reflection to set variables if the action  contains a xml. Your 
example might demonstrate the *same* problem. The code invoked by the action 
might work, the action itself might not. Please provide a unittest (with 
embedded processdefinition and a *minimal* but crashing actionhandler that 
demonstrates this problem. Then I'm willing to investigate further.

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

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


[jboss-user] [JBoss Seam] - Re: Error deploying jpa example from Seam 2 GA

2007-11-14 Thread seamdev
http://jira.jboss.com/jira/browse/JBSEAM-2247

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

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


[jboss-user] [JBoss Seam] - s:link propagation

2007-11-14 Thread trickyvail
When you use a s:link tag the tag propagates long-running conversations by 
default. You can change it's behavior with the use of the propagation attribute:
anonymous wrote : propagation - determines the conversation propagation style: 
begin, join, nest, none or end.
Shouldn't there also be a propagation attribute value for the default behavior? 
Something like propagation="propagate". 

>From what I can understand the jsf tag libs and ejb3 annotations are 
>structured in this manner. If you don't specify (or annotate) an attribute (or 
>field / method) the defaults take precedence. However you have the option of 
>being literal and specifying the attribute or annotation - including literally 
>specifying the default.

If you take a look at this previous post 
http://www.jboss.com/index.html?module=bb&op=viewtopic&t=118268 I think you 
might get an idea why this could be useful. Currently I have to create 
duplicate s:link tags to get around this limitation.

Thanks for you insight and comments.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - second level cache

2007-11-14 Thread loic
Hi All,

I'm using EJB3 on jboss4.0.5.GA connected on MSSQLServer using jtds.

Everything's going well instead a problem on cache.

Here is the test i'm doing :

I have a sample entity :

@Entity
  | @Table(name="FileToSend")
  | public class FileToSend 

And i'm using it in a stateful session bean where I use a fonction to test cache

  | @Stateful
  | public class FileToSendBean implements RemoteFileToSend 
  | 



public void findAll() {
  | // TODO Auto-generated method stub
  | for(int i=0;i<6;i++){
  | em.createQuery("SELECT c FROM 
FileToSend c").getResultList();
  | }
  | }


I am calling it threw a fonction in a servlet :


ctx = new InitialContext();  
  | fileToSendService= (RemoteFileToSend) ctx.lookup("FileToSendBean/remote");
  | 
  |  for(int i=0;i<6;i++){  
  | fileToSendService.findAll();
  | }



Each call to the findAll fonction is well done and i get the results each time.

But The matter that i have is that the request is processed each time on SQL 
Server.

I think if i'm not crazy that launching several times the same query doesn't 
need to get the information in SQL server but in the cache, isn't it?

So I think I'm missing something... please help!!


Here is the log i got when starting my ejb ... all seems well to me.. and 
second level cache is enable :

2007-11-14 19:23:27,437 INFO  [org.jboss.ejb3.JmxKernelAbstraction] installing 
MBean: persistence.units:jar=ejbsupplier.jar,unitName=edieyessupplier with 
dependencies:
2007-11-14 19:23:27,437 INFO  [org.jboss.ejb3.JmxKernelAbstraction] 
jboss.jca:name=TestDS,service=DataSourceBinding
2007-11-14 19:23:27,453 INFO  [org.hibernate.ejb.Ejb3Configuration] Processing 
PersistenceUnitInfo [
name: edieyessupplier
...]
2007-11-14 19:23:27,453 INFO  [org.hibernate.ejb.Ejb3Configuration] found EJB3 
Entity bean: com.edieyes.supplier.ejb3.entities.FileToSend
2007-11-14 19:23:27,468 WARN  [org.hibernate.ejb.Ejb3Configuration] Persistence 
provider caller does not implements the EJB3 spec correctly. 
PersistenceUnitInfo.getNewTempClassLoader() is null.
2007-11-14 19:23:27,468 INFO  [org.hibernate.cfg.Configuration] Reading 
mappings from resource: META-INF/orm.xml
2007-11-14 19:23:27,531 INFO  [org.hibernate.ejb.Ejb3Configuration] 
[PersistenceUnit: edieyessupplier] META-INF/orm.xml found
2007-11-14 19:23:27,546 INFO  [org.hibernate.cfg.AnnotationBinder] Binding 
entity from annotated class: com.edieyes.supplier.ejb3.entities.FileToSend
2007-11-14 19:23:27,546 INFO  [org.hibernate.cfg.annotations.EntityBinder] Bind 
entity com.edieyes.supplier.ejb3.entities.FileToSend on table FileToSend
2007-11-14 19:23:27,562 INFO  
[org.hibernate.connection.ConnectionProviderFactory] Initializing connection 
provider: org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider
2007-11-14 19:23:27,578 INFO  
[org.hibernate.ejb.connection.InjectedDataSourceConnectionProvider] Using 
provided datasource
2007-11-14 19:23:27,578 INFO  [org.hibernate.cfg.SettingsFactory] RDBMS: 
Microsoft SQL Server, version: 08.00.0194
2007-11-14 19:23:27,578 INFO  [org.hibernate.cfg.SettingsFactory] JDBC driver: 
jTDS Type 4 JDBC Driver for MS SQL Server and Sybase, version: 1.2.2
2007-11-14 19:23:27,578 INFO  [org.hibernate.dialect.Dialect] Using dialect: 
org.hibernate.dialect.SQLServerDialect
2007-11-14 19:23:27,578 INFO  
[org.hibernate.transaction.TransactionFactoryFactory] Transaction strategy: 
org.hibernate.ejb.transaction.JoinableCMTTransactionFactory
2007-11-14 19:23:27,578 INFO  
[org.hibernate.transaction.TransactionManagerLookupFactory] instantiating 
TransactionManagerLookup: 
org.hibernate.transaction.JBossTransactionManagerLookup
2007-11-14 19:23:27,578 INFO  
[org.hibernate.transaction.TransactionManagerLookupFactory] instantiated 
TransactionManagerLookup
2007-11-14 19:23:27,578 INFO  [org.hibernate.cfg.SettingsFactory] Automatic 
flush during beforeCompletion(): disabled
2007-11-14 19:23:27,578 INFO  [org.hibernate.cfg.SettingsFactory] Automatic 
session close at end of transaction: disabled
2007-11-14 19:23:27,593 INFO  [org.hibernate.cfg.SettingsFactory] Scrollable 
result sets: enabled
2007-11-14 19:23:27,593 INFO  [org.hibernate.cfg.SettingsFactory] JDBC3 
getGeneratedKeys(): enabled
2007-11-14 19:23:27,593 INFO  [org.hibernate.cfg.SettingsFactory] Connection 
release mode: auto
2007-11-14 19:23:27,593 INFO  [org.hibernate.cfg.SettingsFactory] Default batch 
fetch size: 1
2007-11-14 19:23:27,593 INFO  [org.hibernate.cfg.SettingsFactory] Generate SQL 
with comments: disabled
2007-11-14 19:23:27,593 INFO  [org.hibernate.cfg.SettingsFactory] Order SQL 
updates by primary key: disabled
2007-11-14 19:23:27,593 INFO  [org.hibernate.cfg.SettingsFactory] Query 
translator: org.hibernate.hql.ast.ASTQueryTranslatorFactory
2007-11-14 19:23:27,593 INFO  [org.hibernate.hql.ast.ASTQue

[jboss-user] [JBoss Seam] - Seam 2.0 Compatiblity - MyFaces, Tomahawk, Trinidad, Ajax4js

2007-11-14 Thread billevans
Does anyone know if there is an accurate listing of the VERSIONS of:   
 
  |  MyFaces
  |  MyFaces-Tomahawk
  |  Apache Trinidad
  |  ajax4jsf
  |  a4j-trinidad
  | 
  | 
  | ... that are COMPATIBLE with SEAM 2.0??
  | 
  | Much appreciate any help on this!

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

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


[jboss-user] [JBoss Seam] - Can I use seam to fix my url redirect problem that JSF is ca

2007-11-14 Thread TheKurgan
Right now I have written a JSF application that makes use of a bunch of 
treenode components on a jsp page.  When I click on one of the tree node 
components then it will execute the treeNode action and display results in a 
results.jsp file via page navigation.

This resulting page has a url in the address bar similar to this:

https://acilf002.alltel.com:8100/EISWebTest/faces/FunctionalityCheck.jsp?form1:tree1:treeNode7:treeNode21:treeNode21_link_submittedLink=form1:tree1:treeNode7:treeNode21:treeNode21_link


This is where my problem is.  I can't copy/paste that URL into a new window and 
get the results(no action fired).  The start page actually is what is rendered. 
  I have a monitoring tool that I HAVE to use that can post URL's and determine 
success/failure based upon the http response.  Obviously since that URL that I 
posted redirects to the start page then this whole application is about to be 
trashed.  


Can Seam solve my problem here and if so could you provide a brief description 
on how to accomplish this?  I have watched several tutorials on Seam today and 
read some docs, but I am still a little unclear if/how Seam will solve my 
problem. 

TIA,
Brian

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

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


[jboss-user] [JBossWS] - Re: is it possible to mix Xfire and Jboss ProviderImpls

2007-11-14 Thread [EMAIL PROTECTED]
You can get a new instance of org.jboss.ws.core.jaxws.spi.ProviderImpl, since 
specification required it to have a public constructor which takes no arguments.

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

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


[jboss-user] [Tomcat, HTTPD, Servlets & JSP] - Null Pointer in JSP compile

2007-11-14 Thread nodari
Hi,

I have a web application deployed in JBoss 4.2.1 GA and when I try to access 
the JSP pages I get the following error:

Exception

org.apache.jasper.JasperException: Unable to compile class for JSP
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:574)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

Root cause

java.lang.NullPointerException
java.io.Writer.write(Writer.java:126)
java.io.PrintWriter.newLine(PrintWriter.java:408)
java.io.PrintWriter.println(PrintWriter.java:559)
java.io.PrintWriter.println(PrintWriter.java:670)
org.apache.jasper.compiler.ServletWriter.printil(ServletWriter.java:130)
org.apache.jasper.compiler.Generator.genPreamblePackage(Generator.java:454)
org.apache.jasper.compiler.Generator.generatePreamble(Generator.java:557)
org.apache.jasper.compiler.Generator.generate(Generator.java:3371)
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:210)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)

Someone can help me with this ?

Thanks in advance,

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

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


[jboss-user] [JBoss Messaging] - Re: Distributed queue, HA-JMS/singleton basic questions

2007-11-14 Thread kapucin
Great.

Much appreciated.

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

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


[jboss-user] [JBoss Tools (users)] - JBossTools 2.0.0.CR1 released

2007-11-14 Thread [EMAIL PROTECTED]
We're happy to announce JBossTools 2.0.0.CR1! We will be uploading the update 
site in a day or so as we try to work with an issue related to our new 
dependency on XulRunner. The next step is GA! Here are the relevant links:

New and noteworthy:
http://docs.jboss.org/tools/whatsnew/index.html

ALL Win32 Plugins:
http://downloads.sourceforge.net/jboss/JBossTools-2.0.0.CR1-ALL-win32.zip

ALL Linux Plugins:
http://downloads.sourceforge.net/jboss/JBossTools-2.0.0.CR1-ALL-linux-gtk.zip

ALL Mac OSX Plugins:
http://downloads.sourceforge.net/jboss/JBossTools-2.0.0.CR1-ALL-macosx-carbon.zip

Sourceforge release area:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=242269&release_id=554174

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

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


[jboss-user] [JBoss Getting Started Documentation] - Why can not access JBOSS web app?

2007-11-14 Thread Kentzhou
Download and install JBOSS 4.2.2 GA on windows 2003.

The start the server with default. 
Then I can assess the web app at http://localhost:8080/

but I can not access the web app at http://myserver:8080/ from another computer.

The network works fine. For example I can access IIS with http://myserver:8080/.

How to figure out the reason and fix this issue?

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

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


[jboss-user] [JBossWS] - Re: how to publish my own wsdl

2007-11-14 Thread [EMAIL PROTECTED]
Use the wsdlLocation attribute of @WebService, pointing to a local copy of the 
wsdl you would like to publish.

Here is an example:

@WebService(
  |name = "Echo",
  |targetNamespace = "http://tempuri.org/";,
  |wsdlLocation = "/WEB-INF/wsdl/service.wsdl",
  |endpointInterface = "org.jboss.test.ws.interop.nov2007.wsaSoap12.Echo",
  |portName = "CustomBinding_Echo1"
  | )

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

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


[jboss-user] [JBoss Seam] - Re: Different AJAX behaviour in Firefox and IE

2007-11-14 Thread [EMAIL PROTECTED]
The onclick method is executed before the action. This is normal for HTML (do 
the onclick, submit the form). I guess IE is just slower to update the parent 
window

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

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


[jboss-user] [JBoss Seam] - No phase id bound to current thread exception

2007-11-14 Thread tresspicher
Hi all,

I am a newcomer to JEE and SEAM, so bear with me.  I have searched the forums 
and have not been able to find a solution that resolves this issue for me.  I 
am using SEAM 2.0.0 BETA 1 + Facelets + RichFaces 3.2.1. I had been using 
ajax4jsf but replaced it with RichFaces and that's when I started getting the 
problem.  If anything obvious jumps out at you, please let me know:

The exception occurs when I navigate to a different page. Stack trace:

  | 11:29:09,879 ERROR [ResourceLifecycle] Exception in PhaseListener, phase 
:RESTORE_VIEW 1 : afterPhase
  | java.lang.IllegalStateException: No phase id bound to current thread (make 
sure you do not have two SeamPhaseListener instances installed)
  | at 
org.jboss.seam.contexts.PageContext.getPhaseId(PageContext.java:153)
  | at 
org.jboss.seam.contexts.PageContext.isRenderResponsePhase(PageContext.java:165)
  | at 
org.jboss.seam.contexts.PageContext.getCurrentReadableMap(PageContext.java:76)
  | at org.jboss.seam.contexts.PageContext.get(PageContext.java:66)
  | at 
org.jboss.seam.contexts.Contexts.lookupInStatefulContexts(Contexts.java:160)
  | at org.jboss.seam.Component.getInstance(Component.java:1577)
  | at org.jboss.seam.Component.getInstance(Component.java:1572)
  | at 
org.jboss.seam.jsf.SeamELResolver.getValue(SeamELResolver.java:49)
  | at 
javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | at 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | at 
com.sun.faces.el.VariableResolverImpl.resolveVariable(VariableResolverImpl.java:72)
  | at 
org.ajax4jsf.context.AjaxContext.getCurrentInstance(AjaxContext.java:101)
  | at 
org.ajax4jsf.event.AjaxPhaseListener.afterPhase(AjaxPhaseListener.java:75)
  | at 
org.ajax4jsf.resource.ResourceLifecycle.invokePhaseListener(ResourceLifecycle.java:203)
  | at 
org.ajax4jsf.resource.ResourceLifecycle.processPhaseListeners(ResourceLifecycle.java:184)
  | at 
org.ajax4jsf.resource.ResourceLifecycle.send(ResourceLifecycle.java:141)
  | at 
org.ajax4jsf.resource.InternetResourceService.load(InternetResourceService.java:336)
  | at org.ajax4jsf.cache.LRUMapCache.load(LRUMapCache.java:116)
  | at org.ajax4jsf.cache.LRUMapCache.get(LRUMapCache.java:87)
  | at 
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:198)
  | at 
org.ajax4jsf.resource.InternetResourceService.serviceResource(InternetResourceService.java:144)
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:265)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:63)
  | at 
org.jboss.seam.web.RedirectFilter.doFilter(RedirectFilter.java:45)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.ExceptionFilter.doFilter(ExceptionFilter.java:57)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at 
org.jboss.seam.web.MultipartFilter.doFilter(MultipartFilter.java:79)
  | at 
org.jboss.seam.web.SeamFilter$FilterChainImpl.doFilter(SeamFilter.java:49)
  | at org.jboss.seam.web.SeamFilter.doFilter(SeamFilter.java:84)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:104)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:156)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.Co

[jboss-user] [JBoss Messaging] - Re: Distributed queue, HA-JMS/singleton basic questions

2007-11-14 Thread timfox
"kapucin" wrote : 
  | Most of the time there will be at least one consumer on each queue. So 
there is no need to route/pull the messages until a consumer starts to choke or 
fails completely. Of course, if my assumptions on how it works are correct. 
  | 

That's right - JBM always tries the local consumer (if any) first - only if the 
local consumer is busy or non existent will it consider letting a remote 
consumer consume it.

So if you have at least one consumer on each node and they are never choking 
then no messages should get redistributed between nodes.

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

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


[jboss-user] [JBoss Seam] - Re: Difference between session timeout and not logged in yet

2007-11-14 Thread jacob.orshalick
You have to make some assumptions here, but you can basically notify the user 
when the server session has ended with the following in a PhaseListener:

@Observer("org.jboss.seam.beforePhase")
  | public void beforePhase(PhaseEvent event)
  | {
  |   if(event.getPhaseId() == PhaseId.RESTORE_VIEW)
  |   {
  | HttpServletRequest request =
  |   (HttpServletRequest) FacesContext.getCurrentInstance()
  | .getExternalContext().getRequest();
  | 
  | if(request.getRequestedSessionId() != null 
  |&& request.getSession().isNew())
  |Events.instance().raiseEvent("org.myOrg.sessionExpired");
  | ...

Based on general cookie settings this will raise the event when the user still 
has the browser window open, the http session expired, and the user tries to 
access the app.  If the user closes and reopens the browser to start the 
application, the event will not be raised.

This of course makes the assumption that cookies expire when the browser  
session is ended (which is generally the case).  Good luck.

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

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


[jboss-user] [EJB/JBoss] - SFSB and Serialization/Passivation problem with log4j

2007-11-14 Thread asookazian
I am having a SerializationException with a log4j instance in my SFSB in a Seam 
2.0 web app.  There are two SFSB's in this case (one is injected into the 
other).  I changed my code to use the 'transient' keyword as follows but the 
error is still occurring.  Please explain how to fix this.  

Also, how does Jboss 4.2.1.GA AS ejb container know when to serialize/passivate 
the SFSB's???

thx.


  | import org.jboss.seam.log.Log;
  | 
  | @Stateful
  | @Name("securityAuditAction")
  | public class SecurityAuditAction implements SecurityAuditLocal {
  | 
  | @Logger private transient Log log;

partial stack trace:

Caused by: org.jboss.serial.exception.SerializationException: Could not create 
instance of org.apache.log4j.Logger - org.apache.log4j.Logger
  | at 
org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:342)
  | at 
org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:239)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
  | at 
org.jboss.serial.persister.RegularObjectPersister.readSlotWithFields(RegularObjectPersister.java:353)
  | at 
org.jboss.serial.persister.RegularObjectPersister.defaultRead(RegularObjectPersister.java:273)
  | at 
org.jboss.serial.persister.RegularObjectPersister.readData(RegularObjectPersister.java:241)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.readObjectDescriptionFromStreaming(ObjectDescriptorFactory.java:412)
  | at 
org.jboss.serial.objectmetamodel.ObjectDescriptorFactory.objectFromDescription(ObjectDescriptorFactory.java:82)
  | at 
org.jboss.serial.objectmetamodel.DataContainer$DataContainerDirectInput.readObject(DataContainer.java:643)
  | at 
org.jboss.serial.persister.ObjectInputStreamProxy.readObjectOverride(ObjectInputStreamProxy.java:68)
  | at java.io.ObjectInputStream.readObject(Unknown Source)
  | at java.util.ArrayList.readObject(Unknown Source)
  | ... 123 more
  | Caused by: java.lang.InstantiationException: org.apache.log4j.Logger
  | at java.lang.Class.newInstance0(Unknown Source)
  | at java.lang.Class.newInstance(Unknown Source)
  | at 
org.jboss.serial.classmetamodel.ClassMetaData.newInstance(ClassMetaData.java:334)
  | ... 136 more


full stack trace:

10:23:04,033 INFO  [NoteAction] in prePassivate
  | 10:23:04,565 INFO  [SecurityAuditAction] in prePassivate
  | 10:24:29,864 WARN  [lifecycle] javax.el.ELException: 
/adminSecurityAudit.xhtml @48,91 value="#{noteAction.noteText}": Error reading 
'noteText' on type org.javassist.tmp.java.lang.Object_$$_javassist_1
  | javax.faces.FacesException: javax.el.ELException: /adminSecurityAudit.xhtml 
@48,91 value="#{noteAction.noteText}": Error reading 'noteText' on type 
org.javassist.tmp.java.lang.Object_$$_javassist_1
  | at javax.faces.component.UIOutput.getValue(UIOutput.java:176)
  | at javax.faces.component.UIInput.validate(UIInput.java:872)
  | at javax.faces.component.UIInput.executeValidate(UIInput.java:1065)
  | at javax.faces.component.UIInput.processValidators(UIInput.java:666)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033)
  | at 
org.ajax4jsf.component.UIAjaxForm.processValidators(UIAjaxForm.java:80)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033)
  | at javax.faces.component.UIInput.processValidators(UIInput.java:664)
  | at 
javax.faces.component.UIComponentBase.processValidators(UIComponentBase.java:1033)
  | at 
javax.faces.component.UIViewRoot.processValidators(UIViewRoot.java:662)
  | at org.ajax4jsf.component.AjaxViewRoot.access$201(AjaxViewRoot.java:57)
  | at 
org.ajax4jsf.component.AjaxViewRoot$3.invokeRoot(AjaxViewRoot.java:319)
  | at 
org.ajax4jsf.context.JsfOneOneInvoker.invokeOnRegionOrRoot(JsfOneOneInvoker.java:56)
  | at 
org.ajax4jsf.context.AjaxContextImpl.invokeOnRegionOrRoot(AjaxContextImpl.java:173)
  | at 
org.ajax4jsf.component.AjaxViewRoot.processValidators(AjaxViewRoot.java:333)
  | at 
com.sun.faces.lifecycle.ProcessValidationsPhase.execute(ProcessValidationsPhase.java:100)
  | at com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at jcifs.http.NtlmHttpF

[jboss-user] [JBoss Seam] - Re: Paging and Listing

2007-11-14 Thread [EMAIL PROTECTED]
Yes, you are correct. Please file a jira issue.

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

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


[jboss-user] [JBoss Seam] - Re: unexplode problems

2007-11-14 Thread [EMAIL PROTECTED]
I remember from using windows that you could delete some of these jars but not 
others. give it a go, let us know which ones you can't delete.

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

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


[jboss-user] [JBoss Seam] - Re: EntityQuery Restrictions/SG problems with Integer Field

2007-11-14 Thread [EMAIL PROTECTED]
You have an error in your code

Caused by: java.lang.UnsupportedOperationException
  | at java.util.AbstractList.add(AbstractList.java:151)
  | at java.util.AbstractList.add(AbstractList.java:89)
  | at 
gov.hhs.fda.ocio.fdaaa.entity.SectionList.getRestrictions(SectionList.java:37)

http://www.docjar.com/docs/api/java/util/Arrays.html#asList(java.lang.Object[])

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

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


[jboss-user] [JBoss Seam] - Re: unexplode problems

2007-11-14 Thread koenhandekyn
i can delete everything but the jars in 

\lib
.war\WEB-INF\lib

==> seems to be the classloader that 'locks' the jars ? 

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

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


[jboss-user] [JBoss Seam] - Different AJAX behaviour in Firefox and IE

2007-11-14 Thread DamonChong
Hi,

I tried to use a pop-up window to add a new record into the database and at the 
same time refresh the parent window's drop down list (reflecting the added new 
record). However, although the refresh works in IE (correct sequence, add to 
database then refresh browser drop down list) but the same is not happening in 
Firefox. The sequence is reverse in Firefox (refresh drop down list then add to 
database). This is the code that insert new record and refreshes.



  | 
  | 

The javascript function for refreshing is below:


  | function updateDropDownList(){  
  | try{
  | 
window.opener.document.forms[0].elements[window.opener.document.forms[0].elements.length-2].onclick();
  
  |  } catch (e) {
  | alert("An exception occurred in the script. Error name: " + 
e.name
  | + ". Error message: " + e.message); 
  | }   
  | self.close();   
  | } 
  | 

I don't know if I am using the right approach or if there's a better way. Any 
advice appreciated. Thanks a plenty!

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

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


[jboss-user] [JBoss jBPM] - Re: Token.signal() throws Exception from FieldInstantiator

2007-11-14 Thread mr.lou
Hello,

SidKennedy is my project partner and I have the same problem with this 
exception in a slightly different context. 

@kukeltje
To answer your Question, yes, the Tool declaration is somewhere else.

I think the point is, that there is the XML action configuration that cannot be 
parsed in some kind of way. But I don't understand why. As I remember from the 
user guide, there is no xml schema or something like that that has to be 
validated when inserting the configuration inside of an action declaration in 
the jPDL.

Here is my action declaration:


  | 
  | 
  | 
  | 
  |  
  |  
  |  
  | 
  | 
  | 
  | 
  | 
  | 

And here is my Exception:

18:31:31,265 ERROR [FieldInstantiator] couldn't parse set field 'resourceHooks' 
to value '
  | '
  | java.lang.NullPointerException
  | at 
org.jbpm.instantiation.FieldInstantiator.setPropertyValue(FieldInstantiator.java:70)
  | at 
org.jbpm.instantiation.FieldInstantiator.instantiate(FieldInstantiator.java:61)
  | at 
org.jbpm.instantiation.Delegation.instantiate(Delegation.java:163)
  | at 
org.jbpm.instantiation.Delegation.getInstance(Delegation.java:125)
  | at 
org.jbpm.instantiation.Delegation$$FastClassByCGLIB$$6bae1598.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.instantiation.Delegation$$EnhancerByCGLIB$$c441f5db.getInstance()
  | at org.jbpm.graph.def.Action.execute(Action.java:122)
  | at 
org.jbpm.graph.def.GraphElement.executeAction(GraphElement.java:235)
  | at 
org.jbpm.graph.def.GraphElement.executeActions(GraphElement.java:212)
  | at 
org.jbpm.graph.def.GraphElement.fireAndPropagateEvent(GraphElement.java:182)
  | at org.jbpm.graph.def.GraphElement.fireEvent(GraphElement.java:166)
  | at org.jbpm.taskmgmt.exe.TaskInstance.create(TaskInstance.java:169)
  | at 
org.jbpm.taskmgmt.exe.TaskMgmtInstance.createTaskInstance(TaskMgmtInstance.java:144)
  | at org.jbpm.graph.node.TaskNode.execute(TaskNode.java:167)
  | at org.jbpm.graph.def.Node.enter(Node.java:316)
  | at 
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$af21a19d.enter()
  | at org.jbpm.graph.def.Transition.take(Transition.java:119)
  | at org.jbpm.graph.def.Node.leave(Node.java:383)
  | at org.jbpm.graph.node.StartState.leave(StartState.java:70)
  | at 
org.jbpm.graph.def.Node$$FastClassByCGLIB$$d187eeda.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.graph.def.Node$$EnhancerByCGLIB$$af21a19d.leave()
  | at org.jbpm.graph.exe.Token.signal(Token.java:174)
  | at org.jbpm.graph.exe.Token.signal(Token.java:145)
  | at 
org.jbpm.graph.exe.Token$$FastClassByCGLIB$$74df1c6e.invoke()
  | at net.sf.cglib.proxy.MethodProxy.invoke(MethodProxy.java:149)
  | at 
org.hibernate.proxy.CGLIBLazyInitializer.intercept(CGLIBLazyInitializer.java:161)
  | at 
org.jbpm.graph.exe.Token$$EnhancerByCGLIB$$5bb04831.signal()
  | at 
org.jbpm.graph.exe.ProcessInstance.signal(ProcessInstance.java:241)

My Declaration of the invoked ResourceAssignmentHandler is very long, so I 
would like to avoid posting it here. :)
But as I said, I think, that's not the point. And as SidKennedy wrote, the code 
that is invoked by the action does work very well. There is only THIS 
Exception, that crashes my web application.

Do you have any idea what the problem might be?
Thanks in advance.
lou

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

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


[jboss-user] [JBoss Seam] - Re: Modular pluggable components application

2007-11-14 Thread [EMAIL PROTECTED]
What are you actually asking? ;)

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

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


[jboss-user] [JBoss Seam] - Re: unexplode problems

2007-11-14 Thread [EMAIL PROTECTED]
The way to check the culprit is to see what doesn't get removed properly. I 
can't check as I don't have access to windows.

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

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


[jboss-user] [JBoss Tools (users)] - Re: How to debug an old J2EE Project created with an older J

2007-11-14 Thread [EMAIL PROTECTED]
1) Report this in jira (with details on how we recrate that projects that is 
failing to be added)

2) Run packaging is the old JBoss IDE - not part of JBoss Tools

3-7) Use the *Archiving* features; not old Packaging JBoss IDE (it sounds like 
you have a mix of jboss tools and jboss ide)

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

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


[jboss-user] [JBoss Seam] - Re: Target Unreachable with two entity instances?

2007-11-14 Thread [EMAIL PROTECTED]
No, you can have instances of the same entity type in the context at the same 
time. I don't see where you outject/make available searchLender.

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

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


[jboss-user] [JBoss Seam] - Re: POJO webservices on tomcat

2007-11-14 Thread [EMAIL PROTECTED]
Yes a wiki page or blog article with this on what be great, thanks Matthew!

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

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


  1   2   3   >