[jboss-user] [JBoss Seam] - Re: Urgent - Error in deploying the NumberGuess Example

2007-06-13 Thread trekker880
hi petemuir,

i did the same steps but i am getting the Same error. The initial lines of the 
error are as-


11:26:37,602 INFO  [Lifecycle] starting up: org.jboss.seam.security.identity
11:26:38,868 ERROR [[jsp]] Servlet.service() for servlet jsp threw exception
java.lang.NullPointerException

From here onwards it start giving the error.

What is your email id? If you could help me i shall send you the project zip 
file.It will be a great help as i am not able to debug the problem.


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

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


[jboss-user] [JBoss Portal] - HELP: SSO not work for my Cluster (without domain name)

2007-06-13 Thread gaopeng_victor
I've config a JBoss Portal (V2.6 RC2) Cluster on JBossApp 4.0.5, and it start 
up sucessfully. But the SSO don't work, the following is my test step:

1. Following the jboss documentation to establish a two nodes cluster (two 
machines with ip: 10.1.16.140/10.1.16.64, each for one node).

2. Login the portal from http://10.1.16.140/portal/ . Login as admin/admin.

3. Access http://10.1.16.64/portal/,  but find it want me login again. why the 
SSO not login for me on this node?

I add the attribute: Valve 
className=org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn 
cookieDomain=10.1.16/ in tomcat server.xml, but it don't work.

Is my test way wrong? 

It is impossible to apply a domain name like abc.ddd.com for my test. So how to 
test the cluster SSO in this LAN environment? 

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

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


[jboss-user] [JBossWS] - Re: soap:address location using HOSTNAME rather than IP addr

2007-06-13 Thread jghallen
Imagine you have a multihomed host.

How do you make one JBoss instance listen to both 10.10.10.1 and 127.0.0.1 and 
a second JBoss instance listen to 10.10.10.2?





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

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


[jboss-user] [JNDI/Naming/Network] - Bindind a POJO to JBOSS

2007-06-13 Thread freethan
Hi,

I am trying to bind a POJO to the Jboss context.
I tried the piece of code for binding
Object obj = new PaymentAccountsASC();  
  | try {
  | 
  | Hashtable prop = new Hashtable();   
  | 
prop.put(Context.INITIAL_CONTEXT_FACTORY,org.jnp.interfaces.NamingContextFactory);
  | prop.put(Context.PROVIDER_URL,  
jnp://localhost:1099);
  | InitialContext ctx = new InitialContext(prop);  

  | 
  | ctx.bind(getPaymentAccounts, obj);
  | 
  | } catch (NamingException e) {
  | // TODO Auto-generated catch block
  | e.printStackTrace();
  | }
The above code binds the object to the context. 
When I try looking up from the same project in eclipse, I am able to look it up.
But when I try to look up from a different project in eclipse, it gives me the 
following exception (stack trace)anonymous wrote : 
org.jnp.interfaces.NamingContext.lookup(NamingContext.java:652)org.jnp.interfaces.NamingContext.lookup(NamingContext.java:507)javax.naming.InitialContext.lookup(Unknown
 
Source)com.xyz.acc.JNDIPOJOHandler.getPOJOConnector(POJOHandler.java:67)com.infosys.accord.business.handler.execute.BLFJNDIPOJOHandler.executeTestCases(BLFJNDIPOJOHandler.java:105)sun.reflect.NativeMethodAccessorImpl.invoke0(Native
 Method)sun.reflect.NativeMethodAccessorImpl.invoke(Unknown 
Source)sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown 
Source)java.lang.reflect.Method.invoke(Unknown 
Source)com.infosys.accord.business.handler.generate.BLFExecuteTestCaseUtil$1.run(BLFExecuteTestCaseUtil.java:311)

I haven't deployed the class file in Jboss, what should I do going further?
I appreciate your help.

Freethan.

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

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


[jboss-user] [JBoss Portal] - Re: Jboss Portal Install Problems

2007-06-13 Thread guru_fordy
Just installed jdk-1_5_0_12 but got the same error :(

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

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


[jboss-user] [JBoss jBPM] - Re: [JBPM 3.2] Timer-Repeat does not work

2007-06-13 Thread syngolis
Got it! After I checked out the new CVS-Sources the error disappeared.

I think this point goes to mputz. Thank you for the hint.



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

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


[jboss-user] [JBoss Seam] - Re: IllegalArgumentException in EmbeddedEJB3

2007-06-13 Thread KnisterPeter
Same for me here. I'm using maven2 to build my application, but I took the seam 
jar files from 1.2.1.GA.

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

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


[jboss-user] [JBoss Seam] - Re: How to flush a persistence context when the conversation

2007-06-13 Thread tnfink
I choose to persist them in the database :-)

My problem is that 
 - I only want one access/flush to the database once at the end of the 
conversation
 - and I do not want to loose any changes the user did to the entity in the 
conversation scope because of a conversation timeout.

I already adapted the session and SFSB-life timeouts and made them longer than 
the conversation timeout. 

(Somehow off-topic:)
Hm, can SFSB-passivation be a problem?
A SFSB references an entity of the persistence context and after deserializing 
a passivated SFSB, the entity would not be connected to the persistence context 
anymore.
This would mean that I should always take care that a SFSB with entities is 
never pasivated?


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

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


[jboss-user] [JBoss Portal] - Re: HELP: SSO not work for my Cluster (without domain name)

2007-06-13 Thread mputz
You don't need the cookieDomain, as long as you don't have different host 
names. Have you seen this wiki on SSO? 
http://wiki.jboss.org/wiki/Wiki.jsp?page=SingleSignOn

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

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


[jboss-user] [JBoss jBPM] - Re: Combo Box in Form

2007-06-13 Thread Riket44
Do we really need to create an hbm file ??!
Usually I have my forms.xml and each forms near : form.product.xhtml, 
form.example.xhtml ...

And for answer to jorges38, no I'm not able to do that for the moment... :(
Always looking for an example, I hope some people have one !

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: I'm able to access web.xml through URL! [jboss 4.0.2]

2007-06-13 Thread gkatz
for anybody reading this post.
I think i found the answer. there is an issue with 4.0.2
please see:
http://jira.jboss.com/jira/browse/ASPATCH-72

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

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


[jboss-user] [JBoss Portal] - Re: Jboss Portal Install Problems

2007-06-13 Thread mputz
There are still some outstanding issues regarding JBoss Portal on JBoss AS 4.2, 
such as:
http://jira.jboss.org/jira/browse/JBPORTAL-1309 or
http://jira.jboss.org/jira/browse/JBPAPP-59

You said you want to evaluate JBoss Portal. In that case I'd suggest to follow 
the easy way to get started by downloading JBoss Portal 2.6.CR2 with embedded 
AS, as you might have done already, according to your first post. Try to start 
it up, it should work out-of-the-box with the embedded Hypersonic db. If this 
works you can go ahead and
- install it on VPC and
- switch the db to use something else then hsqldb



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

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


[jboss-user] [JBoss jBPM] - Re: [JBPM 3.2] Timer-Repeat does not work

2007-06-13 Thread mputz
Hey, good to hear it works for you - and that JIRA fixes actually solve the 
issues they address ;-)

Have fun!

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

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


[jboss-user] [JBoss Seam] - Just Seam - no ORM

2007-06-13 Thread urosmil
Hi,

I want to add Seam to our application which has UI implemented in JSF-RI-1.1 + 
Facelets. 

 - Plan is to use Seam capabilities only in UI in 1st step and in 2nd to 
connect it with ORM layer (implemented throw Hibernate 3).
 - We deploy app on Tomcat 5.5.

I have created test project fot tomcat without JBoss Microcontainer libs. Test 
app works without problems but I get error:

Jun 13, 2007 9:51:15 AM org.jboss.seam.servlet.SeamExceptionFilter doFilter
SEVERE: could not roll back transaction
javax.naming.NamingException: Cannot create resource instance
at 
org.apache.naming.factory.TransactionFactory.getObjectInstance(TransactionFactory.java:112)
at javax.naming.spi.NamingManager.getObjectInstance(Unknown Source)
at org.apache.naming.NamingContext.lookup(NamingContext.java:792)
at org.apache.naming.NamingContext.lookup(NamingContext.java:139)
at org.apache.naming.NamingContext.lookup(NamingContext.java:780)
at org.apache.naming.NamingContext.lookup(NamingContext.java:152)
at org.apache.naming.SelectorContext.lookup(SelectorContext.java:136)
at javax.naming.InitialContext.lookup(Unknown Source)
at 
org.jboss.seam.util.Transactions.getUserTransaction(Transactions.java:153)
at 
org.jboss.seam.util.Transactions.isUTTransactionActiveOrMarkedRollback(Transactions.java:122)
at 
org.jboss.seam.util.Transactions.isTransactionActiveOrMarkedRollback(Transactions.java:50)
at 
org.jboss.seam.servlet.SeamExceptionFilter.rollbackTransactionIfNecessary(SeamExceptionFilter.java:92)
at 
org.jboss.seam.servlet.SeamExceptionFilter.doFilter(SeamExceptionFilter.java:52)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.jboss.seam.servlet.SeamRedirectFilter.doFilter(SeamRedirectFilter.java:32)
at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:202)
at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173)
at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213)
at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178)
at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126)
at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105)
at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107)
at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148)
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:869)
at 
org.apache.coyote.http11.Http11BaseProtocol$Http11ConnectionHandler.processConnection(Http11BaseProtocol.java:664)
at 
org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527)
at 
org.apache.tomcat.util.net.LeaderFollowerWorkerThread.runIt(LeaderFollowerWorkerThread.java:80)
at 
org.apache.tomcat.util.threads.ThreadPool$ControlRunnable.run(ThreadPool.java:684)
at java.lang.Thread.run(Unknown Source).

