[jboss-user] [JBoss Portal] - JBoss Portal 2.6.3 download

2007-12-11 Thread viggo.navarsete
I'm not sure if my browser has cached something, but I'm not able to see the 
JBoss Portal 2.6.3 downloads. At home, yesterday, I was able to see the 2.6.3 
download, but at work today I'm only able to see the 2.6.2 download. Anyone 
having the same problem? Is the 2.6.3 removed? As far as I know, it was 
supposed to be released yesterday.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.3 download

2007-12-11 Thread viggo.navarsete
I can find the files here:
http://sourceforge.net/project/showfiles.php?group_id=22866&package_id=84509
So I guess the page showing all JBoss Portal downloads, 
http://labs.jboss.com/jbossportal/download/index.html, is not correct/updated

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

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


[jboss-user] [JBossWS] - Re: JBossWS Tools Overview (wstools, wsprovide, wsconsume)

2007-12-11 Thread kks_krishna
HI,


I have set  jbossws-spi.jar in the classpath. Still i am getting 
NoClassDefFoundError for WSConsume class. I am using 2.0.2 native GA. Please 
help me.

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

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


[jboss-user] [JBoss Seam] - Could not instantiate Seam component

2007-12-11 Thread hanram
hello friends,

 Why this error will occur?  Can any one tell me proper reason..

  | org.jboss.seam.InstantiationException: Could not instantiate Seam 
component: WDActionWService
  | org.jboss.seam.Component.newInstance(Component.java:1962)
  | org.jboss.seam.Component.getInstance(Component.java:1865)
  | org.jboss.seam.Component.getInstance(Component.java:1832)
  | org.jboss.seam.Namespace.getComponentInstance(Namespace.java:55)
  | org.jboss.seam.Namespace.getComponentInstance(Namespace.java:50)
  | org.jboss.seam.el.SeamELResolver.resolveBase(SeamELResolver.java:166)
  | org.jboss.seam.el.SeamELResolver.getValue(SeamELResolver.java:53)
  | javax.el.CompositeELResolver.getValue(CompositeELResolver.java:53)
  | 
com.sun.faces.el.FacesCompositeELResolver.getValue(FacesCompositeELResolver.java:64)
  | org.jboss.el.parser.AstIdentifier.getValue(AstIdentifier.java:44)
  | org.jboss.el.parser.AstValue.getTarget(AstValue.java:34)
  | org.jboss.el.parser.AstValue.invoke(AstValue.java:95)
  | org.jboss.el.MethodExpressionImpl.invoke(MethodExpressionImpl.java:276)
  | 
com.sun.facelets.el.TagMethodExpression.invoke(TagMethodExpression.java:68)
  | 
javax.faces.component.MethodBindingMethodExpressionAdapter.invoke(MethodBindingMethodExpressionAdapter.java:77)
  | 
com.sun.faces.application.ActionListenerImpl.processAction(ActionListenerImpl.java:91)
  | javax.faces.component.UICommand.broadcast(UICommand.java:383)
  | javax.faces.component.UIViewRoot.broadcastEvents(UIViewRoot.java:447)
  | javax.faces.component.UIViewRoot.processApplication(UIViewRoot.java:752)
  | 
com.sun.faces.lifecycle.InvokeApplicationPhase.execute(InvokeApplicationPhase.java:97)
  | com.sun.faces.lifecycle.LifecycleImpl.phase(LifecycleImpl.java:251)
  | com.sun.faces.lifecycle.LifecycleImpl.execute(LifecycleImpl.java:117)
  | javax.faces.webapp.FacesServlet.service(FacesServlet.java:244)
  | 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | 
  | 
  | root cause 
  | 
  | java.lang.NullPointerException
  | 
org.jboss.seam.example.withdrawal.WithDrawalActionWService.(WithDrawalActionWService.java:32)
  | sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java
  | 
  | 
  | 


thx in advance,
Han

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

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


[jboss-user] [JBoss Portal] - Portlet File Upload: Error finishing response - ArrayIndexOu

2007-12-11 Thread brain101
file upload within a portlet randomly fails with the following error:
2007-12-11 09:21:10,879 ERROR [org.apache.coyote.http11.Http11Processor] Error 
finishing response
java.lang.ArrayIndexOutOfBoundsException: 8192
at 
org.apache.coyote.http11.InternalOutputBuffer.sendStatus(InternalOutputBuffer.java(Compiled
 Code))
at 
org.apache.coyote.http11.Http11Processor.prepareResponse(Http11Processor.java(Compiled
 Code))
at 
org.apache.coyote.http11.Http11Processor.action(Http11Processor.java(Compiled 
Code))
at org.apache.coyote.Response.action(Response.java(Inlined Compiled 
Code))
at 
org.apache.coyote.http11.InternalOutputBuffer.endRequest(InternalOutputBuffer.java(Compiled
 Code))
at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:906)
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.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112)
at java.lang.Thread.run(Thread.java:570)

portal version is 2.2.1, commons-fileupload version is 1.2

any hints on this problem?


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

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


[jboss-user] [JBossCache] - Re: Funky behaviour with JBC1.4 and replication