When org.jboss.seam.servlet.SeamExceptionFilter filter mapping from web.xml 
is removed there is no Exception.

All config files for data persistence are removed and other config files are 
set as required (parameters for data persistence removed from component.xml, 
... ).
What is actually happening? Are Exceptions still there but just not showed in 
console? 
Is it possible to achieve what I want?

IMPORTANT: even with Exceptions app works all time as expected!

Thanks,
Uros.

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

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


[jboss-user] [JBoss Seam] - Re: Urgent - Error in deploying the NumberGuess Example

2007-06-13 Thread petemuir
You don't need to send me anything - the code for this is all available in Seam 
1.2.1.GA.  I guess you could write out here the steps you took and I'll try to 
see where you deviating from the getting started guide.

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

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


[jboss-user] [JBoss Seam] - Re: in an MDB how to get an application scoped component ?

2007-06-13 Thread petemuir
There is a problem with the version of EJB3 in JBoss 4.0.5 - if your MDB isn't 
JMS then Seam interceptors don't get applied.  This is fixed in JBoss 4.2.0 - 
or you can manually start the Seam lifecycle.  Anyway, the way it *should* work 
is to @Name your MDB, then you get full Seam capabilities (but, no LRCs)

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

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


[jboss-user] [JBoss Seam] - Update example: how to do ?

2007-06-13 Thread miloslav.vlach
How to create edit action ? I am using the page parameter and call method load 
(in edit.page.xml file). But when push Update button the viewArtcile doesn't 
contain all of the loaded attributes. The Account is not set  for example

How to create update action ?

Thanks Mila



  | @Name(articleEditAction)
  | public class ArticleEditAction {
  | 
  | @In
  | Session ses;
  | 
  | @In
  | ViewArticle viewArticle;
  | 
  | @Logger
  | Log log;
  | 
  | @In(create = true)
  | Configuration configuration;
  | 
  | @End
  | public String save() {
  | log.info(saving the article: #0, viewArticle);
  | 
  | // article doesn't contains all attributes loaded in method load()
  | ses.update(viewArticle);
  | 
  | 
  | return success;
  | }
  | 
  | @Begin
  | public String load(Long id) {
  | viewArticle = (ViewArticle) ses.load(ViewArticle.class, id);
  | log.info(loaded article for edit: #0, viewArticle);
  | return null;
  | }
  | 
  | @Remove
  | @Destroy
  | public void remove() {
  | log.info(deleting object articleEditAction);
  | }
  | 

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

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


[jboss-user] [JBoss Seam] - Re: s:link and expression language #{}

2007-06-13 Thread tkalactomo
Hy Gavin..many thanks on that...but there is one problem,First i checked out 
jboss-seam 1_3_0_A1 from :pserver:[EMAIL PROTECTED]:/cvsroot/jboss cvs, and 
after that build it by runing the ant build.xml...Deploying the 
myaplication.ear causes the next exception to appear:



10:25:13,072 ERROR [[/kadrovska]] Exception sending context initialized event 
to listener instance of class org.jboss.seam.servlet.SeamListener
java.lang.RuntimeException: exception invoking: startup
at org.jboss.seam.util.Reflections.invokeAndWrap(Reflections.java:134)
at org.jboss.seam.Component.callComponentMethod(Component.java:1904)
at org.jboss.seam.Component.callCreateMethod(Component.java:1827)
at org.jboss.seam.Component.newInstance(Component.java:1816)
at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:212)
at org.jboss.seam.contexts.Lifecycle.startup(Lifecycle.java:189)
at 
org.jboss.seam.contexts.Lifecycle.endInitialization(Lifecycle.java:162)
at org.jboss.seam.init.Initialization.init(Initialization.java:500)
at 
org.jboss.seam.servlet.SeamListener.contextInitialized(SeamListener.java:34)
at 
org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:3763)
at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4211)
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:585)
at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.apache.catalina.core.StandardContext.init(StandardContext.java:5052)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.apache.commons.modeler.BaseModelMBean.invoke(BaseModelMBean.java:503)
at 
org.jboss.mx.server.RawDynamicInvoker.invoke(RawDynamicInvoker.java:164)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeployInternal(TomcatDeployer.java:297)
at 
org.jboss.web.tomcat.tc5.TomcatDeployer.performDeploy(TomcatDeployer.java:103)
at org.jboss.web.AbstractWebDeployer.start(AbstractWebDeployer.java:371)
at org.jboss.web.WebModule.startModule(WebModule.java:83)
at org.jboss.web.WebModule.startService(WebModule.java:61)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalStart(ServiceMBeanSupport.java:289)
at 
org.jboss.system.ServiceMBeanSupport.jbossInternalLifecycle(ServiceMBeanSupport.java:245)
at sun.reflect.GeneratedMethodAccessor2.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at 
org.jboss.system.ServiceController$ServiceProxy.invoke(ServiceController.java:978)
at $Proxy0.start(Unknown Source)
at org.jboss.system.ServiceController.start(ServiceController.java:417)
at sun.reflect.GeneratedMethodAccessor9.invoke(Unknown Source)
at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)
at 
org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:155)
at org.jboss.mx.server.Invocation.dispatch(Invocation.java:94)
at org.jboss.mx.server.Invocation.invoke(Invocation.java:86)
at 
org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:264)
at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:659)
at org.jboss.mx.util.MBeanProxyExt.invoke(MBeanProxyExt.java:210)
   

[jboss-user] [JBoss Seam] - Re: Update example: how to do ?

2007-06-13 Thread petemuir
Post the JSF and and the .page.xml as well.

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

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


[jboss-user] [JBossCache] - JDBCCacheLoader does not delete item from table

2007-06-13 Thread gmeroz
i use the following code to delete objects from the cache (configured with 
JDBCCacheLoader):


  | public void clear(String category) {
  | for (Object key : cache.findAll(category).keySet()){
  | cache.detach(((Fqn)key).toString());
  | }
  | cache.getCache().getRoot().removeChild(Fqn.fromString(category));
  | }
  | 

but i see that some of the records are not deleted from the DB.
If i would like to add the undeleted objects latter.

How do i solve this?

i use version JBossCache-all-2.0.0.CR1

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

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


[jboss-user] [JBossWS] - Re: level of J2EE required by JBossWS

2007-06-13 Thread sonicfab
Can I get an answer on this please ?

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

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


[jboss-user] [JBoss jBPM] - Re: Combo Box in Form

2007-06-13 Thread kukeltje
whether you need a hbm file is dependant on whether you want the object that 
provides the list to be persistent or not (in jbpm or outside in your 
domainmodel). For JSF it is not needed. If you want the outcome to be stored in 
a single jbpm variable (e.g. a string) there is already persistency. 

think simple...

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

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


[jboss-user] [Messaging, JMS JBossMQ] - DLQ and caught exception in onMessage

2007-06-13 Thread torsty
Hi, I have the following problem: I have a MDB (EJB 3.0 on AS: 4.0.5.GA) that 
consumes messages from a queue. In the onMessage method I am calling the method 
of a Stateless Session Bean (injected with SEAM-mechanism). 


  | public void onMessage( Message msg )
  | {
  |  
  |   // extract userId and type from msg - both string variable
  |   try{
  | this.requestManager.insert(userId, type) // stateless session bean 
injected with seam
  |   catch ( JMSException e ){
  | e.printStackTrace();
  |   }
  | }
  | 

The insert Method is as follows:

  | public void insertPemRequest( String userId, String type )
  | {
  |  Person person = new Person( userId, type );
  |  try
  |  {
  |   this.entityManager.persist( examRequest );
  |   this.entityManager.flush();
  | 
  |   // create business process in jbpm
  |  }
  |  catch ( ConstraintViolationException exp ){
  | // do nothing, i.e do not kick off new business process
  |  }
  |  catch ( EntityExistsException entityEx ) {
  | // do nothing, i.e do not kick off new business process
  |  }
  | }
  | 

The Person Bean has unique constraint on userId and type: i.e:

  | @Entity
  | @Table( uniqueConstraints= [EMAIL PROTECTED](columnNames={userId, 
type}) } )
  | public class Person {
  | //  getter/setter for id, name, type
  | }
  | 

By catching the EntityExistsException I want to avoid that a business process 
is kicked off twice for the same person and type. As there might be many 
messages send and consumed in parallel all requesting to kick off a business 
process for one person  and type combination - this is a good way to control 
that a business process is kicked off once and once only for a name/type 
combination.

Now my problem: The message is still redelivered and send to the DLQ, altough I 
caught the EntityExistsException. All other exceptions should lead to sending 
the message to DLQ. But not the EntityExistsException as this is a tolerated 
exception. I know from FAQ

anonymous wrote : 
  |  What type of Exceptions should an MDB throw?
  |  The quick answer is none. 
  | 

But I am catching the exception. right? Or is this correct behaviour and I have 
to change my design that no EntityExistsException is thrown? 

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

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


[jboss-user] Virtual Hosts, MBeans and JNDI

2007-06-13 Thread Steve Vangasse




Hi,
I'm trying to launch multiple virtual hosts dynamically from a database
in JBoss. When my application starts, a method is called that iterates
through a database table of hosts. For each row of the table I would
like to launch a new host using JBoss's MBeans support. 

I'm pretty sure that this should be fairly straight forward as I've
done something similar with stand alone Tomcat by passing the
"createStandardHost" and "createStandardContext" operations to the MBeanServer.

My problem is that I need to initialize each host/context with a JNDI
variable so that it knows which host it is (in order to access the
correct database etc.). But each context's JNDI IntialContext becomes
read only once the context is created. Does anyone know of a way of
getting a JNDI variable into each context using MBeans? Or is there a
better way of solving this problem?

Thanks,

Steve





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


[jboss-user] [EJB 3.0] - Re: RC9 mappedBy and InheritanceType.JOINED problem

2007-06-13 Thread NigelWhite
I hit this bug as soon as I upgraded to 3.2


  | Caused by: java.lang.NullPointerException
  | at 
org.hibernate.hql.ast.tree.FromClause.findIntendedAliasedFromElementBasedOnCrazyJPARequirements(FromClause.java:120)
  | at 
org.hibernate.hql.ast.tree.FromClause.containsClassAlias(FromClause.java:247)
  | at 
org.hibernate.hql.ast.tree.FromClause.isFromElementAlias(FromClause.java:135)
  | at 
org.hibernate.hql.ast.HqlSqlWalker.isNonQualifiedPropertyRef(HqlSqlWalker.java:467)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.addrExpr(HqlSqlBaseWalker.java:4382)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.expr(HqlSqlBaseWalker.java:1212)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.functionCall(HqlSqlBaseWalker.java:2299)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectExpr(HqlSqlBaseWalker.java:1963)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectExprList(HqlSqlBaseWalker.java:1825)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectClause(HqlSqlBaseWalker.java:1394)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.query(HqlSqlBaseWalker.java:553)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.selectStatement(HqlSqlBaseWalker.java:281)
  | at 
org.hibernate.hql.antlr.HqlSqlBaseWalker.statement(HqlSqlBaseWalker.java:229)
  | 

This query started failing with NPE:


  | select _this.name, _this.language.name,
  | cast (_this.dateOrder as integer)
  | from Country _this
  | left outer join _this.language
  | 

When I took out the cast, it worked, but that's not what I need.


  | select _this.name, _this.language.name,
  | _this.dateOrder
  | from Country _this
  | left outer join _this.language
  | 

But if I gave the joined association an alias, it worked again:


  | select _this.name, l.name,
  | cast (_this.dateOrder as integer)
  | from Country _this
  | left outer join _this.language l
  | 

It should be reproducible on your in-house test cases:


  | select _this.name, _this.mate.name,
  | cast(_this.weight as integer)
  | from cat _this
  | left outer join _this.mate
  | 

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

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


[jboss-user] [JBoss Seam] - Re: Update example: how to do ?

2007-06-13 Thread miloslav.vlach
I don't understand...


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

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


[jboss-user] [JBoss Seam] - Re: Update example: how to do ?

2007-06-13 Thread petemuir
Post [1] the JSF [2] page and the .page.xml [3]

[1] to place text on a Web site.

[2] http://en.wikipedia.org/wiki/JavaServer_Faces

[3] http://docs.jboss.com/seam/1.2.1.GA/reference/en/html/events.html#d0e3946

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

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


[jboss-user] [JBossWS] - JBossWS + VB .NET 1.x consumer

2007-06-13 Thread torbjornvatn
Has run into a problem with an external user of our JBossWS webservice. The 
external user is trying to use the WS from a VB .NET 1.x project.

Our response xml contains elements like this:
ns_cityPair:toDate xsi:nil=1/ - which leads to problems because .NET 1.x 
does not support null Dates.

We use this @SoapBinding settings:
style=Style.DOCUMENT,
use=Use.LITERAL,
parameterStyle=ParameterStyle.BARE)

Suggestions anyone?



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

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


[jboss-user] [Beginners Corner] - Problem getting https with JBOSS - EJBCA

2007-06-13 Thread WolfgangVogl
Hello, iam on Centos 5.0 and tried to get EJBCA running with JBOSS...
made the
ant bootstrap
and the
ant install
but if i run the jboss as it only starts the
11:52:39,897 INFO  [Http11BaseProtocol] Starting Coyote HTTP/1.1 on 
http-0.0.0.0-8080
But it should also start https on port 8443 and 8442 for ejbca...

Here's the run log:
Part 1: http://nopaste.info/2ea951ad84.html
Part 2: http://nopaste.info/7183569808.html (last 20 Lines)

I can access http://127.0.0.1:8080/ejbca but not https://127.0.0.1:8442 (and 
3)..

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

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


[jboss-user] [JBoss Seam] - Re: Just Seam - no ORM

2007-06-13 Thread fers
Try this Maven archetype 
http://software.softeu.cz/archetypes/seam-simple/

It creates project without ORM. You can see the configuration files. 

Hope it helps

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

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


[jboss-user] [JBoss Portal] - Re: HELP: SSO not work for my Cluster (without domain name)

2007-06-13 Thread gaopeng_victor
mputz wrote : You don't need the cookieDomain, as long as you don't have 
different host names. Have you seen this wiki on SSO? 
  | http://wiki.jboss.org/wiki/Wiki.jsp?page=SingleSignOn

Yes, I've seen that wiki. And I've followed that wiki to establish my cluster, 
except that I used two PCs instead of one. I've configed the 
org.jboss.web.tomcat.tc5.sso.ClusteredSingleSignOn, enabled the IE cookie. 
Everything is ok on startup, but when I login on 10.1.16.64, and then visit 
http://10.1.16.140/portal, it shows that I'm not login. 

So I try the cookieDomain attribute, but it also don't work. 

Is there anything wrong?

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

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


[jboss-user] [JBoss jBPM] - JBPM JSF Integrartion

2007-06-13 Thread ambika_devi
Hi

I am a new bie to work in JBPM

I am working in JBPM from past two months. There is a web 
application project been developed using JSF, Spring and Hibernate.
 
Iam trying to show the workflow of that Project. I have tried with the 
simple appication using JBPM to show the workflow it is working properly.
 
But know i am trying to call our own jsf pages when each and every task 
node is called.

Please suggest me is there any possibility to do in this way.. i have 
gone through lots and lots forums and documents.

Whenever i tried using to do with task node. Only default controller is working 
properly. Is it possible with custom controller to call the JSF Pages of my Web 
Application Project.

If that is the case how to go about.

I couldn't get anything. Kindly help and response my needful query.
 
Thanks in advance.

Ambika.

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

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


[jboss-user] [JBoss Seam] - Facelets 1.1.11 and s:decorate problem

2007-06-13 Thread mustaghattack
I just had a problem with facelets version 1.1.11 when using seam's decorate 
tag. The ui:insert/ doesn't insert the content of the decorate childs but the 
content of the last (?) ui:define. In my case the body definition. In result 
I have duplicate tags (and duplicate id errors).
I switched back to the seam's facelets version and everything work fine.


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

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


[jboss-user] [JBoss.NET] - Re: JBoss WS4EE : migration from JBoss 4.0.1 to JBoss 4.0.3

2007-06-13 Thread carla_paiva
Hi!
I have the same problem when I migrate from jboss-4.0.1 to jboss-4.0.3.

Can anyone give some help?

Thanks in advance.
Kind regards,

Carla



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

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


[jboss-user] [JBoss jBPM] - Cannot import the project jbpm.bpel to Eclipse

2007-06-13 Thread debra
I am trying to setup my JbpmBpelDesigner using this guide
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmBpelDesigner

But when I go to step 2, import Existing Projects into Workspace, I can not 
find the project jbpm.bpel in the project list, then I can not import anything 
to the workspace.
I am using eclipse-3.2.2, and update with BPEL Designer 0.2.0.
I download jbpm-bpel-1.1.Beta3 from here 
http://labs.jboss.com/jbossjbpm/downloads/bpel?action=awindowstate=maximized

I think something is missing in the jbpm-bpel-1.1.Beta3.zip, for example, the 
.project and .classpath file.
Anyone can help me ? Thanks.


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

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


[jboss-user] [JBoss Seam] - Re: Facelets 1.1.11 and s:decorate problem

2007-06-13 Thread petemuir
Yes, we recommend you use the versions of libraries we distribute with Seam, 
not random versions ;)

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: GC hell ?

2007-06-13 Thread vettori
I tried hat (jdk5) but it's hard to understand...

I have a lot of char[], String and Object[]. But i see the number of classes 
not their size! So I can't understand who's eating the memory.

As I suspected I have a limited number of mine classes.

Any other hint ?



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

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


[jboss-user] [JBoss Seam] - Seam PDF with 4.2.0 and no MyFaces (JSF RI)

2007-06-13 Thread pdhaigh
Hi,

Has anyone achieved a working example of Seam PDF on JBossAS 4.2.0, using the 
JSF RI?

It works fine on IE, but on Firefox I get:


This XML file does not appear to have any style information associated 
with it. The document tree is shown below.
  
?
  | html
  | ?
  | head
  | meta http-equiv=Refresh content=0; 
URL=seam-doc.seam?docId=1conversationId=1/
  | /head
  | body/
  | /html

Cutting and pasting the document path onto the browser does work - it's just 
the redirect page that is failing (on Firefox only).

The example application does this too, if you take MyFaces out. Is there a 
requirement for MyFaces for this?

cheers

phil

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

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


[jboss-user] [JBoss Seam] - Seam on tomcat functionality

2007-06-13 Thread Stateless Bean
Hi,
Actually i work on jboss, but i need to create app, on tomcat. Can I use Seam , 
Seam Realm + EJB 3.0 and Exadel Rich Faces (A4JSF) on tomcat with no problems?

I read that there are some probilems with Seam or EJB on tomcat, but i'm not 
sure?

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

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


[jboss-user] [JBoss Seam] - async timed events and mailing

2007-06-13 Thread smeaggie
Hello All,

I have a small problem with emailing from my application. If a user triggers an 
action in the web pages emailing works perfectly, however I also have a timed 
service running started on deployement, wich must run every day. I use a pojo 
controller wih basicly does this:

  | @Name(notifierController)
  | @Startup()
  | @Scope(ScopeType.APPLICATION)
  | public class NotifierController {
  | @In(create = true)
  | private Notifier notifier;
  | 
  | @Create()
  | public void start() {
  | Timer nTimer = notifier.check(0, 24*60*60*1000);
  | }
  | }
  | 
the Notifier object is a stateless session bean with the check() method in the 
interface:

  | @Local()
  | public interface Notifier {
  | @Asynchronous()
  | public Timer check(@Duration long d, @IntervalDuration long i);
  | }
  | 