2007-12-11 Thread jorgemoralespou_2
I answer myself.
It seems to be a problem with replication. Replication in one side was not 
working. JGroups channel didn`t connect. The problem was that I didn't see any 
trace in the logs.

Thanks, anyway.

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.3 download

2007-12-11 Thread emuckenhuber
To ensure that you get the correct files you should wait until JBoss Portal 
2.6.3 is officially announced before downloading.

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

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


[jboss-user] [JBossWS] - WsConsume throws exception

2007-12-11 Thread kks_krishna
HI,


I have set jbossws-spi.jar in the classpath. Still i am getting 
NoClassDefFoundError for WSConsume class. I am using 2.0.2 native GA. Please 
help me.

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

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


[jboss-user] [JBoss Tools (users)] - Re: Update site ...

2007-12-11 Thread [EMAIL PROTECTED]
The open source project is called JBoss Tools and it will be announced later 
today. You can get info on the current releases at www.jboss.org/tools

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

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


[jboss-user] [JBossWS] - Re: WsConsume throws exception

2007-12-11 Thread [EMAIL PROTECTED]
Hi,

isn't this

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

your problem too?
If not, please provide more details about your problem, e.g. JBoss AS version, 
Java version, OS version, steps you did, ... etc

Richard

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

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


[jboss-user] [JBoss Portal] - Re: JBoss Portal 2.6.3 download

2007-12-11 Thread viggo.navarsete
wasn't the JBoss Portal 2.6.3 supposed to be officially relased yesterday?

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

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


[jboss-user] [JBoss Seam] - Re: Myfaces, seam 2.0 and Jboss 4.2.2

2007-12-11 Thread magdam
This error
ava.lang.NoClassDefFoundError: org/jboss/el/lang/EvaluationContext 
org.jboss.seam.jsf.SeamApplication.getExpressionFactory(SeamApplication.java:346)
 
I have when I start my application.

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

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


[jboss-user] [JBoss AOP] - Re: [i]Introduction[/i] not working in my project but workin

2007-12-11 Thread [EMAIL PROTECTED]
hm, im still not sure whats the cause of the problem, but to get a step further 
i would recommend that you use loadtime weaving. - just to make sure that its 
not a packaging problem.
so, enable loadtime weaving in jboss and just put the jboss-aop.xml file in the 
deploy directory and ignore all jboss aop precomiling in your buildsetup. also 
add the debug option i mentioned in the previous post. the deployment of your 
app will take longer with loadtime weaving, but you should be able to see the 
aop parsing of the classes while the load. check if the classes you are 
introducing actually gets transformed (you'll see a debug msg if it is).
good luck :)

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

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


[jboss-user] [JBoss Seam] - PersistenceException when using double in Oracle10g

2007-12-11 Thread [EMAIL PROTECTED]
We get an exception when trying to startup our Seam application with Hibernate 
setting hibernate.hbm2ddl.auto set to "validate":

javax.persistence.PersistenceException: org.hibernate.HibernateException: Wrong 
column type: POST_DELIVERY_ITEM_COUNT, expected: double precision

I tried both OracleDialect and Oracle9Dialect, with no success. The strange 
thing is that the database was generated by Hibernate in the first place, so 
there seems to be some weird inconsistency somewhere. I also tried adding a 
type mapping in seam-gen.reveng.xml with no success:


  | 
  | 

I've searched the Hibernate forums and other sources and there doesn't seem to 
be any good solution to this. Any suggestions?


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

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


[jboss-user] [JBoss Seam] - Re: Seam performance vs plain JSF

2007-12-11 Thread lowecg2004
The debug mode for Seam would have a significant impact on your stats.  Have 
you set the debug mode for Seam to false?

In components.xml, try adding:




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

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


[jboss-user] [JBoss Seam] - Re: Myfaces, seam 2.0 and Jboss 4.2.2

2007-12-11 Thread magdam
I think that this errors caused by el-api.jar in my application.
I deleted el-api.jar and el-ri.jar from my application.
java.lang.NoClassDefFoundError: org/jboss/el/lang/EvaluationContext 
org.jboss.seam.jsf.SeamApplication.getExpressionFactory(SeamApplication.java:346)
Where should I search a solution?

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

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


[jboss-user] [JBoss Seam] - Error building from CVS

2007-12-11 Thread lowecg2004
Hi,

I've checked out Seam from CVS.  I updated default.build.properties to point to 
my JBossAS instance:

C:/bin/seam/jboss-4.2.2.GA

When I build, I get the following error:

  [java] [ERROR] Error on generate component
  |  [java] org.ajax4jsf.builder.config.ParsingException: I/O error on 
parsing config file 
  |  [java] at 
org.ajax4jsf.builder.config.BuilderConfig.parseConfig(BuilderConfig.java:387)
  |  [java] at 
org.ajax4jsf.builder.mojo.GenerateMojo.createConfig(GenerateMojo.java:253)
  |  [java] at 
org.ajax4jsf.builder.mojo.GenerateMojo.execute(GenerateMojo.java:92)
  |  [java] at 
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:420)
  |  [java] at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:539)
  |  [java] at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalWithLifecycle(DefaultLifecycleExecutor.java:480)
  |  [java] at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoal(DefaultLifecycleExecutor.java:459)
  |  [java] at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoalAndHandleFailures(DefaultLifecycleExecutor.java:311)
  |  [java] at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeTaskSegments(DefaultLifecycleExecutor.java:278)
  |  [java] at 
org.apache.maven.lifecycle.DefaultLifecycleExecutor.execute(DefaultLifecycleExecutor.java:143)
  |  [java] at 
org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:330)
  |  [java] at 
org.apache.maven.DefaultMaven.execute(DefaultMaven.java:123)
  |  [java] at org.apache.maven.cli.MavenCli.main(MavenCli.java:272)
  |  [java] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native 
Method)
  |  [java] at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  |  [java] at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  |  [java] at java.lang.reflect.Method.invoke(Method.java:597)
  |  [java] at 
org.codehaus.classworlds.Launcher.launchEnhanced(Launcher.java:315)
  |  [java] at 
org.codehaus.classworlds.Launcher.launch(Launcher.java:255)
  |  [java] at 
org.codehaus.classworlds.Launcher.mainWithExitCode(Launcher.java:430)
  |  [java] at 
org.codehaus.classworlds.Launcher.main(Launcher.java:375)
  |  [java] Caused by: java.net.MalformedURLException: unknown protocol: c
  |  [java] at java.net.URL.(URL.java:574)
  |  [java] at java.net.URL.(URL.java:464)
  |  [java] at java.net.URL.(URL.java:413)
  |  [java] at 
com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(XMLEntityManager.java:650)
  |  [java] at 
com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(XMLVersionDetector.java:186)
  |  [java] at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:771)
  |  [java] at 
com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(XML11Configuration.java:737)
  |  [java] at 
com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(XMLParser.java:107)
  |  [java] at 
com.sun.org.apache.xerces.internal.parsers.AbstractSAXParser.parse(AbstractSAXParser.java:1205)
  |  [java] at 
com.sun.org.apache.xerces.internal.jaxp.SAXParserImpl$JAXPSAXParser.parse(SAXParserImpl.java:522)
  |  [java] at 
org.apache.commons.digester.Digester.parse(Digester.java:1605)
  |  [java] at 
org.ajax4jsf.builder.config.BuilderConfig.parseConfig(BuilderConfig.java:384)
  |  [java] ... 20 more


Is there anything else that I need to do to get a build going?

Cheers,

Chris.

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

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


[jboss-user] [JBoss Seam] - Re: Oddness - javax.persistence.EntityNotFoundException

2007-12-11 Thread mhissen
I have the same problem,
Please help...

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - native query and

2007-12-11 Thread dkane
Dear colleagues, 

The following code : 

Integer count = (Integer)
  | em.createNativeQuery("SELECT count(*) as cnt FROM Users_Terminals 
ut where "+"tId=" + termId + " and uId=" +userId).getSingleResult();
  | 

throws the following exception , 
although another native query with single result (but without aggregate 
function) in neighbouring method works well. 

2007-12-11 11:32:38,929 DEBUG [org.hibernate.util.JDBCExceptionReporter] could 
not execute query [SELECT count(*) FROM Users_Terminals WHERE 
(Users_Terminals.tId=123 ) and (Users_Terminals.uId=1)]
  | java.sql.SQLException: Column '' not found.
  | at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:910)
  | at com.mysql.jdbc.ResultSet.findColumn(ResultSet.java:961)
  | at com.mysql.jdbc.ResultSet.getBigDecimal(ResultSet.java:1226)
  | at 
org.jboss.resource.adapter.jdbc.WrappedResultSet.getBigDecimal(WrappedResultSet.java:312)
  | at org.hibernate.type.BigIntegerType.get(BigIntegerType.java:34)
  | at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:163)
  | at org.hibernate.type.NullableType.nullSafeGet(NullableType.java:189)
  | at 
org.hibernate.loader.custom.CustomLoader$ScalarResultColumnProcessor.extract(CustomLoader.java:474)
  | at 
org.hibernate.loader.custom.CustomLoader$ResultRowProcessor.buildResultRow(CustomLoader.java:420)
  | at 
org.hibernate.loader.custom.CustomLoader.getResultColumnOrRow(CustomLoader.java:317)
  | at org.hibernate.loader.Loader.getRowFromResultSet(Loader.java:606)
  | at org.hibernate.loader.Loader.doQuery(Loader.java:701)
  | at 
org.hibernate.loader.Loader.doQueryAndInitializeNonLazyCollections(Loader.java:236)
  | at org.hibernate.loader.Loader.doList(Loader.java:2220)
  | at org.hibernate.loader.Loader.listIgnoreQueryCache(Loader.java:2104)
  | at org.hibernate.loader.Loader.list(Loader.java:2099)
  | at org.hibernate.loader.custom.CustomLoader.list(CustomLoader.java:289)
  | at org.hibernate.impl.SessionImpl.listCustomQuery(SessionImpl.java:1695)
  | at 
org.hibernate.impl.AbstractSessionImpl.list(AbstractSessionImpl.java:142)
  | at org.hibernate.impl.SQLQueryImpl.list(SQLQueryImpl.java:152)
  | at org.hibernate.ejb.QueryImpl.getSingleResult(QueryImpl.java:80)
  | at track.reports.TraceReporterBean.isUserTerm(TraceReporterBean.java:40)
  | at 
track.reports.TraceReporterBean.dailyTraceReport(TraceReporterBean.java:56)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
  | at java.lang.reflect.Method.invoke(Method.java:597)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:112)
  | at 
org.jboss.ejb3.interceptor.InvocationContextImpl.proceed(InvocationContextImpl.java:166)
  | at 
org.jboss.ejb3.interceptor.EJB3InterceptorsInterceptor.invoke(EJB3InterceptorsInterceptor.java:63)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.entity.TransactionScopedEntityManagerInterceptor.invoke(TransactionScopedEntityManagerInterceptor.java:54)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.AllowedOperationsInterceptor.invoke(AllowedOperationsInterceptor.java:47)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:79)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:76)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessCo

[jboss-user] [Installation, Configuration & DEPLOYMENT] - migrate jboss 4.05 to jboss 4.2.2 - Failed to load engineOpt

2007-12-11 Thread mcollin
hi

i try to migrate jboss 4.05 to 4.2.2
i use seam 1.2.1
i tried to keep myface implementation like they said on this page 
http://wiki.jboss.org/wiki/Wiki.jsp?page=Running2.6WithJBossAS4.2.xAndMyFaces


WEB-INF\web.xml

  | 
  | 
  | http://java.sun.com/xml/ns/javaee"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; version="2.5" 
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";>  
  | 
  |
  | org.jboss.seam.servlet.SeamListener 
  | 
  |
  | Seam Filter  
  | org.jboss.seam.web.SeamFilter 
  | 
  |
  | Seam Filter  
  | /* 
  | 
  |
  | Seam Filter  
  | *.seam 
  | 
  |
  | Ajax4jsf Filter  
  | ajax4jsf  
  | org.ajax4jsf.FastFilter 
  | 
  |
  | ajax4jsf  
  | Faces Servlet  
  | REQUEST  
  | FORWARD  
  | INCLUDE 
  | 
  |
  | Seam Resource Servlet  
  | org.jboss.seam.servlet.ResourceServlet 
  | 
  |
  | Seam Resource Servlet  
  | /seam/resource/* 
  | 
  | 
  |
  | 
org.apache.myfaces.webapp.StartupServletContextListener
 
  | 
  |
  | javax.faces.STATE_SAVING_METHOD  
  | client 
  | 
  |
  | javax.faces.DEFAULT_SUFFIX  
  | .xhtml 
  | 
  |
  | Faces Servlet  
  | javax.faces.webapp.FacesServlet  
  | 1 
  | 
  |
  | Faces Servlet  
  | *.do 
  | 
  | 
  |
  | 120 
  |
  | 
  | 

deploy\jboss-web.deployer\conf\web.conf


  | 
  | com.sun.faces.injectionProvider
  | 
org.jboss.web.jsf.integration.injection.JBossInjectionProvider
  |   
  | 
  |
  |
  |   CommonHeadersFilter
  |   
org.jboss.web.tomcat.filters.ReplyHeaderFilter
  |   
  |  X-Powered-By
  |  Servlet 2.4; JBoss-4.2.2.GA (build: 
SVNTag=JBoss_4_2_2_GA date=200710221139)/Tomcat-5.5
  |   
  |
  | 
  |
  |   CommonHeadersFilter
  |   /*
  |
  |
  |
  |   
org.jboss.web.tomcat.security.SecurityFlushSessionListener
  |
  | 
  |  
  | 
org.apache.myfaces.webapp.StartupServletContextListener
  |   
  |   
  |   
  | default
  | 
org.apache.catalina.servlets.DefaultServlet
  | 
  | debug
  | 0
  | 
  | 
  | listings
  | false
  | 
  | 1
  | 
  | 
  | 
  | jsp
  | org.apache.jasper.servlet.JspServlet
  | 
  | fork
  | false
  | 
  | 
  | xpoweredBy
  | false
  | 
  | 
  |  compilerSourceVM
  |  1.5
  | 
  | 
  | 
  |engineOptionsClass
  |
org.jboss.web.tomcat.service.jasper.JspServletOptions
  | 
  | 
  | 
  |JSF standard tlds
  |tagLibJar0
  |jsf-libs/jsf-impl.jar
  | 
  | 
  |JSTL standard tlds
  |tagLibJar1
  |jstl.jar
  | 
  | 
  | 3
  | 
  | 
  | 
  | default
  | /
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | jsp
  | *.jsp
  | 
  | 
  | 
  | jsp
  | *.jspx
  | 
  | 
  | 
  | 30
  | 
  | 
  | 
  | index.html
  | index.htm
  | index.jsp
  | 
  | 

when i start the server, i get


  | [StartupServletContextListener] Serialization provider : class 
org.apache.myfaces.shared_impl.util.serial.DefaultSerialFactory
  | 09:50:57,203 WARN  [JspServlet] Failed to load engineOptionsClass
  | java.lang.reflect.InvocationTargetException
  | at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
  | at 
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39)
  | at 
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27)
  | at java.lang.reflect.Constructor.newInstance(Constructor.java:494)
  | at org.apache.jasper.servlet.JspServlet.init(JspServlet.java:89)
  | at 
org.apache.catalina.core.StandardWrapper.loadServlet(StandardWrapper.java:1161)
  | at 
org.apache.catalina.core.StandardWrapper.load(StandardWrapper.java:981)
  | at 
org.apache.catalina.core.StandardContext.loadOnStartup(StandardContext.java:4071)
  | at 
org.apache.catalina.core.StandardContext.start(StandardContext.java:4375)
  | at 
org.apache.catalina.core.ContainerBase.addChildInternal(ContainerBase.java:790)
  | at 
org.apache.catalina.core.ContainerBase.addChild(ContainerBase.java:770)
  | at org.apache.catalina.core.StandardHost.addChild(StandardHost.java:553)
  | at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
  | at 
sun.reflect.NativeMethodAccessorIm

[jboss-user] [JBoss Seam] - Page flow issues using jPDL

2007-12-11 Thread Zerg-Spirit
Hi,


We're currently trying to build a tool to translate the messages of our site.
We basically want the translator just to see a simple panel showing him the 
message, its description and its different translations, with of course a 
possibility of changing them.
So the translator see a message, translate it, and hit a 'next' button to 
continue his work. He can also go backward with a 'back' button.
Our model is pretty simple, we have a Message entity with a @OneToMany link to 
an Expression entity, each of these Expression having a @OneToOne to a Language.
We rely at the moment on a simple list of objects (the messages). We first try 
to work inside a simple long running conversation, but it was source of many 
possible error affecting our database, since if the user was hitting the 
browser's back button instead of our 'back' button, the expression he would 
then modify would be fetched for the previous message, the one he was on before 
he hit that browser's back button. So the application couldn't apparently know 
this button was pushed, and our database integrity was in potential danger.

So we switch to a jPDL page flow. Everything is working better now, since if 
the user hits the browser's back button, he's sent outside the tool, so our 
data can't be affected. Though, if the user wants to get out of the tool by 
clicking on another links, he would get a 'navigation error' exception, since 
this case isn't known by my jPDL rules. So the tool isn't fully effective yet.

We'd like to know first if there's a better way to do it, because we used the 
JPDL pageflow mainly to avoid the database integrity errors, not because we 
particularly wanted to.
If jPDL was a good choice, then how to take into accoung the case of an user 
clicking on a link outside of the tool? Is there anyway to put a 'wild card' in 
the jPDL rules to tell it to 'end' the conversation?

Although I'm not sure it's really necessary, here's my jsf page and my pageflow 
rules. As you'll see, everything is pretty simple:

  | 
  | 
  | #{item.name}, 
#{index+1}/#{totalItems}
  | 
  | 
  |
  | 
  | 
  | 
  | 
  | 
  | 
  | 


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

The last transition, with the '*' put here as a wildcard, is there only to show 
you what we'd like to have.

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Proxy settings

2007-12-11 Thread aaucott
i get the following error when staring jboss from eclipse.


  | org.springframework.beans.factory.BeanDefinitionStoreException: IOException 
parsing XML document from ServletContext resource 
[/WEB-INF/applicationContext]; nested exception is java.net.ConnectException: 
Connection timed out: connect
  | java.net.ConnectException: Connection timed out: connect 
  | 

i know this error happens because im behind a firewall when it tries to 
retrieve the schema referenced in the bean config files.

This is the schema reference im using

  | http://www.springframework.org/dtd/spring-beans-2.0.dtd";>
  | 

it seems i need to either

1) configure a proxy that jboss will use when starting up (in a jboss config 
file perhaps?), i tried setting the proxy in eclipse but to no avail.
2) copy the schema locally so internet access is not required, i tried copying 
the schema to the web-inf folder but this didnt help?

Im at a loss, any pointers welcome.

Thanks
Andy

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

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


[jboss-user] [JBoss Seam] - Re: Seam Email - IllegalStateException: No Factories configu

2007-12-11 Thread [EMAIL PROTECTED]
Its hard to know what causes that. What is #{fileSystemManager}? where is it in 
your deployed archive?

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

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


[jboss-user] [JBoss Seam] - Re: Error building from CVS

2007-12-11 Thread [EMAIL PROTECTED]
Can you provide the whole log from ant?

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

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


[jboss-user] [JBoss jBPM] - Re: Changing the id of a processDefinition or of a instance?

2007-12-11 Thread rodosa
Thank you dleerob! I know that the ID is autoincrement, but I don't want that 
the first ID ProcessDefinition was 0, becasuse hibernate thrwos me the 
following exception and I think that the problem is in de ID=0.


  | 11:29:23,192 [main] ERROR DbPersistenceService : hibernate commit failed
  | org.hibernate.TransientObjectException: object references an unsaved 
transient instance - save the transient instance before flushing: 
org.jbpm.graph.def.Node
  | at 
org.hibernate.engine.ForeignKeys.getEntityIdentifierIfNotUnsaved(ForeignKeys.java:219)
  | at org.hibernate.type.EntityType.getIdentifier(EntityType.java:397)
  | at org.hibernate.type.ManyToOneType.isDirty(ManyToOneType.java:242)
  | at org.hibernate.type.TypeFactory.findDirty(TypeFactory.java:576)
  | at 
org.hibernate.persister.entity.AbstractEntityPersister.findDirty(AbstractEntityPersister.java:3121)
  | at 
org.hibernate.event.def.DefaultFlushEntityEventListener.dirtyCheck(DefaultFlushEntityEventListener.java:472)
  | at 
org.hibernate.event.def.DefaultFlushEntityEventListener.isUpdateNecessary(DefaultFlushEntityEventListener.java:197)
  | at 
org.hibernate.event.def.DefaultFlushEntityEventListener.onFlushEntity(DefaultFlushEntityEventListener.java:120)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.flushEntities(AbstractFlushingEventListener.java:196)
  | at 
org.hibernate.event.def.AbstractFlushingEventListener.flushEverythingToExecutions(AbstractFlushingEventListener.java:76)
  | at 
org.hibernate.event.def.DefaultFlushEventListener.onFlush(DefaultFlushEventListener.java:26)
  | at org.hibernate.impl.SessionImpl.flush(SessionImpl.java:1000)
  | at org.hibernate.impl.SessionImpl.managedFlush(SessionImpl.java:338)
  | at 
org.hibernate.transaction.JDBCTransaction.commit(JDBCTransaction.java:106)
  | at 
org.jbpm.persistence.db.DbPersistenceService.commit(DbPersistenceService.java:256)
  | at 
org.jbpm.persistence.db.DbPersistenceService.close(DbPersistenceService.java:214)
  | at org.jbpm.svc.Services.close(Services.java:225)
  | at org.jbpm.JbpmContext.close(JbpmContext.java:139)
  | at com.Ejemplo1.Test2.testEjemplo1Process(Test2.java:75)
  | 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 junit.framework.TestCase.runTest(TestCase.java:154)
  | at junit.framework.TestCase.runBare(TestCase.java:127)
  | at junit.framework.TestResult$1.protect(TestResult.java:106)
  | at junit.framework.TestResult.runProtected(TestResult.java:124)
  | at junit.framework.TestResult.run(TestResult.java:109)
  | at junit.framework.TestCase.run(TestCase.java:118)
  | at junit.framework.TestSuite.runTest(TestSuite.java:208)
  | at junit.framework.TestSuite.run(TestSuite.java:203)
  | at 
org.eclipse.jdt.internal.junit.runner.junit3.JUnit3TestReference.run(JUnit3TestReference.java:130)
  | at 
org.eclipse.jdt.internal.junit.runner.TestExecution.run(TestExecution.java:38)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:460)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.runTests(RemoteTestRunner.java:673)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.run(RemoteTestRunner.java:386)
  | at 
org.eclipse.jdt.internal.junit.runner.RemoteTestRunner.main(RemoteTestRunner.java:196)
  | 


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

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


[jboss-user] [JCA/JBoss] - Re: JCA in a clustered environment

2007-12-11 Thread vickyk
"teknokrat" wrote : All I mean is are there any issues with jboss JCA when you 
create a jboss cluster. Does farm deployment work with rars as expected, etc.
I am not aware of any of the issues , you can ask this in clustering user forum 
here 
http://www.jboss.com/index.html?module=bb&op=viewforum&f=64

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

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


[jboss-user] [JBoss Seam] - Re: Recommendation: Filter, Servlet or tag

2007-12-11 Thread marius.oancea
I've choosed servlet approach for now. It works.

For the ones interested, you can look in seam 2 in :
jboss-seam-2.0.0.GA\examples\seamspace\src\org\jboss\seam\example\seamspace\ContentServlet.java
 

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

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


[jboss-user] [JBoss Seam] - Re: selected tab is lost on sorting of embeded datatable

2007-12-11 Thread marius.oancea
no ideea so far?

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

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


[jboss-user] [JBoss Seam] - Re: Oddness - javax.persistence.EntityNotFoundException

2007-12-11 Thread damianharvey
That was a while ago and that code is now working. If you post your page and 
Bean I will see if I can help.

Cheers,

Damian.

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: native query and

2007-12-11 Thread Soon5
Hy,

I had some Problems with count(*) in the past. Try to use count(IDColumn) or 
another not null column.

Greetings Soon5

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

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


[jboss-user] [JCA/JBoss] - Re: Configuring query time-out in Jboss 3.2.5

2007-12-11 Thread vickyk
What is problem in upgrading to the latest stable version of Jboss which is 
Jboss4.2.* , you should upgrade to it ?

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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - Re: native query and

2007-12-11 Thread dkane
"Soon5" wrote : Hy,
  | 
  | I had some Problems with count(*) in the past. Try to use count(IDColumn) 
or another not null column.
  | 
  | Greetings Soon5


Thank you for the idea. 

Got a workaround by replacing count(*) with : 
 
  List l = (List)
  | em.createNativeQuery("SELECT uId FROM Users_Terminals ut where "+
  | "tId=" + termId + " and uId=" +userId).getResultList();
  |   return(l!=null && l.size()>0 && ((Integer)(l.get(0))).intValue()>0);
  | 

But still interesting .. 

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

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


[jboss-user] [JBossWS] - Re: WsConsume throws exception

2007-12-11 Thread kks_krishna
Even if i am setting the correct path for the jar files, i am getting the 
NoClassFound error.

I am using the following versions:

JBoss : 4.0.5
Java : 5.0
OS : Windows XP

Step1 : I have created webservice and got the WSDL path in the server.
Step2: I have downloaded 2.0.2 native api for generating the client stubs.
Step3: I have extracted the zip files and put it in D drive and set the 
classpath for only that jar file.
Step: I opened the command prompt and typed >>weconsume <>

Is this information enough?

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

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


[jboss-user] [JBoss Portal] - Re: Redirect to a specific portal after login

2007-12-11 Thread ameo
Hello,

the PortalCommandFactory works now ! Thanks for your answers !

Sadly I have one effect with this solution. Starting position:

DefaultPortal -> Login -> CommandFacorty switches to DesiredPortal [ok] 

After login the "DesiredPortal" displays on the screen, but the URL of the 
browser don't chage to DesiredPortal. So I have some side effects, like after 
refreshing the browser the portal turns back to the default portal.

How Can I change the url or how to tell the server to switch the url, too ?

greetings,
ameo 






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

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


[jboss-user] [JBoss Seam] - Re: ConcurrentModificationException - On authenticate

2007-12-11 Thread [EMAIL PROTECTED]
FYI

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

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

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


[jboss-user] [JBoss Seam] - Re: design discussion for adding @PageActions (@PageAction)

2007-12-11 Thread hiltonp
I voted for this because although I don't mind using XML, I don't like having a 
single file like pages.xml that grows linearly with the number of pages in my 
application.

The alternative, which we currently use, are *.page.xml files, and there are 
several of those that only contain an action element. With these separate 
files, I still need to search my whole project for references to a particular 
view ID, which is one of the objections to the annotation style.

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

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


[jboss-user] [JBossWS] - Re: WsConsume throws exception

2007-12-11 Thread [EMAIL PROTECTED]
Hi,

   thanks, that information was important for us to know your usecase. You're 
still missing some jars in the classpath (as you already know) :-( . I suggest 
you to put all jar files from jbossws distribution to your classpath, because 
it's very hard to tell you which jar file are you missing.

Richard

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

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


[jboss-user] [EJB/JBoss] - Jdbc enrollment in Stateless session bean

2007-12-11 Thread guix
I need to make changes through the same datasource in a Stateless saession bean 
to Entity beans and also some tables that do not have (and will not have) 
entity beans associated, thus I need to use jdbc.
Again, both through the same Datasource.

Looks like vene I get a jdbc connection through a lookup, jboss does not enroll 
the jdbc connection in the same transaction as the session bean.
Why not?

Thanks and best regards

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

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


[jboss-user] [JBoss jBPM] - re:jbpm-console source code

2007-12-11 Thread saswati_mishra
Hi,

I would like to take a look at the jbpm-console application. I have followed
the instructions at:
http://wiki.jboss.org/wiki/Wiki.jsp?page=JbpmBuildingTheSources

I did the following steps:

1) Downloaded jbpm.3 to E: drive from cvs.
2)  Modified the ant.home, jboss.home, and local.repository properties in the 
build/build.properties file.
3) Ran ant get.dependencies and then ant install.jbpm.ant. In both the cases 
the build was successful.
4) Then I opened the console folder and did ant war-4.0.x and the build was 
successful.

However, I could not see any source files in the src folder. I would like to 
know what else I have to do to get to see the source code.

Thank you in advance.

Saswati 

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

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


[jboss-user] [JBoss Seam] - Re: Error building from CVS

2007-12-11 Thread lowecg2004
Sure:

Buildfile: C:\Documents and Settings\chrisl\workspace\jboss-seam\build.xml
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam
  | initpoms:
  |  [echo] Setting up dependencies
  | [mkdir] Created dir: C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  | [artifact:install] [INFO] Installing C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms\root.pom to C:\Documents and 
Settings\chrisl\.m2\repository\org\jboss\seam\root\2.0.1.SNAPSHOT\root-2.0.1.SNAPSHOT.pom
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  | [artifact:install] [INFO] Installing C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms\parent.pom to C:\Documents 
and 
Settings\chrisl\.m2\repository\org\jboss\seam\parent\2.0.1.SNAPSHOT\parent-2.0.1.SNAPSHOT.pom
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  |  [copy] Copying 1 file to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\poms
  | init:
  | initcore:
  |  [echo] Build JBoss Seam core 2.0
  | [mkdir] Created dir: C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\coreclasses
  |  [copy] Copying 27 files to C:\Documents and 
Settings\chrisl\workspace\jboss-seam\classes\coreclasses
  | [artifact:dependencies] [INFO] snapshot 
org.jboss.el:jboss-el:2.0.1-SNAPSHOT: checking for updates from local.repository
  | [artifact:dependencies] [INFO] snapshot 
org.jboss.el:jboss-el:2.0.1-SNAPSHOT: checking for updates from 
repository.jboss.org
  | [artifact:dependencies] [INFO] snapshot 
org.jboss.el:jboss-el:2.0.1-SNAPSHOT: checking for updates from 
snapshots.jboss.org
  | [artifact:dependencies] Downloading: 
org/jboss/el/jboss-el/2.0.1-SNAPSHOT/jboss-el-2.0.1-SNAPSHOT.pom from 
snapshots.jboss.org
  | [artifact:dependencies] Transferring 1K from snapshots.jboss.org
  | [artifact:dependencies] [INFO] snapshot 
org.jboss.seam.embedded:jboss-embedded-api:beta3-SNAPSHOT: checking for updates 
from local.repository
  | [artifact:dependencies] [INFO] snapshot 
org.jboss.seam.embedded:jboss-embedded-api:beta3-SNAPSHOT: checking for updates 
from repository.jboss.org
  | [artifact:dependencies] [INFO] snapshot 
org.jboss.seam.embedded:jboss-embedded-api:beta3-SNAPSHOT: checking for updates 
from snapshots.jboss.org
  | [artifact:dependencies] Downloading: 
org/jboss/seam/embedded/jboss-embedded-api/beta3-SNAPSHOT/jboss-embedded-api-beta3-SNAPSHOT.pom
 from snapshots.jboss.org
  | [artifact:dependencies] Transferring 1K from snapshots.jboss.org
  | [artifact:dependencies] Downloading: 
org/jboss/microcontainer/jboss-deployers-client-spi/2.0.0.Beta6/jboss-deployers-client-spi-2.0.0.Beta6.pom
 from local.repository
  | [artifact:dependencies] Downloading: 
org/jboss/microcontainer/jboss-deployers-client-spi/2.0.0.Beta6/jboss-deployers-client-spi-2.0.0.Beta6.pom
 from repository.jboss.org
  | [artifact:dependencies] Transferring 1K from repository.jboss.org
  | [artifact:dependencies] Downloading: 
org/jboss/microcontainer/jboss-microcontainer/2.0.0.Beta6/jboss-microcontainer-2.0.0.Beta6.pom
 from local.repository
  | [artifact:dependencies] Downloading: 
org/jboss/microcontainer/jboss-microcontainer/2.0.0.Beta6/jboss-microcontainer-2.0.0.Beta6.pom
 from repository.jboss.org
  | [artifact:dependencies] Transferring 18K from repository.jboss.org
  | [artifact:dependencies] Downloading: 
org/jboss/jboss-parent/3/jboss-parent-3.pom from repository.jboss.org
  | [artifact:dependencies] Transferring 11K from repository.jboss.org
  | [artifact:dependencies] Downloading: 
org/jboss/microcontainer/jboss-deployers-core-spi/2.0.0.Beta6/jboss-deployers-core-spi-2.0.0.Beta6.pom
 from local.repository
  | [artifact:dependencies] Downloading: 
org/jboss/microcontainer/jboss-deployers-core-spi/2.0.0.Beta6/jboss-deployers-core-spi-2.0.0.Beta6.pom
 from repository.jboss.org
  | [artifact:dependencies] Transferring 1K from repository.jboss.org
  | [artifact:dependencies] Downloading: 
org/jboss/el/jboss-el/2.0.1-SNAPSHOT/jboss-el-2.0.1-SNAPSHOT.jar from 
snapshots.jboss.org
  | [artifact:dependencies] Transferring 130K from snapshots.jboss.org
  | [artifact:dependencies] 

[jboss-user] [JBoss Seam] - Hibernate + Groovy

2007-12-11 Thread trouby
Hey,
My question is more related to Hibernate&Groovy but since I mix it all with 
seam / seam provides examples with groovy I felt like it's ok to ask my 
question here :)


I have looked at the hotel booking example with groovy and it seems to work 
fine, but at the moment I'm trying to write an entity with groovy which EXTENDS 
another entity written in java(that annotated with @Inheritance) then I get an 
exception that Hibernate tries to persist column an unknow column type named 
groovy.lang.MetaClass,

indeed there is such a property, but I can't see any way to automatically 
ignore it,

I tried to add to the groovy entity the following:
{code}
@Transient
MetaClass metaClass
{code}

but no luck,


What I'm curious about, if this property available for any groovy object, then 
why hibernate does try to persist it without inheritance as well ?




Many thanks,

Asaf.

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

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


[jboss-user] [Management, JMX/JBoss] - JSR 88 Sample

2007-12-11 Thread sgd1977
Hello,

I'm using JBoss 4.0.5. Am a newbie. I need to write a client that deploys and 
undeployes (WAR, EAR) archives to/from JBoss using JSR88.

I need to know how I can create a deployment plan for 
javax.enterprise.deploy.spi.DeploymentManager.distribute() call. It won't take 
null (as some application servers do). Is there a way I can generate a 
deployment plan using JBoss tools or where can I get a deployment plan from? 
Currently, I have no idea what JBoss is expecting and the JBoss JSR88 Javadoc 
isn't very helpful.

I've done this successfully before for WebLogic and OC4J.

Thanks,
Siddharth

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

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


[jboss-user] [JBoss AOP] - Re: [i]Introduction[/i] not working in my project but workin

2007-12-11 Thread elysch
To enable the debug option in the JBoss server it's enough to put :

set JAVA_OPTS=-Xdebug %JAVA_OPTS%

in the JBoss server run.bat file?

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

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


[jboss-user] [JBoss jBPM] - where to find jbpm.db or upgrade from 3.1.x to 3.2.x ?

2007-12-11 Thread JavaSpaceMarine
hi,

in documentation chapter 8.2. Database upgrades refer to subproject jbpm.db.

where can I find jbpm.db ?
I need to upgrade my database from 3.1.x to 3.2. How can I do this ?

greeds
MacTetz

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

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


[jboss-user] [JBoss Seam] - Re: seambay example always throws NotLoggedInException

2007-12-11 Thread beligum
Thanks for the reply, Shane.

After a search-marathon, I came up with how to do this:


  | 
((BindingProvider)auctionService).getRequestContext().put(BindingProvider.SESSION_MAINTAIN_PROPERTY,
 true);
  | 


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

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


[jboss-user] [JBossWS] - webservice login and initialization is Seam

2007-12-11 Thread beligum
Hi all,

I don't really know where to post this, but I guess it's more WS-related than 
it is Seam-related.

Here's the issue: When I start an (ear) application, and nobody went to the 
website, before a remote login()-webserviceservice is contacted (which uses the 
seam Identity component to login), I always get an error that the security.drl 
file couldn't be found. Though, when I try to do this after someone visited the 
site (and security.drl) was loaded appropriately, everything is ok.

It seems like the initialization of the security-rules is something the 
webservice-integration (in Seam) isn't able to do?

Here's the stacktrace:


  | 13:39:56,432 INFO  [RuleBase] parsing rules: security.drl
  | 13:39:56,472 ERROR [SOAPFaultHelperJAXWS] SOAP request exception
  | javax.ejb.EJBException: org.jboss.seam.InstantiationException: Could not 
instantiate Seam component: org.jboss.seam.security.identity
  | at 
org.jboss.ejb3.tx.Ejb3TxPolicy.handleExceptionInOurTx(Ejb3TxPolicy.java:63)
  | at org.jboss.aspects.tx.TxPolicy.invokeInOurTx(TxPolicy.java:83)
  | at 
org.jboss.aspects.tx.TxInterceptor$Required.invoke(TxInterceptor.java:191)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.tx.TxPropagationInterceptor.invoke(TxPropagationInterceptor.java:95)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.stateless.StatelessInstanceInterceptor.invoke(StatelessInstanceInterceptor.java:62)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.aspects.security.AuthenticationInterceptor.invoke(AuthenticationInterceptor.java:77)
  | at 
org.jboss.ejb3.security.Ejb3AuthenticationInterceptor.invoke(Ejb3AuthenticationInterceptor.java:110)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.ENCPropagationInterceptor.invoke(ENCPropagationInterceptor.java:46)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.ejb3.asynchronous.AsynchronousInterceptor.invoke(AsynchronousInterceptor.java:106)
  | at 
org.jboss.aop.joinpoint.MethodInvocation.invokeNext(MethodInvocation.java:101)
  | at 
org.jboss.wsf.container.jboss42.InvocationHandlerEJB3.invoke(InvocationHandlerEJB3.java:103)
  | at 
org.jboss.ws.core.server.ServiceEndpointInvoker.invoke(ServiceEndpointInvoker.java:220)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.processRequest(RequestHandlerImpl.java:414)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleRequest(RequestHandlerImpl.java:273)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.doPost(RequestHandlerImpl.java:190)
  | at 
org.jboss.wsf.stack.jbws.RequestHandlerImpl.handleHttpRequest(RequestHandlerImpl.java:123)
  | at 
org.jboss.wsf.stack.jbws.EndpointServlet.service(EndpointServlet.java:84)
  | 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.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFilter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:179)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
  | at 
org.jboss.web.tomcat.service.jca.CachedConnectionValve.invoke(CachedConnectionValve.java:157)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:262)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:583)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:446)
  | at java.lang.Thread.run(Thread.java:619)
  | Caused by: org.jboss.sea

[jboss-user] [JBoss Seam] - Re: Myfaces, seam 2.0 and Jboss 4.2.2

2007-12-11 Thread magdam
I added library  jboss-el.jar to
server\all\deploy\jboss-web.deployer\jsf-libs\
and application works fine.

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

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


[jboss-user] [JBoss Tools (users)] - Seam Facet and database profile

2007-12-11 Thread speleomaniac
Hi everybody,

I have a problem with database profile in Seam Facet in JBoss Tools.

I am sure somebody has already complained about this thing in the forum but I 
couldn't find anything about it.

In the first stage of the poject, I am not interested with the database and I 
tried to use HSQL in JBoss AS but I am getting a funny error message that 
hsqldb.jar in not in the path so it can't create the profile.

Well I am inside of a wizard I have no idea how I can include a library to the 
project or to which directory to put this library.

Normally, I was playing until now with Red Hat Developer Studio but as you 
know, it is now JBoss Developer Studio and I have to pay for it. So I am trying 
to understand the JBoss Tools and I have a problem that I don't have before in 
RHDS.

Is there a trick to bypass this problem?

Thx in advance

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam Facet and database profile

2007-12-11 Thread [EMAIL PROTECTED]
select the jar and click Edit and you can choose the hsqldb.jar driver you want 
to use.

In JBDS we preconfigure one connection profile to use the driver inside JBoss 
EAP - thats why you did not have to bother with it there.


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

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


[jboss-user] [EJB 3.0] - EJB3 over HTTP and Reverse Proxy

2007-12-11 Thread Didi1976
All examples regarding Remoting only work for the simple scenario where a 
client directly connects to the Server. This configuration is already working 
(even over HTTP). I used the description in the wiki 
(http://wiki.jboss.org/wiki/Wiki.jsp?page=Accessing_EJB3s_over_HTTP_HTTPS).

Our destination scenario looks like:

Java Client --HTTP(S)--> Reverse Proxy (httpd/mod_proxy) --AJP/HTTP/HTTPS--> 
JBoss

My main problem is to reconfigure the 
@RemoteBinding/ServerInvokerServlet/Remoting to connect to my reverse proxy 
instead of directly trying to contact the AS. clientConnectAddress and 
clientConnectPort dont work as supposed.

In "good old days" of JBoss 4.0.x all this was configurable by setting a simple 
InvokerURL. Now, in JBoss 4.2.x, this feature is lost (or not obvious to me ... 
what I really hope). It was even possible to switch from http to https by 
changing that. Now you have to define two different RemoteBindings and access 
your EJB3 SLSB/SFSB using different JNDI-Names (again, do I miss anything here).

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

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


[jboss-user] [Installation, Configuration & DEPLOYMENT] - Re: different connection node/pool

2007-12-11 Thread harish73
Thanks peter for your prompt response.
May be i'm wrong. But i have been working in weblogic multi datasource, where 
multi data source is an abstraction around a group of data sources that 
provides load balancing or failover processing between the data sources 
associated with the multi data source.
I was looking same feature or alternative in JBOSS. is this possible?

Thanks.

"PeterJ" wrote : There is no way to have one datasource support two different 
connection pools. How would the datasource know which of the pools to use? And 
what would be the benefit of having two connection pools of 100 connections 
each, as opposed to having a single connection pool of 200 connections? 
  | 
  | However, you can create multiple datasources for the same database, and 
each would have its own connection pool. You can then have some applications 
request one of the datasource and other request the other datasource.

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

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


[jboss-user] [JBoss Portal] - Re: Redirect to a specific portal after login

2007-12-11 Thread bvogt
as far as I have seen, the PortalCommandFactory intercepts each request, may be 
it's just a matter of remembering the "desired portal" decision?

If not, which part of the url changes (server name?)?

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

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


[jboss-user] [JBoss Seam] - Re: Could not synchronize database state with session

2007-12-11 Thread jensaug
@JoinColumn and mappedBy have nothing to do with eachother! 

If you have a bidirectional relation you should always inform Hibernate about 
this by (normally) adding mappedBy on the Collection side. If you don't you 
might generate unnecessary tables and cause double SQL to be generated

@JoinColumn is optional - as used above only to customize name of column. A 
good practice is to also set the JPA attribute nullable=false instead of 
Hibernate's @NotNull

/Jens

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

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


[jboss-user] [Clustering/JBoss] - Re: Can somebody tell me the difference between followed UDP

2007-12-11 Thread [EMAIL PROTECTED]
They are both useful.  They configure two separate communication channels that 
are used by different clustered services.  The tc5-cluster.sar one is used for 
HttpSession replication.  The cluster-service.xml one is used for most 
everything else (except EJB3 which has its own channels if you use it.)

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

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


[jboss-user] How to add application data to a SOAP header envelop using JBossWS [was: UsernameToken authentication using JBossWS]

2007-12-11 Thread Leandro Sales
Hi list,

  How can I add tags in the header of a SOAP envelop using JBossWS?

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


[jboss-user] [JBossWS] - Re: UsernameToken authentication using JBossWS

2007-12-11 Thread leandroal
Hi Alessio, here it is:


http://schemas.xmlsoap.org/wsdl/soap/";
xmlns:tm="http://microsoft.com/wsdl/mime/textMatching/";
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/";
xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/";
xmlns:tns="http://www.xxx.com/"; xmlns:s1="http://www.xxx.com/security";
xmlns:s="http://www.w3.org/2001/XMLSchema";
xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/";
xmlns:http="http://schemas.xmlsoap.org/wsdl/http/";
targetNamespace="http://www.xxx.com/";
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/";>
 http://schemas.xmlsoap.org/wsdl/";>This web service
provides real-time data data.
 
   http://www.xxx.com/";>
 
   
 
 
   
 
   
 
   
 
 
   
 
   
 
 
   
 
 
 
 
 
 
   
 
 
   
 
   
 
   
 
 
   
 
   
 
   
 
 
   
 
   
 
 
   
 
   
   
 
   
 
 
   
 
   
 
   
 
 
   
 
 
 
 
 
   
 
 
   
 
   
 
   
 
 
   
 
   
 
   
 
 
   
 
   
 
 
   
 
   
   
   
   
 
   
 
 
   
 
   
 
   
 
 
   
 
   
   
   
 
   
 
 
   
 
   
 
   
 
   
   http://www.xxx.com/security";>
 
 
   
 
 
   
   
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 
 
   
 http://schemas.xmlsoap.org/wsdl/";>...
 
 
   
   
 http://schemas.xmlsoap.org/wsdl/";>...
 
 
   
   
 http://schemas.xmlsoap.org/wsdl/";>...
 
 
   
   
 http://schemas.xmlsoap.org/wsdl/";>...
 
 
   
   
 http://schemas.xmlsoap.org/wsdl/";>...
 
 
   
   
 http://schemas.xmlsoap.org/wsdl/";>
 
 
   
 
 
   http://schemas.xmlsoap.org/soap/http"/>
   
 http://www.xxx.com/GetStations";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetObservationVariablesByStation";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetLatestObservationByStationAndVariable";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetLatestObservationsByStation";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetObservationsByStationAndVariable";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetObservationsByStation";
style="document"/>
 
   
   
 
 
   
 
   
 
 
   http://schemas.xmlsoap.org/soap/http"/>
   
 http://www.xxx.com/GetStations";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetObservationVariablesByStation";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetLatestObservationByStationAndVariable";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetLatestObservationsByStation";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetObservationsByStationAndVariable";
style="document"/>
 
   
   
 
 
   
 
   
   
 http://www.xxx.com/GetObservationsByStation";
style="document"/>
 
   
   
 
 
   
 
   
 
 
   http://schemas.xmlsoap.org/wsdl/";>This web service
provides real-time data data.
   
 http://yyy.xxx.net/WebSite/dataData.asmx"/>
   
   
 http://yyy.xxx.net/WebSite/dataData.asmx"/>
   
 


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

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


[jboss-user] [JBoss Seam] - Ant Build File fo Seam-Gen applications

2007-12-11 Thread eusdart
Is there an ant build file that will take the project created by Seam-Gen and 
archive (Ear, ejb-Jar, War)  it up for deployment to production servers?

I have not used JBoss server in some time (3.2.x was the last version I used), 
so can the seam-gen jboss-web.xml, and jboss.xml files be included in the 
archives? 

Since Annotations are used now to generate xml files will the annotations 
generate the correct JBoss-Specific xml files for deployment to a JBoss 
production server?

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

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


[jboss-user] [JBoss jBPM] - Re: re:jbpm-console source code

2007-12-11 Thread mputz
In jbpm.3/console/src/ you will find the xhtml files for the facelets based UI.

If you are looking for the rest of the sources for the jbpm-console web 
application, check the contents of the jbpm.3/jbpm4jsf/ folder.

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

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


[jboss-user] [JBoss Seam] - Re: Seam performance vs plain JSF

2007-12-11 Thread gonzalad
Hi lowecg2004,

Thanks for the tip.

Just modified the jpa-no-a4j.ear application adding :
anonymous wrote :  

But same results than before (looking at Seam code, debug="false" is the 
default value).
So, for a constant throughput of 60tx/s, I have the following results :
cpu used=40%
elapsed(ms)=94ms
for a 5 minute long load-test.

Thanks you once more anyway !

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

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


[jboss-user] [EJB 3.0] - Re: EJB3 over HTTP and Reverse Proxy

2007-12-11 Thread Didi1976
I know that it is possible to specify the RemoteBinding also in an XML file 
(did not test it till now) but I dont wanna let a customer edit such files.

Maybe it would help to explain by the fact that most customers run different 
systems for QA, training and production. Each time I move a release from QA to 
training to production, it would be neccessary to adapt files within the 
EAR/JAR/...

In the old style (InvokerURL in JBoss 4.0.x) all this was not affected by any 
file inside my EAR. I had preconfigured AS where I deployed the same EAR 
without any changes.

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

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


[jboss-user] [JBossWS] - Re: context-root in jboss.xml

2007-12-11 Thread [EMAIL PROTECTED]
Hi,

I'm having this same problem.  
Is there any work around this problem?

TIA,
Alex Soto

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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader and MySQL problems

2007-12-11 Thread dmary
do u try to change the type of field named node in table jbosscache from blob 
to longblob ?

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

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


[jboss-user] [JBoss Seam] - Re: Is there an easy way to create a pulldown with all avail

2007-12-11 Thread mars1412
hi,

I also searched 4 smth. like TimeZone.timeZones (much like Theme.themes)

I found a bugreport, saying this was fixed in version 1.1.0:
http://jira.jboss.org/jira/browse/JBSEAM-405
however, can it be, that this is still missing?

however, it seems not to exist in seam version 2.0.0.GA:
http://docs.jboss.com/seam/2.0.0.GA/api/org/jboss/seam/international/TimeZoneSelector.html

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

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


[jboss-user] [JBoss Seam] - [newbie] Problem passing parameters

2007-12-11 Thread german.otero
Hi, i'm new with Seam, and i have a problem passing object between pages.
I have a grid, at the home of my app, and a view/edit action (row action.). 
Simple when a user click this link, i need to go to another page, this new 
page,  must be fill with the object behind the row.
ej: the row has an object 'AType', and i go to the ATypeEdit.xhtml. so when i 
click the action to edit the AType, the new page rendered must have the AType 
info.

I found several ways to do this, 
1)  with  but, i pass the id of the AType, or something that i can 
use to find it in the DB. If the object is transient???..

2) a session bean, call it, whatever you want (home, session bean o anything), 
that holds the object this is a little ugly. because, who will clean this 
reference??..and this SessionObject, have nothing to do here.

3) there is no 3..

I need a way to say, Hey, AType, Go there. >and the aType go.

Tnks.
 

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

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


[jboss-user] [JBoss Tools (users)] - Re: Seam Facet and database profile

2007-12-11 Thread speleomaniac
Thx,

that worked.

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

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


[jboss-user] [JBossCache] - Re: CacheLoader is not notified when a POJO is modified

2007-12-11 Thread dmary
well, i've try to do again same deploy, with a fresh install of jboss 4.05 GA, 
and I found another error, and in searching into forum, 
I found that someone have got same error 
(see 
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=98752&postdays=0&postorder=asc&start=10),
 and the solution was to put into the classpath of aop task this :

  | 
  |   
  | 
  | 

thanks jason for the advice!

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

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


[jboss-user] [JBoss Seam] - Latest status of JBoss Seam and maven2?

2007-12-11 Thread jsolderitsch
I looked through forum postings and did some searching but I didn't find 
postings since Seam 2.0.0GA is out.

I built a little project out of seam-gen and I added in some custom code. With 
ant, this works fine.

Now I would like to set up a maven2 build capability out of the same code base. 
We are moving to a Continuous Integration environment using Hudson and maven2 
is apparently useful in this context.

What is the quickest way to make this happen?

I would like to build the final ear deployable and also deploy it to a local 
JBoss (4.2.2).

Links and tips appreciated.

Jim

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

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


[jboss-user] [JBoss Seam] - Fieldset problem with h:panelGrid

2007-12-11 Thread xshuang
Good morning all,

Is there a way to use fieldset together with panelGrid nicely? I want to group 
several fields (not the whole table) using fieldset. However, I must use 
separate table (panelGrid) and this causes aligning problem.

Has anyone found a nice solution? Thanks a lot for your help.

Regards,
Sheng 

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

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


[jboss-user] [JBoss Seam] - Re: Problems with contexts not being active

2007-12-11 Thread bmc
I have just the same problem with ContextFilter as akwatters. I use seam 2.0.GA 
and Jboss 4.2.2.

I want to get access to seam component from my servlet (catalogDispatcher), so 
I add org.jboss.seam.web.ContextFilter before my servlet and call 

  | Component.getInstance("myComponentName");
  | 

Everything works fine, but when my servlet ends doGet function execution - 
error appears:


  | 18:23:16,588 ERROR [[catalogDispatcher]] Servlet.service() for servlet 
catalogDi
  | spatcher threw exception
  | java.lang.IllegalStateException: No active event context
  | at org.jboss.seam.core.Manager.instance(Manager.java:248)
  | at 
org.jboss.seam.servlet.ContextualHttpServletRequest.run(ContextualHtt
  | pServletRequest.java:55)
  | at org.jboss.seam.web.ContextFilter.doFilter(ContextFilter.java:37)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.ajax4jsf.webapp.BaseXMLFilter.doXmlFilter(BaseXMLFilter.java:141)
  | 
  | at org.ajax4jsf.webapp.BaseFilter.doFilter(BaseFilter.java:281)
  | at 
org.jboss.seam.web.Ajax4jsfFilter.doFilter(Ajax4jsfFilter.java:60)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at org.jboss.seam.web.LoggingFilter.doFilter(LoggingFilter.java:58)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at 
org.jboss.seam.debug.hot.HotDeployFilter.doFilter(HotDeployFilter.jav
  | a:68)
  | at 
org.jboss.seam.servlet.SeamFilter$FilterChainImpl.doFilter(SeamFilter
  | .java:69)
  | at org.jboss.seam.servlet.SeamFilter.doFilter(SeamFilter.java:158)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.jboss.web.tomcat.filters.ReplyHeaderFilter.doFilter(ReplyHeaderFi
  | lter.java:96)
  | at 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
  | icationFilterChain.java:235)
  | at 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
  | ilterChain.java:206)
  | at 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
  | alve.java:230)
  | at 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
  | alve.java:175)
  | at 
org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(Securit
  | yAssociationValve.java:179)
  | at 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
  | torBase.java:433)
  | at 
org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValv
  | e.java:84)
  | at 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
  | ava:128)
  | at 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
  | ava:104)
  | at 
org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:
  | 543)
  | at 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
  | ve.java:109)
  | at 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
  | a:241)
  | at 
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
  | :844)
  | at 
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
  | ss(Http11Protocol.java:580)
  | at 
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:44
  | 7)
  | at java.lang.Thread.run(Thread.java:619)
  | 


Web.xml

  | 
  | http://java.sun.com/dtd/web-app_2_3.dtd";>
  | 
  |   bestmemory
  | 
  | 
  | Seam Context Filter
  | org.jboss.seam.web.ContextFilter
  | 
  | 
  |
  | org.ajax4jsf.VIEW_HANDLERS
  | com.sun.facelets.FaceletViewHandler
  | 
  | 
  | 
  | org.jboss.seam.servlet.SeamListener
  | 
  | 
  | 
  | Seam Resource Servlet
  | 
org.jboss.seam.servlet.SeamResourceServlet
  | 
  | 
  | 
  | Seam Resource Servlet
  | /seam/resource/*
  | 
  | 
  | 
  | Seam Filter
  | org.jboss.seam.servlet.SeamFilter
  | 
  | 
  | 
  | Seam Filter
  | /*
  | 
  | 
  | 
  | 
  | 
  | javax.faces.DEFAULT_SUFFIX
  | .xhtml
  | 
  | 
  | 
  | facelets.DEVELOPMENT
  | true
  | 
  | 
  | 
  | facelets.BUFFER_SIZE
  | 8192
  | 
  | 
  | 
  | Faces Servlet
  | javax.faces.webapp.FacesServlet
  | 1
  | 
  | 
  | 
  | Faces Servlet
  | *.seam
  | 
  | 
  | 
  | 10
  |
  | 
  |   
  | catalogDispatcher
  | 
akcent.application.request.CatalogDispatcher
  |   
  | 
  |   
  | catalog

[jboss-user] [JBoss Seam] - Re: [newbie] Problem passing parameters

2007-12-11 Thread german.otero
Ok, In this example, we have a MessageManagerBean that is Session scopped. so 
it has the reference, is the same as the entityHome. or any Session Bean then 
holds the reference.  this session bean, will have the reference to my selected 
object, until the end of my session.. or i need to say to him Hey destroy 
anything because i finish my work..
On the other hand suppouse that when i click the view/edit button, open a popUp 
window, so a single user, with single session, can open 2 AType for edit 2 
windows, 1 session bean... ERR it must be other way to pass object form one 
page to other.. thinking that i do not have a conversation...
i'm starting a conversation, with an object.

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

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


[jboss-user] [JBoss Seam] - [newbie] timezones and s:convertDateTime

2007-12-11 Thread mars1412
I want the user to select a timezone and then display a the server systemdate 
in the users timezone...
switching the timezone seems to work, but the page will always display the same 
date, no matter, which timezone I select.

first I wrote a small stateless bean, to get the available timezones and the 
current date:


  | @Stateless
  | @Name("timeZoneUtil")
  | public class TimeZoneUtil implements Serializable, TimeZoneUtilInterface {
  | 
  | public List getTimeZones() {
  | String[] timeZoneIDs = java.util.TimeZone.getAvailableIDs();
  | List selectItems = new ArrayList(
  | timeZoneIDs.length);
  | for (String name : timeZoneIDs) {
  | selectItems.add(new SelectItem(name, name));
  | }
  | return selectItems;
  | }
  | 
  | public Date getCurrentDateTime() {
  | return new Date();
  | }
  | ...
  | }
  | 

in the webpage, I use the standard seam functions to switch the locale and 
display the date/time:


  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | CurrentDateTime:
  | timezone: #{timeZoneSelector.timeZone}
  | 
  | 
  |   
  | 
  | 
  | 
  | 

Switching the locale seems to work, but the page will always display the same 
date!?
e.g. 
anonymous wrote : 
  | CurrentDateTime: timezone: 
sun.util.calendar.ZoneInfo[id="Etc/GMT+10",offset=-3600,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
  | 
  | Dienstag, 11. Dezember 2007 16:22:04 
  | 
some seconds later:

anonymous wrote : 
  | CurrentDateTime: timezone: 
sun.util.calendar.ZoneInfo[id="Etc/GMT+12",offset=-4320,dstSavings=0,useDaylight=false,transitions=0,lastRule=null]
  | 
  | Dienstag, 11. Dezember 2007 16:22:39 
  | 

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

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


[jboss-user] [JBoss Seam] - Re: [newbie] Problem passing parameters

2007-12-11 Thread mars1412
check this out: 
http://docs.jboss.com/seam/latest/reference/en/html/tutorial.html#messages

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

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


[jboss-user] [JBoss Seam] - Re: Latest status of JBoss Seam and maven2?

2007-12-11 Thread bmc
Everything works fine 8)

http://www.jboss.com/index.html?module=bb&op=viewtopic&t=123345

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

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


[jboss-user] [JBoss Seam] - Seam developer availability

2007-12-11 Thread diwant
I am finding that most Indian developers have had experience with Struts and 
JSP.  I would like to use Seam for a new product I am developing, but I am 
having difficulty finding people who have a working knowledge of Seam, or even 
of EJB 3.0 and JSF.

I would like your advice on the below two points.

1.  Are there people in Hydrebad/Pune/Mumbai that have experience in these 
technologies (Seam 2, EJB 3, JSF 1.2)?  How much does this talent go for?
2.  Should I move to Struts instead to develop the product (which will have a 
lifespan of at least 5 years) and forgo the conversations and smaller code of 
Seam for a faster ramp time with Struts?

TIA,
Diwant

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

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


[jboss-user] [JBoss Seam] - Re: Latest status of JBoss Seam and maven2?

2007-12-11 Thread jsolderitsch
OK, I did see this thread originally, but the discussion did not lead me to 
conclude that a final solution was expressed there.

Reading more closely, I guess I can put together bits from the various replies 
to see if I can get something to work. Got to do some manual pom file editing I 
guess.

Would be nice if seam-gen put this together for us.

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

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


[jboss-user] [JBoss Seam] - Re: Latest status of JBoss Seam and maven2?

2007-12-11 Thread [EMAIL PROTECTED]
http://jira.jboss.com/jira/browse/JBSEAM-2026 - vote for it if you want it :)

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

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


[jboss-user] [JBoss Seam] - Re: Latest status of JBoss Seam and maven2?

2007-12-11 Thread jsolderitsch
My vote is in :-)

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

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


[jboss-user] [JBoss Seam] - Re: Date parameter at s:button

2007-12-11 Thread jamesjmp
Hi, did you find any solution to this problem? the same is hapenning to me!

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

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


[jboss-user] [Security & JAAS/JBoss] - Arrggh! JAAS Policy File with JBOSS - Please Help!

2007-12-11 Thread jgilmore
My application security runs great in Tomcat but when I run it in JBoss it 
doesn't work.

I have deployed a DynamicLoginConfig MBean to specify the location of my custom 
login-config.xml:

jboss-service.xml:

  | 
  |
  |
  |   META-INF/jboss-login-config.xml
  |   
  |   
  |  jboss.security:service=XMLLoginConfig
  |   
  |   
  |   
  |  jboss.security:service=JaasSecurityManager
  |   
  |
  | 

Where jboss-login-config.xml looks like this:


  | 
  |  
  |  
  | 
  | META-INF/ClientAdmin.policy
  | 
  |  
  |  
  |
  | 

This works great, when logging into my application on JBoss my custom 
HibernateLoginModule class is called.  However, I have a JAAS Policy file that 
looks like this..


  | 
  | grant Principal com.ftid.custadmin.security.ClientAdminPrincipal 
"view_customer" {
  | permission  com.ftid.custadmin.security.ViewIdPermission 
"/client/clientsView.*";
  | permission  com.ftid.custadmin.security.ViewIdPermission 
"/client/clientLandingPage.*";
  | };
  | 
  | grant Principal com.ftid.custadmin.security.ClientAdminPrincipal 
"view_update_customer" {
  | permission  com.ftid.custadmin.security.ViewIdPermission 
"/client/clientEdit.*";
  | };
  | 
  | etc.
  | 

How do I get the JBoss SecurityManager to read this JAAS policy file??

In tomcat I simply had to do the following which works very well:


  | System.setProperty("java.security.auth.login.config", 
sc.getRealPath("/WEB-INF/jaas.properties"));
  | System.setProperty("java.security.auth.policy", 
sc.getRealPath("/WEB-INF/ClientAdmin.policy"));
  | SecurityManager sm = System.getSecurityManager();
  | .
  | .
  | .
  | Permission perm = new ViewIdPermission("/client/clientEdit");
  | sm.checkPermission(perm);
  | 

When this code runs in JBoss an AccessControlException is thrown.  It seems 
that JBoss creates it's own SecurityManager that hasn't been set up using my 
Policy file.  

HOW DO I GET JBOSS TO READ MY POLICY FILE ??  Please Help!!


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

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


[jboss-user] [Persistence, JBoss/CMP, Hibernate, Database] - preupdate on inherited classes?

2007-12-11 Thread d-rock
Hi,
I have a whole slew of objects that are using the preupdate method to 
update a record timestamp on persist. All of them are working correctly except 
for a small subset of classes that use inheritance. I've implemented and 
annotated the preupdate method on the base class and I have three subclasses 
(all of the base class) that provide their own fields for a single table 
inheritance model. When I try to persist any of the three, I get an exception 
that the record timestamp is null. I've been digging through the docs and I 
thought it said that this should work in an inheritance hierarchy when the 
preupdate method is in the base class. Did I misread it, or could something 
else be going on?

Thanks,

Derek

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

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


[jboss-user] [JBoss Seam] - Problems with ajax4jsf and view-handler

2007-12-11 Thread wachtda
hello together

i enhanced the helloworld example with different components.
now i try to work with the ajax4jsf:poll component!

i added the ajax4jsf component as decribed.
after deploy an start of the project my form-items not got rendered.
(input-fields, buttons)

if i uncomment the view-handler from the faces-config.xml,
the standard elements got rendered but i got a xml parser error,
because it finds not the ajax4jsf namespace!
anonymous wrote : XML Parsing Error: prefix not bound to a namespace


thanx for help!
greetings daniel



browser-output:
anonymous wrote : 
  | #{messages.tit_hello}
  | 
  | #{messages.name}:
  | #{messages.age}:
  | #{messages.email}:
  | #{messages.comment}:
  | 

faces-config.xml

  | http://java.sun.com/xml/ns/javaee";
  |xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-facesconfig_1_2.xsd";>
  | 
  | 
  | 
  | 
  | 
  | de
  | 
  | de
  | fr
  | it
  | en
  | es
  | 
  | 
  | 
  | 
  | 


web.xml

  | 
  | http://java.sun.com/xml/ns/javaee";
  | xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  | xsi:schemaLocation="http://java.sun.com/xml/ns/javaee 
http://java.sun.com/xml/ns/javaee/web-app_2_5.xsd";
  | version="2.5">
  | 
  | 
  | 
  | org.ajax4jsf.VIEW_HANDLERS
  | com.sun.facelets.FaceletViewHandler
  | 
  | 
  | 
  | 
  | 
  | org.jboss.seam.servlet.SeamListener
  | 
  | 
  | 
  | 
  | Seam Resource Servlet
  | 
  | org.jboss.seam.servlet.ResourceServlet
  | 
  | 
  | 
  | 
  | Seam Resource Servlet
  | /seam/resource/*
  | 
  | 
  | 
  | Seam Filter
  | org.jboss.seam.servlet.SeamFilter
  | 
  | 
  | 
  | Seam Filter
  | /*
  | 
  | 
  | 
  | javax.faces.STATE_SAVING_METHOD
  | server
  | 
  | 
  | 
  | facelets.DEVELOPMENT
  | true
  | 
  | 
  | 
  | javax.faces.DEFAULT_SUFFIX
  | .xhtml
  | 
  | 
  | 
  | Faces Servlet
  | javax.faces.webapp.FacesServlet
  | 1
  | 
  | 
  | 
  | 
  | Faces Servlet
  | *.seam
  | 
  | 
  | 
  | 


hello.xhtml

  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:f="http://java.sun.com/jsf/core";
  | xmlns:s="http://jboss.com/products/seam/taglib";
  | template="template.xhtml">
  | 
  | 
  | 
  | #{messages.tit_hello}
  | 
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | #{messages.name}:
  | 
  |   
  | 
  |
  | 
  |   
  | 
  |   
  | #{messages.age}:
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | #{messages.email}:
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  |   
  | #{messages.comment}:
  | 
  |   
  | 
  |   
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 



fans.xhtml

  | http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd";>
  | http://www.w3.org/1999/xhtml";
  | xmlns:ui="http://java.sun.com/jsf/facelets";
  | xmlns:h="http://java.sun.com/jsf/html";
  | xmlns:f="http://java.sun.com/jsf/core";
  | xmlns:s="http://jboss.com/products/seam/taglib";
  | xmlns:a="http://richfaces.org/a4j";
  | xmlns:rich="http://richfaces.org/rich";
  | template="template.xhtml">
  | 
  | 
  | 
  | #{messages.tit_fans}
  | 
  | #{messages.comm_fans}:
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  |   
  | #{messages.name}
  | #{fan.name}
  |   
  |   
  | #{messages.age}
  | #{fan.age}
  |   
  |   
  | #{messages.email}
  | #{fan.email}
  |   
  |   
  | #{messages.comment}
  | #{fan.comment}
  |   
  |   
  | 
  |   
  |   
  | #{messages.btn_edit}
  |   
  | 
  | 
  | 
  |   
  | 
  | 
  | 
  | 
  | 
  | 

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

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


[jboss-user] [JBoss Seam] - FOP and ITEXT

2007-12-11 Thread hager
Hello,
I'm trying to convert a XHTML page to a PDF page using FOP.
I didn't use itext  because i have a formatted paragraph, when i use itext, the 
PDF page will contain HTML tags.
when I use FOP, I have the correct render, but when I try to access to another 
page, it generate exception and all pages doesn't work.
please help me, what this bug?
thank you

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

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


[jboss-user] [Beginners Corner] - Re: jboss AS, jboss Web and php

2007-12-11 Thread PeterJ
That thread is about getting PHP to run on JBossAS. As indicated there, the 
steps are to install JBoss Native, and then install the PHP package from 
http://labs.jboss.com/jbossweb/downloads/php/. It worked for me.

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

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


[jboss-user] [Clustering/JBoss] - Re: Deploying the application in selected nodes in a cluster

2007-12-11 Thread viswanadhvk
Hi Shoeb, thanks a lot for your mail.I am working in JBoss 4.2.1. I didn't find 
any file called cluster-config.xml and are you mentioning about the file with 
the name as "cluster-service.xml". If it is so please let me know ,where 
exactly i need to change in side that.

Thanks!
VVk

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

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


[jboss-user] [JBossCache] - Re: JDBCCacheLoader and MySQL problems

2007-12-11 Thread boniek
It doesn't help.
As and addendum to first post: objects larger than 4kB get truncated to 4kB 
when persisting.


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

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


[jboss-user] [JBoss Seam] - Seam problems --> redirect to /faces/home.xhtml

2007-12-11 Thread dcshonda
Hi, I have a problem with my application. I have done a seam portlet, with a 
rich:datatable, and it works fine...but, when I go to the next page of the 
datatable, my application leaves the JBoss Portal and redirect to 
/faces/home.xhtml, and I don´t have this file in faces directory. I don´t 
know why happen this? 

Sorry for my english.

This is my web.xml config:




  | 
  | http://java.sun.com/xml/ns/j2ee";
  |  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
  |  xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee 
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd";
  |  version="2.4">
  | 
  |JbossPortalBuscadorIntervinientes
  | 
  |
  |  javax.portlet.faces.BridgeImplClass
  |  
org.apache.myfaces.portlet.faces.bridge.BridgeImpl
  |
  | 
  |
  | 
  | 
  |
  |   org.jboss.seam.servlet.SeamListener
  |
  | 
  | 
  |
  |   Seam Resource Servlet
  |   org.jboss.seam.servlet.ResourceServlet
  |
  | 
  |
  |   Seam Resource Servlet
  |   /seam/resource/*
  |
  | 
  | 
  |
  |   Seam Filter
  |   org.jboss.seam.servlet.SeamFilter
  |
  | 
  |
  |   Seam Filter
  |   /*
  |
  | 
  | 
  |
  |
  |
  | 
  |
  |   javax.faces.STATE_SAVING_METHOD
  |   server
  |
  | 
  |
  |   javax.faces.DEFAULT_SUFFIX
  |   .xhtml
  |
  | 
  |
  |   facelets.DEVELOPMENT
  |   false
  |
  | 
  |
  |   Faces Servlet
  |   javax.faces.webapp.FacesServlet
  |   1
  |
  | 
  |
  |   Faces Servlet
  |   *.seam
  |
  | 
  |
  |   
com.sun.faces.config.ConfigureListener
  |
  | 
  |
  |   30
  |
  | 
  |
  |   /faces/index.html
  |
  | 
  | 
  | 
  | 

Anyone can help me? Thanks.

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

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

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


[jboss-user] [JBoss Seam] - Re: pdf redirects to blank page

2007-12-11 Thread pettersonfp
Hi, 
I have the same problem.

Anyone founds a solution to it?

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

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


[jboss-user] [JBossCache] - Eviction/passivation is called when server shutdown ?

2007-12-11 Thread dmary
Hi all,

I see someone on forum which have success on having evicting action called when 
his server have shutdown, and with passivation=true, the datas goes into 
cacheloader and be stored into database.

I've try it (passivation = true), and never , the datas goes into my database.

So this is my question : does JBossCache handle the fact that when a Jboss AS 
is shutdown manualy, and when passivation flag is set to true (with a 
cacheloader configured), the datas goes from memory to the physical cache ?

If it does, what should I do ?!
If not, is the action of launching manualy evicting action when the cache is 
stop, with the help of a TreecacheListener is a good action ??

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

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


[jboss-user] [JBoss Seam] - Re: Seam problems --> redirect to /faces/home.xhtml

2007-12-11 Thread dcshonda


  | 
  | ...
  |
  |   index.html
  |
  | ...
  | 
  | 

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

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


[jboss-user] [JBossCache] - Re: ClusteredCacheLoader + LOCAL CacheMode

2007-12-11 Thread lovelyliatroim
Ok had a look into 


  | !--  determines whether this cache loader ignores writes - defaults to 
false. --> 
  | true 
  | 
  | 

and what it can and cant do.

Here is the config i used 

  | 
  |   jboss.cache:service=PriceServerCache
  | ${jboss.bind.address:localhost}
  | 7500
  | 
  |   
  | 
  | 
Reason for posting that is because twiki needs updating for version 2.0 and 
this shows how to do it for older versions 
http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossClusteringPatternFarCache

Anyways if you configure your very first node at startup to refer to a remote 
TcpDelegateCacheLoader and the other node where it resides isnt started you get 
a 
anonymous wrote : 
  | org.jboss.cache.CacheException: Unable to start cache loaders
  | 
exception, which is fair enough because the other node is not started but what 
i didnt expect to happen is that the cache in first node wont be set up, i 
would have expected the cache loader to fail gracefully and re-try at a later 
stage to connect but initialisation of the cache would still happen.

So i configured the first start up node not to refer to any other node but just 
be the TcpCacheServer. I started the second node with config like so


  |  
  |  
  | 
  | 
org.jboss.cache.loader.TcpDelegatingCacheLoader
  | 
  | host=localhost
  |  port=7500
  | 
  | 
  | true
  | 
  |  
  |  
  | 
  | 
When i put entries into node2, they are replicated or written into the cache in 
node1. I played around with setting it to true or false and makes no 
difference. So I suspect 1 of 3 things,
 1. ignoreModifications doesnt work with TcpDelegate, or
 2. I checked the log file to see if i could see some debug where it would say 
something like "ignoreModifications set to true" but nothing in the log file. 
So maybe it wasnt set?? 
3. ignoreModifications doesnt work like we thought it would :(


So those are my findings..

cheers,
LL


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

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


[jboss-user] [JBoss Seam] - Re: JBoss EL date formatting

2007-12-11 Thread mars1412
maybe this will help u:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100761

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

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


[jboss-user] [JBoss Seam] - Re: Date parameter at s:button

2007-12-11 Thread jamesjmp
By the way, in my case I am not using a s:button but a s:link.


  |
  |   
  | 
  | 
  |  
  | 

processDate is a java.util.Date field, but in spite of that I have this error:


16:46:22,119 ERROR [SeamPhaseListener] uncaught exception
javax.faces.convert.ConverterException: java.text.ParseException: Unparseable 
date: "2006-08-31"
at 
javax.faces.convert.DateTimeConverter.getAsObject(DateTimeConverter.java:84)
...
Caused by: java.text.ParseException: Unparseable date: "2006-08-31"
at java.text.DateFormat.parse(DateFormat.java:335)
at 
javax.faces.convert.DateTimeConverter.getAsObject(DateTimeConverter.java:80)
... 44 more
16:46:22,181 ERROR [SeamPhaseListener] swallowing exception
javax.faces.convert.ConverterException: java.text.ParseException: Unparseable 
date: "2006-08-31"
at 
javax.faces.convert.DateTimeConverter.getAsObject(DateTimeConverter.java:84)
at org.jboss.seam.pages.Param.getValueFromRequest(Param.java:144)
at org.jboss.seam.core.Pages.applyRequestParameterValues(Pages.java:633)
..
Caused by: java.text.ParseException: Unparseable date: "2006-08-31"
at java.text.DateFormat.parse(DateFormat.java:335)
at 
javax.faces.convert.DateTimeConverter.getAsObject(DateTimeConverter.java:80)
... 44 more



I have tried with convertDateTime this way:

  | 
  | 
  | 
  | 

Using s:convertDateTime the following error happens:

/RstReport.xhtml @318,112  Parent not an instance of 
ValueHolder: [EMAIL PROTECTED]


any idea? thank you!

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

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


[jboss-user] [JBoss Seam] - Re: Date formatting in EL expression

2007-12-11 Thread mars1412
if it was for dates in the properties fieles only, then this is the same issue:
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4100761

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

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


[jboss-user] [JBossCache] - Really important problem with JDBCCacheLoader

2007-12-11 Thread jorgemoralespou_2
Hi,
We have a system, where we test it with Oracle9i and Mysql5, with these 
configuration.

  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | jboss:service=Naming
  | jboss:service=TransactionManager
  | 
  | 
jboss.jca:name=jdbc/somservices,service=DataSourceBinding
  | 
  | 
  | 
  | org.jboss.cache.JBossTransactionManagerLookup
  | 
  | 
  | 
  | NONE
  | 
  | 
  | REPL_SYNC
  | 
  | 
  | false
  | 
  | 0
  | 
  | 0
  | 
  | 
  | 
  | SOMServicesProvisioning-Cluster
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | true
  | 
  | 
  | 15000
  | 
  | 
  | 15000
  | 
  | 
  | 1
  | 
  | 
  | true
  | 
  | 
  | 
  | false
  | /
  | true
  | 
  | 
  | 
org.jboss.cache.loader.ClusteredCacheLoader
  | 
  | timeout=1000
  | true
  | 
false
  | 
false
  | 
  | 
  | 
  | 
  | 
  | 
org.jboss.cache.loader.JDBCCacheLoader
  | 
  | 
  | 
cache.jdbc.datasource=java:jdbc/somservices
  | 
cache.jdbc.table.name=services_provisioning
  | cache.jdbc.table.create=true
  | cache.jdbc.table.drop=false
  | 
cache.jdbc.table.primarykey=jbosscache_pk
  | cache.jdbc.fqn.column=fqn
  | cache.jdbc.fqn.type=varchar(255)
  | cache.jdbc.node.column=node
  | cache.jdbc.node.type=blob
  | cache.jdbc.parent.column=parent
  | 
  | true
  | 
true
  | 
false
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 
  | 

When we set a new node, it gets stored in database, but when we update one of 
the attributes of an already created node, it doesn`t get updated in database, 
even though there is no log indicating any problem, and JBC logs shows an 
update statement.