From the bean implementation I try to send the email like this:

  | @Stateless()
  | @Name(notifier)
  | public class NotifierBean implements Notifier {
  | @In()
  | private Timer timer;
  | 
  | @In()
  | private Renderer renderer;
  | 
  | public Timer check(@Duration long d, @IntervalDuration long i) {
  | try {
  | this.renderer.render(/path/to/email.xhtml);
  | } catch (Exception e) {
  | e.printStackTrace();
  | }
  | 
  | return this.timer;
  | }
  | }
  | 
The email component is properly configured as it works from interface-triggered 
bean methods, when this executes I get th exception:
anonymous wrote : 
  | 12:50:15,337 ERROR [STDERR] java.lang.UnsupportedOperationException
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.mock.MockApplication.createComponent(MockApplication.java:154)
  | 12:50:15,337 ERROR [STDERR] at 
com.sun.facelets.tag.jsf.ComponentHandler.createComponent(ComponentHandler.java:243)
  | 12:50:15,337 ERROR [STDERR] at 
com.sun.facelets.tag.jsf.ComponentHandler.apply(ComponentHandler.java:139)
  | 12:50:15,337 ERROR [STDERR] at 
com.sun.facelets.compiler.NamespaceHandler.apply(NamespaceHandler.java:49)
  | 12:50:15,337 ERROR [STDERR] at 
com.sun.facelets.compiler.EncodingHandler.apply(EncodingHandler.java:25)
  | 12:50:15,337 ERROR [STDERR] at 
com.sun.facelets.impl.DefaultFacelet.apply(DefaultFacelet.java:95)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.renderFacelet(FaceletsRenderer.java:107)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.ui.facelet.FaceletsRenderer.render(FaceletsRenderer.java:56)
  | 12:50:15,337 ERROR [STDERR] at 
my.package.Notifier.check(NotifierBean.java:20)
  | 12:50:15,337 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | 12:50:15,337 ERROR [STDERR] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | 12:50:15,337 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 12:50:15,337 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.intercept.EJBInvocationContext.proceed(EJBInvocationContext.java:37)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:57)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.interceptors.BijectionInterceptor.aroundInvoke(BijectionInterceptor.java:47)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | 12:50:15,337 ERROR [STDERR] at 
org.jboss.seam.interceptors.BusinessProcessInterceptor.aroundInvoke(BusinessProcessInterceptor.java:51)
  | 12:50:15,338 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | 12:50:15,338 ERROR [STDERR] at 
org.jboss.seam.interceptors.MethodContextInterceptor.aroundInvoke(MethodContextInterceptor.java:27)
  | 12:50:15,338 ERROR [STDERR] at 
org.jboss.seam.intercept.SeamInvocationContext.proceed(SeamInvocationContext.java:69)
  | 12:50:15,338 ERROR [STDERR] at 
org.jboss.seam.intercept.RootInterceptor.invoke(RootInterceptor.java:103)
  | 12:50:15,338 ERROR [STDERR] at 
org.jboss.seam.intercept.SessionBeanInterceptor.aroundInvoke(SessionBeanInterceptor.java:53)
  | 12:50:15,338 ERROR [STDERR] at 
sun.reflect.GeneratedMethodAccessor333.invoke(Unknown Source)
  | 12:50:15,338 ERROR [STDERR] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | 12:50:15,338 ERROR [STDERR] at 
java.lang.reflect.Method.invoke(Method.java:585)
  | 

[jboss-user] [JBoss Seam] - Re: async timed events and mailing

2007-06-13 Thread petemuir
Which version of Seam do you use?

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

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


[jboss-user] [JBoss Seam] - Re: async timed events and mailing

2007-06-13 Thread smeaggie
Currently using Seam 1.2.0.PATCH1.

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

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


[jboss-user] [JBoss Seam] - Re: Seam PDF with 4.2.0 and no MyFaces (JSF RI)

2007-06-13 Thread petemuir
It's working fine in CVS (which targets AS 4.2/JSF 1.2) in the itext example 
for me.

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

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


[jboss-user] [JBoss Seam] - Re: async timed events and mailing

2007-06-13 Thread petemuir
I fixed a number of async bugs in 1.2.1.GA - please try with that.  Otherwise, 
give CVS head a spin (or 1.3ALPHA, due out today I think).  Thanks!

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

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


[jboss-user] [JBoss Seam] - Re: Update example: how to do ?

2007-06-13 Thread miloslav.vlach

  | h:form
  | fieldset
  | legendh:outputText 
value=#{messages['zakladni.informace']} //legend
  | table class=full
  | tr
  | td colspan=2
  | table class=full
  | tr
  | 
tdobrazek1/td
  | tdanotacni 
text/td
  | 
tdobrazek2/td
  | /tr
  | /table
  | /td
  | /tr
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['author.name']} /:/ui:define
  | h:inputText 
value=#{viewArticle.authorName} /
  | /s:decorate
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['article.title']} /:/ui:define
  | h:inputText 
value=#{viewArticle.title} /
  | /s:decorate
  | tr
  | thIkonky/th
  | tdnejake ikonkty/td
  | /tr
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['intro.text']} //ui:define
  | h:inputTextarea 
value=#{viewArticle.introText} /
  | /s:decorate
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['full.text']} //ui:define
  | h:inputTextarea 
value=#{viewArticle.fullText} /
  | /s:decorate   
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['article.keywords']} /:/ui:define
  | h:inputText 
value=#{viewArticle.keywords} /
  | /s:decorate
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['article.description']} /:/ui:define
  | h:inputText 
value=#{viewArticle.descriptions} /
  | /s:decorate
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['article.links']} /:/ui:define
  | h:inputTextarea 
value=#{viewArticle.links} /
  | /s:decorate
  | 
  | s:decorate template=/edit.xhtml
  | ui:define name=labelh:outputText 
value=#{messages['article.gallery']} /:/ui:define
  | h:selectOneMenu 
value=#{viewArticle.galleryId}
  | f:selectItems 
value=#{galleryComboAction.galleries} /
  | /h:selectOneMenu
  | /s:decorate   


  | tr
  | td colspan=2
  | h:commandButton 
value=Upravit action=#{articleEditAction.save} /
  | /td
  | /tr
  | /table
  | /fieldset 
  | /h:form
  | 


  | ?xml version=1.0 encoding=UTF-8?
  | !--  incident view - action execute before show --
  | page view-id=/admin/actions/article/articleedit.xhtml
  | param name=id value=#{article.id} /
  | action execute=#{articleEditAction.load(article.id)} /
  | /page
  | 



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

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


[jboss-user] [JBoss Seam] - ConversionException on HashMap during Remoting

2007-06-13 Thread fguerzoni
Seam 1.2.1.GA
jdk_5.0.12
win xp

Hi,
I get a ConversionException from MapWrapper when calling a @WebRemote method 
which accepts as parameter a HashMapString,String.

Caused by: org.jboss.seam.remoting.wrapper.ConversionException: Could not 
create value of type [java.util.LinkedHashMap
  | java.lang.String, java.lang.String]
  | at org.jboss.seam.remoting.wrapper.MapWrapper.convert 
(MapWrapper.java:101)
  | at 
org.jboss.seam.remoting.wrapper.BeanWrapper.unmarshal(BeanWrapper.java:119)
  | 
I verified that xml produced by client is correct.

Switching from HashMapString,String to MapString,String solves the problem.

Same problem happens when I send to server a seam object which has a Map 
property and this property is not declared as Map, but HashMap or LinkedHashMap.

I'm wondering if it's possible to use HashMap with remoting (I haven't found in 
docs anything against it) or it's simply a bug.

thanks
regards

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

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


[jboss-user] [JBossWS] - wsdl - meaningful URL issue

2007-06-13 Thread bentzys
My setup is JBoss 4.0.5.GA + java 1.6

TomcatDeployer changes the wsdl placeholder REPLACE_WITH_ACTUAL_URL at deploy 
time.
I tried to change it before the deploying and nothing helps. It's changed even 
the placeholder string is not there.

I read at JBoss at Work that you can change it via jboss.xml, but we don't use 
EJBs.

Also, I can't add proxyName at tomcat' server.xml because it cause other issues.

I'm using jax-ws and not jbossws.

Is there any way to force the wsdl to expose a meaningful URL?

thanks in advance

--bentzy

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

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


[jboss-user] [JBossWS] - Re: asynchronous webservice posible with jboss ?

2007-06-13 Thread zauberlehrling
I tried the following:

package ws
  | 
  | import javax.jws.Oneway;
  | import javax.jws.WebMethod;
  | import javax.jws.WebService;
  | import javax.ejb.Stateless;
  | 
  | 
  | @WebService
  | @Stateless
  | public class Hotel {
  | 
  | @Oneway
  | @WebMethod
  | public void
  | reserve(String input) {
  | System.out.println(input: +input);
  | for (int i =0; i  60; i++) {
  | try {
  | Thread.sleep(1000);
  | } catch (InterruptedException e) {
  | e.printStackTrace();
  | }
  | System.out.println(i: +i);
  | }
  | }
  | }
According to the JAX-WS User Guide it should be an asynchronous webservice 
because of the annotation @Oneway. But it's not.
I've tested this JBoss-4.2.0.GA and jboss-5.0.0.Beta2. The call to 
this webservice is blocking. Any help is appreciated!

Thanks in adavance for any help,

Frank
  

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

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


[jboss-user] [EJB 3.0] - @SecondaryTable

2007-06-13 Thread NigelWhite
I'm trying to pull in columns from two tables.

Most of the columns work fine - they are simple columns, and I can specify 
which table they come from.

The trouble is when one of the properties on the secondary table is an 
@ManyToOne association.