This seems to work right with MySql5, but not with Oracle9i.
Has anybody experienced an issue like this.

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

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


[jboss-user] [JBoss Seam] - Re: Submit form and open results in new window

2007-12-11 Thread pettersonfp
Hi,

And if I want that my new window doesn't have menus?

Thanks

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

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


[jboss-user] [JBoss jBPM] - Re: New jBPM Getting Started Documentation

2007-12-11 Thread bezpal
What this may mean? and how to fix it?
It happens when I'm trying to open gpd.xml

There was a problem adding adapter factories
loader constraint violation: when resolving method 
"org.eclipse.wst.xml.core.internal.modelquery.ModelQueryUtil.getModelQuery(Lorg/w3c/dom/Document;)Lorg/eclipse/wst/xml/core/internal/contentmodel/modelquery/ModelQuery;"
 the class loader (instance of 
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) of the current class, 
org/eclipse/wst/xml/ui/internal/DOMObserver, and the class loader (instance of 
org/eclipse/osgi/internal/baseadaptor/DefaultClassLoader) for resolved class, 
org/eclipse/wst/xml/core/internal/modelquery/ModelQueryUtil, have different 
Class objects for the type org/w3c/dom/Document used in the signature


Thanks.

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

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


[jboss-user] [JBoss Seam] - Re: Is there an easy way to create a pulldown with all avail