There's no way of informing the persistence provider (We're using Hibernate 3.2 
on JBoss 4.2.0.GA) through that annotation that this column is on the secondary 
table.

I get 


  | javax.servlet.ServletException: org.hibernate.AnnotationException: 
@Column(s) not allowed on a @ManyToOne property: 
com.aspicio.entity.base.ContactPerson.player
  | 

If I use


  | @column(table=ContactDetails)
  | @ManyToOne(fetch=FetchType.LAZY, optional = false)
  | private Player player;
  | 


Do I just have to map this as an unlinked key:


  | @column(table=ContactDetails, name=player_id)
  | private Long playerId;
  | 

and add a hand-coded getter which explicitly fetches the associated Player 
entity??

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

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


[jboss-user] [JBoss Seam] - Re: Urgent - Error in deploying the NumberGuess Example

2007-06-13 Thread trekker880
I Guess i am getting the exception due the wrong jsf-api jar selection. i used 
the same jar those were in the seam1.2GA lib folder but still getting the same 
exception and i am redirected to the debug page.

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

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


[jboss-user] [JBoss Seam] - Re: Just Seam - no ORM

2007-06-13 Thread urosmil
Hi fers,

I don't use maven (no experience with it). Is it possible to find created 
example somewhere?

Thanks,
Uros.

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

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


[jboss-user] [JBoss Seam] - Re: async timed events and mailing

2007-06-13 Thread smeaggie
moving to 1.2.1.GA solved the problem indeed! Thanks!

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

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


[jboss-user] [JBoss Tools (users)] - XDoclet error (NullPointerException)

2007-06-13 Thread padmanabh
I was trying to build a sample application using JBoss Eclipse IDE. I followed 
the steps mentioned in the IDE tutorial to configure XDoclet. But I can't seem 
to get it to generate the EJB descriptors and interfaces correctly.

I Keep getting this error on the console:

Buildfile: D:\Eclipse_Workspace1\HelloWorld\xdoclet-build.xml
  | N65540:
  | [ejbdoclet] (XDocletMain.start   47  ) Running 
deploymentdescriptor/
  | [ejbdoclet] java.lang.NullPointerException
  | [ejbdoclet] at java.util.StringTokenizer.init(Unknown Source)
  | [ejbdoclet] at 
xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:69)
  | [ejbdoclet] at 
xdoclet.tagshandler.PackageTagsHandler.getPackageNameFor(PackageTagsHandler.java:37)
  | [ejbdoclet] at 
xdoclet.tagshandler.PackageTagsHandler.packageNameAsPathFor(PackageTagsHandler.java:134)
  | [ejbdoclet] at 
xdoclet.GenerationManager.isGenerationNeeded(GenerationManager.java:345)
  | 

Can anyone tell me what am i missing in the XDoclet config file? I followed the 
steps in the tutorial exactly...:(

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

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


[jboss-user] [JBoss Seam] - Re: Embedded EJB/Jboss and Seam

2007-06-13 Thread wesleyhales
Any ideas? Maybe plans to convert instructions to Jboss Embedded from RC9? 
Anyone?

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

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


[jboss-user] [JBoss jBPM] - Stupid timezone problem...

2007-06-13 Thread cahimoped
Hi, 

I'm in GMT+1 on my system and the webconsole shows me GMT-1 hours : if I launch 
a process at 10, it displays that I start it at 8. When I schedule a task for 
the 15th of June the due date indicated in the console is the 14th of June 
10:00PM... etc.

If I change my system timezone to GMT-1 I got the same hours in my pc and in 
the console. If I change to GMT+4 I got 5 hours of difference... etc. So I 
think there is a timezone set to GMT-1 somewhere... but ... where?

I searched in jBoss but it seems like it uses system time... I searched in jBPM 
and the webconsole but didn't find any clue...

I feel kind of newbee now :/

Do you know how to change that?

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

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


[jboss-user] [Installation, Configuration Deployment] - hot deployment of ear updates

2007-06-13 Thread drepster
Hi,

I have a ear that contains wars, sars and jars (ejb jars and pojo jars).

I am developing in jboss ide and have written my own ant script to build and 
package all the various packages into a single ear for deployment. 

During development I would like to use the exploded ear/hot deployment 
capabilities of jboss. In particular I want to be able to update one of the 
jars or wars in the ear and have that particular service or pojo's reloaded 
without reloading the whole ear. 

Is this possible?

How do I do this? I have tried deploying the ear unpacked in a myEarName.ear 
directory with the packaged jars inside that directory but updating the jars 
doesn't reload them.  I have also tried deploying the ear unpacked into a 
myEarName.ear directory and the jars exploded in directories in there so i have:
myEarName.ear/myJarName.jar/com/**/*.class
myEarName.ear/myJarName.jar/META-INF/MANIFEST.MF

With all of these attempts i have been so far unseccessful in getting jboss to 
reload the resources. In fact I have tried touching the application.xml file of 
the root ear and that doesn't even relead the ear. So I am not sure whether I 
am missing something obvious.

jboss 4.0.5
DeploymentScanner:
  ScanEnabled=true
  
URLList=jboss.system:service=[file:/C:/Dev/jboss-4.0.5.GA/server/default/deploy/]
  = which is where my myEarName.ear is

BTW when I first copy the ear directory into the deploy directory it gets 
deployed ok. but I cannot get it to be redeployed after an update.


Any help would be appreciated. Thanks
Andre

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

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


[jboss-user] [JBoss Seam] - Re: Embedded EJB/Jboss and Seam

2007-06-13 Thread cavani
http://jira.jboss.org/jira/browse/JBSEAM-1405

I don't have any more information.

Thanks,

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

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


[jboss-user] [JBoss Seam] - Nested conversation - passing selection to parent conversati

2007-06-13 Thread thatrichard
I have a long-running conversation in which the user fills out a form.  Some 
fields are filled by selecting existing objects from the database.  The 
selection is done via a nested conversation.

The nested conversation starts when the user clicks on a select link.  The 
associated method is tagged @Begin(nested=true).  The nested conversation ends 
when the user clicks on a link for the object to be selected.  The associated 
select method is tagged with @End.

The problem is that since a nested conversation only has readonly access to the 
parent conversation's context, there doesn't seem to be anyway to get the 
selection back to the parent conversation.

I suspect that I am trying to use nested conversations in a way that is not 
intended.  

Any pointers would be very much appreciated.

Richard


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

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


[jboss-user] [Beginners Corner] - Baffling NoClassDefFoundError Error

2007-06-13 Thread gzoller
Hello,

I'm writing a Seam application using JBoss 4.0.5.GA and Seam 1.2.

I've hit a wall with a problem loading Apache POI.  I've configured my build so 
that the POI.jar is copied into my app's WAR/lib directory and confirmed that 
its copied there.

When I run my webapp and get to the part that accesses the POI classes I get 
something like this in my JBoss console:


  | Caused by: java.lang.NoClassDefFoundError: 
org/apache/poi/poifs/filesystem/POIFSFileSystem
  | at com.paragon.pgv.PhoneListBean.readPhoneFile(PhoneListBean.java:81)
  | at com.paragon.pgv.PhoneListBean.init(PhoneListBean.java:112)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
  | at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
  | at java.lang.reflect.Method.invoke(Unknown Source)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | ... 120 more
  | 

I've also tried putting the POI.jar into the root project EAR directory but 
that didn't help.

To ensure that POI.jar wasn't bad or incomplete I wrote a simple command-line 
app to exercise the same code my webapp would call using POI, and that worked 
fine, so I'm not inclined to suspect the jar.

On startup JBoss didn't seam to report anything out of the ordinary or alarming 
(no partial EAR loads, dependency complaints, exceptions, etc.)

The other weird thing is that I've added a couple of other unrelated JARs to  
my application for other purposes (into WAR/lib) with no issues.

Any ideas?

Thanks,
Greg

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

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


[jboss-user] [JBoss Seam] - Re: Just Seam - no ORM

2007-06-13 Thread urosmil
Hi fers,

I followed instruction on site and created project. It was actually very simple 
- just download maven and execute command - that's all.

Thanks,
Uros.

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

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


[jboss-user] [JBoss Seam] - web:character-encoding-filter

2007-06-13 Thread dd_la_frime
Hello,

I took a look to the web-1.2.xsd and did not find the element name 
character-encoding-filter ? Am I missing something ?
Maybe it will explain why I can't override the character encoding of the client 
and the fact that I can't get my well formed html params in GET action.

Cheers.

Christophe.

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

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


[jboss-user] [EJB 3.0] - Re: @EJB inside EJB Session

2007-06-13 Thread bruhn
Could it be that daosession.VerifJaguarHibernateEJB3DAO is an interface and you 
have not deployed the implementation of this interface as well inside this 
deployment unit?

Peter

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

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


[jboss-user] [JBoss jBPM] - jbpm using oracle DB probleme

2007-06-13 Thread lethrech
hi,
i m using jbpm 3.1.3 whith oracle9i DB, i have created my schema and configured 
my datasource but i have the following error when i start my jboss4.0.4 :
2007 06 13 - 12:00:41 ERROR ?.? [ORA-00923: Mot-clé FROM absent à l'emplacement 
prévu
  | ]]
  | 2007 06 13 - 12:00:41 ERROR ?.? [ORA-00923: Mot-clé FROM absent à 
l'emplacement prévu
  | ]
  | 2007 06 13 - 12:00:41 INFO  
org.apache.commons.logging.impl.Log4JLogger.error [2007 06 13 - 12:00:41 ERROR 
?.? [org.hibernate.exception.SQLGrammarException: could not execute query using 
iterate]]
  | 2007 06 13 - 12:00:41 ERROR ?.? 
[org.hibernate.exception.SQLGrammarException: could not execute query using 
iterate]
  | 2007 06 13 - 12:00:41 INFO  