2007-12-11 Thread [EMAIL PROTECTED]
I guess this wasn't added. Create a feature request in JIRA.

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

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


[jboss-user] [JBossCache] - Re: Problem with ShutdownHook

2007-12-11 Thread [EMAIL PROTECTED]
Another issue with the shutdown hook I'm seeing with Hibernate testing is that 
the hook doesn't get removed in internalStop().  JBC should keep a ref to the 
hook and remove it in internal stop; otherwise:

1) The hook executes at vm shutdown even though the cache was previously 
stopped/destroyed.  That currently just causes a DEBUG log, but it's prone to 
breakage.
2) Until that happens you've leaked a ref to the CacheImpl to the shutdown hook 
thread.

Might want to make the hook impl a bit more sophisticated so internalStop() can 
check if it is executing -- i.e. don't call Runtime.removeShutdownHook if it is 
the hook itself that calls internalStop().

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

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


[jboss-user] [JBoss Seam] - Using page parameters instead of Seam remoting

2007-12-11 Thread asookazian
I'm currently using Seam remoting to pass facelet dataTable variables to a 
SFSB.  

  | function setNoteData(rowIndex, colName, siteId, employeeNumber, 
icomsAccountApproved, securityLevelApproved, adjustmentLimitApproved) {
  | Seam.Component.getInstance("noteAction").setNoteData(rowIndex, 
colName, siteId, employeeNumber, icomsAccountApproved, securityLevelApproved, 
adjustmentLimitApproved);
  | }

When I placed a debug stop in Eclipse on the first line of the @WebRemote 
method and ran the test case, I get the following exception after I step over 
the first line of code:

Caused by java.lang.IllegalStateException with message: "could not acquire lock 
on @Synchronized component: noteAction" 

What does this mean exactly and why does it happen?  Is it normal to not be 
able to place debug stops in a @WebRemote method?  (sorry in advance if this is 
a stupid question).

I'd prefer to use Seam page parameters to transfer these variables to the SFSB. 
 I'm assuming that is the preferred method of data transfer in the PAGE or 
REQUEST scope when user submits the form.  I've read the Seam ref pdf starting 
on page 78.  Are there any good examples on how to implement this (e.g. the 
Seam distro examples)?

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

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


[jboss-user] [Beginners Corner] - Maven Question

2007-12-11 Thread [EMAIL PROTECTED]
Do any of you know if there is an easy way to pull in all the standard runtime 
libraries for the JBoss server (basically the contents of the lib directories) 
into a Maven project for compilation of a WAR against those libraries?

We're working with the commercial 4.2.x series of JBoss AS, and the latest 
JBoss libraries I could find in the maven repositories were from version 4.0.x.

Thanks,
~Matt

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

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


  1   2   >