org.apache.commons.logging.impl.Log4JLogger.info [2007 06 13 - 12:00:41 INFO  
?.? [runtime exception while executing timers]
  | org.jbpm.JbpmException: couldn't find timers from the database
  | at 
org.jbpm.db.SchedulerSession.findTimersByDueDate(SchedulerSession.java:99)
  | at 
org.jbpm.scheduler.impl.SchedulerThread.executeTimers(SchedulerThread.java:107)
  | at org.jbpm.scheduler.impl.SchedulerThread.run(SchedulerThread.java:71)
  | Caused by: org.hibernate.exception.SQLGrammarException: could not execute 
query using iterate
  | at 
org.hibernate.exception.SQLStateConverter.convert(SQLStateConverter.java:67)
  | at 
org.hibernate.exception.JDBCExceptionHelper.convert(JDBCExceptionHelper.java:43)
  | at org.hibernate.loader.hql.QueryLoader.iterate(QueryLoader.java:424)
  | at 
org.hibernate.hql.ast.QueryTranslatorImpl.iterate(QueryTranslatorImpl.java:380)
  | at 
org.hibernate.engine.query.HQLQueryPlan.performIterate(HQLQueryPlan.java:224)
  | at org.hibernate.impl.SessionImpl.iterate(SessionImpl.java:1192)
  | at org.hibernate.impl.QueryImpl.iterate(QueryImpl.java:46)
  | at 
org.jbpm.db.SchedulerSession.findTimersByDueDate(SchedulerSession.java:93)
  | ... 2 more
  | Caused by: java.sql.SQLException: ORA-00923: Mot-clé FROM absent à 
l'emplacement prévu

my data source is as follow:

  | datasources
  |local-tx-datasource
  |   jndi-namejbpmDS/jndi-name
  |   
connection-urljdbc:oracle:thin:@192.168.10.134:1521:DB1/connection-url
  |   driver-classoracle.jdbc.OracleDriver/driver-class
  |   user-namejbpmtest/user-name
  |   passwordjbpmtest/password
  |   min-pool-size5/min-pool-size
  |   max-pool-size20/max-pool-size
  |   idle-timeout-minutes0/idle-timeout-minutes
  |   prepared-statement-cache-size32/prepared-statement-cache-size
  |   metadata
  |  type-mappingOracle9i/type-mapping
  |   /metadata
  |/local-tx-datasource
  |
  | /datasources
  | 

can you help me
thank s a lot

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

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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread petemuir
It's there in 1.2.1.GA

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

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


[jboss-user] [Beginners Corner] - Re: Baffling NoClassDefFoundError Error

2007-06-13 Thread gzoller
Ahh!

Found the solution indirectly on another post.  Here it is for future readers 
with the same problem:

You need to add a  tag in your application.xml referencing the jar.  This jar 
needs to be in your ear directory not WAR/lib. 

I'm still baffled why this jar needs the special treatment and certain other 
jars can just be dropped into WAR/lib without issue.  Not one to question the 
wisdom of sages or what works--I just did it, but I am curious what constitutes 
the difference between some jars and others.

Greg

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

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


[jboss-user] [JBoss Seam] - Re: Nested conversation - passing selection to parent conver

2007-06-13 Thread petemuir
I don't understand why you are using a nested conversation... Show some code :)

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

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


[jboss-user] [Tomcat, HTTPD, Servlets JSP] - http://java.sun.com/jsf/html cannot be resolved

2007-06-13 Thread Hattifnat
Hi!

I'm using JBoss AS 4.2.0 and deploying a WAR file consisting of JSP and JSF 
pages. I use Apache MyFaces Tomahawk 1.1.6, which is in my WAR's WEB-INF/lib 
directory. I do not use MyFaces Core - i want to use the JBoss's bundled JSF 
libraries. The problem is: deployment of the WAR goes fine, the main index.jsp 
page works fine, but when I want to enter a JSF page, a following exception is 
thrown on the JBoss console and the page is blank.

org.apache.jasper.JasperException: The absolute uri: 
http://java.sun.com/jsf/html cannot be resolved in either web.xml or the jar 
files deployed with this application
  | at 
org.apache.jasper.compiler.DefaultErrorHandler.jspError(DefaultErrorHandler.java:51)
  | at 
org.apache.jasper.compiler.ErrorDispatcher.dispatch(ErrorDispatcher.java:409)
  | at 
org.apache.jasper.compiler.ErrorDispatcher.jspError(ErrorDispatcher.java:116)
  | at 
org.apache.jasper.compiler.TagLibraryInfoImpl.generateTLDLocation(TagLibraryInfoImpl.java:315)
  | at 
org.apache.jasper.compiler.TagLibraryInfoImpl.init(TagLibraryInfoImpl.java:148)
  | at 
org.apache.jasper.compiler.Parser.parseTaglibDirective(Parser.java:420)
  | at org.apache.jasper.compiler.Parser.parseDirective(Parser.java:476)
  | at org.apache.jasper.compiler.Parser.parseElements(Parser.java:1426)
  | at org.apache.jasper.compiler.Parser.parse(Parser.java:133)
  | at 
org.apache.jasper.compiler.ParserController.doParse(ParserController.java:216)
  | at 
org.apache.jasper.compiler.ParserController.parse(ParserController.java:103)
  | at 
org.apache.jasper.compiler.Compiler.generateJava(Compiler.java:167)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:306)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:286)
  | at org.apache.jasper.compiler.Compiler.compile(Compiler.java:273)
  | at 
org.apache.jasper.JspCompilationContext.compile(JspCompilationContext.java:566)
  | at 
org.apache.jasper.servlet.JspServletWrapper.service(JspServletWrapper.java:311)
  | at 
org.apache.jasper.servlet.JspServlet.serviceJspFile(JspServlet.java:320)
  | at org.apache.jasper.servlet.JspServlet.service(JspServlet.java:266)
  | at javax.servlet.http.HttpServlet.service(HttpServlet.java:803)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.ApplicationDispatcher.invoke(ApplicationDispatcher.java:687)
  | at 
org.apache.catalina.core.ApplicationDispatcher.processRequest(ApplicationDispatcher.java:469)
  | at 
org.apache.catalina.core.ApplicationDispatcher.doForward(ApplicationDispatcher.java:403)
  | at 
org.apache.catalina.core.ApplicationDispatcher.forward(ApplicationDispatcher.java:301)
  | at 
com.sun.faces.context.ExternalContextImpl.dispatch(ExternalContextImpl.java:408)
  | at 
com.sun.faces.application.ViewHandlerImpl.executePageToBuildView(ViewHandlerImpl.java:439)
  | at 
com.sun.faces.application.ViewHandlerImpl.renderView(ViewHandlerImpl.java:114)
  | at 
com.sun.faces.lifecycle.RenderResponsePhase.execute(RenderResponsePhase.java:106)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | at 
com.sun.faces.lifecycle.LifecycleImpl.render(LifecycleImpl.java:144)
  | at javax.faces.webapp.FacesServlet.service(FacesServlet.java:245)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.myfaces.webapp.filter.ExtensionsFilter.doFilter(ExtensionsFilter.java:147)
  | 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 

[jboss-user] [JBoss jBPM] - Re: Stupid timezone problem...

2007-06-13 Thread cahimoped
More info : the time in jBoss is correct. My user.timezone is correct.

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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread dd_la_frime
I don't understand what you're saying.
I'm already using seam 1.2.1 GA.
What I'm saying is that in the components.cml you have to add these lines 
http://jboss.com/products/seam/web http://jboss.com/products/seam/web-1.2.xsd; 
to use the we:character-encoding-filter and this attribute name doesn't exist 
in web-1.2.xsd.
Do I have to change the declaration of the xsd ?

Cheers.

Christophe

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

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


[jboss-user] [JBoss Portal] - Unaccessable Instance

2007-06-13 Thread brownfielda
Howdy,

I've been playing around with JBoss Portal for a few days to become familiar 
with the environment, before I start developing some portlets.  I have run into 
a slight snag that I haven't been able to remedy.

Using the admin account I set a HelloWorld portlet instance with the view 
permission for only the role User.  This immediately stopped the administrator 
from viewing the instance for both the dashboard or administrating.  I would 
like to be able to re-access this instance to either modify permissions or 
destroy it.

Some recursive grepping of the instance name led me to 
$JBOSS_HOME/server/default/data/portal/hypersonic/database.script.  With a 
quick glance I realized that this may be a dangerous file to hand-edit without 
a bit more research.

In case it's pertinent:
jboss-portal-2.6-CR2 (AS  Portal bundled)
OS X 10.4.9

Any suggestions?


--Andrew

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

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


[jboss-user] [JBoss Seam] - Re: Can't set Character encoding for submitted form data

2007-06-13 Thread dd_la_frime
Just an answer to pull up this important *bug* for french people.
Exactly the problem I have at this time.

Cheers.

Christophe

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

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


[jboss-user] [JBoss jBPM] - Re: loading resource from process class

2007-06-13 Thread gogoasa
Similar problem : http://www.jboss.com/index.html?module=bbop=viewtopict=67818



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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread petemuir
It exists in the one I have (but as an element, not an attribute, which is 
correct)

[EMAIL PROTECTED]:~$ cat 
jboss-seam-1.2.1.GA/src/main/org/jboss/seam/web-1.2.xsd 
  | ?xml version=1.0 encoding=UTF-8?
  | xs:schema xmlns:xs=http://www.w3.org/2001/XMLSchema; 
elementFormDefault=qualified
  | targetNamespace=http://jboss.com/products/seam/web; 
xmlns:web=http://jboss.com/products/seam/web;
  | xmlns:components=http://jboss.com/products/seam/components; 
attributeFormDefault=unqualified
  | xs:import namespace=http://jboss.com/products/seam/components; 
schemaLocation=components-1.2.xsd/
  | 
  | ...
  | 
  | xs:element name=character-encoding-filter
  | xs:complexType mixed=true
  | xs:attributeGroup ref=components:attlist.component/
  | xs:attributeGroup ref=web:attlist.filter/
  | xs:attribute name=encoding type=xs:string/
  | xs:attribute name=override-client type=xs:boolean/
  | /xs:complexType
  | /xs:element 
  | 
  | ...
  | /xs:schema

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

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


[jboss-user] [Beginners Corner] - suggestions on adding private messaging to existing applicat

2007-06-13 Thread bleach
We have an existing web app running on JBoss which allows users to logon and 
view data.
We now want to roll out a component which allows users to send messages to us. 
However some of the data that would be included in the message would be 
confidential so email won't work. What would be perfect is the private message 
feature built into most forums.
We don't want to re-invent the wheel so we are trying to find out if there is 
an open source module we can re-use. 
Ideally, the solution would consist of a DB design and an API for placing and 
retrieving messages. To maintain consistent look and feel we want to have 
complete control over the UI.
The current app is JSP / Struts on JBoss 4.05
None of us have experience other than Java so PHP etc are going to be 
non-starters.
Can anyone provide some pointers on existing code we can use, or even a design 
pattern we could use to shortcut the development.

Thanks

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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread petemuir
Make sure you have the namespace available - add to the  element

xmlns:core=http://jboss.com/products/seam/core;

and then add configuration as needed - 

web:character-encoding-filter encoding=UTF-16 
  |override-client=true 
  |url-pattern=*.seam/

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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread petemuir
N.B. This is all in the ref. manual

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

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


[jboss-user] [JBoss Seam] - Enums in JSF code

2007-06-13 Thread Frippe
Hi,
I have a xhtml file where I try to use an enum I've created for my system. The 
enum works when I use it to set values on entities' properties and can also 
print the enum, set as a value in an entity, in the xhtml file.

But I can't seem to be able to create a rendered condition or print a value 
directly from the enum #{PStatus.ACTIVE}

My enum:
@Name(pStatus)
  | public enum PStatus {
  | INITIATED(0), ACTIVE(1), DRAWING_DONE(2), CLOSED(3);
  | 
  | private int value;
  | 
  | private PStatus(int value) {
  | this.value = value;
  | }
  | 
  | public int getValue() {
  | return(value);
  | }
  | }


Part of my xhtml file:
h:column rendered=#{bookable.week.period.status == PStatus.ACTIVE}
  | h:commandLink action=#{subscriptionView.sortBy('email')} 
value=Vinnare/
  | /h:column

What am I missing here?



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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread dd_la_frime
you must have this one also : xmlns:web=http://jboss.com/products/seam/web;

Anyway it's still not working I can't have my french character [é|à|è|...]

Christophe

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

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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread dd_la_frime
Ok me too I've got it in seam sources.
So how did you declare it in the components.xml ? You must not use the http 
one, right ?

Cheers.

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

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


[jboss-user] [JBoss Seam] - Re: web:character-encoding-filter

2007-06-13 Thread petemuir
oops sorry, bad copy and paste ;)  Sorry, I'm no expert on i8ln.  You can check 
whether the seam character encoding filter is running using your debugger...

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

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


[jboss-user] [JBoss Seam] - Re: Enums in JSF code

2007-06-13 Thread petemuir
Frippe wrote : h:column rendered=#{bookable.week.period.status == 
PStatus.ACTIVE}
  |   | /h:column

This isn't valid EL, EL has no support for accessing enum's - something like 
#{bookable.week.period.status == bookable.month.period.status} would work 
though (where you compare two instance values of enums).

You can probably write a facelets function to do this.  And yes, this is on my 
wishlist for EL as well!

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

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


[jboss-user] [JBossCache] - JBossCache 2 and Hibernate 3.2 compatibility

2007-06-13 Thread grzegorz.trafny
Hello,

I'd like to run H3.2 with JBC2 but after first attempts I noticed problem with
java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup (full 
stack at the end of this letter).

After some investigation I noticied that Hibernate 3.2.4.sp1 contains such code:

  | package org.hibernate.cache;
  | public class TreeCacheProvider implements CacheProvider {
  | static final class TransactionManagerLookupAdaptor implements 
org.jboss.cache.TransactionManagerLookup {
  | //...
  | }
  | }

If we check JBossCache 2.0.0-CR2 then we will see that 
org.jboss.cache.TransactionManagerLookup is not available in the JBossCache 
code. Probably Hibernate should call 
org.jboss.cache.transaction.TransactionManagerLookup.


So, to recap: is H3.2 is compatibile with JBC2??


BTW. I have to make note that I ran this H3 without any JBS2 configuration 
files.


Thanks for your time.
Best Regards
GT


java.lang.NoClassDefFoundError: org/jboss/cache/TransactionManagerLookup
at java.lang.Class.getDeclaredConstructors0(Native Method)
at java.lang.Class.privateGetDeclaredConstructors(Class.java:2357)
at java.lang.Class.getConstructor0(Class.java:2671)
at java.lang.Class.newInstance0(Class.java:321)
at java.lang.Class.newInstance(Class.java:303)
at 
org.hibernate.cfg.SettingsFactory.createCacheProvider(SettingsFactory.java:358)
at 
org.hibernate.cfg.SettingsFactory.buildSettings(SettingsFactory.java:232)
at 
org.hibernate.cfg.Configuration.buildSettings(Configuration.java:2006)
at 
org.hibernate.cfg.Configuration.buildSessionFactory(Configuration.java:1289)
at 
org.hibernate.cfg.AnnotationConfiguration.buildSessionFactory(AnnotationConfiguration.java:915)
at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.newSessionFactory(LocalSessionFactoryBean.java:807)
at 
org.springframework.orm.hibernate3.LocalSessionFactoryBean.buildSessionFactory(LocalSessionFactoryBean.java:740)
at 
org.springframework.orm.hibernate3.AbstractSessionFactoryBean.afterPropertiesSet(AbstractSessionFactoryBean.java:131)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.invokeInitMethods(AbstractAutowireCapableBeanFactory.java:1062)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.initializeBean(AbstractAutowireCapableBeanFactory.java:1029)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:420)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:246)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:416)
at 
org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:245)
at 
org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:141)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:242)
at 
org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:156)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveReference(BeanDefinitionValueResolver.java:246)
at 
org.springframework.beans.factory.support.BeanDefinitionValueResolver.resolveValueIfNecessary(BeanDefinitionValueResolver.java:128)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyPropertyValues(AbstractAutowireCapableBeanFactory.java:955)
at 
org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.populateBean(AbstractAutowireCapableBeanFactory.java:729)
at 

[jboss-user] [JBoss Seam] - Re: Identity / rememberMe creates cookie in current path

2007-06-13 Thread [EMAIL PROTECTED]
Yes, we should support cookie paths. Please open a JIRA feature request.

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

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


[jboss-user] [JBoss Portal] - CMS repository

2007-06-13 Thread matt4400
I want to recover the CMS repository for creating a new content type but I 
don't understand how to have an instance of a session or a repository. Is there 
someone who can help me?

I developpe that with JBoss Portal 2.6 CR2

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

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


[jboss-user] [JBoss jBPM] - Re: Stupid timezone problem...

2007-06-13 Thread kukeltje
put timezone attributes on your date elements or converters. JSF is afaik 
accoording to the spec supposed to show it in Zulu time. 

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

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


[jboss-user] [JBoss Seam] - Re: Seam PDF with 4.2.0 and no MyFaces (JSF RI)

2007-06-13 Thread pdhaigh
Yep, you're right, copying everything from that example sorted out the issue.

It would be fantastic if there was a list of features in Seam 1.2.1.GA that 
don't work as-is on 4.2.0..

Looking forward to v1.3!


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

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


[jboss-user] [JBoss Seam] - Re: Seam on tomcat functionality

2007-06-13 Thread fernando_jmt
Actually I have a Seam application running on Tomcat using Ajax4JSF and 
RichFaces.

So, what I recomend you to start is to go into booking seam example folder, 
open an console and type ant deploy.tomcat (you need to have configured your 
build.properties for tomcat home).

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

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


[jboss-user] [JBoss jBPM] - Re: loading resource from process class

2007-06-13 Thread kukeltje
file a jira issue

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

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


[jboss-user] [JBoss jBPM] - Re: JBPM JSF Integrartion

2007-06-13 Thread kukeltje
Options (in order of my preference)
- use seam
- build your own controller (see the default controler for an example)
- build your own framework

Ronald


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

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


[jboss-user] [JBoss jBPM] - Re: jbpm using oracle DB probleme

2007-06-13 Thread mputz
did you set the hibernate db dialect in jbpm-configs.jar/hibernate.cfg.xml?

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

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


[jboss-user] [JBoss Seam] - Re: Nested conversation - passing selection to parent conver

2007-06-13 Thread thatrichard
Trying to answer that question has made me that a nested conversation is in 
fact not necessary - inappropriate even.

I've now collapsed the conversations, but the following problem remains - here 
is the code :)

The flow is as follows (relevant code in bold)
1.  The Registration form conversation starts with the enterClaim method (first 
bit of code)
2.  The user clicks a link in the form (not shown) which calls the 
enterClaimant method on the RegistrationEditorBean.  This shows Tab 1 (JSF code 
below).
3.  The user clicks the select link on that tab, which calls the selectClaimant 
method on the RegistrationEditorBean.  This method creates and installs a 
PartyFinderClient (more on this soon) and displays the FindPerson Form (JSF 
code below).
4.  The user searches and the results are shown using the Find Person Results 
Form (shown below).
5.  The user selects the link for the relevant person and this invokes the 
select method of PartyFinder (code below)
6.  PartyFinder.select looks up the PartyFinderClient and (i) passes it the 
selected party so that it can handle the assignment and (ii) redirects to the 
page specified by that PartyFinderClient.  In this case, the PartyFinderClient 
assigns the party to a field in RegistrationEditor.registrationData and returns 
to Tab 1.

(I use PartyFinderClient because there are a number of fields that require the 
same selection process so the PartyFinderBean cannot know what to do with the 
data.  I'd love to know if there is a more elegant way to do this)

THE PROBLEM
When the user makes their selection it all works, except that the 
RegistrationEditorBean's data field is now null.  If I remove the 
@In(required=false) tag from the setRegistrationData method then this problem 
disappears - but of course, I need the injection because I might be editing, as 
opposed, to creating the registrationData.  Since I am outjecting the instance 
of the registrationData, why is that outjected instance not being passed back 
in?

Hope you can make sense of all this!

Richard

(I'm using method injection as opposed to field injection because, as far as I 
can see, there is no other way to ensure that nested objects (e.g. 
submissionInfo) are created on demand)

RegistrationEditorBean

  | ...
  | @Name(registrationEditor)
  | @Stateful
  | @Scope(ScopeType.CONVERSATION)
  | @Conversational
  | public class RegistrationEditorBean implements RegistrationEditor { 
  | 
  | private RegistrationData data;  
  | 
  | @In
  | private Session session;
  | 
  | @Logger
  | private Log log;
  | 
  | @Out
  | public RegistrationData getRegistrationData() {
  | if (data == null) {data = new RegistrationData(); 
data.setSubmissionInfo(new SubmissionInfo());}
  | return data;
  | }   
  | 
  | @In(required=false)
  | public void setRegistrationData(RegistrationData data) {
  | this.data = data;
  | }
  | 
  | 
  | @Begin(flushMode=FlushModeType.MANUAL, join=true)
  | public String enterClaim() {
  | return /forms/registration/claim;
  | }
  | 
  | public String enterSubmission() {
  | return /forms/registration/submission;
  | }
  | 
  | public String enterClaimant() {
  | return /forms/registration/claimant;
  | }
  | 
  | public String selectClaimant() {
  | PartyFinderClient client = new PartyFinderClient() {
  | 
  | public String cancel() {
  | return /forms/registration/claimant;
  | }
  | 
  | public String select(Party party) {
  | data.setClaimant(party);
  | return /forms/registration/claimant;
  | }
  | 
  | };
  | client.install();
  | return /forms/party/find-person;
  | }
  | ...
  | 
  | public void save() {
  | session.save(data.getSubmissionInfo());
  | session.save(data);
  | session.flush();
  | }
  | 
  | ... 
  | @Destroy @Remove
  | public void destroy() { }
  | 
  | }
  | 


Registration Form JSF - Tab 1

  | ?xml version=1.0 encoding=UTF-8?
  | !DOCTYPE html
  |   PUBLIC -//W3C//DTD XHTML 1.0 Transitional//EN 
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd;
  | html xmlns:f=http://java.sun.com/jsf/core;
  | xmlns:h=http://java.sun.com/jsf/html;
  | xmlns:ui=http://java.sun.com/jsf/facelets;
  | xmlns:s=http://jboss.com/products/seam/taglib;
  | xmlns=http://www.w3.org/1999/xhtml;
  | head
  | titleRegistration/title
  | /head
  | body
  | ui:composition xmlns:rich=http://richfaces.ajax4jsf.org/rich;
  | template=registration.xhtml
  | ui:define name=tab
  | 
  | div name=tabset-actions /
  | div 

[jboss-user] [JBoss jBPM] - Re: Stupid timezone problem...

2007-06-13 Thread cahimoped
The more I search the less the problem appears to be stupid and the more it 
looks like a possible bug.

I'm in GMT+1 but currently in summer time so it explains the 2 hours 
difference with GMT.

Now I will take an example : 
- I launch a process at 14:00 with my system in GMT+1 summer time
- I launch a second process at 12:00 with my system at GMT

I got in the console :
with my system in GMT+1 : 12:00 12:00
with my system in GMT : 14:00 12:00

What I want is the exact contrary : I want the 14 to be 12 in GMT (cause it was 
launch at 14 GMT+1/12GMT) and the two 12 in GMT+1 to be 14...

I don't know how date are stored in DB but from what I see there might be a 
problem.

And I just found many f:convertDateTime in the admin-console/web-console so 
it might be a unmentionned setting to set or a bug in the 
admin-console/web-console...

I'll investigate... but if you have answers...

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

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


[jboss-user] [JBoss Seam] - Re: Seam PDF with 4.2.0 and no MyFaces (JSF RI)

2007-06-13 Thread petemuir
I think the line is that we support using Seam 1.2.1.GA on AS 4.0.5.GA and 1.3 
on AS 4.2.0 really - I doubt you'll get more specific than that!

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

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


[jboss-user] [JBoss jBPM] - Re: jbpm using oracle DB probleme

2007-06-13 Thread kukeltje
cool mot-clé word-key?

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

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

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


[jboss-user] [JBoss jBPM] - Re: Stupid timezone problem...

2007-06-13 Thread cahimoped
Thanks kukeltje... you answered while I was typing.

This choice is very strange...  the new admin-console is unusable without 
editing lots of jsf date tags... sounds like a serious problem to me.

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

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


[jboss-user] [Security JAAS/JBoss] - LDAPExtLoginModule binds with credentials from webauth (user

2007-06-13 Thread TiJay
Hi at all,

this problem I now want to describe you already exists for a long time and I 
had no idea how to fix it.
My job was to create a LDAP-using authentication for a JEE-project with 
'LdapExtLoginModule', so I used the page 
http://wiki.jboss.org/wiki/Wiki.jsp?page=LdapExtLoginModule to get some 
information about this module.

Then I set up an OpenLDAP-server on my vServer. 
suffix  dc=jonischkat,dc=de
  | rootdn  cn=root,dc=jonischkat,dc=de
  | rootpw  XXXmyPasswordXXX

I populated the server with these entries (remark: capsys-user is the 
authenticated security role):


The application policy in 'login-config.xml' looks like this:

  | application-policy name=testLDAP
  | authentication
  | login-module 
code=org.jboss.security.auth.spi.LdapLoginModule flag=required
  | module-option 
name=java.naming.factory.initialcom.sun.jndi.ldap.LdapCtxFactory/module-option
  | module-option 
name=java.naming.provider.urlldap://my.vserver.ip.address//module-option
  | module-option 
name=java.naming.security.authenticationsimple/module-option
  | !--module-option 
name=principalDNPrefixuid=/module-option
  | module-option 
name=principalDNSuffix,ou=People,dc=tjhome,dc=de/module-option--
  | module-option 
name=bindDNcn=root,dc=jonischkat,dc=de/module-option
  | module-option 
name=bindCredentialXXXmyPasswordXXX/module-option
  | module-option 
name=baseCtxDNou=People,dc=jonischkat,dc=de/module-option
  | module-option 
name=baseFilter(uid={0})/module-option
  | module-option 
name=rolesCtxDNou=Roles,dc=jonischkat,dc=de/module-option
  | module-option 
name=roleFilter(member={1})/module-option
  | module-option name=roleAttributeIDcn/module-option
  | module-option name=roleRecursion-1/module-option
  | !--module-option 
name=uidAttributeIDmember/module-option
  | module-option name=matchOnUserDNtrue/module-option
  | module-option name=roleAttributeIDcn/module-option
  | module-option 
name=roleAttributeIsDNfalse/module-option--
  | /login-module
  | /authentication
  | /application-policy
  | 

When accessing the webapp, I typed the credentials username: 'tjonisch' and 
password: 'XXXpasswordOfTjonischInLdapEntryXXX', but the dialog popped up a 
second time. 

The logfile of the LDAP server said:
Jun  5 14:46:53 uhweb25094 slapd[28244]: daemon: read active on 11
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: connection_get(11): got connid=1
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: connection_read(11): checking for 
input on id=1
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: daemon: epoll: listen=7 
active_threads=0 tvp=NULL
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: do_bind
  | Jun  5 14:46:53 uhweb25094 slapd[28244]:  dnPrettyNormal: tjonisch
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: bind: invalid dn (tjonisch)
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: send_ldap_result: conn=1 op=0 p=3
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: send_ldap_response: msgid=1 tag=97 
err=34
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: conn=1 op=0 RESULT tag=97 err=34 
text=invalid DN
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: daemon: activity on 1 descriptor
  | Jun  5 14:46:53 uhweb25094 slapd[28244]: daemon: activity on:
  | Jun  5 14:46:53 uhweb25094 slapd[28244]:  11r

So JBoss tried to bind with the credentials given by the user, not with 
'bindDN' and 'bindCredential' from the config file.

It would be really cool if someone had an idea how to fix this problem.

Greetings from Germany
Tim J.

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

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


[jboss-user] [Installation, Configuration Deployment] - Re: Shared JAR Files EJB/Web Deployment

2007-06-13 Thread dkalcevich
I was reading up on the isolated class loading within an EAR File on the JBoss 
Wiki.  Would that work in this situation?  I am still getting the 
ClassNotFoundExceptions when the EJB.jar is starting up.  Any help on this 
matter is greatly appreciated.  Thank you.

Daniel

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

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


[jboss-user] [JBoss jBPM] - Re: Stupid timezone problem...

2007-06-13 Thread kukeltje
That is why afaik, seam works around this limitation. Could you check if my 
assumption is correct? If so, we have to add a timezone attribute to each 
relevant jsf tag and read the timezone from some property via an EL

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

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


[jboss-user] [JBoss Seam] - Re: IllegalArgumentException in EmbeddedEJB3

2007-06-13 Thread KnisterPeter
For me this issue was solved when I was using the mc-conf.jar instead of 
packaging the content of it inside of my 'ejb-jar'

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

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


[jboss-user] [JBoss Seam] - Re: seam generate entities

2007-06-13 Thread dheerajsega
Thank you ..

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

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


  1   2   3   >